Commit 5f0a4422 authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[foozzie] Override more mjsunit.js methods for better output comparison

TBR=yangguo@chromium.org
NOTRY=true

Bug: chromium:813833
Change-Id: I8f687d27981a54234c37ba2e4b22060696f6dee7
Reviewed-on: https://chromium-review.googlesource.com/936006Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51538}
parent a404fe44
......@@ -57,5 +57,29 @@ try {
this.fail = function fail(expectedText, found, name_opt) {
print(prettyPrinted(found));
}
this.assertSame = function assertSame(expected, found, name_opt) {
print(prettyPrinted(found));
}
this.assertNotSame = function assertNotSame(expected, found, name_opt) {
print(prettyPrinted(found));
}
this.assertEquals = function assertEquals(expected, found, name_opt) {
print(prettyPrinted(found));
}
this.assertNotEquals = function assertNotEquals(expected, found, name_opt) {
print(prettyPrinted(found));
}
this.assertNull = function assertNull(value, name_opt) {
print(prettyPrinted(value));
}
this.assertNotNull = function assertNotNull(value, name_opt) {
print(prettyPrinted(value));
}
})();
} catch(e) { }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment