| Index: ash/accelerators/accelerator_table_unittest.cc
|
| diff --git a/ash/accelerators/accelerator_table_unittest.cc b/ash/accelerators/accelerator_table_unittest.cc
|
| index 8ec06459854196d721b3d04fee6a7ba69ea6f750..6467a9b4faacbc96872ec7ba50556c016cc8dc07 100644
|
| --- a/ash/accelerators/accelerator_table_unittest.cc
|
| +++ b/ash/accelerators/accelerator_table_unittest.cc
|
| @@ -58,4 +58,13 @@ TEST(AcceleratorTableTest, CheckDuplicatedActionsAllowedAtLoginOrLockScreen) {
|
| }
|
| }
|
|
|
| +TEST(AcceleratorTableTest, CheckDuplicatedActionsAllowedAtModalWindow) {
|
| + std::set<AcceleratorAction> actions;
|
| + for (size_t i = 0; i < kActionsAllowedAtModalWindowLength; ++i) {
|
| + EXPECT_TRUE(actions.insert(kActionsAllowedAtModalWindow[i]).second)
|
| + << "Duplicated action: " << kActionsAllowedAtModalWindow[i]
|
| + << " at index: " << i;
|
| + }
|
| +}
|
| +
|
| } // namespace ash
|
|
|