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

Unified Diff: Tools/GardeningServer/scripts/ui/actions_unittests.js

Issue 358173003: Remove rebaseline logic from GOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/GardeningServer/scripts/ui/actions.js ('k') | Tools/GardeningServer/scripts/ui/notifications.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/scripts/ui/actions_unittests.js
diff --git a/Tools/GardeningServer/scripts/ui/actions_unittests.js b/Tools/GardeningServer/scripts/ui/actions_unittests.js
index a59a4ddade5978218c077a77a04a02ce2cf50a11..3becdd2db48f532966f76cab4e7624979f9e1e74 100644
--- a/Tools/GardeningServer/scripts/ui/actions_unittests.js
+++ b/Tools/GardeningServer/scripts/ui/actions_unittests.js
@@ -27,7 +27,7 @@
module('ui.actions');
-test('Buttons', 6, function() {
+test('Buttons', 4, function() {
var buttonInfos = [{
view: new ui.actions.Rollout(),
text: 'Roll out',
@@ -36,10 +36,6 @@ test('Buttons', 6, function() {
view: new ui.actions.Examine(),
text: 'Examine',
event: 'examine'
- }, {
- view: new ui.actions.Rebaseline(),
- text: 'Rebaseline',
- event: 'rebaseline'
}];
buttonInfos.forEach(function(buttonInfo) {
equal(buttonInfo.view.textContent, buttonInfo.text);
@@ -63,12 +59,10 @@ test('default', 2, function() {
test('List', 1, function() {
var list = new ui.actions.List([
- new ui.actions.Rebaseline(),
new ui.actions.Previous(),
new ui.actions.Next()
]);
equal(list.innerHTML,
- '<li><button class="action">Rebaseline</button></li>' +
'<li><button class="action previous">\u25C0</button></li>' +
'<li><button class="action next">\u25B6</button></li>');
});
« no previous file with comments | « Tools/GardeningServer/scripts/ui/actions.js ('k') | Tools/GardeningServer/scripts/ui/notifications.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698