Restructured test directories.
[libsex.git] / tests / src / TestMacros.cxx
blob29d6741808cb3a8437284b642e686a6c6c82ae1d
1 #include <tests/src/TestMacros.hxx>
2 #include <tests/framework/AutoCreatedException.hxx>
4 #include <libsex/utility.hxx>
6 void TestMacros::testInstantiation()
8 AutoCreatedException e
9 = libsex::formatted<AutoCreatedException>(
10 "foo.cxx", 42,
11 "bar", 5);
13 CPPUNIT_ASSERT_EQUAL(
14 std::string("foo.cxx:42: bar is 5"),
15 std::string(e.what()));