Class GraphComputerTest
java.lang.Object
org.apache.tinkerpop.gremlin.AbstractGremlinTest
org.apache.tinkerpop.gremlin.process.AbstractGremlinProcessTest
org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.tinkerpop.gremlin.process.AbstractGremlinProcessTest
checkHasNext, checkMap, checkOrderedResults, checkResults, checkResults, checkSideEffects, graphMeetsTestRequirements, hasGraphComputerRequirement, makeMapList, setupTestMethods inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdge, convertToEdge, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException, verifyRootIdentification, verifyUniqueStepIds
-
Constructor Details
-
GraphComputerTest
public GraphComputerTest()
-
-
Method Details
-
shouldHaveStandardStringRepresentation
public void shouldHaveStandardStringRepresentation() -
shouldNotAllowWithNoVertexProgramNorMapReducers
- Throws:
Exception
-
shouldNotAllowBadGraphComputers
public void shouldNotAllowBadGraphComputers() -
shouldHaveImmutableComputeResultMemory
- Throws:
Exception
-
shouldNotAllowNullMemoryKeys
- Throws:
Exception
-
shouldNotAllowEmptyMemoryKeys
- Throws:
Exception
-
shouldHandleUndeclaredMemoryKeysCorrectly
- Throws:
Exception
-
shouldNotAllowTheSameComputerToExecutedTwice
- Throws:
Exception
-
shouldHaveConsistentMemoryVertexPropertiesAndExceptions
- Throws:
Exception
-
shouldAndOrIncrCorrectlyThroughSubStages
- Throws:
Exception
-
shouldAllowMapReduceWithNoVertexProgram
- Throws:
Exception
-
shouldSupportMultipleMapReduceJobs
- Throws:
Exception
-
shouldSortReduceOutput
- Throws:
Exception
-
shouldSortMapOutput
- Throws:
Exception
-
shouldOnlyAllowReadingVertexPropertiesInMapReduce
- Throws:
Exception
-
shouldOnlyAllowIDAccessOfAdjacentVertices
- Throws:
Exception
-
shouldStartAndEndWorkersForVertexProgramAndMapReduce
- Throws:
Exception
-
shouldSupportPersistResultGraphPairsStatedInFeatures
- Throws:
Exception
-
shouldProcessResultGraphNewWithPersistNothing
- Throws:
Exception
-
shouldProcessResultGraphNewWithPersistVertexProperties
- Throws:
Exception
-
shouldProcessResultGraphNewWithPersistEdges
- Throws:
Exception
-
shouldProcessResultGraphOriginalWithPersistNothing
- Throws:
Exception
-
shouldProcessResultGraphOriginalWithPersistVertexProperties
- Throws:
Exception
-
shouldProcessResultGraphOriginalWithPersistEdges
- Throws:
Exception
-
shouldSupportWorkerCount
- Throws:
Exception
-
shouldSupportMultipleScopes
-
shouldSupportMultipleScopesWithEdgeFunction
public void shouldSupportMultipleScopesWithEdgeFunction() throws ExecutionException, InterruptedException -
shouldSupportGraphFilter
- Throws:
Exception
-
shouldSupportJobChaining
- Throws:
Exception
-
shouldSupportPreExistingComputeKeys
- Throws:
Exception
-
shouldSupportTransientKeys
- Throws:
Exception
-
shouldSupportBroadcastKeys
- Throws:
Exception
-
shouldSucceedWithProperTraverserRequirements
- Throws:
Exception
-
shouldFailWithImproperTraverserRequirements
- Throws:
Exception
-
testMessagePassingIn
- Throws:
Exception
-
testMessagePassingOut
- Throws:
Exception
-
testMessagePassingBoth
- Throws:
Exception
-