| 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>
|
|
|