Skip to content

Test Result : EnvironmentModuleTest

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

All Tests

Test nameDurationStatus
Reporting / addModuleListener() informs listener on module loading12 msPassed
Reporting / addModuleListener() sends reloaded event2 msPassed
Reporting / execute() injects script code1 msPassed
Reporting / exit() sets script return code0 msPassed
Reporting / exit() throws exception0 msPassed
Reporting / formatText() resolves formatter instructions1 msPassed
Reporting / formatText() resolves static string0 msPassed
Reporting / formatText() resolves system property1 msPassed
Reporting / formatText() resolves variables1 msPassed
Reporting / formatText() throws ... for unknown token1 msPassed
Reporting / getLoadedModules() returns loaded modules2 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 module1 msPassed
Reporting / getModuleDefinition(env) returns environment definition0 msPassed
Reporting / getModules() contains environment module1 msPassed
Reporting / getModules() contains loaded module2 msPassed
Reporting / getScriptEngine() returns engine instance0 msPassed
Reporting / getWrappedVariableName() returns unique name per class1 msPassed
Reporting / hasMethodCallback() = false ... when method is not registered1 msPassed
Reporting / hasMethodCallback() = false ... when no callbackProvider is registered0 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 resource1 msPassed
Reporting / loadJar() registers URL1 msPassed
Reporting / loadModule() throws ... on unknown module0 msPassed
Reporting / postMethodCallback() calls callbackProvider0 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 stream0 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 call12 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 available1 msPassed
Reporting / removeModuleListener() stops sending events to listener2 msPassed
Reporting / toDouble() converts double value0 msPassed
Reporting / toDouble() converts int value0 msPassed
Reporting / toDouble() converts string value0 msPassed
Reporting / toDouble() throws ... for invalid input1 msPassed
Reporting / toInt() converts double value1 msPassed
Reporting / toInt() converts int value1 msPassed
Reporting / toInt() converts string value0 msPassed
Reporting / toInt() throws ... for invalid input1 msPassed
Reporting / toString() converts Object value1 msPassed
Reporting / toString() converts string value1 msPassed
Reporting / wrap() wraps instance methods2 msPassed