Index: Tools/GardeningServer/model/test/ct-commit-tests.html |
diff --git a/Tools/GardeningServer/model/test/ct-commit-tests.html b/Tools/GardeningServer/model/test/ct-commit-tests.html |
deleted file mode 100644 |
index 39f4d06d8960f65d4f08444bb475504c180d027c..0000000000000000000000000000000000000000 |
--- a/Tools/GardeningServer/model/test/ct-commit-tests.html |
+++ /dev/null |
@@ -1,82 +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.html"> |
- |
-<script> |
-(function () { |
- |
-var assert = chai.assert; |
- |
-describe('ct-commit model', function() { |
- var commit; |
- var url; |
- var repository; |
- var revision; |
- |
- afterEach(function() { |
- assert.equal(commit.revision, revision); |
- assert.equal(commit.url, url.assign({revision: String(revision)})); |
- assert.equal(commit.repository, repository); |
- }); |
- |
- it('incomplete', function() { |
- url = "https://mockbase.com?{revision}"; |
- repository = 'blink'; |
- revision = 158545; |
- commit = CTCommit.createIncomplete(url, revision, repository); |
- }); |
- |
- describe('complete', function() { |
- var author; |
- var message; |
- |
- afterEach(function() { |
- assert.equal(commit.author, author); |
- assert.equal(commit.message, message); |
- assert.equal(commit.summary, "This matches Gecko's behavior for these types of properties."); |
- }); |
- |
- it('chromium', function() { |
- message = |
- "This matches Gecko's behavior for these types of properties.\n" + |
- "\n" + |
- "BUG=17325\n" + |
- "R=jochen@chromium.org\n" + |
- "CC=abarth@chromium.org\n" + |
- "\n" + |
- "Revert of Cr-Commit-Position: refs/heads/master@{#158000}" + |
- "Review URL: https://chromiumcodereview.appspot.com/25022002\n" + |
- "\n" + |
- "Cr-Commit-Position: refs/heads/master@{#158545}\n" |
- url = "https://mockbase.com?{revision}"; |
- author = "mkwst@chromium.org"; |
- repository = 'chromium'; |
- commit = CTCommit.create(author, message, url, repository); |
- }); |
- |
- it('blink', function() { |
- message = |
- "This matches Gecko's behavior for these types of properties.\n" + |
- "\n" + |
- "BUG=17325\n" + |
- "R=jochen@chromium.org\n" + |
- "CC=abarth@chromium.org\n" + |
- "\n" + |
- "Revert of git-svn-id: svn://svn.chromium.org/blink/trunk@158000 bbb929c8-8fbe-4397-9dbb-9b2b20218538" + |
- "Review URL: https://chromiumcodereview.appspot.com/25022002\n" + |
- "\n" + |
- "git-svn-id: svn://svn.chromium.org/blink/trunk@158545 bbb929c8-8fbe-4397-9dbb-9b2b20218538"; |
- url = "https://mockbase.com?{revision}"; |
- author = "mkwst@chromium.org"; |
- repository = 'blink'; |
- commit = CTCommit.create(author, message, url, repository); |
- }); |
- }); |
-}); |
- |
-})(); |
-</script> |