~sethj/ubuntu/wily/unity/fix-for-1445595

« back to all changes in this revision

Viewing changes to tests/test_xdnd_start_stop_notifier_imp.cpp

  • Committer: Marco Trevisan (Treviño)
  • Date: 2015-09-30 20:59:26 UTC
  • mto: This revision was merged to the branch mainline in revision 4018.
  • Revision ID: mail@3v1n0.net-20150930205926-b0z826bc8jej2ss4
TestUtils: define UNSTABLE_TEST macro, and disable unstable tests on release

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
  unity::XdndStartStopNotifierImp xdnd_start_stop_notifier;
48
48
};
49
49
 
50
 
TEST_F(TestXdndStartStopNotifierImp, DISABLED_SignalStarted)
 
50
TEST_F(TestXdndStartStopNotifierImp, UNSTABLE_TEST(SignalStarted))
51
51
{
52
52
  bool signal_received = false;
53
53
  xdnd_start_stop_notifier.started.connect([&](){
63
63
  //XTestFakeButtonEvent(display_, 1, False, CurrentTime);
64
64
}
65
65
 
66
 
TEST_F(TestXdndStartStopNotifierImp, DISABLED_SignalFinished)
 
66
TEST_F(TestXdndStartStopNotifierImp, UNSTABLE_TEST(SignalFinished))
67
67
{
68
68
  bool signal_received = false;
69
69
  xdnd_start_stop_notifier.finished.connect([&](){