package org.umlg.sqlg;

import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.umlg.sqlg.test.*;
import org.umlg.sqlg.test.batch.*;
import org.umlg.sqlg.test.edgehas.TestEdgeHas;
import org.umlg.sqlg.test.edges.*;
import org.umlg.sqlg.test.github.TestGithub;
import org.umlg.sqlg.test.graph.MidTraversalGraphTest;
import org.umlg.sqlg.test.graph.TestEmptyGraph;
import org.umlg.sqlg.test.graph.TestGraphStepWithIds;
import org.umlg.sqlg.test.gremlincompile.*;
import org.umlg.sqlg.test.index.TestForeignKeyIndexPerformance;
import org.umlg.sqlg.test.index.TestIndex;
import org.umlg.sqlg.test.json.JsonTest;
import org.umlg.sqlg.test.json.TestJsonUpdate;
import org.umlg.sqlg.test.labels.TestLabelsSchema;
import org.umlg.sqlg.test.labels.TestMultipleLabels;
import org.umlg.sqlg.test.localdate.LocalDateTest;
import org.umlg.sqlg.test.memory.TestMemoryUsage;
import org.umlg.sqlg.test.mod.*;
import org.umlg.sqlg.test.properties.TestEscapedValues;
import org.umlg.sqlg.test.remove.TestRemoveEdge;
import org.umlg.sqlg.test.rollback.TestRollback;
import org.umlg.sqlg.test.schema.*;
import org.umlg.sqlg.test.topology.TestTopologyMultipleGraphs;
import org.umlg.sqlg.test.topology.TestTopologyUpgrade;
import org.umlg.sqlg.test.travers.TestTraversals;
import org.umlg.sqlg.test.tree.TestColumnNamePropertyNameMapScope;
import org.umlg.sqlg.test.vertex.*;
import org.umlg.sqlg.test.vertexout.TestVertexOutWithHas;
import org.umlg.sqlg.test.vertexstep.localvertexstep.*;

/**
 * Date: 2014/07/16
 * Time: 12:08 PM
 */
@RunWith(Suite.class)
@Suite.SuiteClasses({
        TestAddVertexViaMap.class,
        TestAllEdges.class,
        TestAllVertices.class,
        TestArrayProperties.class,
        TestCountVerticesAndEdges.class,
        TestDeletedVertex.class,
        TestEdgeCreation.class,
        TestEdgeToDifferentLabeledVertexes.class,
        TestGetById.class,
        TestHas.class,
        TestHasLabel.class,
        TestLoadArrayProperties.class,
        TestLoadElementProperties.class,
        TestLoadSchema.class,
        TestPool.class,
        TestRemoveElement.class,
        TestSetProperty.class,
        TestVertexCreation.class,
        TestVertexEdgeSameName.class,
        TestVertexNavToEdges.class,
        // are these tests gone?
        //TestByteArray.class,
        //TestQuery.class,
        TestSchema.class,
        TestIndex.class,
        TestVertexOutWithHas.class,
        TestEdgeHas.class,
        TestBatch.class,
        TestNormalBatchUpdate.class,
        TestForeignKeyIndexPerformance.class,
        TestMultiThreadedBatch.class,
        TestMultiThread.class,
        TestMultipleThreadMultipleJvm.class,

        TestRemoveEdge.class,
        TestEdgeSchemaCreation.class,
        TestRollback.class,

        TestNewVertex.class,
        TestEdgeCache.class,
        TestVertexCache.class,
        TestTinkerpopBug.class,
        TestLazyLoadSchema.class,
        TestCreateEdgeBetweenVertices.class,
        TestRemovedVertex.class,
        TestCaptureSchemaTableEdges.class,
        TestGremlinCompileWithHas.class,
        TestGremlinCompileE.class,
        TestEmptyGraph.class,
        TestOutE.class,
        TestForeignKeysAreOptional.class,
        TestGremlinCompileWithAs.class,
        TestGremlinCompileWithInOutV.class,
        TestGremlinCompileV.class,
        TestGremlinCompileGraphStep.class,
        TestGremlinCompileWhere.class,
        TestColumnNameTranslation.class,
        TestGraphStepOrderBy.class,
        TestAggregate.class,
        TestVertexStepOrderBy.class,
        TestPathStep.class,
        LocalDateTest.class,
        TestStreamVertex.class,
        TestStreamEdge.class,
        JsonTest.class,
        TestSchemaManagerGetTablesFor.class,
        TestBatchServerSideEdgeCreation.class,
        TestBatchedStreaming.class,
        TestBulkWithin.class,
        TestBulkWithout.class,
        TestRemoveProperty.class,
        TestSchemaManagerGetTablesFor.class,
        TestAggregate.class,
        TestTreeStep.class,
        TestRepeatStepGraphOut.class,
        TestRepeatStepGraphIn.class,
        TestRepeatStepVertexOut.class,
        TestRepeatStepGraphBoth.class,
        TestRepeatStepWithLabels.class,
        TestGraphStepWithIds.class,
        TestOtherVertex.class,
        TestGremlinMod.class,
        TestTopologyUpgrade.class,
        TestTopologyMultipleGraphs.class,
        TestTraversals.class,
        TestGremlinOptional.class,
        TestAlias.class,
        TestGithub.class,
        TestLocalVertexStepOptional.class,
        TestLocalVertexStepRepeatStep.class,
        TestLocalEdgeVertexStep.class,
        TestLocalEdgeOtherVertexStep.class,
        TestNormalBatchDateTime.class,
        TestBatchEdgeDateTime.class,
        TestBatchJson.class,
        TestMemoryUsage.class,
        TestBatchTemporaryVertex.class,
        TestNormalBatchPrimitiveArrays.class,
        TestNormalBatchPrimitive.class,
        TestNormalBatchUpdatePrimitiveArrays.class,
        TestJsonUpdate.class,
        TestNormalBatchUpdateDateTime.class,
        TestOptionalWithOrder.class,
        TestMultipleLabels.class,
        TestColumnNamePropertyNameMapScope.class,
        TestJNDIInitialization.class,
        TestSchemaTableTreeAndHasContainer.class,
        TestEscapedValues.class,
        TestRepeatStepOnEdges.class,
        TestLoadingAdjacent.class,
        TestLabelsSchema.class,
        MidTraversalGraphTest.class,
        //TODO fails, issue #65
//        TestEdgeFromDifferentSchema.class
        TestBatchModeMultipleGraphs.class,
        TestDetachedEdge.class,
        TestSchemaEagerCreation.class
})
public class AllTest {
}

@@ -478,72 +478,8 @@
 .*;%0A
-import org.umlg.sqlg.test.index.TestForeignKeyIndexPerformance;%0A
 impo
@@ -2450,54 +2450,8 @@
 ss,%0A
-        TestForeignKeyIndexPerformance.class,%0A
     

remove test as its obsolete and just to slow on travis