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

Unified Diff: tools/cc-frame-viewer/src/ui/list_view_test.html

Issue 15736032: Remove old cc-frame-viewer now that it is upstreamed into trace_viewer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « tools/cc-frame-viewer/src/ui/list_view.js ('k') | tools/cc-frame-viewer/third_party/gl-matrix/.gitignore » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/cc-frame-viewer/src/ui/list_view_test.html
diff --git a/tools/cc-frame-viewer/src/ui/list_view_test.html b/tools/cc-frame-viewer/src/ui/list_view_test.html
deleted file mode 100644
index 2ecc6fc76e18f6844c13b8617cff56413a8fe6f9..0000000000000000000000000000000000000000
--- a/tools/cc-frame-viewer/src/ui/list_view_test.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<!--
-Copyright (c) 2012 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.
--->
-<head>
-<script src="../base.js"></script>
-<script>
- base.require('base.unittest');
- base.require('ui.list_view');
-</script>
-</head>
-<body>
-<script>
- 'use strict';
-
- var ListView = ui.ListView;
-
- function testInstantiate() {
- var view = new ListView();
- var i1 = view.addItem('item 1');
- var i2 = view.addItem('item 2');
- var i3 = view.addItem('item 3');
- this.addHTMLOutput('basic-list-view', view);
- i1.click();
- }
-
- function testProgrammaticSelection() {
- var view = new ListView();
- var i1 = view.addItem('item 1');
- var i2 = view.addItem('item 2');
- var i3 = view.addItem('item 3');
- this.addHTMLOutput('programmatic selection', view);
- i2.selected = true;
- assertTrue(i2.hasAttribute('selected'));
- i3.selected = true;
- assertFalse(i2.hasAttribute('selected'));
- assertTrue(i3.hasAttribute('selected'));
- }
-
- function testSelectionEvents() {
- var view = new ListView();
- var didSelectionChange = 0;
- view.addEventListener('selection-changed', function() {
- didSelectionChange = true;
- });
- var i1 = view.addItem('item 1');
- var i2 = view.addItem('item 2');
- var i3 = view.addItem('item 3');
-
- didSelectionChange = false;
- i2.selected = true;
- assertTrue(didSelectionChange);
-
- didSelectionChange = false;
- view.removeChild(i2);
- assertTrue(didSelectionChange);
- }
-
-</script>
-</body>
-</html>
« no previous file with comments | « tools/cc-frame-viewer/src/ui/list_view.js ('k') | tools/cc-frame-viewer/third_party/gl-matrix/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698