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

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

Issue 462453002: Sheriff-O-Matic: Transition more unit tests to mocha. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase and fix Created 6 years, 4 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
Index: Tools/GardeningServer/ui/ct-builder-tests.html
diff --git a/Tools/GardeningServer/ui/ct-builder-tests.html b/Tools/GardeningServer/ui/ct-builder-tests.html
deleted file mode 100644
index 33c1f84154143a639585ed319f8adc11ed632ffa..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/ct-builder-tests.html
+++ /dev/null
@@ -1,39 +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-builder.html">
-
-<link rel="import" href="../model/ct-builder.html">
-
-<script>
-(function () {
-
-module("ct-builder");
-
-asyncTest("basic", 4, function() {
- var builder = document.createElement('ct-builder');
-
- var masterUrl = 'http://url/';
- var builderName = 'WebKit Linux (dbg)';
- var firstFailingBuild = '1234';
- builder.builder = new CTBuilder(masterUrl,
- builderName, firstFailingBuild);
-
- builder.async(function() {
- var html = builder.shadowRoot.innerHTML;
-
- var a = builder.shadowRoot.querySelector('a');
- ok(a);
- equal(a.href.indexOf(masterUrl), 0);
- notEqual(a.href.indexOf(encodeURIComponent(builderName)), -1);
- notEqual(a.href.indexOf(firstFailingBuild), -1);
-
- start();
- });
-});
-
-})()
-</script>
« no previous file with comments | « Tools/GardeningServer/ui/ct-builder-grid-tests.html ('k') | Tools/GardeningServer/ui/ct-commit-list-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698