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

Unified Diff: Tools/GardeningServer/ui/test/ct-view-tests.html

Issue 728023004: Remove GardeningServer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/GardeningServer/ui/test/ct-unexpected-failures-tests.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/test/ct-view-tests.html
diff --git a/Tools/GardeningServer/ui/test/ct-view-tests.html b/Tools/GardeningServer/ui/test/ct-view-tests.html
deleted file mode 100644
index dd122a72e218ea332f44b2187638a356468cbd75..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/test/ct-view-tests.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<!--
-Copyright 2014 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.
--->
-
-<link rel="import" href="../ct-view.html">
-
-<script>
-(function () {
-
-var assert = chai.assert;
-
-describe('ct-view', function() {
- var view;
-
- beforeEach(function() {
- view = document.createElement('ct-view');
- view.appendChild(document.createElement('div'));
- });
-
- it('should match path', function(done) {
- view.path = "/test/path";
- setTimeout(function() {
- var div = view.showView("/test/path");
- assert.ok(div);
- assert(!div.hidden);
-
- done();
- });
- });
-
- it('should not match incorrect path', function(done) {
- view.path = "/other/path";
- setTimeout(function() {
- var div = view.showView("/test/path");
- assert.notOk(div);
-
- done();
- });
- });
-
- it('should assign variables to child', function(done) {
- view.path = "/{var1}/test/{var2}";
- setTimeout(function() {
- var div = view.showView("/value1/test/value2");
- assert.ok(div);
- assert.equal(div.getAttribute('var1'), 'value1');
- assert.equal(div.getAttribute('var2'), 'value2');
-
- done();
- });
- });
-
-});
-
-})();
-</script>
« no previous file with comments | « Tools/GardeningServer/ui/test/ct-unexpected-failures-tests.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698