~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to tests/cpp_unit/JsonCppProcessors/TestBranchProcessorTest.cc

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
  if (json_out) {;} // dummy to kill gcc warning, does nothing
67
67
 
68
68
  ASSERT_NO_THROW(ReferenceResolver::CppToJson::RefManager::Birth());
69
 
  ASSERT_THROW(json_out = _proc->CppToJson(*_testbranch, ""), Squeal);
 
69
  ASSERT_THROW(json_out = _proc->CppToJson(*_testbranch, ""), MAUS::Exception);
70
70
  ASSERT_NO_THROW(ReferenceResolver::CppToJson::RefManager::Death());
71
71
}
72
72