@@ -0,0 +1,2209 @@
+package org.umlg.sqlg.test.tree;%0A%0Aimport org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__;%0Aimport org.apache.tinkerpop.gremlin.structure.Element;%0Aimport org.apache.tinkerpop.gremlin.structure.T;%0Aimport org.apache.tinkerpop.gremlin.structure.Vertex;%0Aimport org.junit.Test;%0Aimport org.umlg.sqlg.test.BaseTest;%0A%0Aimport java.util.List;%0Aimport java.util.UUID;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0A/**%0A * Date: 2016/06/30%0A * Time: 7:29 PM%0A */%0Apublic class TestColumnNamePropertyNameMapScope extends BaseTest %7B%0A%0A    /**%0A     * This tests a bug with the columnName/propertyName maps having the wrong scope.%0A     * @throws Exception%0A     */%0A    @Test%0A    public void testColumnNamePropertyNameMap() throws Exception %7B%0A        Vertex group = this.sqlgGraph.addVertex(T.label, %22Group%22, %22name%22, %22group1%22, %22className%22, %22this.that.Group%22, %22uid%22, UUID.randomUUID().toString());%0A        Vertex network = this.sqlgGraph.addVertex(T.label, %22Network%22, %22name%22, %22network1%22, %22className%22, %22this.that.Network%22, %22uid%22, UUID.randomUUID().toString());%0A        group.addEdge(%22group_network%22, network);%0A        for (int i = 0; i %3C 10; i++) %7B%0A            Vertex nsv = this.sqlgGraph.addVertex(T.label, %22NetworkSoftwareVersion%22,%0A                    %22name%22, %22R15_HUAWEI_GSM%22 + i,%0A                    %22className%22, %22this.that.NetworkSoftwareVersion%22,%0A                    %22firstLoad%22, false,%0A                    %22softwareVersion%22, %22R15_HUAWEI_GSM%22,%0A                    %22uid%22, UUID.randomUUID().toString());%0A            network.addEdge(%22network_networkSoftwareVersion%22, nsv);%0A        %7D%0A        this.sqlgGraph.tx().commit();%0A%0A        this.sqlgGraph.traversal().V(network.id()).out(%22network_networkNodeGroup%22).%3CVertex%3EforEachRemaining(Element::remove);%0A%0A        this.sqlgGraph.tx().commit();%0A%0A        List%3CVertex%3E vertexList = sqlgGraph.traversal().V()%0A                .hasLabel(%22Group%22)%0A                .emit().repeat(__.out(%0A                        %22group_network%22,%0A                        %22network_networkSoftwareVersion%22%0A                ))%0A                .times(5)%0A                .toList();%0A        System.out.println(vertexList);%0A        assertEquals(%22this.that.Network%22, vertexList.get(1).value(%22className%22));%0A    %7D%0A%7D%0A

test properties not shuffled