OLD | NEW |
---|---|
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
115 "WebKit Linux": ["png"], | 115 "WebKit Linux": ["png"], |
116 "WebKit Mac10.6": ["png","txt"]}, | 116 "WebKit Mac10.6": ["png","txt"]}, |
117 "fast/test.html": { | 117 "fast/test.html": { |
118 "Webkit Win7": ["txt","png"] | 118 "Webkit Win7": ["txt","png"] |
119 }})] | 119 }})] |
120 ]); | 120 ]); |
121 start(); | 121 start(); |
122 }); | 122 }); |
123 }); | 123 }); |
124 | 124 |
125 asyncTest("rebaseline-debug-bot", 3, function() { | 125 asyncTest("rebaseline-debug-bot", 4, function() { |
126 var simulator = new NetworkSimulator(); | 126 var simulator = new NetworkSimulator(); |
127 simulator.post = function(url, body) | 127 simulator.post = function(url, body) |
128 { | 128 { |
129 return Promise.resolve(); | 129 return Promise.resolve(); |
130 }; | 130 }; |
131 simulator.ajax = function(options) | 131 simulator.ajax = function(options) |
132 { | 132 { |
133 return Promise.resolve(); | 133 return Promise.resolve(); |
134 }; | 134 }; |
135 | 135 |
136 simulator.runTest(function() { | 136 simulator.runTest(function() { |
137 checkout.rebaseline([{ | 137 checkout.rebaseline([{ |
138 'builderName': 'WebKit Linux (dbg)', | 138 'builderName': 'WebKit Linux (dbg)', |
139 'testName': 'another/test.svg', | 139 'testName': 'another/test.svg', |
140 'failureTypeList': ['IMAGE'], | 140 'failureTypeList': ['IMAGE'], |
141 }], function(failureInfo) { | 141 }], function(failureInfo) { |
142 ok(false); | 142 ok(true); |
ojan
2014/06/15 00:43:44
checkout.rebaseline changed to all the processCall
| |
143 }, function(failureInfo) { | 143 }, function(failureInfo) { |
144 ok(true); | 144 ok(true); |
145 }).then(function() { | 145 }).then(function() { |
146 ok(true); | 146 ok(true); |
147 }, function() { | 147 }, function() { |
148 ok(false); | 148 ok(false); |
149 }); | 149 }); |
150 }).then(start); | 150 }).then(start); |
151 }); | 151 }); |
152 | 152 |
153 })(); | 153 })(); |
OLD | NEW |