Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: test/mjsunit/mjsunit.js

Issue 67191: Reimplement (address -> code) mapping from tickprocessor.py in JS. (Closed)
Patch Set: Added a comment to deleted_ member Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/tools/codemap.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/mjsunit.js
diff --git a/test/mjsunit/mjsunit.js b/test/mjsunit/mjsunit.js
index 3570d689ce550443072fca93a2bdbc68f6043ef6..370d491f8f9c66f6e39747b690673bd8511716ac 100644
--- a/test/mjsunit/mjsunit.js
+++ b/test/mjsunit/mjsunit.js
@@ -113,6 +113,20 @@ function assertNaN(value, name_opt) {
}
+function assertNull(value, name_opt) {
+ if (value !== null) {
+ fail("null", value, name_opt);
+ }
+}
+
+
+function assertNotNull(value, name_opt) {
+ if (value === null) {
+ fail("not null", value, name_opt);
+ }
+}
+
+
function assertThrows(code) {
var threwException = true;
try {
« no previous file with comments | « no previous file | test/mjsunit/tools/codemap.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698