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

Unified Diff: Tools/GardeningServer/ui/ct-builder-grid-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
« no previous file with comments | « Tools/GardeningServer/test/unit-tests.html ('k') | Tools/GardeningServer/ui/ct-builder-tests.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-builder-grid-tests.html
diff --git a/Tools/GardeningServer/ui/ct-builder-grid-tests.html b/Tools/GardeningServer/ui/ct-builder-grid-tests.html
deleted file mode 100644
index 1652faf900aa8e647a4c56f41a3dddf12486e42c..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/ct-builder-grid-tests.html
+++ /dev/null
@@ -1,88 +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-grid.html">
-
-<link rel="import" href="ct-builder.html">
-
-<script>
-(function () {
-
-var kExampleFailures = [{
- "testName": "plugins/gesture-events-scrolled.html",
- "resultNodesByBuilder": {
- "WebKit Win7 (dbg)": {
- "actual": "CRASH",
- "masterUrl": "http://master-one",
- "earliestFailingBuild": "1",
- },
- "WebKit Mac10.6 (dbg)": {
- "actual": "CRASH",
- "masterUrl": "http://master-one",
- "earliestFailingBuild": "2",
- },
- "WebKit Mac10.7": {
- "actual": "TEXT",
- "masterUrl": "http://master-one",
- "earliestFailingBuild": "3",
- }
- },
- "oldestFailingRevision": 177164,
- "newestPassingRevision": 177165
-}, {
- "testName": "plugins/transformed-events.html",
- "resultNodesByBuilder": {
- "WebKit Win7 (dbg)": {
- "actual": "TEXT",
- "masterUrl": "http://master-one",
- "earliestFailingBuild": "1",
- },
- "WebKit Mac10.7": {
- "actual": "CRASH",
- "masterUrl": "http://master-two",
- "earliestFailingBuild": "4",
- },
- },
- "oldestFailingRevision": 177164,
- "newestPassingRevision": 177165
-}];
-
-var kExampleBuilderLatestRevisions = {
- 'WebKit Mac10.7': {
- blink: 177164,
- },
- 'WebKit Mac10.6 (dbg)': {
- blink: 177166,
- },
- 'WebKit Win7 (dbg)': {
- blink: 177166,
- },
-};
-
-module("ct-builder-grid");
-
-asyncTest("basic", 5, function() {
- var grid = document.createElement('ct-builder-grid');
- grid.failures = kExampleFailures;
-
- requestAnimationFrame(function() {
- var builders = grid.shadowRoot.querySelectorAll('ct-builder');
- equal(builders.length, 4);
- deepEqual(builders[0].builder, new CTBuilder(
- 'http://master-one', 'WebKit Mac10.6 (dbg)', '2'));
- deepEqual(builders[1].builder, new CTBuilder(
- 'http://master-one', 'WebKit Mac10.7', '3'));
- deepEqual(builders[2].builder, new CTBuilder(
- 'http://master-two', 'WebKit Mac10.7', '4'));
- deepEqual(builders[3].builder, new CTBuilder(
- 'http://master-one', 'WebKit Win7 (dbg)', '1'));
-
- start();
- });
-});
-
-})()
-</script>
« no previous file with comments | « Tools/GardeningServer/test/unit-tests.html ('k') | Tools/GardeningServer/ui/ct-builder-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698