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

Unified Diff: Tools/GardeningServer/ui/test/ct-results-by-builder-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
Index: Tools/GardeningServer/ui/test/ct-results-by-builder-tests.html
diff --git a/Tools/GardeningServer/ui/test/ct-results-by-builder-tests.html b/Tools/GardeningServer/ui/test/ct-results-by-builder-tests.html
deleted file mode 100644
index dad253024b5e41c545f0749dfa90f9be620b93ba..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/test/ct-results-by-builder-tests.html
+++ /dev/null
@@ -1,74 +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-results-by-builder.html">
-
-<script>
-(function () {
-
-var assert = chai.assert;
-
-var kExampleFailure = {
- "testName": "inspector/console/console-viewport-selection.html",
- "resultNodesByBuilder": {
- "WebKit Mac10.6 (dbg)": {
- "actual": "IMAGE",
- },
- "WebKit Linux (dbg)": {
- "actual": "TEXT",
- },
- },
- "oldestFailingRevision": 177164,
- "newestPassingRevision": 177165,
-};
-
-describe('ct-results-by-builder', function() {
- var resultsByBuilder;
- var oldFetchResultsURLs;
-
- beforeEach(function(done) {
- // FIXME: Remove this override when ct-results-detail is fixed to not use
- // results.fetchResultsURLs.
- oldFetchResultsURLs = results.fetchResultsURLs;
- results.fetchResultsURLs = function() { return Promise.resolve([]); };
-
- resultsByBuilder = document.createElement('ct-results-by-builder');
- resultsByBuilder.failure = kExampleFailure;
-
- setTimeout(done);
- });
-
- afterEach(function() {
- results.fetchResultsURLs = oldFetchResultsURLs;
- });
-
- describe('results UI', function() {
- it('should show details in each tab', function(done) {
- var tabs = resultsByBuilder.shadowRoot.querySelectorAll('paper-tab');
- assert.lengthOf(tabs, 2);
- assert.equal(tabs[0].textContent, 'WebKit Linux (dbg)');
- assert.equal(tabs[1].textContent, 'WebKit Mac10.6 (dbg)');
-
- var detail = resultsByBuilder.shadowRoot.querySelectorAll('ct-results-detail');
- assert.lengthOf(detail, 1);
- assert.equal(detail[0].failure.testName, 'inspector/console/console-viewport-selection.html');
- assert.equal(detail[0].builder, 'WebKit Linux (dbg)');
-
- resultsByBuilder.shadowRoot.querySelector('paper-tabs').selected = 1;
-
- setTimeout(function() {
- var detail = resultsByBuilder.shadowRoot.querySelectorAll('ct-results-detail');
- assert.lengthOf(detail, 1);
- assert.equal(detail[0].failure.testName, 'inspector/console/console-viewport-selection.html');
- assert.equal(detail[0].builder, 'WebKit Mac10.6 (dbg)');
- done();
- });
- });
- });
-});
-
-})()
-</script>
« no previous file with comments | « Tools/GardeningServer/ui/test/ct-popout-iframe.html ('k') | Tools/GardeningServer/ui/test/ct-results-comparison-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698