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

Unified Diff: chrome/test/data/webui/test_api.js

Issue 2101933005: [MD Extensions] Implement keyboard shortcuts page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits + latest master Created 4 years, 5 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 | « chrome/test/data/webui/extensions/extension_test_util.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/test_api.js
diff --git a/chrome/test/data/webui/test_api.js b/chrome/test/data/webui/test_api.js
index 41c2f59702e6ca7b47931d3d97049109dc5260ca..a283c88bc536f23ae96c13e7b1ec8011c3b07f83 100644
--- a/chrome/test/data/webui/test_api.js
+++ b/chrome/test/data/webui/test_api.js
@@ -891,6 +891,16 @@ var testing = {};
}
/**
+ * @param {*} expected
+ * @param {*} actual
+ * {string=} opt_message
+ * @throws {Error}
+ */
+ function assertDeepEquals(expected, actual, opt_message) {
+ chai.assert.deepEqual(actual, expected, opt_message);
+ }
+
+ /**
* @param {number} value1 The first operand.
* @param {number} value2 The second operand.
* @param {string=} opt_message Additional error message.
@@ -1667,6 +1677,7 @@ var testing = {};
exports.assertGE = assertGE;
exports.assertGT = assertGT;
exports.assertEquals = assertEquals;
+ exports.assertDeepEquals = assertDeepEquals;
exports.assertLE = assertLE;
exports.assertLT = assertLT;
exports.assertNotEquals = assertNotEquals;
@@ -1683,6 +1694,7 @@ var testing = {};
exports.expectGE = createExpect(assertGE);
exports.expectGT = createExpect(assertGT);
exports.expectEquals = createExpect(assertEquals);
+ exports.expectDeepEquals = createExpect(assertDeepEquals);
exports.expectLE = createExpect(assertLE);
exports.expectLT = createExpect(assertLT);
exports.expectNotEquals = createExpect(assertNotEquals);
« no previous file with comments | « chrome/test/data/webui/extensions/extension_test_util.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698