~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to tests/cpp_unit/API/APIExceptionsTest.cc

  • Committer: Durga Rajaram
  • Date: 2014-01-14 07:07:02 UTC
  • mfrom: (659.1.80 relcand)
  • Revision ID: durga@fnal.gov-20140114070702-2l1fuj1w6rraw7xe
Tags: MAUS-v0.7.6
MAUS-v0.7.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
    UnhandledException ue("MyClass");
53
53
 
54
54
    std::string ret = "An unhandled exception was thrown by 'MyClass'"\
55
 
      " which was not of type 'Squeal' or deriving from 'std::exception'";
 
55
      " which was not of type 'Exception' or deriving from 'std::exception'";
56
56
 
57
57
    ASSERT_FALSE(strcmp(ret.c_str(), ue._what()))
58
58
      << "Fail: _what() failed, didn't return the expected string"