Skip to content

Test Result : EnvironmentModuleTest

0 failures (±0)
53 tests (±0)
Took 0.15 sec.

All Tests

Test nameDurationStatus
Reporting / addModuleListener() informs listener on module loading11 msPassed
Reporting / addModuleListener() sends reloaded event1 msPassed
Reporting / execute() injects script code0 msPassed
Reporting / exit() sets script return code0 msPassed
Reporting / exit() throws exception0 msPassed
Reporting / formatText() resolves formatter instructions1 msPassed
Reporting / formatText() resolves static string1 msPassed
Reporting / formatText() resolves system property0 msPassed
Reporting / formatText() resolves variables0 msPassed
Reporting / formatText() throws ... for unknown token2 msPassed
Reporting / getLoadedModules() returns loaded modules1 msPassed
Reporting / getModule(class) = null ... for unknown module1 msPassed
Reporting / getModule(class) finds Environment module1 msPassed
Reporting / getModule(class) finds loaded module1 msPassed
Reporting / getModule(name) = null ... for unknown module0 msPassed
Reporting / getModule(name) finds Environment module0 msPassed
Reporting / getModule(name) finds loaded module2 msPassed
Reporting / getModuleDefinition(env) returns environment definition1 msPassed
Reporting / getModules() contains environment module1 msPassed
Reporting / getModules() contains loaded module1 msPassed
Reporting / getScriptEngine() returns engine instance0 msPassed
Reporting / getWrappedVariableName() returns unique name per class1 msPassed
Reporting / hasMethodCallback() = false ... when method is not registered0 msPassed
Reporting / hasMethodCallback() = false ... when no callbackProvider is registered1 msPassed
Reporting / hasMethodCallback() = true ... when a callbackProvider is registered for a method10 msPassed
Reporting / include() executes referenced resource0.1 secPassed
Reporting / include() throws ... on invalid resource0 msPassed
Reporting / loadJar() registers URL1 msPassed
Reporting / loadModule() throws ... on unknown module1 msPassed
Reporting / postMethodCallback() calls callbackProvider1 msPassed
Reporting / preMethodCallback() calls callbackProvider1 msPassed
Reporting / print(false) writes to output stream1 msPassed
Reporting / print(true) appends line feed1 msPassed
Reporting / printError() writes to error stream1 msPassed
Reporting / printError(multiple) prints same error multiple times1 msPassed
Reporting / printError(once) prints same error only once0 msPassed
Reporting / readInput() filters carriage return0 msPassed
Reporting / readInput(blocking) reads single line on each call0 msPassed
Reporting / readInput(blocking) stops when stream is closed1 msPassed
Reporting / readInput(non-blocking) = '' when ... no data is available0 msPassed
Reporting / readInput(non-blocking) = 'firstLine' ... when data is available0 msPassed
Reporting / removeModuleListener() stops sending events to listener1 msPassed
Reporting / toDouble() converts double value1 msPassed
Reporting / toDouble() converts int value1 msPassed
Reporting / toDouble() converts string value0 msPassed
Reporting / toDouble() throws ... for invalid input1 msPassed
Reporting / toInt() converts double value0 msPassed
Reporting / toInt() converts int value0 msPassed
Reporting / toInt() converts string value0 msPassed
Reporting / toInt() throws ... for invalid input0 msPassed
Reporting / toString() converts Object value1 msPassed
Reporting / toString() converts string value1 msPassed
Reporting / wrap() wraps instance methods2 msPassed