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

Unified Diff: Tools/GardeningServer/ui/test/ct-revision-details-tests.html

Issue 555263004: Add hung bots to sheriff-o-matic view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address nits. Created 6 years, 3 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/ui/ct-unexpected-failures.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/test/ct-revision-details-tests.html
diff --git a/Tools/GardeningServer/ui/test/ct-revision-details-tests.html b/Tools/GardeningServer/ui/test/ct-revision-details-tests.html
deleted file mode 100644
index f6c09c5cff3743f81a35597bd5ad26a46671fdb6..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/ui/test/ct-revision-details-tests.html
+++ /dev/null
@@ -1,55 +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-revision-details.html">
-
-<link rel="import" href="../../model/ct-builder-revisions-mock.html">
-<link rel="import" href="../../model/ct-commit-log-mock.html">
-
-<script>
-(function () {
-
-var assert = chai.assert;
-
-describe('ct-revision-details', function() {
- var revisionDetails;
-
- describe('empty', function() {
- before(function(done) {
- revisionDetails = document.createElement('ct-revision-details');
- setTimeout(done);
- });
-
- it('should not show revision', function() {
- assert.isNull(revisionDetails.shadowRoot.querySelector('#fullyProcessedRevision'));
- assert.isNull(revisionDetails.shadowRoot.querySelector('#trunkRevision'));
- });
- });
-
- describe('blink revision', function() {
- before(function(done) {
- revisionDetails = document.createElement('ct-revision-details');
-
- var builderRevisions = new CTBuilderRevisionsMock();
- var commitLog = new CTCommitLogMock();
- commitLog._updateLastRevision('blink');
-
- revisionDetails.builderLatestRevisions = builderRevisions;
- revisionDetails.tree = 'blink';
- revisionDetails.commitLog = commitLog;
-
- setTimeout(done);
- });
-
- it('should show the revision', function() {
- assert.equal(revisionDetails.shadowRoot.querySelector('#fullyProcessedRevision').innerText, '158543');
- assert.equal(revisionDetails.shadowRoot.querySelector('#trunkRevision').innerText, '158545');
- });
- });
-});
-
-})();
-</script>
« no previous file with comments | « Tools/GardeningServer/ui/ct-unexpected-failures.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698