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

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

Issue 371133003: Add failed builders to sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: async instead of endMicrotask Created 6 years, 5 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-failing-builders-tests.html
diff --git a/Tools/GardeningServer/ui/ct-failing-builders-tests.html b/Tools/GardeningServer/ui/ct-failing-builders-tests.html
new file mode 100644
index 0000000000000000000000000000000000000000..9594036354b58fac0784c27268b1c042dee034f0
--- /dev/null
+++ b/Tools/GardeningServer/ui/ct-failing-builders-tests.html
@@ -0,0 +1,37 @@
+<!--
+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-failing-builders.html">
+
+<script>
+(function () {
+
+var kExampleBuilders = {
+ 'Win7 (dbg)': ['compile'],
+ 'WebKit Mac10.6 (dbg)': ['content_browsertests', 'unit_tests'],
+ 'WebKit XP': ['runhooks', 'webkit_unit_tests', 'webkit_lint'],
+};
+
+module("ct-failing-builders");
+
+asyncTest("basic", 3, function() {
+ var el = document.createElement('ct-failing-builders');
+ el.builders = kExampleBuilders;
+
+ el.async(function() {
+ var builders = el.shadowRoot.querySelectorAll('ct-builder');
+ for (var i = 0; i < builders.length; i++) {
+ var steps = builders[i].shadowRoot.querySelector('.details');
+ ok(steps.textContent == 'compile' ||
+ steps.textContent == 'content_browsertests, unit_tests' ||
+ steps.textContent == 'runhooks, webkit_unit_tests, webkit_lint');
+ }
+ start();
+ });
+});
+
+})()
+</script>
« no previous file with comments | « Tools/GardeningServer/ui/ct-failing-builders.html ('k') | Tools/GardeningServer/ui/ct-failure-analyzer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698