Home | History | Annotate | Download | only in util

Lines Matching refs:test_properties_

39   ShellUtilShortcutTest() : test_properties_(ShellUtil::CURRENT_USER) {}
83 test_properties_.set_target(chrome_exe_);
84 test_properties_.set_arguments(L"--test --chrome");
85 test_properties_.set_description(L"Makes polar bears dance.");
86 test_properties_.set_icon(icon_path, 7);
87 test_properties_.set_app_id(L"Polar.Bear");
88 test_properties_.set_dual_mode(true);
181 ShellUtil::ShortcutProperties test_properties_;
244 test_properties_.set_shortcut_name(L"Bobo le shortcut");
245 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
248 dist_, test_properties_,
251 dist_, test_properties_);
255 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
258 dist_, test_properties_,
283 dist_, test_properties_,
296 ShellUtil::ShortcutProperties expected_properties(test_properties_);
325 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
328 test_properties_);
336 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
338 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
343 test_properties_.level = ShellUtil::CURRENT_USER;
345 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
354 dist_, test_properties_,
357 dist_, test_properties_);
365 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
367 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
372 test_properties_.level = ShellUtil::CURRENT_USER;
374 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
382 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
385 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
396 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
398 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
401 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
413 test_properties_.set_shortcut_name(L"Chrome 1");
414 test_properties_.set_arguments(L"");
416 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
419 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
423 test_properties_.set_shortcut_name(L"Chrome 2");
424 test_properties_.set_arguments(L"--profile-directory=\"Profile 2\"");
425 test_properties_.set_icon(other_ico_, 0);
427 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
430 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
434 test_properties_.set_shortcut_name(L"Iron 3");
435 test_properties_.set_target(iron_exe_);
436 test_properties_.set_icon(chrome_exe_, 3);
438 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
441 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
456 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
459 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
462 // Relies on the fact that |test_properties_| has non-empty arguments.
467 ShellUtil::ShortcutProperties expected_properties(test_properties_);
474 test_properties_.level = ShellUtil::SYSTEM_LEVEL;
476 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
479 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
482 // Relies on the fact that |test_properties_| has non-empty arguments.
487 ShellUtil::ShortcutProperties expected_properties(test_properties_);
495 test_properties_.set_shortcut_name(L"Chrome 1");
496 test_properties_.set_arguments(L"");
498 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
501 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
502 ShellUtil::ShortcutProperties expected_properties1(test_properties_);
505 test_properties_.set_shortcut_name(L"Chrome 2");
506 test_properties_.set_arguments(L"--profile-directory=\"Profile 2\"");
508 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
511 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
512 ShellUtil::ShortcutProperties expected_properties2(test_properties_);
537 test_properties_.set_shortcut_name(L"Chrome 1");
538 test_properties_.set_icon(test_properties_.target, kTestIconIndex1);
540 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
543 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
544 ShellUtil::ShortcutProperties expected_properties1(test_properties_);
547 test_properties_.set_shortcut_name(L"Chrome 2");
548 test_properties_.set_icon(other_ico_, kTestIconIndex2);
550 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
553 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
554 ShellUtil::ShortcutProperties expected_properties2(test_properties_);
557 test_properties_.set_target(iron_exe_);
558 test_properties_.set_shortcut_name(L"Iron 3");
559 test_properties_.set_icon(chrome_exe_, kTestIconIndex3);
561 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
564 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_)));
565 ShellUtil::ShortcutProperties expected_properties3(test_properties_);
568 // Relies on the fact that |test_properties_| has non-empty arguments.
592 test_properties_.set_shortcut_name(L"Chrome 1");
593 test_properties_.set_arguments(L"");
595 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
598 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
600 ShellUtil::ShortcutProperties expected_properties1(test_properties_);
603 test_properties_.set_shortcut_name(L"Chrome 2");
604 test_properties_.set_arguments(L"--profile-directory=\"Profile 2\"");
606 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
609 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
611 ShellUtil::ShortcutProperties expected_properties2(test_properties_);
614 test_properties_.set_shortcut_name(L"Chrome 3");
615 test_properties_.set_arguments(L"foo.com");
617 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
620 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
622 ShellUtil::ShortcutProperties expected_properties3(test_properties_);
625 test_properties_.set_shortcut_name(L"Chrome 4");
626 test_properties_.set_arguments(L"foo.com --show-app-list");
628 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,
631 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_);
633 ShellUtil::ShortcutProperties expected_properties4(test_properties_);
690 dist_, test_properties_,
694 dist_, test_properties_,
696 test_properties_.set_shortcut_name(L"A second shortcut");
699 dist_, test_properties_,
703 dist_, test_properties_,
747 dist_, test_properties_,
774 test_properties_.set_target(other_chrome_exe);
776 ShellUtil::SHORTCUT_LOCATION_DESKTOP, dist_, test_properties_,