~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to tests/cpp_unit/Utils/ConvertBinaryToStringTest.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:
21
21
 
22
22
#include "gtest/gtest.h"
23
23
 
24
 
#include "src/legacy/Interface/Squeal.hh"
 
24
#include "Utils/Exception.hh"
25
25
#include "src/common_cpp/Utils/ConvertBinaryToString.hh"
26
26
 
27
27
namespace {
62
62
    EXPECT_EQ(converter.convert(fname, false), "MQ==");
63
63
    EXPECT_EQ(converter.convert(fname, true), "MQ==");
64
64
    nanosleep(&start_time, &end_time);
65
 
    EXPECT_THROW(converter.convert(fname, true), Squeal); // file is gone
 
65
    EXPECT_THROW(converter.convert(fname, true), MAUS::Exception); // file is gone
66
66
}
67
67
}
68
68