public class GremlinGroovyScriptEngineFileSandboxTest extends AbstractGremlinTest
config, g, graph, graphProvider, name
Constructor and Description |
---|
GremlinGroovyScriptEngineFileSandboxTest() |
Modifier and Type | Method and Description |
---|---|
static void |
destroy() |
void |
setup() |
void |
shouldEvalAsGroovyPropertiesWhenWhiteListed() |
void |
shouldEvalAsTheMethodIsWhiteListed() |
void |
shouldEvalOnGAsTheMethodIsWhiteListed() |
void |
shouldPreventMaliciousStuffWithFile() |
void |
shouldPreventMaliciousStuffWithSystemButAllowSomeMethodsOnSystem() |
void |
shouldSuccessfullyInstantiateGroovyScriptEngineWithEmptyStaticVariableTyping() |
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, tearDown, tryCommit, tryCommit, tryRandomCommit, tryRollback, validateException, verifyUniqueStepIds
public GremlinGroovyScriptEngineFileSandboxTest()
public void setup() throws Exception
setup
in class AbstractGremlinTest
Exception
public static void destroy()
public void shouldSuccessfullyInstantiateGroovyScriptEngineWithEmptyStaticVariableTyping() throws Exception
Exception
public void shouldEvalAsTheMethodIsWhiteListed() throws Exception
Exception
public void shouldEvalAsGroovyPropertiesWhenWhiteListed() throws Exception
Exception
public void shouldPreventMaliciousStuffWithSystemButAllowSomeMethodsOnSystem() throws Exception
Exception
public void shouldPreventMaliciousStuffWithFile() throws Exception
Exception
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.