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

Unified Diff: Tools/GardeningServer/ui/test/ct-builder-failure-card-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-builder-failure-card-tests.html
diff --git a/Tools/GardeningServer/ui/test/ct-builder-failure-card-tests.html b/Tools/GardeningServer/ui/test/ct-builder-failure-card-tests.html
deleted file mode 100644
index 339d43bf7bbf73bcc4e28eee45d473c5a0dc8600..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/test/ct-builder-failure-card-tests.html
+++ /dev/null
@@ -1,54 +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-failure-card.html">
-
-<link rel="import" href="../../model/ct-failure-group.html">
-
-<script>
-(function () {
-
-var assert = chai.assert;
-
-describe('ct-builder-failure-card', function() {
- var group;
- var card;
- var failure;
-
- beforeEach(function(done) {
- card = document.createElement('ct-builder-failure-card');
- group = new CTFailureGroup('blink', new CTBuilderFailureGroupData(
- new CTBuilderFailure('blink', 'https://build.chromium.org/p/chromium.webkit',
- 'Linux (dbg)', 'building', 7200, 5), "Linux (dbg)", "http://foo.bar"));
- card.group = group.data;
- card.commitLog = new CTCommitLogMock();
- setTimeout(done);
- });
-
- describe('failure card UI', function() {
-
- it('should rename building to running.', function(done) {
- var text = card.shadowRoot.querySelectorAll('div')[0].textContent;
-
- assert(text.search('running') != -1);
- assert(text.search('building') == -1);
- done();
- });
-
- it('should display the correct values.', function(done) {
- var text = card.shadowRoot.textContent;
-
- assert(text.search('2.00 hours') != -1);
- assert(text.search('5 pending builds') != -1);
- done();
- });
-
- });
-
-});
-
-})()
-</script>
« no previous file with comments | « Tools/GardeningServer/ui/ct-view-handler.html ('k') | Tools/GardeningServer/ui/test/ct-builder-grid-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698