OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 /** @fileoverview Runs the Polymer Settings tests. */ | 5 /** @fileoverview Runs the Polymer Settings tests. */ |
6 | 6 |
7 /** @const {string} Path to source root. */ | 7 /** @const {string} Path to source root. */ |
8 var ROOT_PATH = '../../../../../'; | 8 var ROOT_PATH = '../../../../../'; |
9 | 9 |
10 // Polymer BrowserTest fixture. | 10 // Polymer BrowserTest fixture. |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 | 226 |
227 /** @override */ | 227 /** @override */ |
228 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 228 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
229 '../fake_chrome_event.js', | 229 '../fake_chrome_event.js', |
230 'fake_quick_unlock_private.js', | 230 'fake_quick_unlock_private.js', |
231 'fake_quick_unlock_uma.js', | 231 'fake_quick_unlock_uma.js', |
232 'quick_unlock_authenticate_browsertest_chromeos.js' | 232 'quick_unlock_authenticate_browsertest_chromeos.js' |
233 ]), | 233 ]), |
234 }; | 234 }; |
235 | 235 |
236 TEST_F('CrSettingsPeoplePageQuickUnlockAuthenticateTest', 'Test', function() { | 236 TEST_F('CrSettingsPeoplePageQuickUnlockAuthenticateTest', 'All', function() { |
237 settings_people_page_quick_unlock.registerAuthenticateTests(); | 237 settings_people_page_quick_unlock.registerAuthenticateTests(); |
238 mocha.run(); | 238 mocha.run(); |
239 }); | 239 }); |
240 | 240 |
241 /** | 241 /** |
242 * Test fixture for | 242 * Test fixture for |
243 * chrome/browser/resources/settings/people_page/lock_screen.html | 243 * chrome/browser/resources/settings/people_page/lock_screen.html |
244 * This is ChromeOS only. | 244 * This is ChromeOS only. |
245 * @constructor | 245 * @constructor |
246 * @extends {CrSettingsBrowserTest} | 246 * @extends {CrSettingsBrowserTest} |
(...skipping 10 matching lines...) Expand all Loading... |
257 /** @override */ | 257 /** @override */ |
258 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 258 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
259 '../fake_chrome_event.js', | 259 '../fake_chrome_event.js', |
260 'fake_quick_unlock_private.js', | 260 'fake_quick_unlock_private.js', |
261 'fake_settings_private.js', | 261 'fake_settings_private.js', |
262 'fake_quick_unlock_uma.js', | 262 'fake_quick_unlock_uma.js', |
263 'quick_unlock_authenticate_browsertest_chromeos.js' | 263 'quick_unlock_authenticate_browsertest_chromeos.js' |
264 ]), | 264 ]), |
265 }; | 265 }; |
266 | 266 |
267 TEST_F('CrSettingsPeoplePageLockScreenTest', 'Test', function() { | 267 TEST_F('CrSettingsPeoplePageLockScreenTest', 'All', function() { |
268 settings_people_page_quick_unlock.registerLockScreenTests(); | 268 settings_people_page_quick_unlock.registerLockScreenTests(); |
269 mocha.run(); | 269 mocha.run(); |
270 }); | 270 }); |
271 | 271 |
272 /** | 272 /** |
273 * Test fixture for | 273 * Test fixture for |
274 * chrome/browser/resources/settings/people_page/setup_pin_dialog.html. | 274 * chrome/browser/resources/settings/people_page/setup_pin_dialog.html. |
275 * | 275 * |
276 * This is ChromeOS only. | 276 * This is ChromeOS only. |
277 * @constructor | 277 * @constructor |
(...skipping 10 matching lines...) Expand all Loading... |
288 /** @override */ | 288 /** @override */ |
289 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 289 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
290 '../fake_chrome_event.js', | 290 '../fake_chrome_event.js', |
291 'fake_quick_unlock_private.js', | 291 'fake_quick_unlock_private.js', |
292 'fake_settings_private.js', | 292 'fake_settings_private.js', |
293 'fake_quick_unlock_uma.js', | 293 'fake_quick_unlock_uma.js', |
294 'quick_unlock_authenticate_browsertest_chromeos.js' | 294 'quick_unlock_authenticate_browsertest_chromeos.js' |
295 ]), | 295 ]), |
296 }; | 296 }; |
297 | 297 |
298 TEST_F('CrSettingsPeoplePageSetupPinDialogTest', 'Test', function() { | 298 TEST_F('CrSettingsPeoplePageSetupPinDialogTest', 'All', function() { |
299 settings_people_page_quick_unlock.registerSetupPinDialogTests(); | 299 settings_people_page_quick_unlock.registerSetupPinDialogTests(); |
300 mocha.run(); | 300 mocha.run(); |
301 }); | 301 }); |
302 | 302 |
303 /** | 303 /** |
304 * Test fixture for | 304 * Test fixture for |
305 * chrome/browser/resources/settings/people_page/ | 305 * chrome/browser/resources/settings/people_page/ |
306 * fingerprint_dialog_progress_arc.html. | 306 * fingerprint_dialog_progress_arc.html. |
307 * | 307 * |
308 * This is ChromeOS only. | 308 * This is ChromeOS only. |
309 * @constructor | 309 * @constructor |
310 * @extends {CrSettingsBrowserTest} | 310 * @extends {CrSettingsBrowserTest} |
311 */ | 311 */ |
312 function CrSettingsFingerprintProgressArcTest() {} | 312 function CrSettingsFingerprintProgressArcTest() {} |
313 | 313 |
314 CrSettingsFingerprintProgressArcTest.prototype = { | 314 CrSettingsFingerprintProgressArcTest.prototype = { |
315 __proto__: CrSettingsBrowserTest.prototype, | 315 __proto__: CrSettingsBrowserTest.prototype, |
316 | 316 |
317 /** @override */ | 317 /** @override */ |
318 browsePreload: | 318 browsePreload: |
319 'chrome://md-settings/people_page/fingerprint_progress_arc.html', | 319 'chrome://md-settings/people_page/fingerprint_progress_arc.html', |
320 | 320 |
321 /** @override */ | 321 /** @override */ |
322 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 322 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
323 'fingerprint_progress_arc_browsertest_chromeos.js', | 323 'fingerprint_progress_arc_browsertest_chromeos.js', |
324 ]), | 324 ]), |
325 }; | 325 }; |
326 | 326 |
327 TEST_F('CrSettingsFingerprintProgressArcTest', 'FingerprintProgressArcTest', | 327 TEST_F('CrSettingsFingerprintProgressArcTest', 'All', function() { |
328 function() { | |
329 mocha.run(); | 328 mocha.run(); |
330 }); | 329 }); |
331 | 330 |
332 /** | 331 /** |
333 * Test fixture for | 332 * Test fixture for |
334 * chrome/browser/resources/settings/people_page/fingerprint_list.html. | 333 * chrome/browser/resources/settings/people_page/fingerprint_list.html. |
335 * | 334 * |
336 * This is ChromeOS only. | 335 * This is ChromeOS only. |
337 * @constructor | 336 * @constructor |
338 * @extends {CrSettingsBrowserTest} | 337 * @extends {CrSettingsBrowserTest} |
339 */ | 338 */ |
340 function CrSettingsFingerprintListTest() {} | 339 function CrSettingsFingerprintListTest() {} |
341 | 340 |
342 CrSettingsFingerprintListTest.prototype = { | 341 CrSettingsFingerprintListTest.prototype = { |
343 __proto__: CrSettingsBrowserTest.prototype, | 342 __proto__: CrSettingsBrowserTest.prototype, |
344 | 343 |
345 /** @override */ | 344 /** @override */ |
346 browsePreload: 'chrome://md-settings/people_page/fingerprint_list.html', | 345 browsePreload: 'chrome://md-settings/people_page/fingerprint_list.html', |
347 | 346 |
348 /** @override */ | 347 /** @override */ |
349 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 348 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
350 'test_browser_proxy.js', | 349 'test_browser_proxy.js', |
351 'fingerprint_browsertest_chromeos.js', | 350 'fingerprint_browsertest_chromeos.js', |
352 ]), | 351 ]), |
353 }; | 352 }; |
354 | 353 |
355 TEST_F('CrSettingsFingerprintListTest', 'FingerprintListTest', function() { | 354 TEST_F('CrSettingsFingerprintListTest', 'All', function() { |
356 mocha.run(); | 355 mocha.run(); |
357 }); | 356 }); |
358 | 357 |
359 /** | 358 /** |
360 * Test fixture for | 359 * Test fixture for |
361 * chrome/browser/resources/settings/people_page/change_picture.html. | 360 * chrome/browser/resources/settings/people_page/change_picture.html. |
362 * This is ChromeOS only. | 361 * This is ChromeOS only. |
363 * @constructor | 362 * @constructor |
364 * @extends {CrSettingsBrowserTest} | 363 * @extends {CrSettingsBrowserTest} |
365 */ | 364 */ |
366 function CrSettingsPeoplePageChangePictureTest() {} | 365 function CrSettingsPeoplePageChangePictureTest() {} |
367 | 366 |
368 CrSettingsPeoplePageChangePictureTest.prototype = { | 367 CrSettingsPeoplePageChangePictureTest.prototype = { |
369 __proto__: CrSettingsBrowserTest.prototype, | 368 __proto__: CrSettingsBrowserTest.prototype, |
370 | 369 |
371 /** @override */ | 370 /** @override */ |
372 browsePreload: 'chrome://md-settings/people_page/change_picture.html', | 371 browsePreload: 'chrome://md-settings/people_page/change_picture.html', |
373 | 372 |
374 /** @override */ | 373 /** @override */ |
375 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 374 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
376 'test_browser_proxy.js', | 375 'test_browser_proxy.js', |
377 'people_page_change_picture_test.js', | 376 'people_page_change_picture_test.js', |
378 ]), | 377 ]), |
379 }; | 378 }; |
380 | 379 |
381 TEST_F('CrSettingsPeoplePageChangePictureTest', 'ChangePicture', function() { | 380 TEST_F('CrSettingsPeoplePageChangePictureTest', 'All', function() { |
382 settings_people_page_change_picture.registerTests(); | 381 settings_people_page_change_picture.registerTests(); |
383 mocha.run(); | 382 mocha.run(); |
384 }); | 383 }); |
385 GEN('#else'); // !defined(OS_CHROMEOS) | 384 GEN('#else'); // !defined(OS_CHROMEOS) |
386 /** | 385 /** |
387 * Test fixture for | 386 * Test fixture for |
388 * chrome/browser/resources/settings/people_page/manage_profile.html. | 387 * chrome/browser/resources/settings/people_page/manage_profile.html. |
389 * This is non-ChromeOS only. | 388 * This is non-ChromeOS only. |
390 * @constructor | 389 * @constructor |
391 * @extends {CrSettingsBrowserTest} | 390 * @extends {CrSettingsBrowserTest} |
392 */ | 391 */ |
393 function CrSettingsPeoplePageManageProfileTest() {} | 392 function CrSettingsPeoplePageManageProfileTest() {} |
394 | 393 |
395 CrSettingsPeoplePageManageProfileTest.prototype = { | 394 CrSettingsPeoplePageManageProfileTest.prototype = { |
396 __proto__: CrSettingsBrowserTest.prototype, | 395 __proto__: CrSettingsBrowserTest.prototype, |
397 | 396 |
398 /** @override */ | 397 /** @override */ |
399 browsePreload: 'chrome://md-settings/people_page/manage_profile.html', | 398 browsePreload: 'chrome://md-settings/people_page/manage_profile.html', |
400 | 399 |
401 /** @override */ | 400 /** @override */ |
402 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 401 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
403 'test_browser_proxy.js', | 402 'test_browser_proxy.js', |
404 'people_page_manage_profile_test.js', | 403 'people_page_manage_profile_test.js', |
405 ]), | 404 ]), |
406 }; | 405 }; |
407 | 406 |
408 TEST_F('CrSettingsPeoplePageManageProfileTest', 'ManageProfile', function() { | 407 TEST_F('CrSettingsPeoplePageManageProfileTest', 'All', function() { |
409 settings_people_page_manage_profile.registerTests(); | 408 settings_people_page_manage_profile.registerTests(); |
410 mocha.run(); | 409 mocha.run(); |
411 }); | 410 }); |
412 GEN('#endif'); | 411 GEN('#endif'); |
413 | 412 |
414 /** | 413 /** |
415 * Test fixture for | 414 * Test fixture for |
416 * chrome/browser/resources/settings/people_page/people_page.html. | 415 * chrome/browser/resources/settings/people_page/people_page.html. |
417 * @constructor | 416 * @constructor |
418 * @extends {CrSettingsBrowserTest} | 417 * @extends {CrSettingsBrowserTest} |
419 */ | 418 */ |
420 function CrSettingsPeoplePageTest() {} | 419 function CrSettingsPeoplePageTest() {} |
421 | 420 |
422 CrSettingsPeoplePageTest.prototype = { | 421 CrSettingsPeoplePageTest.prototype = { |
423 __proto__: CrSettingsBrowserTest.prototype, | 422 __proto__: CrSettingsBrowserTest.prototype, |
424 | 423 |
425 /** @override */ | 424 /** @override */ |
426 browsePreload: 'chrome://md-settings/people_page/people_page.html', | 425 browsePreload: 'chrome://md-settings/people_page/people_page.html', |
427 | 426 |
428 /** @override */ | 427 /** @override */ |
429 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 428 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
430 'test_browser_proxy.js', | 429 'test_browser_proxy.js', |
431 'people_page_test.js', | 430 'people_page_test.js', |
432 ]), | 431 ]), |
433 }; | 432 }; |
434 | 433 |
435 TEST_F('CrSettingsPeoplePageTest', 'PeoplePage', function() { | 434 TEST_F('CrSettingsPeoplePageTest', 'All', function() { |
436 settings_people_page.registerTests(); | 435 settings_people_page.registerTests(); |
437 mocha.run(); | 436 mocha.run(); |
438 }); | 437 }); |
439 | 438 |
440 /** | 439 /** |
441 * Test fixture for | 440 * Test fixture for |
442 * chrome/browser/resources/settings/people_page/sync_page.html. | 441 * chrome/browser/resources/settings/people_page/sync_page.html. |
443 * @constructor | 442 * @constructor |
444 * @extends {CrSettingsBrowserTest} | 443 * @extends {CrSettingsBrowserTest} |
445 */ | 444 */ |
446 function CrSettingsPeoplePageSyncPageTest() {} | 445 function CrSettingsPeoplePageSyncPageTest() {} |
447 | 446 |
448 CrSettingsPeoplePageSyncPageTest.prototype = { | 447 CrSettingsPeoplePageSyncPageTest.prototype = { |
449 __proto__: CrSettingsBrowserTest.prototype, | 448 __proto__: CrSettingsBrowserTest.prototype, |
450 | 449 |
451 /** @override */ | 450 /** @override */ |
452 browsePreload: 'chrome://md-settings/people_page/sync_page.html', | 451 browsePreload: 'chrome://md-settings/people_page/sync_page.html', |
453 | 452 |
454 /** @override */ | 453 /** @override */ |
455 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 454 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
456 'test_browser_proxy.js', | 455 'test_browser_proxy.js', |
457 'people_page_sync_page_test.js', | 456 'people_page_sync_page_test.js', |
458 ]), | 457 ]), |
459 }; | 458 }; |
460 | 459 |
461 TEST_F('CrSettingsPeoplePageSyncPageTest', 'SyncPage', function() { | 460 TEST_F('CrSettingsPeoplePageSyncPageTest', 'All', function() { |
462 settings_people_page_sync_page.registerTests(); | 461 settings_people_page_sync_page.registerTests(); |
463 mocha.run(); | 462 mocha.run(); |
464 }); | 463 }); |
465 | 464 |
466 /** | 465 /** |
467 * @constructor | 466 * @constructor |
468 * @extends {CrSettingsBrowserTest} | 467 * @extends {CrSettingsBrowserTest} |
469 */ | 468 */ |
470 function CrSettingsRtlTest() {} | 469 function CrSettingsRtlTest() {} |
471 | 470 |
472 CrSettingsRtlTest.prototype = { | 471 CrSettingsRtlTest.prototype = { |
473 __proto__: CrSettingsBrowserTest.prototype, | 472 __proto__: CrSettingsBrowserTest.prototype, |
474 | 473 |
475 /** @override */ | 474 /** @override */ |
476 browsePreload: 'chrome://md-settings/settings_ui/settings_ui.html', | 475 browsePreload: 'chrome://md-settings/settings_ui/settings_ui.html', |
477 | 476 |
478 /** @override */ | 477 /** @override */ |
479 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 478 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
480 'rtl_tests.js', | 479 'rtl_tests.js', |
481 ]), | 480 ]), |
482 }; | 481 }; |
483 | 482 |
484 TEST_F('CrSettingsRtlTest', 'DrawerPanelFlips', function() { | 483 TEST_F('CrSettingsRtlTest', 'All', function() { |
485 settingsHidePagesByDefaultForTest = true; | 484 settingsHidePagesByDefaultForTest = true; |
486 settings_rtl_tests.registerDrawerPanelTests(); | 485 settings_rtl_tests.registerDrawerPanelTests(); |
487 mocha.run(); | 486 mocha.run(); |
488 }); | 487 }); |
489 | 488 |
490 /** | 489 /** |
491 * Test fixture for chrome/browser/resources/settings/reset_page/. | 490 * Test fixture for chrome/browser/resources/settings/reset_page/. |
492 * @constructor | 491 * @constructor |
493 * @extends {CrSettingsBrowserTest} | 492 * @extends {CrSettingsBrowserTest} |
494 */ | 493 */ |
495 function CrSettingsResetPageTest() {} | 494 function CrSettingsResetPageTest() {} |
496 | 495 |
497 CrSettingsResetPageTest.prototype = { | 496 CrSettingsResetPageTest.prototype = { |
498 __proto__: CrSettingsBrowserTest.prototype, | 497 __proto__: CrSettingsBrowserTest.prototype, |
499 | 498 |
500 /** @override */ | 499 /** @override */ |
501 browsePreload: 'chrome://md-settings/reset_page/reset_page.html', | 500 browsePreload: 'chrome://md-settings/reset_page/reset_page.html', |
502 | 501 |
503 /** @override */ | 502 /** @override */ |
504 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 503 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
505 'test_browser_proxy.js', | 504 'test_browser_proxy.js', |
506 'test_lifetime_browser_proxy.js', | 505 'test_lifetime_browser_proxy.js', |
507 'test_reset_browser_proxy.js', | 506 'test_reset_browser_proxy.js', |
508 'reset_page_test.js', | 507 'reset_page_test.js', |
509 ]), | 508 ]), |
510 }; | 509 }; |
511 | 510 |
512 TEST_F('CrSettingsResetPageTest', 'ResetPage', function() { | 511 TEST_F('CrSettingsResetPageTest', 'All', function() { |
513 mocha.run(); | 512 mocha.run(); |
514 }); | 513 }); |
515 | 514 |
516 /** | 515 /** |
517 * Test fixture for | 516 * Test fixture for |
518 * chrome/browser/resources/settings/reset_page/reset_profile_banner.html | 517 * chrome/browser/resources/settings/reset_page/reset_profile_banner.html |
519 * @constructor | 518 * @constructor |
520 * @extends {CrSettingsBrowserTest} | 519 * @extends {CrSettingsBrowserTest} |
521 */ | 520 */ |
522 function CrSettingsResetProfileBannerTest() {} | 521 function CrSettingsResetProfileBannerTest() {} |
523 | 522 |
524 CrSettingsResetProfileBannerTest.prototype = { | 523 CrSettingsResetProfileBannerTest.prototype = { |
525 __proto__: CrSettingsBrowserTest.prototype, | 524 __proto__: CrSettingsBrowserTest.prototype, |
526 | 525 |
527 /** @override */ | 526 /** @override */ |
528 browsePreload: 'chrome://md-settings/reset_page/reset_profile_banner.html', | 527 browsePreload: 'chrome://md-settings/reset_page/reset_profile_banner.html', |
529 | 528 |
530 /** @override */ | 529 /** @override */ |
531 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 530 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
532 'test_browser_proxy.js', | 531 'test_browser_proxy.js', |
533 'test_reset_browser_proxy.js', | 532 'test_reset_browser_proxy.js', |
534 'reset_profile_banner_test.js', | 533 'reset_profile_banner_test.js', |
535 ]), | 534 ]), |
536 }; | 535 }; |
537 | 536 |
538 TEST_F('CrSettingsResetProfileBannerTest', 'ResetProfileBanner', function() { | 537 TEST_F('CrSettingsResetProfileBannerTest', 'All', function() { |
539 mocha.run(); | 538 mocha.run(); |
540 }); | 539 }); |
541 | 540 |
542 /** | 541 /** |
543 * @constructor | 542 * @constructor |
544 * @extends {CrSettingsBrowserTest} | 543 * @extends {CrSettingsBrowserTest} |
545 */ | 544 */ |
546 function CrSettingsAppearancePageTest() {} | 545 function CrSettingsAppearancePageTest() {} |
547 | 546 |
548 CrSettingsAppearancePageTest.prototype = { | 547 CrSettingsAppearancePageTest.prototype = { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 browsePreload: | 626 browsePreload: |
628 'chrome://md-settings/default_browser_page/default_browser_page.html', | 627 'chrome://md-settings/default_browser_page/default_browser_page.html', |
629 | 628 |
630 /** @override */ | 629 /** @override */ |
631 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 630 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
632 'test_browser_proxy.js', | 631 'test_browser_proxy.js', |
633 'default_browser_browsertest.js', | 632 'default_browser_browsertest.js', |
634 ]), | 633 ]), |
635 }; | 634 }; |
636 | 635 |
637 TEST_F('CrSettingsDefaultBrowserTest', 'DefaultBrowserPage', function() { | 636 TEST_F('CrSettingsDefaultBrowserTest', 'All', function() { |
638 settings_default_browser.registerTests(); | 637 settings_default_browser.registerTests(); |
639 mocha.run(); | 638 mocha.run(); |
640 }); | 639 }); |
641 | 640 |
642 /** | 641 /** |
643 * Test fixture for | 642 * Test fixture for |
644 * chrome/browser/resources/settings/people_page/import_data_dialog.html | 643 * chrome/browser/resources/settings/people_page/import_data_dialog.html |
645 * @constructor | 644 * @constructor |
646 * @extends {CrSettingsBrowserTest} | 645 * @extends {CrSettingsBrowserTest} |
647 */ | 646 */ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 browsePreload: 'chrome://md-settings/search_page/search_page.html', | 678 browsePreload: 'chrome://md-settings/search_page/search_page.html', |
680 | 679 |
681 /** @override */ | 680 /** @override */ |
682 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 681 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
683 'test_browser_proxy.js', | 682 'test_browser_proxy.js', |
684 'test_search_engines_browser_proxy.js', | 683 'test_search_engines_browser_proxy.js', |
685 'search_page_test.js', | 684 'search_page_test.js', |
686 ]), | 685 ]), |
687 }; | 686 }; |
688 | 687 |
689 TEST_F('CrSettingsSearchPageTest', 'SearchPage', function() { | 688 TEST_F('CrSettingsSearchPageTest', 'All', function() { |
690 settings_search_page.registerTests(); | 689 settings_search_page.registerTests(); |
691 mocha.run(); | 690 mocha.run(); |
692 }); | 691 }); |
693 | 692 |
694 /** | 693 /** |
695 * Test fixture for chrome/browser/resources/settings/search_engines_page/. | 694 * Test fixture for chrome/browser/resources/settings/search_engines_page/. |
696 * @constructor | 695 * @constructor |
697 * @extends {CrSettingsBrowserTest} | 696 * @extends {CrSettingsBrowserTest} |
698 */ | 697 */ |
699 function CrSettingsSearchEnginesTest() {} | 698 function CrSettingsSearchEnginesTest() {} |
700 | 699 |
701 CrSettingsSearchEnginesTest.prototype = { | 700 CrSettingsSearchEnginesTest.prototype = { |
702 __proto__: CrSettingsBrowserTest.prototype, | 701 __proto__: CrSettingsBrowserTest.prototype, |
703 | 702 |
704 /** @override */ | 703 /** @override */ |
705 browsePreload: | 704 browsePreload: |
706 'chrome://md-settings/search_engines_page/search_engines_page.html', | 705 'chrome://md-settings/search_engines_page/search_engines_page.html', |
707 | 706 |
708 /** @override */ | 707 /** @override */ |
709 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 708 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
710 'test_browser_proxy.js', | 709 'test_browser_proxy.js', |
711 'test_extension_control_browser_proxy.js', | 710 'test_extension_control_browser_proxy.js', |
712 'test_search_engines_browser_proxy.js', | 711 'test_search_engines_browser_proxy.js', |
713 'search_engines_page_test.js', | 712 'search_engines_page_test.js', |
714 ]), | 713 ]), |
715 }; | 714 }; |
716 | 715 |
717 TEST_F('CrSettingsSearchEnginesTest', 'SearchEngines', function() { | 716 TEST_F('CrSettingsSearchEnginesTest', 'All', function() { |
718 settings_search_engines_page.registerTests(); | 717 settings_search_engines_page.registerTests(); |
719 mocha.run(); | 718 mocha.run(); |
720 }); | 719 }); |
721 | 720 |
722 GEN('#if defined(USE_NSS_CERTS)'); | 721 GEN('#if defined(USE_NSS_CERTS)'); |
723 /** | 722 /** |
724 * Test fixture for chrome/browser/resources/settings/certificate_manager_page/. | 723 * Test fixture for chrome/browser/resources/settings/certificate_manager_page/. |
725 * @constructor | 724 * @constructor |
726 * @extends {CrSettingsBrowserTest} | 725 * @extends {CrSettingsBrowserTest} |
727 */ | 726 */ |
728 function CrSettingsCertificateManagerTest() {} | 727 function CrSettingsCertificateManagerTest() {} |
729 | 728 |
730 CrSettingsCertificateManagerTest.prototype = { | 729 CrSettingsCertificateManagerTest.prototype = { |
731 __proto__: CrSettingsBrowserTest.prototype, | 730 __proto__: CrSettingsBrowserTest.prototype, |
732 | 731 |
733 /** @override */ | 732 /** @override */ |
734 browsePreload: 'chrome://md-settings/certificate_manager_page/' + | 733 browsePreload: 'chrome://md-settings/certificate_manager_page/' + |
735 'certificate_manager_page.html', | 734 'certificate_manager_page.html', |
736 | 735 |
737 /** @override */ | 736 /** @override */ |
738 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 737 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
739 'test_util.js', | 738 'test_util.js', |
740 'test_browser_proxy.js', | 739 'test_browser_proxy.js', |
741 'certificate_manager_page_test.js', | 740 'certificate_manager_page_test.js', |
742 ]), | 741 ]), |
743 }; | 742 }; |
744 | 743 |
745 TEST_F('CrSettingsCertificateManagerTest', 'CertificateManager', function() { | 744 TEST_F('CrSettingsCertificateManagerTest', 'All', function() { |
746 certificate_manager_page.registerTests(); | 745 certificate_manager_page.registerTests(); |
747 mocha.run(); | 746 mocha.run(); |
748 }); | 747 }); |
749 GEN('#endif'); | 748 GEN('#endif'); |
750 | 749 |
751 /** | 750 /** |
752 * Test fixture for chrome/browser/resources/settings/privacy_page/. | 751 * Test fixture for chrome/browser/resources/settings/privacy_page/. |
753 * @constructor | 752 * @constructor |
754 * @extends {CrSettingsBrowserTest} | 753 * @extends {CrSettingsBrowserTest} |
755 */ | 754 */ |
756 function CrSettingsPrivacyPageTest() {} | 755 function CrSettingsPrivacyPageTest() {} |
757 | 756 |
758 CrSettingsPrivacyPageTest.prototype = { | 757 CrSettingsPrivacyPageTest.prototype = { |
759 __proto__: CrSettingsBrowserTest.prototype, | 758 __proto__: CrSettingsBrowserTest.prototype, |
760 | 759 |
761 /** @override */ | 760 /** @override */ |
762 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', | 761 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
763 | 762 |
764 /** @override */ | 763 /** @override */ |
765 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 764 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
766 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', | 765 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', |
767 'test_util.js', | 766 'test_util.js', |
768 'test_browser_proxy.js', | 767 'test_browser_proxy.js', |
769 'test_privacy_page_browser_proxy.js', | 768 'test_privacy_page_browser_proxy.js', |
770 'privacy_page_test.js', | 769 'privacy_page_test.js', |
771 ]), | 770 ]), |
772 }; | 771 }; |
773 | 772 |
774 TEST_F('CrSettingsPrivacyPageTest', 'PrivacyPage', function() { | 773 TEST_F('CrSettingsPrivacyPageTest', 'All', function() { |
775 settings_privacy_page.registerTests(); | 774 settings_privacy_page.registerTests(); |
776 mocha.run(); | 775 mocha.run(); |
777 }); | 776 }); |
778 | 777 |
779 /** | 778 /** |
780 * @constructor | 779 * @constructor |
781 * @extends {CrSettingsBrowserTest} | 780 * @extends {CrSettingsBrowserTest} |
782 */ | 781 */ |
783 function CrSettingsSiteDataDetailsTest() {} | 782 function CrSettingsSiteDataDetailsTest() {} |
784 | 783 |
785 CrSettingsSiteDataDetailsTest.prototype = { | 784 CrSettingsSiteDataDetailsTest.prototype = { |
786 __proto__: CrSettingsBrowserTest.prototype, | 785 __proto__: CrSettingsBrowserTest.prototype, |
787 | 786 |
788 /** @override */ | 787 /** @override */ |
789 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', | 788 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
790 | 789 |
791 /** @override */ | 790 /** @override */ |
792 commandLineSwitches: [{ | 791 commandLineSwitches: [{ |
793 switchName: 'enable-site-settings', | 792 switchName: 'enable-site-settings', |
794 }], | 793 }], |
795 | 794 |
796 /** @override */ | 795 /** @override */ |
797 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 796 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
798 'test_browser_proxy.js', | 797 'test_browser_proxy.js', |
799 'test_site_settings_prefs_browser_proxy.js', | 798 'test_site_settings_prefs_browser_proxy.js', |
800 'site_data_details_subpage_tests.js', | 799 'site_data_details_subpage_tests.js', |
801 ]), | 800 ]), |
802 }; | 801 }; |
803 | 802 |
804 TEST_F('CrSettingsSiteDataDetailsTest', 'SiteSettings', function() { | 803 TEST_F('CrSettingsSiteDataDetailsTest', 'All', function() { |
805 mocha.run(); | 804 mocha.run(); |
806 }); | 805 }); |
807 | 806 |
808 /** | 807 /** |
809 * @constructor | 808 * @constructor |
810 * @extends {CrSettingsBrowserTest} | 809 * @extends {CrSettingsBrowserTest} |
811 */ | 810 */ |
812 function CrSettingsCategoryDefaultSettingTest() {} | 811 function CrSettingsCategoryDefaultSettingTest() {} |
813 | 812 |
814 CrSettingsCategoryDefaultSettingTest.prototype = { | 813 CrSettingsCategoryDefaultSettingTest.prototype = { |
815 __proto__: CrSettingsBrowserTest.prototype, | 814 __proto__: CrSettingsBrowserTest.prototype, |
816 | 815 |
817 /** @override */ | 816 /** @override */ |
818 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', | 817 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
819 | 818 |
820 /** @override */ | 819 /** @override */ |
821 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 820 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
822 'test_browser_proxy.js', | 821 'test_browser_proxy.js', |
823 'test_site_settings_prefs_browser_proxy.js', | 822 'test_site_settings_prefs_browser_proxy.js', |
824 'category_default_setting_tests.js', | 823 'category_default_setting_tests.js', |
825 ]), | 824 ]), |
826 }; | 825 }; |
827 | 826 |
828 TEST_F( | 827 TEST_F('CrSettingsCategoryDefaultSettingTest', 'All', function() { |
829 'CrSettingsCategoryDefaultSettingTest', 'CategoryDefaultSetting', | 828 mocha.run(); |
830 function() { | 829 }); |
831 mocha.run(); | |
832 }); | |
833 | 830 |
834 /** | 831 /** |
835 * @constructor | 832 * @constructor |
836 * @extends {CrSettingsBrowserTest} | 833 * @extends {CrSettingsBrowserTest} |
837 */ | 834 */ |
838 function CrSettingsCategorySettingExceptionsTest() {} | 835 function CrSettingsCategorySettingExceptionsTest() {} |
839 | 836 |
840 CrSettingsCategorySettingExceptionsTest.prototype = { | 837 CrSettingsCategorySettingExceptionsTest.prototype = { |
841 __proto__: CrSettingsBrowserTest.prototype, | 838 __proto__: CrSettingsBrowserTest.prototype, |
842 | 839 |
843 /** @override */ | 840 /** @override */ |
844 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', | 841 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
845 | 842 |
846 /** @override */ | 843 /** @override */ |
847 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 844 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
848 'test_browser_proxy.js', | 845 'test_browser_proxy.js', |
849 'test_site_settings_prefs_browser_proxy.js', | 846 'test_site_settings_prefs_browser_proxy.js', |
850 'category_setting_exceptions_tests.js', | 847 'category_setting_exceptions_tests.js', |
851 ]), | 848 ]), |
852 }; | 849 }; |
853 | 850 |
854 TEST_F( | 851 TEST_F('CrSettingsCategorySettingExceptionsTest', 'All', function() { |
855 'CrSettingsCategorySettingExceptionsTest', 'CategorySettingExceptions', | 852 mocha.run(); |
856 function() { | 853 }); |
857 mocha.run(); | |
858 }); | |
859 | 854 |
860 /** | 855 /** |
861 * @constructor | 856 * @constructor |
862 * @extends {CrSettingsBrowserTest} | 857 * @extends {CrSettingsBrowserTest} |
863 */ | 858 */ |
864 function CrSettingsSiteDetailsTest() {} | 859 function CrSettingsSiteDetailsTest() {} |
865 | 860 |
866 CrSettingsSiteDetailsTest.prototype = { | 861 CrSettingsSiteDetailsTest.prototype = { |
867 __proto__: CrSettingsBrowserTest.prototype, | 862 __proto__: CrSettingsBrowserTest.prototype, |
868 | 863 |
869 /** @override */ | 864 /** @override */ |
870 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', | 865 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
871 | 866 |
872 /** @override */ | 867 /** @override */ |
873 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 868 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
874 'test_browser_proxy.js', | 869 'test_browser_proxy.js', |
875 'test_site_settings_prefs_browser_proxy.js', | 870 'test_site_settings_prefs_browser_proxy.js', |
876 'site_details_tests.js', | 871 'site_details_tests.js', |
877 ]), | 872 ]), |
878 }; | 873 }; |
879 | 874 |
880 TEST_F('CrSettingsSiteDetailsTest', 'SiteDetails', function() { | 875 TEST_F('CrSettingsSiteDetailsTest', 'All', function() { |
881 mocha.run(); | 876 mocha.run(); |
882 }); | 877 }); |
883 | 878 |
884 /** | 879 /** |
885 * @constructor | 880 * @constructor |
886 * @extends {CrSettingsBrowserTest} | 881 * @extends {CrSettingsBrowserTest} |
887 */ | 882 */ |
888 function CrSettingsSiteDetailsPermissionTest() {} | 883 function CrSettingsSiteDetailsPermissionTest() {} |
889 | 884 |
890 CrSettingsSiteDetailsPermissionTest.prototype = { | 885 CrSettingsSiteDetailsPermissionTest.prototype = { |
891 __proto__: CrSettingsBrowserTest.prototype, | 886 __proto__: CrSettingsBrowserTest.prototype, |
892 | 887 |
893 /** @override */ | 888 /** @override */ |
894 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', | 889 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
895 | 890 |
896 /** @override */ | 891 /** @override */ |
897 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 892 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
898 'test_browser_proxy.js', | 893 'test_browser_proxy.js', |
899 'test_site_settings_prefs_browser_proxy.js', | 894 'test_site_settings_prefs_browser_proxy.js', |
900 'site_details_permission_tests.js', | 895 'site_details_permission_tests.js', |
901 ]), | 896 ]), |
902 }; | 897 }; |
903 | 898 |
904 TEST_F( | 899 TEST_F('CrSettingsSiteDetailsPermissionTest', 'All', function() { |
905 'CrSettingsSiteDetailsPermissionTest', 'SiteDetailsPermission', function() { | 900 mocha.run(); |
906 mocha.run(); | 901 }); |
907 }); | |
908 | 902 |
909 /** | 903 /** |
910 * @constructor | 904 * @constructor |
911 * @extends {CrSettingsBrowserTest} | 905 * @extends {CrSettingsBrowserTest} |
912 */ | 906 */ |
913 function CrSettingsSiteListTest() {} | 907 function CrSettingsSiteListTest() {} |
914 | 908 |
915 CrSettingsSiteListTest.prototype = { | 909 CrSettingsSiteListTest.prototype = { |
916 __proto__: CrSettingsBrowserTest.prototype, | 910 __proto__: CrSettingsBrowserTest.prototype, |
917 | 911 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
956 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', | 950 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
957 | 951 |
958 /** @override */ | 952 /** @override */ |
959 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 953 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
960 'test_browser_proxy.js', | 954 'test_browser_proxy.js', |
961 'test_site_settings_prefs_browser_proxy.js', | 955 'test_site_settings_prefs_browser_proxy.js', |
962 'zoom_levels_tests.js', | 956 'zoom_levels_tests.js', |
963 ]), | 957 ]), |
964 }; | 958 }; |
965 | 959 |
966 TEST_F('CrSettingsZoomLevelsTest', 'ZoomLevels', function() { | 960 TEST_F('CrSettingsZoomLevelsTest', 'All', function() { |
967 mocha.run(); | 961 mocha.run(); |
968 }); | 962 }); |
969 | 963 |
970 /** | 964 /** |
971 * @constructor | 965 * @constructor |
972 * @extends {CrSettingsBrowserTest} | 966 * @extends {CrSettingsBrowserTest} |
973 */ | 967 */ |
974 function CrSettingsUsbDevicesTest() {} | 968 function CrSettingsUsbDevicesTest() {} |
975 | 969 |
976 CrSettingsUsbDevicesTest.prototype = { | 970 CrSettingsUsbDevicesTest.prototype = { |
977 __proto__: CrSettingsBrowserTest.prototype, | 971 __proto__: CrSettingsBrowserTest.prototype, |
978 | 972 |
979 /** @override */ | 973 /** @override */ |
980 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', | 974 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
981 | 975 |
982 /** @override */ | 976 /** @override */ |
983 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 977 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
984 'test_browser_proxy.js', | 978 'test_browser_proxy.js', |
985 'test_site_settings_prefs_browser_proxy.js', | 979 'test_site_settings_prefs_browser_proxy.js', |
986 'usb_devices_tests.js', | 980 'usb_devices_tests.js', |
987 ]), | 981 ]), |
988 }; | 982 }; |
989 | 983 |
990 TEST_F('CrSettingsUsbDevicesTest', 'UsbDevices', function() { | 984 TEST_F('CrSettingsUsbDevicesTest', 'All', function() { |
991 mocha.run(); | 985 mocha.run(); |
992 }); | 986 }); |
993 | 987 |
994 /** | 988 /** |
995 * @constructor | 989 * @constructor |
996 * @extends {CrSettingsBrowserTest} | 990 * @extends {CrSettingsBrowserTest} |
997 */ | 991 */ |
998 function CrSettingsProtocolHandlersTest() {} | 992 function CrSettingsProtocolHandlersTest() {} |
999 | 993 |
1000 CrSettingsProtocolHandlersTest.prototype = { | 994 CrSettingsProtocolHandlersTest.prototype = { |
1001 __proto__: CrSettingsBrowserTest.prototype, | 995 __proto__: CrSettingsBrowserTest.prototype, |
1002 | 996 |
1003 /** @override */ | 997 /** @override */ |
1004 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', | 998 browsePreload: 'chrome://md-settings/privacy_page/privacy_page.html', |
1005 | 999 |
1006 /** @override */ | 1000 /** @override */ |
1007 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1001 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1008 'test_browser_proxy.js', | 1002 'test_browser_proxy.js', |
1009 'test_site_settings_prefs_browser_proxy.js', | 1003 'test_site_settings_prefs_browser_proxy.js', |
1010 'protocol_handlers_tests.js', | 1004 'protocol_handlers_tests.js', |
1011 ]), | 1005 ]), |
1012 }; | 1006 }; |
1013 | 1007 |
1014 TEST_F('CrSettingsProtocolHandlersTest', 'ProtocolHandlers', function() { | 1008 TEST_F('CrSettingsProtocolHandlersTest', 'All', function() { |
1015 mocha.run(); | 1009 mocha.run(); |
1016 }); | 1010 }); |
1017 | 1011 |
1018 /** | 1012 /** |
1019 * @constructor | 1013 * @constructor |
1020 * @extends {CrSettingsBrowserTest} | 1014 * @extends {CrSettingsBrowserTest} |
1021 */ | 1015 */ |
1022 function CrSettingsSiteDataTest() {} | 1016 function CrSettingsSiteDataTest() {} |
1023 | 1017 |
1024 CrSettingsSiteDataTest.prototype = { | 1018 CrSettingsSiteDataTest.prototype = { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1101 /** @override */ | 1095 /** @override */ |
1102 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1096 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1103 ROOT_PATH + 'ui/webui/resources/js/assert.js', | 1097 ROOT_PATH + 'ui/webui/resources/js/assert.js', |
1104 '../fake_chrome_event.js', | 1098 '../fake_chrome_event.js', |
1105 'fake_bluetooth.js', | 1099 'fake_bluetooth.js', |
1106 'fake_bluetooth_private.js', | 1100 'fake_bluetooth_private.js', |
1107 'bluetooth_page_tests.js', | 1101 'bluetooth_page_tests.js', |
1108 ]), | 1102 ]), |
1109 }; | 1103 }; |
1110 | 1104 |
1111 TEST_F('CrSettingsBluetoothPageTest', 'BluetoothPageTest', function() { | 1105 TEST_F('CrSettingsBluetoothPageTest', 'All', function() { |
1112 mocha.run(); | 1106 mocha.run(); |
1113 }); | 1107 }); |
1114 | 1108 |
1115 /** | 1109 /** |
1116 * Test fixture for internet-page. | 1110 * Test fixture for internet-page. |
1117 * @constructor | 1111 * @constructor |
1118 * @extends {CrSettingsBrowserTest} | 1112 * @extends {CrSettingsBrowserTest} |
1119 */ | 1113 */ |
1120 function CrSettingsInternetPageTest() {} | 1114 function CrSettingsInternetPageTest() {} |
1121 | 1115 |
1122 CrSettingsInternetPageTest.prototype = { | 1116 CrSettingsInternetPageTest.prototype = { |
1123 __proto__: CrSettingsBrowserTest.prototype, | 1117 __proto__: CrSettingsBrowserTest.prototype, |
1124 | 1118 |
1125 /** @override */ | 1119 /** @override */ |
1126 browsePreload: 'chrome://md-settings/internet_page/internet_page.html', | 1120 browsePreload: 'chrome://md-settings/internet_page/internet_page.html', |
1127 | 1121 |
1128 /** @override */ | 1122 /** @override */ |
1129 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1123 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1130 ROOT_PATH + 'ui/webui/resources/js/assert.js', | 1124 ROOT_PATH + 'ui/webui/resources/js/assert.js', |
1131 '../fake_chrome_event.js', | 1125 '../fake_chrome_event.js', |
1132 'fake_networking_private.js', | 1126 'fake_networking_private.js', |
1133 'internet_page_tests.js', | 1127 'internet_page_tests.js', |
1134 ]), | 1128 ]), |
1135 }; | 1129 }; |
1136 | 1130 |
1137 TEST_F('CrSettingsInternetPageTest', 'InternetPageTest', function() { | 1131 TEST_F('CrSettingsInternetPageTest', 'All', function() { |
1138 mocha.run(); | 1132 mocha.run(); |
1139 }); | 1133 }); |
1140 | 1134 |
1141 GEN('#endif'); | 1135 GEN('#endif'); |
1142 | 1136 |
1143 /** | 1137 /** |
1144 * Test fixture for chrome/browser/resources/settings/settings_menu/. | 1138 * Test fixture for chrome/browser/resources/settings/settings_menu/. |
1145 * @constructor | 1139 * @constructor |
1146 * @extends {CrSettingsBrowserTest} | 1140 * @extends {CrSettingsBrowserTest} |
1147 */ | 1141 */ |
(...skipping 28 matching lines...) Expand all Loading... |
1176 __proto__: CrSettingsBrowserTest.prototype, | 1170 __proto__: CrSettingsBrowserTest.prototype, |
1177 | 1171 |
1178 /** @override */ | 1172 /** @override */ |
1179 browsePreload: 'chrome://md-settings/settings_page/settings_subpage.html', | 1173 browsePreload: 'chrome://md-settings/settings_page/settings_subpage.html', |
1180 | 1174 |
1181 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1175 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1182 'settings_subpage_test.js', | 1176 'settings_subpage_test.js', |
1183 ]), | 1177 ]), |
1184 }; | 1178 }; |
1185 | 1179 |
1186 TEST_F('CrSettingsSubpageTest', 'SettingsSubpage', function() { | 1180 TEST_F('CrSettingsSubpageTest', 'All', function() { |
1187 mocha.run(); | 1181 mocha.run(); |
1188 }); | 1182 }); |
1189 | 1183 |
1190 GEN('#if !defined(OS_CHROMEOS)'); | 1184 GEN('#if !defined(OS_CHROMEOS)'); |
1191 /** | 1185 /** |
1192 * @constructor | 1186 * @constructor |
1193 * @extends {CrSettingsBrowserTest} | 1187 * @extends {CrSettingsBrowserTest} |
1194 */ | 1188 */ |
1195 function CrSettingsSystemPageTest() {} | 1189 function CrSettingsSystemPageTest() {} |
1196 | 1190 |
(...skipping 26 matching lines...) Expand all Loading... |
1223 __proto__: CrSettingsBrowserTest.prototype, | 1217 __proto__: CrSettingsBrowserTest.prototype, |
1224 | 1218 |
1225 browsePreload: 'chrome://md-settings/on_startup_page/startup_urls_page.html', | 1219 browsePreload: 'chrome://md-settings/on_startup_page/startup_urls_page.html', |
1226 | 1220 |
1227 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1221 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1228 'test_browser_proxy.js', | 1222 'test_browser_proxy.js', |
1229 'startup_urls_page_test.js', | 1223 'startup_urls_page_test.js', |
1230 ]), | 1224 ]), |
1231 }; | 1225 }; |
1232 | 1226 |
1233 TEST_F('CrSettingsStartupUrlsPageTest', 'StartupUrlsPage', function() { | 1227 TEST_F('CrSettingsStartupUrlsPageTest', 'All', function() { |
1234 mocha.run(); | 1228 mocha.run(); |
1235 }); | 1229 }); |
1236 | 1230 |
1237 GEN('#if !defined(OS_MACOSX)'); | 1231 GEN('#if !defined(OS_MACOSX)'); |
1238 /** | 1232 /** |
1239 * @constructor | 1233 * @constructor |
1240 * @extends {CrSettingsBrowserTest} | 1234 * @extends {CrSettingsBrowserTest} |
1241 */ | 1235 */ |
1242 function CrSettingsEditDictionaryPageTest() {} | 1236 function CrSettingsEditDictionaryPageTest() {} |
1243 | 1237 |
1244 CrSettingsEditDictionaryPageTest.prototype = { | 1238 CrSettingsEditDictionaryPageTest.prototype = { |
1245 __proto__: CrSettingsBrowserTest.prototype, | 1239 __proto__: CrSettingsBrowserTest.prototype, |
1246 | 1240 |
1247 /** @override */ | 1241 /** @override */ |
1248 browsePreload: | 1242 browsePreload: |
1249 'chrome://md-settings/languages_page/edit_dictionary_page.html', | 1243 'chrome://md-settings/languages_page/edit_dictionary_page.html', |
1250 | 1244 |
1251 /** @override */ | 1245 /** @override */ |
1252 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1246 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1253 '../fake_chrome_event.js', | 1247 '../fake_chrome_event.js', |
1254 'fake_settings_private.js', | 1248 'fake_settings_private.js', |
1255 'test_browser_proxy.js', | 1249 'test_browser_proxy.js', |
1256 'fake_language_settings_private.js', | 1250 'fake_language_settings_private.js', |
1257 'edit_dictionary_page_test.js', | 1251 'edit_dictionary_page_test.js', |
1258 ]), | 1252 ]), |
1259 }; | 1253 }; |
1260 | 1254 |
1261 TEST_F('CrSettingsEditDictionaryPageTest', 'EditDictionaryPage', function() { | 1255 TEST_F('CrSettingsEditDictionaryPageTest', 'All', function() { |
1262 mocha.run(); | 1256 mocha.run(); |
1263 }); | 1257 }); |
1264 GEN('#endif'); | 1258 GEN('#endif'); |
1265 | 1259 |
1266 /** | 1260 /** |
1267 * @constructor | 1261 * @constructor |
1268 * @extends {CrSettingsBrowserTest} | 1262 * @extends {CrSettingsBrowserTest} |
1269 */ | 1263 */ |
1270 function CrSettingsLanguagesTest() {} | 1264 function CrSettingsLanguagesTest() {} |
1271 | 1265 |
1272 CrSettingsLanguagesTest.prototype = { | 1266 CrSettingsLanguagesTest.prototype = { |
1273 __proto__: CrSettingsBrowserTest.prototype, | 1267 __proto__: CrSettingsBrowserTest.prototype, |
1274 | 1268 |
1275 /** @override */ | 1269 /** @override */ |
1276 browsePreload: 'chrome://md-settings/languages_page/languages.html', | 1270 browsePreload: 'chrome://md-settings/languages_page/languages.html', |
1277 | 1271 |
1278 /** @override */ | 1272 /** @override */ |
1279 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1273 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1280 '../fake_chrome_event.js', | 1274 '../fake_chrome_event.js', |
1281 'test_browser_proxy.js', | 1275 'test_browser_proxy.js', |
1282 'fake_language_settings_private.js', | 1276 'fake_language_settings_private.js', |
1283 'fake_settings_private.js', | 1277 'fake_settings_private.js', |
1284 'fake_input_method_private.js', | 1278 'fake_input_method_private.js', |
1285 'languages_tests.js', | 1279 'languages_tests.js', |
1286 ]), | 1280 ]), |
1287 }; | 1281 }; |
1288 | 1282 |
1289 // Flaky on Win and Linux, see http://crbug/692356. | 1283 // Flaky on Win and Linux, see http://crbug/692356. |
1290 TEST_F('CrSettingsLanguagesTest', 'Languages', function() { | 1284 TEST_F('CrSettingsLanguagesTest', 'All', function() { |
1291 mocha.run(); | 1285 mocha.run(); |
1292 }); | 1286 }); |
1293 | 1287 |
1294 /** | 1288 /** |
1295 * @constructor | 1289 * @constructor |
1296 * @extends {CrSettingsBrowserTest} | 1290 * @extends {CrSettingsBrowserTest} |
1297 */ | 1291 */ |
1298 function CrSettingsRouteTest() {} | 1292 function CrSettingsRouteTest() {} |
1299 | 1293 |
1300 CrSettingsRouteTest.prototype = { | 1294 CrSettingsRouteTest.prototype = { |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1533 | 1527 |
1534 /** @override */ | 1528 /** @override */ |
1535 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1529 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1536 ROOT_PATH + 'ui/webui/resources/js/assert.js', | 1530 ROOT_PATH + 'ui/webui/resources/js/assert.js', |
1537 'test_util.js', | 1531 'test_util.js', |
1538 'test_browser_proxy.js', | 1532 'test_browser_proxy.js', |
1539 'cups_printer_page_tests.js', | 1533 'cups_printer_page_tests.js', |
1540 ]), | 1534 ]), |
1541 }; | 1535 }; |
1542 | 1536 |
1543 TEST_F('CrSettingsPrintingPageTest', 'CupsPrintersTest', function() { | 1537 TEST_F('CrSettingsPrintingPageTest', 'All', function() { |
1544 mocha.run(); | 1538 mocha.run(); |
1545 }); | 1539 }); |
1546 | 1540 |
1547 GEN('#endif'); | 1541 GEN('#endif'); |
1548 | 1542 |
1549 GEN('#if defined(OS_CHROMEOS)'); | 1543 GEN('#if defined(OS_CHROMEOS)'); |
1550 | 1544 |
1551 /** | 1545 /** |
1552 * Test fixture for the Google Play Store (ARC) page. | 1546 * Test fixture for the Google Play Store (ARC) page. |
1553 * @constructor | 1547 * @constructor |
1554 * @extends {CrSettingsBrowserTest} | 1548 * @extends {CrSettingsBrowserTest} |
1555 */ | 1549 */ |
1556 function CrSettingsAndroidAppsPageTest() {} | 1550 function CrSettingsAndroidAppsPageTest() {} |
1557 | 1551 |
1558 CrSettingsAndroidAppsPageTest.prototype = { | 1552 CrSettingsAndroidAppsPageTest.prototype = { |
1559 __proto__: CrSettingsBrowserTest.prototype, | 1553 __proto__: CrSettingsBrowserTest.prototype, |
1560 | 1554 |
1561 /** @override */ | 1555 /** @override */ |
1562 browsePreload: | 1556 browsePreload: |
1563 'chrome://md-settings/android_apps_page/android_apps_page.html', | 1557 'chrome://md-settings/android_apps_page/android_apps_page.html', |
1564 | 1558 |
1565 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1559 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1566 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', | 1560 ROOT_PATH + 'ui/webui/resources/js/promise_resolver.js', |
1567 'test_browser_proxy.js', | 1561 'test_browser_proxy.js', |
1568 'android_apps_page_test.js', | 1562 'android_apps_page_test.js', |
1569 ]), | 1563 ]), |
1570 }; | 1564 }; |
1571 | 1565 |
1572 TEST_F('CrSettingsAndroidAppsPageTest', 'AndroidAppsPageTest', function() { | 1566 TEST_F('CrSettingsAndroidAppsPageTest', 'All', function() { |
1573 mocha.run(); | 1567 mocha.run(); |
1574 }); | 1568 }); |
1575 | 1569 |
1576 /** | 1570 /** |
1577 * Test fixture for the Date and Time page. | 1571 * Test fixture for the Date and Time page. |
1578 * @constructor | 1572 * @constructor |
1579 * @extends {CrSettingsBrowserTest} | 1573 * @extends {CrSettingsBrowserTest} |
1580 */ | 1574 */ |
1581 function CrSettingsDateTimePageTest() {} | 1575 function CrSettingsDateTimePageTest() {} |
1582 | 1576 |
1583 CrSettingsDateTimePageTest.prototype = { | 1577 CrSettingsDateTimePageTest.prototype = { |
1584 __proto__: CrSettingsBrowserTest.prototype, | 1578 __proto__: CrSettingsBrowserTest.prototype, |
1585 | 1579 |
1586 /** @override */ | 1580 /** @override */ |
1587 browsePreload: 'chrome://md-settings/date_time_page/date_time_page.html', | 1581 browsePreload: 'chrome://md-settings/date_time_page/date_time_page.html', |
1588 | 1582 |
1589 /** @override */ | 1583 /** @override */ |
1590 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1584 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1591 'date_time_page_tests.js', | 1585 'date_time_page_tests.js', |
1592 ]), | 1586 ]), |
1593 }; | 1587 }; |
1594 | 1588 |
1595 TEST_F('CrSettingsDateTimePageTest', 'DateTimePageTest', function() { | 1589 TEST_F('CrSettingsDateTimePageTest', 'All', function() { |
1596 mocha.run(); | 1590 mocha.run(); |
1597 }); | 1591 }); |
1598 | 1592 |
1599 GEN('#endif'); | 1593 GEN('#endif'); |
1600 | 1594 |
1601 /** | 1595 /** |
1602 * @constructor | 1596 * @constructor |
1603 * @extends {CrSettingsBrowserTest} | 1597 * @extends {CrSettingsBrowserTest} |
1604 */ | 1598 */ |
1605 function CrSettingsExtensionControlledIndicatorTest() {} | 1599 function CrSettingsExtensionControlledIndicatorTest() {} |
1606 | 1600 |
1607 CrSettingsExtensionControlledIndicatorTest.prototype = { | 1601 CrSettingsExtensionControlledIndicatorTest.prototype = { |
1608 __proto__: CrSettingsBrowserTest.prototype, | 1602 __proto__: CrSettingsBrowserTest.prototype, |
1609 | 1603 |
1610 /** @override */ | 1604 /** @override */ |
1611 browsePreload: | 1605 browsePreload: |
1612 'chrome://md-settings/controls/extension_controlled_indicator.html', | 1606 'chrome://md-settings/controls/extension_controlled_indicator.html', |
1613 | 1607 |
1614 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ | 1608 extraLibraries: CrSettingsBrowserTest.prototype.extraLibraries.concat([ |
1615 'test_browser_proxy.js', | 1609 'test_browser_proxy.js', |
1616 'test_extension_control_browser_proxy.js', | 1610 'test_extension_control_browser_proxy.js', |
1617 'extension_controlled_indicator_tests.js', | 1611 'extension_controlled_indicator_tests.js', |
1618 ]), | 1612 ]), |
1619 }; | 1613 }; |
1620 | 1614 |
1621 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { | 1615 TEST_F('CrSettingsExtensionControlledIndicatorTest', 'All', function() { |
1622 mocha.run(); | 1616 mocha.run(); |
1623 }); | 1617 }); |
OLD | NEW |