Class GraphComputerTest
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.AbstractGremlinTest
-
- org.apache.tinkerpop.gremlin.process.AbstractGremlinProcessTest
-
- org.apache.tinkerpop.gremlin.process.computer.GraphComputerTest
-
public class GraphComputerTest extends AbstractGremlinProcessTest
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGraphComputerTest.BadGraphComputerstatic classGraphComputerTest.MapReduceBstatic classGraphComputerTest.MapReduceBBstatic classGraphComputerTest.MapReduceCstatic classGraphComputerTest.MapReduceKstatic classGraphComputerTest.MultiScopeVertexProgramstatic classGraphComputerTest.MultiScopeVertexWithEdgeFunctionProgramstatic classGraphComputerTest.VertexProgramAstatic classGraphComputerTest.VertexProgramBstatic classGraphComputerTest.VertexProgramCstatic classGraphComputerTest.VertexProgramDstatic classGraphComputerTest.VertexProgramEstatic classGraphComputerTest.VertexProgramFstatic classGraphComputerTest.VertexProgramGstatic classGraphComputerTest.VertexProgramHstatic classGraphComputerTest.VertexProgramIstatic classGraphComputerTest.VertexProgramJstatic classGraphComputerTest.VertexProgramKstatic classGraphComputerTest.VertexProgramLstatic classGraphComputerTest.VertexProgramM
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.AbstractGremlinTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak
-
-
Constructor Summary
Constructors Constructor Description GraphComputerTest()
-
Method Summary
-
Methods inherited from class org.apache.tinkerpop.gremlin.process.AbstractGremlinProcessTest
checkHasNext, checkMap, checkOrderedResults, checkResults, checkResults, checkSideEffects, graphMeetsTestRequirements, hasGraphComputerRequirement, makeMapList, setupTest
-
Methods 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
-
-
-
-
Method Detail
-
shouldHaveStandardStringRepresentation
public void shouldHaveStandardStringRepresentation()
-
shouldNotAllowWithNoVertexProgramNorMapReducers
public void shouldNotAllowWithNoVertexProgramNorMapReducers() throws Exception- Throws:
Exception
-
shouldNotAllowBadGraphComputers
public void shouldNotAllowBadGraphComputers()
-
shouldHaveImmutableComputeResultMemory
public void shouldHaveImmutableComputeResultMemory() throws Exception- Throws:
Exception
-
shouldNotAllowNullMemoryKeys
public void shouldNotAllowNullMemoryKeys() throws Exception- Throws:
Exception
-
shouldNotAllowEmptyMemoryKeys
public void shouldNotAllowEmptyMemoryKeys() throws Exception- Throws:
Exception
-
shouldHandleUndeclaredMemoryKeysCorrectly
public void shouldHandleUndeclaredMemoryKeysCorrectly() throws Exception- Throws:
Exception
-
shouldNotAllowTheSameComputerToExecutedTwice
public void shouldNotAllowTheSameComputerToExecutedTwice() throws Exception- Throws:
Exception
-
shouldHaveConsistentMemoryVertexPropertiesAndExceptions
public void shouldHaveConsistentMemoryVertexPropertiesAndExceptions() throws Exception- Throws:
Exception
-
shouldAndOrIncrCorrectlyThroughSubStages
public void shouldAndOrIncrCorrectlyThroughSubStages() throws Exception- Throws:
Exception
-
shouldAllowMapReduceWithNoVertexProgram
public void shouldAllowMapReduceWithNoVertexProgram() throws Exception- Throws:
Exception
-
shouldSupportMultipleMapReduceJobs
public void shouldSupportMultipleMapReduceJobs() throws Exception- Throws:
Exception
-
shouldOnlyAllowReadingVertexPropertiesInMapReduce
public void shouldOnlyAllowReadingVertexPropertiesInMapReduce() throws Exception- Throws:
Exception
-
shouldOnlyAllowIDAccessOfAdjacentVertices
public void shouldOnlyAllowIDAccessOfAdjacentVertices() throws Exception- Throws:
Exception
-
shouldStartAndEndWorkersForVertexProgramAndMapReduce
public void shouldStartAndEndWorkersForVertexProgramAndMapReduce() throws Exception- Throws:
Exception
-
shouldSupportPersistResultGraphPairsStatedInFeatures
public void shouldSupportPersistResultGraphPairsStatedInFeatures() throws Exception- Throws:
Exception
-
shouldProcessResultGraphNewWithPersistNothing
public void shouldProcessResultGraphNewWithPersistNothing() throws Exception- Throws:
Exception
-
shouldProcessResultGraphNewWithPersistVertexProperties
public void shouldProcessResultGraphNewWithPersistVertexProperties() throws Exception- Throws:
Exception
-
shouldProcessResultGraphNewWithPersistEdges
public void shouldProcessResultGraphNewWithPersistEdges() throws Exception- Throws:
Exception
-
shouldProcessResultGraphOriginalWithPersistNothing
public void shouldProcessResultGraphOriginalWithPersistNothing() throws Exception- Throws:
Exception
-
shouldProcessResultGraphOriginalWithPersistVertexProperties
public void shouldProcessResultGraphOriginalWithPersistVertexProperties() throws Exception- Throws:
Exception
-
shouldProcessResultGraphOriginalWithPersistEdges
public void shouldProcessResultGraphOriginalWithPersistEdges() throws Exception- Throws:
Exception
-
shouldSupportMultipleScopes
public void shouldSupportMultipleScopes() throws ExecutionException, InterruptedException
-
shouldSupportMultipleScopesWithEdgeFunction
public void shouldSupportMultipleScopesWithEdgeFunction() throws ExecutionException, InterruptedException
-
shouldSupportPreExistingComputeKeys
public void shouldSupportPreExistingComputeKeys() throws Exception- Throws:
Exception
-
shouldSupportTransientKeys
public void shouldSupportTransientKeys() throws Exception- Throws:
Exception
-
shouldSupportBroadcastKeys
public void shouldSupportBroadcastKeys() throws Exception- Throws:
Exception
-
shouldSucceedWithProperTraverserRequirements
public void shouldSucceedWithProperTraverserRequirements() throws Exception- Throws:
Exception
-
shouldFailWithImproperTraverserRequirements
public void shouldFailWithImproperTraverserRequirements() throws Exception- Throws:
Exception
-
-