~tatokis/unity/gcc-72-errors

« back to all changes in this revision

Viewing changes to tests/test_thumbnail_generator.cpp

  • Committer: Bileto Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2017-09-25 16:03:32 UTC
  • mfrom: (4253.1.17 tests-split-and-cleanup)
  • Revision ID: ci-train-bot@canonical.com-20170925160332-1963tgyjcd41j02e
Tests: split unit tests in single binaries, enable unstable tests

Use CMake foo, for getting the best for running tests in single mode
and generating smart targets for them

Approved by: Andrea Azzarone

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
  thumb->ready.connect(sigc::mem_fun(load_result, &LoadResult::ThumbnailReady));
108
108
  thumb->error.connect(sigc::mem_fun(load_result, &LoadResult::ThumbnailFailed));
109
109
 
110
 
  Utils::WaitUntilMSec(load_result.got_callback);
 
110
  Utils::WaitUntilMSec(load_result.got_callback, 1500);
111
111
 
112
112
  EXPECT_TRUE(load_result.succeeded);
113
113
  glib::Object<GIcon> icon(g_icon_new_for_string(load_result.return_string.c_str(), NULL));
164
164
  thumb->ready.connect(sigc::mem_fun(load_result, &LoadResult::ThumbnailReady));
165
165
  thumb->error.connect(sigc::mem_fun(load_result, &LoadResult::ThumbnailFailed));
166
166
 
167
 
  Utils::WaitUntilMSec(load_result.got_callback);
 
167
  Utils::WaitUntilMSec(load_result.got_callback, 1500);
168
168
 
169
169
  EXPECT_TRUE(load_result.succeeded);
170
170
  glib::Object<GIcon> icon(g_icon_new_for_string(load_result.return_string.c_str(), NULL));