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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/interfaces.js

Issue 2897083002: [credentialsmanager] Remove redundant tests (Closed)
Patch Set: Remove redundant assertions Created 3 years, 7 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 | « third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/interfaces.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/interfaces.js b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/interfaces.js
deleted file mode 100644
index eb00df65ff3b7b709a2c603cd7be21f765ec5f40..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/interfaces.js
+++ /dev/null
@@ -1,15 +0,0 @@
-function verify_interface(name, instance, attributes) {
- assert_true(name in self,
- name + ' should be an defined type');
- if (instance) {
- assert_true(instance instanceof self[name],
- instance + ' should be an instance of ' + name);
- Object.keys(attributes || {}).forEach(function(attribute) {
- var type = attributes[attribute];
- assert_true(attribute in instance,
- attribute + ' should be an attribute of ' + name);
- assert_equals(typeof instance[attribute], type,
- attribute + ' should be of type ' + type);
- });
- }
-}
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/credentialmanager/passwordcredential-basics.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698