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

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

Issue 360553005: Remove the Expected Failures tab (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix teh testsw Created 6 years, 5 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/scripts/ui.js ('k') | Tools/GardeningServer/scripts/ui_unittests.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 { 126 {
127 this._pendingReset = false; 127 this._pendingReset = false;
128 this._resultRows = {}; 128 this._resultRows = {};
129 $(this._body).empty(); 129 $(this._body).empty();
130 // Add the BUILDING row eagerly so that it appears last. 130 // Add the BUILDING row eagerly so that it appears last.
131 this._rowByResult(kBuildingResult); 131 this._rowByResult(kBuildingResult);
132 $(this._resultRows[kBuildingResult]).hide(); 132 $(this._resultRows[kBuildingResult]).hide();
133 } 133 }
134 }); 134 });
135 135
136 ui.failures.ListItem = base.extends('li', {
137 init: function(groupName, failingTestsList)
138 {
139 this._failingTestsList = failingTestsList;
140 this.appendChild(new ui.actions.List([
141 new ui.actions.Examine().makeDefault(),
142 ]));
143 var label = this.appendChild(document.createElement('label'))
144 label.textContent = failingTestsList.length == 1 ? failingTestsList[0] : groupName;
145 },
146 });
147
148 ui.failures.List = base.extends('ul', {
149 init: function()
150 {
151 this.className = 'failures';
152 this.textContent = 'Loading...';
153 }
154 });
155
156 })(); 136 })();
OLDNEW
« no previous file with comments | « Tools/GardeningServer/scripts/ui.js ('k') | Tools/GardeningServer/scripts/ui_unittests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698