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

Unified Diff: Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard-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-embedded-flakiness-dashboard-tests.html
diff --git a/Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard-tests.html b/Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard-tests.html
deleted file mode 100644
index 93d7e0e78845366ce66cdecdda482dbe5800298d..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/ct-embedded-flakiness-dashboard-tests.html
+++ /dev/null
@@ -1,60 +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-embedded-flakiness-dashboard.html">
-
-<script>
-(function() {
-
-module("ct-embedded-flakiness-dashboard");
-
-asyncTest("url", 1, function() {
- var oldUrlForEmbeddedFlakinessDashboard = ui.urlForEmbeddedFlakinessDashboard;
- var reset = function() {
- ui.urlForEmbeddedFlakinessDashboard = oldUrlForEmbeddedFlakinessDashboard;
- }
-
- try {
- ui.urlForEmbeddedFlakinessDashboard = function(test, step, tree) { return "about:blank#" + test + step + tree; }
- var embeddedFlakinessDashboard = document.createElement('ct-embedded-flakiness-dashboard');
- var testName = "foo/bar.html";
- var step = "foo_tests";
- var tree = "blink";
- embeddedFlakinessDashboard.test = {
- testName: testName,
- step: step,
- };
- embeddedFlakinessDashboard.tree = tree;
-
- requestAnimationFrame(function() {
- var iframe = embeddedFlakinessDashboard.shadowRoot.querySelector('#iframe');
- equal(iframe.src, ui.urlForEmbeddedFlakinessDashboard(testName, step, tree));
- reset();
- start();
- });
- } catch (e) {
- reset();
- }
-});
-
-asyncTest("heightChanged", 1, function() {
- var embeddedFlakinessDashboard = document.createElement('ct-embedded-flakiness-dashboard');
-
- function finishTest() {
- window.removeEventListener('message', finishTest);
- var iframe = embeddedFlakinessDashboard.shadowRoot.querySelector('#iframe');
- equal(iframe.style.height, "100px");
- start();
- }
- window.addEventListener('message', finishTest);
-
- requestAnimationFrame(function() {
- window.postMessage({command: 'heightChanged', height: "100"}, '*');
- });
-});
-
-})()
-</script>
« no previous file with comments | « Tools/GardeningServer/ui/ct-commit-tests.html ('k') | Tools/GardeningServer/ui/ct-failure-analyzer-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698