~unity-team/unity/trunk

« back to all changes in this revision

Viewing changes to tests/test_switcher_controller.cpp

  • Committer: Tarmac
  • Author(s): Brandon Schaefer
  • Date: 2013-06-14 22:18:36 UTC
  • mfrom: (3371.1.1 unity)
  • Revision ID: tarmac-20130614221836-gzm13jw9wv5ebm4h
Fixes the use of Alt+` and Right arrow when in detail mode. Now it goes to the next window instead of closing detail mode. Fixes: https://bugs.launchpad.net/bugs/1190798.

Approved by PS Jenkins bot, Marco Trevisan (Treviño).

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
  auto const& view = controller_->GetView();
55
55
  auto const& model = view->GetModel();
56
 
  EXPECT_EQ(controller_->detail_mode(), DetailMode::TAB_NEXT_TILE);
 
56
  EXPECT_EQ(controller_->detail_mode(), DetailMode::TAB_NEXT_WINDOW);
57
57
  EXPECT_FALSE(view->animate());
58
58
  EXPECT_TRUE(model->detail_selection());
59
59
 
72
72
 
73
73
  auto const& view = controller_->GetView();
74
74
  auto const& model = view->GetModel();
75
 
  EXPECT_EQ(controller_->detail_mode(), DetailMode::TAB_NEXT_TILE);
 
75
  EXPECT_EQ(controller_->detail_mode(), DetailMode::TAB_NEXT_WINDOW);
76
76
  EXPECT_FALSE(view->animate());
77
77
  EXPECT_FALSE(model->detail_selection());
78
78
}