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

Side by Side Diff: Tools/GardeningServer/model/test/ct-failures-tests.html

Issue 530613002: Fix partytime. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- 1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved. 2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <link rel="import" href="../ct-failures.html"> 7 <link rel="import" href="../ct-failures.html">
8 8
9 <link rel="import" href="../ct-commit-list.html">
ojan 2014/09/01 00:31:15 This import was missing. Didn't break anything, bu
10
9 <script> 11 <script>
10 (function () { 12 (function () {
11 13
12 var assert = chai.assert; 14 var assert = chai.assert;
13 15
14 describe('ct-failures', function() { 16 describe('ct-failures', function() {
15 describe('failureComparator', function() { 17 describe('failureComparator', function() {
16 it('should sort failures', function() { 18 it('should sort failures', function() {
17 var analyzer = new CTFailures(new CTCommitList(undefined, [])); 19 var analyzer = new CTFailures(new CTCommitList(undefined, []));
18 20
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 assert(analyzer._failureByTreeListComparator(undefined, group1, group2) > 0); 59 assert(analyzer._failureByTreeListComparator(undefined, group1, group2) > 0);
58 60
59 // Failures without a revision go to the end. 61 // Failures without a revision go to the end.
60 assert(analyzer._failureByTreeListComparator('chromium', group4, group1) > 0); 62 assert(analyzer._failureByTreeListComparator('chromium', group4, group1) > 0);
61 }); 63 });
62 }); 64 });
63 }); 65 });
64 66
65 })() 67 })()
66 </script> 68 </script>
OLDNEW
« no previous file with comments | « no previous file | Tools/GardeningServer/test/unit-tests.html » ('j') | Tools/GardeningServer/ui/ct-unexpected-failures.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698