Simplify access to records and prevent reads of expired data.
[shibboleth/cpp-xmltooling.git] / xmltoolingtest / ExceptionTest.h
index d681577..d290fbe 100644 (file)
@@ -23,8 +23,6 @@ class ExceptionTest : public CxxTest::TestSuite {
 public:\r
 \r
     void testException(void) {\r
-        TS_TRACE("testException");\r
-\r
 #define TEST(n,b,a) XMLToolingException e##n(b); \\r
                 TS_ASSERT(!strcmp(a,e##n.what()))\r
 \r
@@ -44,7 +42,6 @@ public:
                 params(1,"OpenSSLCryptoProvider::getRandom - OpenSSL random not properly initialised"));\r
 \r
         string buf=e7.toString();\r
-        TS_TRACE(buf.c_str());\r
         auto_ptr<XMLToolingException> ptr(XMLToolingException::fromString(buf.c_str()));\r
         TS_ASSERT(typeid(*ptr)==typeid(MarshallingException));\r
         TS_ASSERT(!strcmp(ptr->what(),"Foo is a bar."));\r