~raof/mir/buildsystems-are-the-worst

Viewing all changes in revision 1857.

  • Committer: Daniel van Vugt
  • Author(s): Christopher James Halse Rogers
  • Date: 2014-08-21 03:34:05 UTC
  • mfrom: (1835.1.2 more-inprocesserver-fiddling)
  • Revision ID: daniel.van.vugt@canonical.com-20140821033405-iolj0usax4vick8g
Abort test when InProcessServer startup fails.

ASSERT_TRUE does not actually abort the test unless called directly within
the main test body or from a function called within ASSERT_NO_FATAL_FAILURE()
within the main test body.

Throw an exception instead, which will terminate the test unless deliberately
caught.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: