caps_lock_delegate_chromeos_browsertest.cc | 15 CapsLockDelegateTest() : initial_caps_lock_state_(false) { 28 const bool initial_caps_lock_state_; member in class:__anon5903::CapsLockDelegateTest 37 EXPECT_EQ(initial_caps_lock_state_, delegate_->caps_lock_is_on_for_test()); 39 EXPECT_EQ(!initial_caps_lock_state_, xkeyboard_.CapsLockIsEnabled()); 40 delegate_->OnCapsLockChange(!initial_caps_lock_state_); 41 EXPECT_EQ(!initial_caps_lock_state_, delegate_->caps_lock_is_on_for_test()); 43 delegate_->OnCapsLockChange(initial_caps_lock_state_); 44 EXPECT_EQ(initial_caps_lock_state_, xkeyboard_.CapsLockIsEnabled()); 45 EXPECT_EQ(initial_caps_lock_state_, delegate_->caps_lock_is_on_for_test()); 48 delegate_->SetCapsLockEnabled(!initial_caps_lock_state_); [all...] |