Test Result : JavaScriptCodeFactoryTest
0 failures
(±0)
11 tests
(±0)
All Tests
Test name | Duration | Status |
---|---|---|
classInstantiation() creates default instance | 1 ms | Passed |
classInstantiation() creates instance with parameters | 0 ms | Passed |
createCommentedString() creates block comment | 2 ms | Passed |
createCommentedString() creates multi line comment | 1 ms | Passed |
createCommentedString() creates single line comment | 1 ms | Passed |
getNullString() == 'null' | 3 ms | Passed |
getSaveVariableName() creates random string for invalid characters | 58 ms | Passed |
getSaveVariableName() does not alter save name | 0 ms | Passed |
getSaveVariableName() prefixes keywords with _ | 0 ms | Passed |
getSaveVariableName() prefixes numbers with _ | 0 ms | Passed |
getSaveVariableName() replaces invalid characters | 1 ms | Passed |