You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2016/02/11 16:18:04 UTC

[2/3] incubator-tinkerpop git commit: Revert "removed test method that calls System.exit(0)"

Revert "removed test method that calls System.exit(0)"

This reverts commit 4d98a355f5054e497e6aca4d3cd9c12d9a4f72eb.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/e8f5bcc5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/e8f5bcc5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/e8f5bcc5

Branch: refs/heads/travis
Commit: e8f5bcc59ad187c585c439208caf99e73106eb19
Parents: 63030bd
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Thu Feb 11 16:17:23 2016 +0100
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Thu Feb 11 16:17:23 2016 +0100

----------------------------------------------------------------------
 .../groovy/jsr223/GremlinGroovyScriptEngineFileSandboxTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/e8f5bcc5/gremlin-groovy-test/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineFileSandboxTest.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy-test/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineFileSandboxTest.java b/gremlin-groovy-test/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineFileSandboxTest.java
index 96c228c..89aba64 100644
--- a/gremlin-groovy-test/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineFileSandboxTest.java
+++ b/gremlin-groovy-test/src/main/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineFileSandboxTest.java
@@ -74,7 +74,7 @@ public class GremlinGroovyScriptEngineFileSandboxTest extends AbstractGremlinTes
             assertThat(Arrays.equals("test".getBytes(), (byte[]) engine.eval("'test'.bytes")), is(true));
         }
     }
-/*
+
     @Test
     public void shouldPreventMaliciousStuffWithSystemButAllowSomeMethodsOnSystem() throws Exception {
         final CompilerCustomizerProvider standardSandbox = new CompileStaticCustomizerProvider(FileSandboxExtension.class.getName());
@@ -89,7 +89,7 @@ public class GremlinGroovyScriptEngineFileSandboxTest extends AbstractGremlinTes
             assertThat(ex.getCause().getMessage(), containsString("Not authorized to call this method"));
         }
     }
-*/
+
     @Test
     public void shouldPreventMaliciousStuffWithFile() throws Exception {
         final CompilerCustomizerProvider standardSandbox = new CompileStaticCustomizerProvider(FileSandboxExtension.class.getName());