Class GremlinEnabledScriptEngineTest
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.jsr223.GremlinEnabledScriptEngineTest
-
public class GremlinEnabledScriptEngineTest extends Object
This is an important test case in that it validates that core features ofScriptEngine
instances that claim to be "Gremlin-enabled" work in the expected fashion.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Constructor Summary
Constructors Constructor Description GremlinEnabledScriptEngineTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
shouldEvalBytecode()
void
shouldGetEngineByName()
void
shouldHaveCoreImportsInPlace()
void
shouldNotAllowBytecodeEvalWithAliasAsTraversalSource()
void
shouldNotAllowBytecodeEvalWithAliasInBindings()
void
shouldNotAllowBytecodeEvalWithInvalidBinding()
void
shouldNotAllowBytecodeEvalWithMissingBinding()
void
shouldReturnNoCustomizers()
-
-
-
Method Detail
-
shouldNotAllowBytecodeEvalWithAliasInBindings
public void shouldNotAllowBytecodeEvalWithAliasInBindings() throws Exception
- Throws:
Exception
-
shouldNotAllowBytecodeEvalWithAliasAsTraversalSource
public void shouldNotAllowBytecodeEvalWithAliasAsTraversalSource() throws Exception
- Throws:
Exception
-
shouldNotAllowBytecodeEvalWithMissingBinding
public void shouldNotAllowBytecodeEvalWithMissingBinding() throws Exception
- Throws:
Exception
-
shouldNotAllowBytecodeEvalWithInvalidBinding
public void shouldNotAllowBytecodeEvalWithInvalidBinding() throws Exception
- Throws:
Exception
-
shouldHaveCoreImportsInPlace
public void shouldHaveCoreImportsInPlace() throws Exception
- Throws:
Exception
-
shouldReturnNoCustomizers
public void shouldReturnNoCustomizers()
-
-