Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- svuser@PXXXWIN7VM /c/work/mozmill
- $ mozmill -m mutt/mutt/tests/js/assertions/tests.ini -b /c/Mozilla/Nightly/firefox-25.0a1.en-US.win32/firefox/firefox.exe --console-level=DEBUG
- DEBUG | register | true
- DEBUG | mozmill.startRunner | true
- DEBUG | mozmill.setModule | "currentModule"
- DEBUG | mozmill.setState | "currentState"
- TEST-START | expect_assert.js | testExpect
- DEBUG | mozmill.setTest | {
- "name": "testExpect",
- "filename": "c:\\work\\mozmill\\mutt\\mutt\\tests\\js\\assertions\\expect_assert.js"
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.pass for [has to pass] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.fail for [has to fail] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.ok for [true, true has to pass] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.ok for [false, false has to fail] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.ok for [0, 0 has to fail] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.ok for [1, 1 has to pass] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.ok for [2, 2 has to pass] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.ok for [, empty string has to fail] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.ok for [test, non-empty string has to pass] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.ok for [, null has to fail] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.ok for [, undefined has to fail] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.equal for [true, true, Values are equal] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.equal for [true, false, Values are not equal] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.equal for [, , Types are not equal] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.equal for [, false, Types are not equal] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.equal for [str, str, Strings are equal] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.deepEqual for [[object Object], [object Object], Objects are equal] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.deepEqual for [3,4, 3,4, Arrays are equal] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.deepEqual for [5,4, 4,5, Arrays are not equal] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.deepEqual for [str, str, Strings are equal] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.deepEqual for [, false, Objects are not equal] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.notEqual for [true, true, Values are equal] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.notEqual for [true, false, Values are not equal] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.notEqual for [, , Types are not equal] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.notDeepEqual for [[object Object], [object Object], Objects are not equal] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.notDeepEqual for [[object Object], [object Object], Objects are equal] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.match for [Mozilla, /Mozilla/, regex matches string] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.match for [Mozilla, /mozilla/, regex does not match string] - 'false' should equal 'false'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.match for [Mozilla, /mozilla/i, regex matches string] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "expect.notMatch for [Mozilla, /firefox/, regex does not match string] - 'true' should equal 'true'",
- "lineNumber": 102,
- "functionName": "testExpect",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "Types are not equal - 'undefined' should not equal 'null'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.notEqual for [, , Types are not equal]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "Objects are not equal - '{}' should not equal '{\"a\":4}'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.notDeepEqual for [[object Object], [object Object], Objects are not equal]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.notDeepEqual for [[object Object], [object Object], Objects are equal]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "regex matches string - '/Mozilla/' matches for 'Mozilla'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.match for [Mozilla, /Mozilla/, regex matches string]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.match for [Mozilla, /mozilla/, regex does not match string]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "regex matches string - '/mozilla/i' matches for 'Mozilla'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.match for [Mozilla, /mozilla/i, regex matches string]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": "regex does not match string - '/firefox/' doesn't match for 'Mozilla'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.notMatch for [Mozilla, /firefox/, regex does not match string]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.notMatch for [Mozilla, /Mozilla/, regex matches string]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": ". Throws an error",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.throws for [function () { throw new Error(); }, , Throws an error]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (Error). Throws a specific error",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.throws for [function () { throw new Error(); }, function Error() {\n [native code]\n}, Throws a specific error]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (Error). assert.throws for [function () { throw new Error(); }, function Err() {\n // exception used for testing throws()\n}, Catches the wrong error]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.throws for [function () { }, , Throws no error]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": ". Throws no error",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.doesNotThrow for [function () { }, , Throws no error]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (Error). Throws no specific error",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.doesNotThrow for [function () { }, function Error() {\n [native code]\n}, Throws no specific error]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (AssertionError). assert.doesNotThrow for [function () { throw new Error(); }, function Error() {\n [native code]\n}, Doesn't throw on named exception]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (Error). assert.doesNotThrow for [function () { throw new Error(); }, function Err() {\n // exception used for testing throws()\n}, Catches wrong error]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- DEBUG | Step Pass: {
- "pass": {
- "message": " (Error). assert.doesNotThrow for [function () { throw new Error(); }, , Throws error]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- TEST-PASS | expect_assert.js | testAssert
- DEBUG | mozmill.endTest | {
- "passes": [
- {
- "pass": {
- "message": "has to pass",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.pass for [has to pass]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.fail for [has to fail]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "true has to pass - got 'true'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.ok for [true, true has to pass]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.ok for [false, false has to fail]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.ok for [0, 0 has to fail]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "1 has to pass - got '1'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.ok for [1, 1 has to pass]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "2 has to pass - got '2'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.ok for [2, 2 has to pass]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.ok for [, empty string has to fail]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "non-empty string has to pass - got 'test'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.ok for [test, non-empty string has to pass]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.ok for [, null has to fail]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.ok for [, undefined has to fail]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "Values are equal - 'true' should equal 'true'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.equal for [true, true, Values are equal]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.equal for [true, false, Values are not equal]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.equal for [, , Types are not equal]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.equal for [, false, Types are not equal]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "Strings are equal - 'str' should equal 'str'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.equal for [str, str, Strings are equal]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "Objects are equal - '{\"a\":1,\"b\":[\"y\",\"z\"]}' should equal '{\"a\":1,\"b\":[\"y\",\"z\"]}'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.deepEqual for [[object Object], [object Object], Objects are equal]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "Arrays are equal - '[3,4]' should equal '[3,4]'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.deepEqual for [3,4, 3,4, Arrays are equal]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.deepEqual for [5,4, 4,5, Arrays are not equal]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "Strings are equal - '\"str\"' should equal '\"str\"'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.deepEqual for [str, str, Strings are equal]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.deepEqual for [, false, Objects are not equal]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.notEqual for [true, true, Values are equal]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "Values are not equal - 'true' should not equal 'false'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.notEqual for [true, false, Values are not equal]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "Types are not equal - 'undefined' should not equal 'null'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.notEqual for [, , Types are not equal]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "Objects are not equal - '{}' should not equal '{\"a\":4}'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.notDeepEqual for [[object Object], [object Object], Objects are not equal]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.notDeepEqual for [[object Object], [object Object], Objects are equal]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "regex matches string - '/Mozilla/' matches for 'Mozilla'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.match for [Mozilla, /Mozilla/, regex matches string]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.match for [Mozilla, /mozilla/, regex does not match string]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "regex matches string - '/mozilla/i' matches for 'Mozilla'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.match for [Mozilla, /mozilla/i, regex matches string]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": "regex does not match string - '/firefox/' doesn't match for 'Mozilla'",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.notMatch for [Mozilla, /firefox/, regex does not match string]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.notMatch for [Mozilla, /Mozilla/, regex matches string]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": ". Throws an error",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.throws for [function () { throw new Error(); }, , Throws an error]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (Error). Throws a specific error",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.throws for [function () { throw new Error(); }, function Error() {\n [native code]\n}, Throws a specific error]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (Error). assert.throws for [function () { throw new Error(); }, function Err() {\n // exception used for testing throws()\n}, Catches the wrong error]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.throws for [function () { }, , Throws no error]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": ". Throws no error",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.doesNotThrow for [function () { }, , Throws no error]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (Error). Throws no specific error",
- "lineNumber": 117,
- "functionName": "testAssert/<",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.doesNotThrow for [function () { }, function Error() {\n [native code]\n}, Throws no specific error]",
- "lineNumber": 118,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (AssertionError). assert.doesNotThrow for [function () { throw new Error(); }, function Error() {\n [native code]\n}, Doesn't throw on named exception]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (Error). assert.doesNotThrow for [function () { throw new Error(); }, function Err() {\n // exception used for testing throws()\n}, Catches wrong error]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- },
- {
- "pass": {
- "message": " (Error). assert.doesNotThrow for [function () { throw new Error(); }, , Throws error]",
- "lineNumber": 122,
- "functionName": "testAssert",
- "fileName": "file:///c:/work/mozmill/mutt/mutt/tests/js/assertions/expect_assert.js"
- }
- }
- ],
- "fails": [],
- "time_start": 1373901010268,
- "name": "testAssert",
- "time_end": 1373901010302,
- "filename": "c:\\work\\mozmill\\mutt\\mutt\\tests\\js\\assertions\\expect_assert.js",
- "failed": 0,
- "passed": 60
- }
- TEST-END | expect_assert.js | finished in 56ms
- DEBUG | mozmill.endModule | {
- "time_start": 1373901010250,
- "time_end": 1373901010306,
- "filename": "c:\\work\\mozmill\\mutt\\mutt\\tests\\js\\assertions\\expect_assert.js"
- }
- DEBUG | mozmill.endRunner | true
- DEBUG | mozmill.persist | {
- "screenshots": {
- "path": "c:\\users\\svuser\\appdata\\local\\temp\\tmpvtyd43"
- }
- }
- DEBUG | Step Pass: {
- "message": "AppQuitObserver: null",
- "userShutdown": null
- }
- DEBUG | Step Pass: {
- "function": "utils.waitFor()"
- }
- RESULTS | Passed: 1
- RESULTS | Failed: 0
- RESULTS | Skipped: 0
- svuser@PXXXWIN7VM /c/work/mozmill
- $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement