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

Side by Side Diff: chrome/test/page_cycler/page_cycler_test.cc

Issue 79017: Port page_cycler_http to Mac (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « no previous file | tools/python/google/httpd_config/httpd2_mac.conf » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "chrome/browser/net/url_fixer_upper.h" 11 #include "chrome/browser/net/url_fixer_upper.h"
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 RunTest("moz", false); 256 RunTest("moz", false);
257 } 257 }
258 258
259 // TODO(port): Enable PageCyclerReferenceTest when reference build is 259 // TODO(port): Enable PageCyclerReferenceTest when reference build is
260 // available for non-windows 260 // available for non-windows
261 #if !defined(OS_MACOSX) 261 #if !defined(OS_MACOSX)
262 TEST_F(PageCyclerReferenceTest, MozFile) { 262 TEST_F(PageCyclerReferenceTest, MozFile) {
263 RunTest("moz", false); 263 RunTest("moz", false);
264 } 264 }
265 265
266 // TODO(nirnimesh): Intl1File, Intl2File, Intl1Http, Intl2Http crash Chromium
267 // on Mac. Revisit later.
266 TEST_F(PageCyclerTest, Intl1File) { 268 TEST_F(PageCyclerTest, Intl1File) {
267 RunTest("intl1", false); 269 RunTest("intl1", false);
268 } 270 }
269 271
270 // TODO(nirnimesh): Intl1File, Intl2File crash Chromium on Mac. Revisit later.
271 TEST_F(PageCyclerReferenceTest, Intl1File) { 272 TEST_F(PageCyclerReferenceTest, Intl1File) {
272 RunTest("intl1", false); 273 RunTest("intl1", false);
273 } 274 }
274 275
275 TEST_F(PageCyclerTest, Intl2File) { 276 TEST_F(PageCyclerTest, Intl2File) {
276 RunTest("intl2", false); 277 RunTest("intl2", false);
277 } 278 }
278 279
279 TEST_F(PageCyclerReferenceTest, Intl2File) { 280 TEST_F(PageCyclerReferenceTest, Intl2File) {
280 RunTest("intl2", false); 281 RunTest("intl2", false);
(...skipping 11 matching lines...) Expand all
292 #endif 293 #endif
293 294
294 TEST_F(PageCyclerTest, DhtmlFile) { 295 TEST_F(PageCyclerTest, DhtmlFile) {
295 RunTest("dhtml", false); 296 RunTest("dhtml", false);
296 } 297 }
297 298
298 #if !defined(OS_MACOSX) 299 #if !defined(OS_MACOSX)
299 TEST_F(PageCyclerReferenceTest, DhtmlFile) { 300 TEST_F(PageCyclerReferenceTest, DhtmlFile) {
300 RunTest("dhtml", false); 301 RunTest("dhtml", false);
301 } 302 }
303 #endif
302 304
303 // http (localhost) tests 305 // http (localhost) tests
304 TEST_F(PageCyclerTest, MozHttp) { 306 TEST_F(PageCyclerTest, MozHttp) {
305 RunTest("moz", true); 307 RunTest("moz", true);
306 } 308 }
307 309
310 #if !defined(OS_MACOSX)
308 TEST_F(PageCyclerReferenceTest, MozHttp) { 311 TEST_F(PageCyclerReferenceTest, MozHttp) {
309 RunTest("moz", true); 312 RunTest("moz", true);
310 } 313 }
311 314
312 TEST_F(PageCyclerTest, Intl1Http) { 315 TEST_F(PageCyclerTest, Intl1Http) {
313 RunTest("intl1", true); 316 RunTest("intl1", true);
314 } 317 }
315 318
316 TEST_F(PageCyclerReferenceTest, Intl1Http) { 319 TEST_F(PageCyclerReferenceTest, Intl1Http) {
317 RunTest("intl1", true); 320 RunTest("intl1", true);
318 } 321 }
319 322
320 TEST_F(PageCyclerTest, Intl2Http) { 323 TEST_F(PageCyclerTest, Intl2Http) {
321 RunTest("intl2", true); 324 RunTest("intl2", true);
322 } 325 }
323 326
324 TEST_F(PageCyclerReferenceTest, Intl2Http) { 327 TEST_F(PageCyclerReferenceTest, Intl2Http) {
325 RunTest("intl2", true); 328 RunTest("intl2", true);
326 } 329 }
330 #endif // !defined(OS_MACOSX)
327 331
328 TEST_F(PageCyclerTest, DomHttp) { 332 TEST_F(PageCyclerTest, DomHttp) {
329 RunTest("dom", true); 333 RunTest("dom", true);
330 } 334 }
331 335
336 #if !defined(OS_MACOSX)
332 TEST_F(PageCyclerReferenceTest, DomHttp) { 337 TEST_F(PageCyclerReferenceTest, DomHttp) {
333 RunTest("dom", true); 338 RunTest("dom", true);
334 } 339 }
340 #endif
335 341
336 TEST_F(PageCyclerTest, BloatHttp) { 342 TEST_F(PageCyclerTest, BloatHttp) {
337 RunTest("bloat", true); 343 RunTest("bloat", true);
338 } 344 }
339 345
346 #if !defined(OS_MACOSX)
340 TEST_F(PageCyclerReferenceTest, BloatHttp) { 347 TEST_F(PageCyclerReferenceTest, BloatHttp) {
341 RunTest("bloat", true); 348 RunTest("bloat", true);
342 } 349 }
343 #endif // !defined(OS_MACOSX) 350 #endif
344 351
345 } // namespace 352 } // namespace
OLDNEW
« no previous file with comments | « no previous file | tools/python/google/httpd_config/httpd2_mac.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698