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

Unified Diff: Tools/GardeningServer/model/test/ct-step-failure-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/model/test/ct-step-failure-tests.html
diff --git a/Tools/GardeningServer/model/test/ct-step-failure-tests.html b/Tools/GardeningServer/model/test/ct-step-failure-tests.html
deleted file mode 100644
index 424103b2f7581ed0d62eb01ecb966115e791a031..0000000000000000000000000000000000000000
--- a/Tools/GardeningServer/model/test/ct-step-failure-tests.html
+++ /dev/null
@@ -1,58 +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-step-failure.html">
-
-<script>
-(function () {
-
-var assert = chai.assert;
-
-describe('CTStepFailure', function() {
- var tests = [
- {
- failure: new CTStepFailure('browser_tests', 'FooTest.Bar', {}, 123, 123),
- expectedGroupName: 'FooTest',
- expectedKey: 'browser_tests::FooTest.Bar',
- },
- {
- failure: new CTStepFailure('webkit_tests', 'fast/text/foo.html', {}, 123, 123),
- expectedGroupName: 'fast/text',
- expectedKey: 'webkit_tests::fast/text/foo.html',
- },
- {
- failure: new CTStepFailure('compile', undefined, {builder1: {}}, 123, 123),
- expectedGroupName: undefined,
- expectedKey: 'compile::builder1',
- }
- ];
-
- it('group name', function() {
- tests.forEach(function(test) {
- assert.equal(test.failure.reasonGroupName(), test.expectedGroupName);
- });
- });
-
- it('has key', function() {
- tests.forEach(function(test) {
- assert.propertyVal(test.failure, 'key', test.expectedKey);
- });
- });
-
- it('no tree closers', function() {
- var failure = new CTStepFailure('browser_tests', 'FooTest.Bar', {}, 123, 123);
- assert.notOk(failure.isTreeCloser());
- });
-
- it('tree closer', function() {
- var failure = new CTStepFailure('browser_tests', 'FooTest.Bar', {'builder': {isTreeCloser: true}}, 123, 123);
- assert.ok(failure.isTreeCloser());
- });
-
-});
-
-})();
-</script>

Powered by Google App Engine
This is Rietveld 408576698