Home | History | Annotate | Download | only in util

Lines Matching refs:test_properties_

39   ShellUtilShortcutTest() : test_properties_(ShellUtil::CURRENT_USER) {}
86 test_properties_.set_target(chrome_exe_);
87 test_properties_.set_arguments(L"--test --chrome");
88 test_properties_.set_description(L"Makes polar bears dance.");
89 test_properties_.set_icon(icon_path, 7);
90 test_properties_.set_app_id(L"Polar.Bear");
91 test_properties_.set_dual_mode(true);
186 ShellUtil::ShortcutProperties test_properties_;
248 test_properties_.set_shortcut_name(L"Bobo le shortcut");
249 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
252 dist_, test_properties_,
255 dist_, test_properties_);
259 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
262 dist_, test_properties_,
287 dist_, test_properties_,
300 ShellUtil::ShortcutProperties expected_properties(test_properties_);
329 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
332 test_properties_);
340 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
342 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
347 test_properties_.level = ShellUtil::CURRENT_USER;
349 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
358 dist_, test_properties_,
361 dist_, test_properties_);
369 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
371 test_properties_,
376 test_properties_.level = ShellUtil::CURRENT_USER;
378 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
386 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
389 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
400 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
402 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
405 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
417 test_properties_.set_shortcut_name(L"Chrome 1");
418 test_properties_.set_arguments(L"");
420 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
423 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
427 test_properties_.set_shortcut_name(L"Chrome 2");
428 test_properties_.set_arguments(L"--profile-directory=\"Profile 2\"");
429 test_properties_.set_icon(other_ico_, 0);
431 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
434 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
438 test_properties_.set_shortcut_name(L"Iron 3");
439 test_properties_.set_target(iron_exe_);
440 test_properties_.set_icon(chrome_exe_, 3);
442 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
445 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
460 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
463 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
466 // Relies on the fact that |test_properties_| has non-empty arguments.
471 ShellUtil::ShortcutProperties expected_properties(test_properties_);
478 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
480 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
483 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
486 // Relies on the fact that |test_properties_| has non-empty arguments.
491 ShellUtil::ShortcutProperties expected_properties(test_properties_);
499 test_properties_.set_shortcut_name(L"Chrome 1");
500 test_properties_.set_arguments(L"");
502 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
505 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
506 ShellUtil::ShortcutProperties expected_properties1(test_properties_);
509 test_properties_.set_shortcut_name(L"Chrome 2");
510 test_properties_.set_arguments(L"--profile-directory=\"Profile 2\"");
512 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
515 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
516 ShellUtil::ShortcutProperties expected_properties2(test_properties_);
541 test_properties_.set_shortcut_name(L"Chrome 1");
542 test_properties_.set_icon(test_properties_.target, kTestIconIndex1);
544 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
547 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
548 ShellUtil::ShortcutProperties expected_properties1(test_properties_);
551 test_properties_.set_shortcut_name(L"Chrome 2");
552 test_properties_.set_icon(other_ico_, kTestIconIndex2);
554 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
557 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
558 ShellUtil::ShortcutProperties expected_properties2(test_properties_);
561 test_properties_.set_target(iron_exe_);
562 test_properties_.set_shortcut_name(L"Iron 3");
563 test_properties_.set_icon(chrome_exe_, kTestIconIndex3);
565 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
568 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
569 ShellUtil::ShortcutProperties expected_properties3(test_properties_);
572 // Relies on the fact that |test_properties_| has non-empty arguments.
596 test_properties_.set_shortcut_name(L"Chrome 1");
597 test_properties_.set_arguments(L"");
599 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
602 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
604 ShellUtil::ShortcutProperties expected_properties1(test_properties_);
607 test_properties_.set_shortcut_name(L"Chrome 2");
608 test_properties_.set_arguments(L"--profile-directory=\"Profile 2\"");
610 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
613 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
615 ShellUtil::ShortcutProperties expected_properties2(test_properties_);
618 test_properties_.set_shortcut_name(L"Chrome 3");
619 test_properties_.set_arguments(L"foo.com");
621 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
624 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
626 ShellUtil::ShortcutProperties expected_properties3(test_properties_);
629 test_properties_.set_shortcut_name(L"Chrome 4");
630 test_properties_.set_arguments(L"foo.com --show-app-list");
632 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
635 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
637 ShellUtil::ShortcutProperties expected_properties4(test_properties_);
694 dist_, test_properties_,
698 dist_, test_properties_,
700 test_properties_.set_shortcut_name(L"A second shortcut");
703 dist_, test_properties_,
707 test_properties_,
751 dist_, test_properties_,
778 test_properties_.set_target(other_chrome_exe);
780 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,