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

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

Issue 7204022: Revert 89626 - Support automatic javascript test registry in gtest when creating WebUI tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | « chrome/chrome_tests.gypi ('k') | tools/js2webui.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/sample_pass.js
===================================================================
--- chrome/test/data/webui/sample_pass.js (revision 89626)
+++ chrome/test/data/webui/sample_pass.js (working copy)
@@ -1,27 +0,0 @@
-// 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.
-
-// Sample tests that exercise the test JS library and show how this framework
-// could be used to test the downloads page.
-var helper = {
- helpFunc: function helpFunc() {
- assertTrue(true);
- }
-};
-
-function testAssertFalse() {
- assertFalse(false);
-}
-
-function testHelper() {
- helper.helpFunc(false);
-}
-
-function testAssertTrue() {
- assertTrue(true);
-}
-
-function testAssertEquals() {
- assertEquals(5, 5, "fives");
-}
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | tools/js2webui.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698