Index: chrome/test/data/webui/options_page_certificates.js |
diff --git a/chrome/test/data/webui/options_page_certificates.js b/chrome/test/data/webui/options_page_certificates.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8eeee0652adf88b42e6195b060df636ec1ee24af |
--- /dev/null |
+++ b/chrome/test/data/webui/options_page_certificates.js |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+/** |
+ * TestFixture for CertificatesOptionsPage WebUI testing. |
+ * @extends {testing.Test} |
+ * @constructor |
+ **/ |
+function CertificatesOptionsWebUITest() {} |
+ |
+CertificatesOptionsWebUITest.prototype = { |
+ __proto__: testing.Test.prototype, |
+ |
+ /** |
+ * Browse to the certificates options page & call our PreLoad(). |
+ **/ |
+ browsePreload: 'chrome://settings/certificates', |
+}; |
+ |
+// Test opening the certificates page has correct location, instance, and title. |
+TEST_F('CertificatesOptionsWebUITest', 'testOpenCertificatesPage', function() { |
+ assertEquals(this.browsePreload, document.location.href); |
+}); |