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

Unified Diff: ui/keyboard/keyboard_controller_unittest.cc

Issue 2634933002: Remove implicit dependency between test cases. (Closed)
Patch Set: rebase Created 3 years, 11 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_controller_unittest.cc
diff --git a/ui/keyboard/keyboard_controller_unittest.cc b/ui/keyboard/keyboard_controller_unittest.cc
index c2b47f3cb5f35a59aa2ea5b94a90539fdaa06fe5..1073cab2a746d4c551be5b80e6d5001cf6ebddf7 100644
--- a/ui/keyboard/keyboard_controller_unittest.cc
+++ b/ui/keyboard/keyboard_controller_unittest.cc
@@ -567,6 +567,7 @@ TEST_F(KeyboardControllerTest, CloseKeyboard) {
root_window()->RemoveChild(keyboard_container);
ResetController();
EXPECT_TRUE(IsKeyboardClosed());
+ keyboard::SetAccessibilityKeyboardEnabled(false);
}
class KeyboardControllerAnimationTest : public KeyboardControllerTest {
@@ -675,6 +676,8 @@ TEST_F(KeyboardControllerTest, FloatingKeyboardShowOnFirstTap) {
aura::Window* container(controller()->GetContainerWindow());
aura::Window* keyboard(ui()->GetKeyboardWindow());
root_window()->AddChild(container);
+
+ keyboard::SetTouchKeyboardEnabled(true);
controller()->SetKeyboardMode(FLOATING);
container->AddChild(keyboard);
// Mock focus on an input field.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698