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

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

Issue 458473003: Group similar failures (same directory, same fixture) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updates Created 6 years, 4 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
« no previous file with comments | « Tools/GardeningServer/model/ct-failure.html ('k') | Tools/GardeningServer/run-unittests.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!--
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
4 found in the LICENSE file.
5 -->
6
7 <link rel="import" href="ct-failure.html">
8
9 <script>
10 (function () {
11
12 module("ct-failure");
13
14 test("basic", 3, function() {
15 var tests = [
16 {
17 failure: new CTFailure('browser_tests', 'FooTest.Bar', {}, 123, 123),
18 expectedGroupName: 'FooTest'
19 },
20 {
21 failure: new CTFailure('webkit_tests', 'fast/text/foo.html', {}, 123, 123) ,
22 expectedGroupName: 'fast/text'
23 },
24 {
25 failure: new CTFailure('compile', undefined, {}, 123, 123),
26 expectedGroupName: undefined
27 }
28 ];
29 tests.forEach(function(test) {
30 equal(test.failure.reasonGroupName(), test.expectedGroupName);
31 }.bind(this));
32 });
33
34 })();
35 </script>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/model/ct-failure.html ('k') | Tools/GardeningServer/run-unittests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698