Searched refs:ForbiddenFruit (Results 1 - 2 of 2) sorted by relevance

/forgerock/openam-v13/openam-scripting/src/test/java/org/forgerock/openam/scripting/
H A DAbstractSandboxTests.java54 .withBlackList(Arrays.asList(Pattern.compile(Pattern.quote(ForbiddenFruit.class.getName()))))
80 eval("new " + ForbiddenFruit.class.getName() + "();");
122 eval("java.lang.Class.forName('" + ForbiddenFruit.class.getName() + "').newInstance();");
128 eval(ForbiddenFruit.class.getName() + ".dangerous();");
131 assertThat(ForbiddenFruit.danger).isFalse();
136 private final ForbiddenFruit fruit = new ForbiddenFruit();
139 public ForbiddenFruit getForbiddenFruit() {
148 public static class ForbiddenFruit { class in class:AbstractSandboxTests
/forgerock/openam/openam-scripting/src/test/java/org/forgerock/openam/scripting/
H A DAbstractSandboxTests.java54 .withBlackList(Arrays.asList(Pattern.compile(Pattern.quote(ForbiddenFruit.class.getName()))))
80 eval("new " + ForbiddenFruit.class.getName() + "();");
122 eval("java.lang.Class.forName('" + ForbiddenFruit.class.getName() + "').newInstance();");
128 eval(ForbiddenFruit.class.getName() + ".dangerous();");
131 assertThat(ForbiddenFruit.danger).isFalse();
136 private final ForbiddenFruit fruit = new ForbiddenFruit();
139 public ForbiddenFruit getForbiddenFruit() {
148 public static class ForbiddenFruit { class in class:AbstractSandboxTests

Completed in 207 milliseconds