test_class.declarator: scriptOperations
test_class.modifier: protected
test_class.original_string: protected ScriptOperations scriptOperations;
test_class.type: ScriptOperations
test_class.var_name: scriptOperations
test_class.file: script/src/test/java/org/jboss/forge/addon/script/ScriptOperationsTest.java
test_class.identifier: ScriptOperationsTest
test_case.body: @Test
     public void testScriptOperationsEvaluateShouldSucceed() throws Exception
     {
        Result result = scriptOperations.evaluate(OperatingSystemUtils.getUserHomeDir(), "pwd", 500, null, null);
        Assert.assertThat(result, not(instanceOf(Failed.class)));
     }
test_case.class_method_signature: ScriptOperationsTest.testScriptOperationsEvaluateShouldSucceed()
test_case.full_signature: @Test public void testScriptOperationsEvaluateShouldSucceed()
test_case.identifier: testScriptOperationsEvaluateShouldSucceed
test_case.invocations: evaluate getUserHomeDir assertThat not instanceOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testScriptOperationsEvaluateShouldSucceed()
focal_class.declarator: resourceFactory
focal_class.modifier: private
focal_class.original_string: private ResourceFactory resourceFactory;
focal_class.type: ResourceFactory
focal_class.var_name: resourceFactory
focal_class.declarator: engineFactory
focal_class.modifier: private
focal_class.original_string: private ForgeScriptEngineFactory engineFactory;
focal_class.type: ForgeScriptEngineFactory
focal_class.var_name: engineFactory
focal_class.file: script/src/main/java/org/jboss/forge/addon/script/ScriptOperations.java
focal_class.identifier: ScriptOperations
focal_class.class_method_signature: ScriptOperations.ScriptOperations()
focal_class.full_signature: public  ScriptOperations()
focal_class.identifier: ScriptOperations
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ScriptOperations()
focal_class.class_method_signature: ScriptOperations.evaluate(File currentDir, String script, Integer timeout, PrintStream stdout, PrintStream stderr)
focal_class.full_signature: public Result evaluate(File currentDir, String script, Integer timeout, PrintStream stdout, PrintStream stderr)
focal_class.identifier: evaluate
focal_class.modifiers: public
focal_class.parameters: (File currentDir, String script, Integer timeout, PrintStream stdout, PrintStream stderr)
focal_class.return: Result
focal_class.signature: Result evaluate(File currentDir, String script, Integer timeout, PrintStream stdout, PrintStream stderr)
focal_class.class_method_signature: ScriptOperations.getEngineFactory()
focal_class.full_signature: private ForgeScriptEngineFactory getEngineFactory()
focal_class.identifier: getEngineFactory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: ForgeScriptEngineFactory
focal_class.signature: ForgeScriptEngineFactory getEngineFactory()
focal_class.class_method_signature: ScriptOperations.getResourceFactory()
focal_class.full_signature: private ResourceFactory getResourceFactory()
focal_class.identifier: getResourceFactory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: ResourceFactory
focal_class.signature: ResourceFactory getResourceFactory()
focal_method.body: public Result evaluate(File currentDir, String script, Integer timeout, PrintStream stdout, PrintStream stderr)
              throws ScriptException
     {
        ScriptEngine scriptEngine = getEngineFactory().getScriptEngine();
        DirectoryResource resource = getResourceFactory().create(DirectoryResource.class, currentDir);
        ScriptContext context = ScriptContextBuilder.create()
                 .currentResource(resource)
                 .timeout(timeout)
                 .stdout(stdout)
                 .stderr(stderr)
                 .build();
        return (Result) scriptEngine.eval(script, context);
     }
focal_method.class_method_signature: ScriptOperations.evaluate(File currentDir, String script, Integer timeout, PrintStream stdout, PrintStream stderr)
focal_method.full_signature: public Result evaluate(File currentDir, String script, Integer timeout, PrintStream stdout, PrintStream stderr)
focal_method.identifier: evaluate
focal_method.invocations: getScriptEngine getEngineFactory create getResourceFactory build stderr stdout timeout currentResource create eval
focal_method.modifiers: public
focal_method.parameters: (File currentDir, String script, Integer timeout, PrintStream stdout, PrintStream stderr)
focal_method.return: Result
focal_method.signature: Result evaluate(File currentDir, String script, Integer timeout, PrintStream stdout, PrintStream stderr)