~sil2100/unity/manual_tests_1122478_5.0

« back to all changes in this revision

Viewing changes to tests/test_launcher_controller.cpp

  • Committer: Andrea Azzarone
  • Date: 2013-02-18 13:43:22 UTC
  • mfrom: (2413.1.1 5.0)
  • Revision ID: azzaronea@gmail.com-20130218134322-8i16tny1u0mmaf1h
Backport fix for 991637.

Merged branch lp:~andyrock/unity/fix-991637-5.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
  }
112
112
}
113
113
 
 
114
TEST_F(TestLauncherController, MirroredMultimonitorSingleLauncherOnExternalMonitor)
 
115
{
 
116
  // See lp bug 991637
 
117
  lc.multiple_launchers = false;
 
118
  uscreen.SetPrimary(1);
 
119
 
 
120
  ASSERT_EQ(lc.launchers().size(), 1);
 
121
  ASSERT_EQ(lc.launcher().monitor(), 0);
 
122
}
 
123
 
114
124
TEST_F(TestLauncherController, MultimonitorSwitchToMultipleLaunchers)
115
125
{
116
126
  lc.multiple_launchers = false;