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

Unified Diff: tracing/tracing/base/iteration_helpers_test.html

Issue 2956023002: Remove tr.b.dictionaryContainsValue. (Closed)
Patch Set: Created 3 years, 6 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 | « tracing/tracing/base/iteration_helpers.html ('k') | tracing/tracing/ui/base/table.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/iteration_helpers_test.html
diff --git a/tracing/tracing/base/iteration_helpers_test.html b/tracing/tracing/base/iteration_helpers_test.html
index 5d90b20497245061c23d4766aedaa28268bc1428..28cea83744b65d8836728a6b3406847d13aef0ad 100644
--- a/tracing/tracing/base/iteration_helpers_test.html
+++ b/tracing/tracing/base/iteration_helpers_test.html
@@ -284,18 +284,6 @@ tr.b.unittest.testSuite(function() {
assert.strictEqual(k, undefined);
});
- test('dictionaryContainsValue', function() {
- const emptyDict = {};
- assert.isFalse(tr.b.dictionaryContainsValue(emptyDict, 'missing'));
-
- const nonEmptyDict = {a: 42, b: 'value'};
- assert.isTrue(tr.b.dictionaryContainsValue(nonEmptyDict, 42));
- assert.isTrue(tr.b.dictionaryContainsValue(nonEmptyDict, 'value'));
- assert.isFalse(tr.b.dictionaryContainsValue(nonEmptyDict, 'a'));
- assert.isFalse(tr.b.dictionaryContainsValue(nonEmptyDict, 'b'));
- assert.isFalse(tr.b.dictionaryContainsValue(nonEmptyDict, 'missing'));
- });
-
test('mapValues', function() {
const map = new Map();
map.set('a', 1);
« no previous file with comments | « tracing/tracing/base/iteration_helpers.html ('k') | tracing/tracing/ui/base/table.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698