Moved ReplayCache into xmltooling
[shibboleth/cpp-opensaml.git] / samltest / samltest.h
index 92509d8..2e6f5a5 100644 (file)
  */\r
 \r
 #include "internal.h"\r
-#include <saml/SAMLConfig.h>
-\r
 #include <fstream>\r
 #include <cxxtest/GlobalFixture.h>\r
+#include <saml/SAMLConfig.h>\r
+#include <saml/binding/ArtifactMap.h>\r
+#include <xmltooling/util/ReplayCache.h>\r
 \r
 //#define SAML_LEAKCHECK\r
 \r
@@ -31,6 +32,9 @@ public:
         XMLToolingConfig::getConfig().log_config();\r
         if (!SAMLConfig::getConfig().init())\r
             return false;\r
+        XMLToolingConfig::getConfig().setReplayCache(new ReplayCache());\r
+        SAMLConfig::getConfig().setArtifactMap(new ArtifactMap());\r
+\r
         if (getenv("SAMLTEST_DATA"))\r
             data_path=std::string(getenv("SAMLTEST_DATA")) + "/";\r
         //std::string catpath=data_path + "catalog.xml";\r