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

Unified Diff: Tools/GardeningServer/scripts/results_unittests.js

Issue 23521006: Rework garden-o-matic to fetch lists of builds from googlestorage properly. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: lint Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/GardeningServer/scripts/results.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/scripts/results_unittests.js
diff --git a/Tools/GardeningServer/scripts/results_unittests.js b/Tools/GardeningServer/scripts/results_unittests.js
index 418a121ef2e28b6fa9605c968e565c024e4ce0e6..78497e47491c1c715439b1c29855459439ba3a08 100644
--- a/Tools/GardeningServer/scripts/results_unittests.js
+++ b/Tools/GardeningServer/scripts/results_unittests.js
@@ -330,9 +330,17 @@ test("walkHistory", 5, function() {
simulator.get = function(url, callback) {
simulator.scheduleCallback(function() {
if (/Mock_Builder/.test(url))
- callback('<a href="11101/"></a><a href="11102/"></a><a href="11103/"></a><a href="11104/"></a><a href="11105/"></a><a href="11106/"></a><a href="11107/"></a><a href="11108/"></a>');
+ callback('<Prefix>Mock_Builder/11101/</Prefix>' +
+ '<Prefix>Mock_Builder/11102/</Prefix>' +
+ '<Prefix>Mock_Builder/11103/</Prefix>' +
+ '<Prefix>Mock_Builder/11104/</Prefix>' +
+ '<Prefix>Mock_Builder/11105/</Prefix>' +
+ '<Prefix>Mock_Builder/11106/</Prefix>' +
+ '<Prefix>Mock_Builder/11107/</Prefix>' +
+ '<Prefix>Mock_Builder/11108/</Prefix>');
else if (/Another_Builder/.test(url))
- callback('<a href="22201/"></a><a href="22202/"></a>');
+ callback('<Prefix>Another_Builder/22201/</Prefix>' +
+ '<Prefix>Another_Builder/22202/</Prefix>');
else
ok(false, 'Unexpected URL: ' + url);
});
« no previous file with comments | « Tools/GardeningServer/scripts/results.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698