X-Git-Url: http://git.tdb.fi/?p=libs%2Ftest.git;a=blobdiff_plain;f=source%2Ftest.cpp;h=a05349b594604a869b1729acf25f5894dad4c94d;hp=ab6e05234302604fa84435c1f147546d39761b31;hb=89a507ffd4e41ee5f270034b8ad783963afd0be4;hpb=1d09b14f91000e9e62bd2a0e7f0be53f2077e59c diff --git a/source/test.cpp b/source/test.cpp index ab6e052..a05349b 100644 --- a/source/test.cpp +++ b/source/test.cpp @@ -152,6 +152,11 @@ void Test::debug(const string &str) detail_debug += format("%s\n", str); } +void Test::fail(const string &why) +{ + throw test_failed(why); +} + Test::Factory::Factory() {