Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(682)

Unified Diff: ui/chromeos/touch_accessibility_enabler_unittest.cc

Issue 2504233004: Tweaks for: Toggle spoken feedback if two fingers are held down (Closed)
Patch Set: Update unit tests Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/chromeos/touch_accessibility_enabler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/chromeos/touch_accessibility_enabler_unittest.cc
diff --git a/ui/chromeos/touch_accessibility_enabler_unittest.cc b/ui/chromeos/touch_accessibility_enabler_unittest.cc
index 1de53357e3e05393ad6411932c48b0b2d12fb09c..95c385d44ba0d37ab43ed560b0268e5eb6167f39 100644
--- a/ui/chromeos/touch_accessibility_enabler_unittest.cc
+++ b/ui/chromeos/touch_accessibility_enabler_unittest.cc
@@ -123,7 +123,7 @@ TEST_F(TouchAccessibilityEnablerTest, PlaysProgressSound) {
enabler_->TriggerOnTimerForTesting();
EXPECT_EQ(0U, delegate_.feedback_progress_sound_count());
- simulated_clock_->Advance(base::TimeDelta::FromMilliseconds(500));
+ simulated_clock_->Advance(base::TimeDelta::FromMilliseconds(3000));
enabler_->TriggerOnTimerForTesting();
EXPECT_EQ(1U, delegate_.feedback_progress_sound_count());
}
@@ -142,7 +142,7 @@ TEST_F(TouchAccessibilityEnablerTest, TogglesSpokenFeedback) {
enabler_->TriggerOnTimerForTesting();
EXPECT_FALSE(delegate_.toggle_spoken_feedback());
- simulated_clock_->Advance(base::TimeDelta::FromMilliseconds(3500));
+ simulated_clock_->Advance(base::TimeDelta::FromMilliseconds(5000));
enabler_->TriggerOnTimerForTesting();
EXPECT_TRUE(delegate_.toggle_spoken_feedback());
}
« no previous file with comments | « ui/chromeos/touch_accessibility_enabler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698