Wrap the initial construction test with EXPECT_NO_THROW(), this will ensure any underlying exceptions are caught. The other tests need similar fixes which I'll look to later on unix.

Originally committed to SVN as r4352.
This commit is contained in:
Amar Takhar 2010-05-23 20:12:34 +00:00
parent c65de83b26
commit fc77763e95

View file

@ -35,7 +35,7 @@ protected:
TEST_F(lagi_mru, MRUConstructFromFile) { TEST_F(lagi_mru, MRUConstructFromFile) {
agi::MRUManager mru(conf_ok, default_mru); EXPECT_NO_THROW(agi::MRUManager mru(conf_ok, default_mru));
} }
TEST_F(lagi_mru, MRUConstructFromString) { TEST_F(lagi_mru, MRUConstructFromString) {