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

Side by Side Diff: Tools/GardeningServer/scripts/ui/notifications_unittests.js

Issue 332073002: Green the garden-o-matic unittests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix temp change Created 6 years, 6 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 (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 '<div class="description">' + 71 '<div class="description">' +
72 '<a href="http://src.chromium.org/viewvc/blink?view=rev&amp;revision =1">1</a>' + 72 '<a href="http://src.chromium.org/viewvc/blink?view=rev&amp;revision =1">1</a>' +
73 '<span>' + 73 '<span>' +
74 '<span class="title">title</span>' + 74 '<span class="title">title</span>' +
75 '<span class="author">author</span>' + 75 '<span class="author">author</span>' +
76 '<span class="reviewer">reviewer</span>' + 76 '<span class="reviewer">reviewer</span>' +
77 '</span>' + 77 '</span>' +
78 '</div>'); 78 '</div>');
79 }); 79 });
80 80
81 test('FailingTestsSummary', 12, function() { 81 test('FailingTestsSummary', 10, function() {
ojan 2014/06/15 00:43:44 Not sure what was going on here, but I counted the
82 var testFailures = new ui.notifications.FailingTestsSummary(); 82 var testFailures = new ui.notifications.FailingTestsSummary();
83 equal(testFailures.tagName, 'LI'); 83 equal(testFailures.tagName, 'LI');
84 equal(testFailures.innerHTML, 84 equal(testFailures.innerHTML,
85 '<div class="how">' + 85 '<div class="how">' +
86 '<table class="failures">' + 86 '<table class="failures">' +
87 '<thead><tr><td>type</td><td>release</td><td>debug</td></tr></th ead>' + 87 '<thead><tr><td>type</td><td>release</td><td>debug</td></tr></th ead>' +
88 '<tbody><tr class="BUILDING" style="display: none;"><td><span>BU ILDING</span></td><td></td><td></td></tr></tbody>' + 88 '<tbody><tr class="BUILDING" style="display: none;"><td><span>BU ILDING</span></td><td></td><td></td></tr></tbody>' +
89 '</table>' + 89 '</table>' +
90 '</div>' + 90 '</div>' +
91 '<div class="what">' + 91 '<div class="what">' +
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 '<ul class="effects">' + 300 '<ul class="effects">' +
301 '<li class="builder"><a class="failing-builder" href="http:/ /build.chromium.org/p/chromium.webkit/waterfall?builder=WebKit+Linux"><span clas s="version">lucid</span><span class="architecture">64-bit</span><span class="fai lures"> compile</span></a></li>' + 301 '<li class="builder"><a class="failing-builder" href="http:/ /build.chromium.org/p/chromium.webkit/waterfall?builder=WebKit+Linux"><span clas s="version">lucid</span><span class="architecture">64-bit</span><span class="fai lures"> compile</span></a></li>' +
302 '<li class="builder"><a class="failing-builder" href="http:/ /build.chromium.org/p/chromium.webkit/waterfall?builder=WebKit+Win7"><span class ="version">win7</span><span class="failures"> webkit_tests, update</span></a></l i>' + 302 '<li class="builder"><a class="failing-builder" href="http:/ /build.chromium.org/p/chromium.webkit/waterfall?builder=WebKit+Win7"><span class ="version">win7</span><span class="failures"> webkit_tests, update</span></a></l i>' +
303 '</ul>' + 303 '</ul>' +
304 '</div>' + 304 '</div>' +
305 '<ul class="causes"></ul>' + 305 '<ul class="causes"></ul>' +
306 '</div>'); 306 '</div>');
307 }); 307 });
308 308
309 }()); 309 }());
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698