Index: Tools/GardeningServer/ui/test/ct-commit-list-tests.html |
diff --git a/Tools/GardeningServer/ui/test/ct-commit-list-tests.html b/Tools/GardeningServer/ui/test/ct-commit-list-tests.html |
deleted file mode 100644 |
index 02495824fe7286e60c4faca9f0742bab7e92e1b2..0000000000000000000000000000000000000000 |
--- a/Tools/GardeningServer/ui/test/ct-commit-list-tests.html |
+++ /dev/null |
@@ -1,49 +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-commit-list.html"> |
- |
-<link rel="import" href="../../model/ct-commit-list-mock.html"> |
- |
-<script> |
-(function () { |
- |
-var assert = chai.assert; |
- |
-describe('ct-commit-list', function() { |
- var list; |
- |
- beforeEach(function(done) { |
- list = document.createElement('ct-commit-list'); |
- setTimeout(done); |
- }); |
- |
- describe('commit list UI', function() { |
- beforeEach(function(done) { |
- list.commitList = new CTCommitListMock(); |
- setTimeout(done); |
- }); |
- |
- it('should show no commits by default', function() { |
- var commits = list.shadowRoot.querySelectorAll('ct-commit'); |
- assert.lengthOf(commits, 0); |
- }); |
- |
- describe('expanded test', function() { |
- beforeEach(function(done) { |
- list.commitList.repositories.first().expanded = true; |
- setTimeout(done); |
- }); |
- |
- it('should show commit when expanded', function() { |
- assert.lengthOf(list.shadowRoot.querySelectorAll('ct-commit'), 2); |
- }); |
- }); |
- }); |
-}); |
- |
-})() |
-</script> |