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 | 1 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' | 7 ms | Passed |
getSaveVariableName() creates random string for invalid characters | 43 ms | Passed |
getSaveVariableName() does not alter save name | 1 ms | Passed |
getSaveVariableName() prefixes keywords with _ | 2 ms | Passed |
getSaveVariableName() prefixes numbers with _ | 1 ms | Passed |
getSaveVariableName() replaces invalid characters | 1 ms | Passed |