Skip to content

Test Result : EnvironmentModuleTest

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

All Tests

Test nameDurationStatus
Reporting / addModuleListener() informs listener on module loading13 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 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 module1 msPassed
Reporting / getModule(name) finds Environment module1 msPassed
Reporting / getModule(name) finds loaded module1 msPassed
Reporting / getModuleDefinition(env) returns environment definition1 msPassed
Reporting / getModules() contains environment module0 msPassed
Reporting / getModules() contains loaded module2 msPassed
Reporting / getScriptEngine() returns engine instance1 msPassed
Reporting / getWrappedVariableName() returns unique name per class0 msPassed
Reporting / hasMethodCallback() = false ... when method is not registered1 msPassed
Reporting / hasMethodCallback() = false ... when no callbackProvider is registered1 msPassed
Reporting / hasMethodCallback() = true ... when a callbackProvider is registered for a method13 msPassed
Reporting / include() executes referenced resource0.12 secPassed
Reporting / include() throws ... on invalid resource0 msPassed
Reporting / loadJar() registers URL1 msPassed
Reporting / loadModule() throws ... on unknown module0 msPassed
Reporting / postMethodCallback() calls callbackProvider1 msPassed
Reporting / preMethodCallback() calls callbackProvider2 msPassed
Reporting / print(false) writes to output stream0 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 return1 msPassed
Reporting / readInput(blocking) reads single line on each call0 msPassed
Reporting / readInput(blocking) stops when stream is closed0 msPassed
Reporting / readInput(non-blocking) = '' when ... no data is available1 msPassed
Reporting / readInput(non-blocking) = 'firstLine' ... when data is available0 msPassed
Reporting / removeModuleListener() stops sending events to listener1 msPassed
Reporting / toDouble() converts double value0 msPassed
Reporting / toDouble() converts int value0 msPassed
Reporting / toDouble() converts string value0 msPassed
Reporting / toDouble() throws ... for invalid input0 msPassed
Reporting / toInt() converts double value1 msPassed
Reporting / toInt() converts int value0 msPassed
Reporting / toInt() converts string value0 msPassed
Reporting / toInt() throws ... for invalid input1 msPassed
Reporting / toString() converts Object value0 msPassed
Reporting / toString() converts string value0 msPassed
Reporting / wrap() wraps instance methods2 msPassed