[cpp-xmltooling] branch master updated: Solaris fix
Scott Cantor
cantor.2 at osu.edu
Fri Jun 24 19:18:00 EDT 2016
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository cpp-xmltooling.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=913d7199fb9d58a93f25e697b60bbbb0d8694eb5
The following commit(s) were added to refs/heads/master by this push:
new 913d719 Solaris fix
913d719 is described below
commit 913d7199fb9d58a93f25e697b60bbbb0d8694eb5
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Fri Jun 24 19:17:56 2016 -0400
Solaris fix
---
xmltoolingtest/xmltoolingtest.h | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/xmltoolingtest/xmltoolingtest.h b/xmltoolingtest/xmltoolingtest.h
index 34699b0..6229a1a 100644
--- a/xmltoolingtest/xmltoolingtest.h
+++ b/xmltoolingtest/xmltoolingtest.h
@@ -79,7 +79,8 @@ public:
}
void testUnknown() {
- ifstream fs(data_path + "SimpleXMLObjectWithChildren.xml");
+ string test_path = data_path + "SimpleXMLObjectWithChildren.xml";
+ ifstream fs(test_path.c_str());
DOMDocument* doc=XMLToolingConfig::getConfig().getParser().parse(fs);
TS_ASSERT(doc!=nullptr);
@@ -107,7 +108,8 @@ public:
}
void testUnknownWithDocChange() {
- ifstream fs(data_path + "SimpleXMLObjectWithChildren.xml");
+ string test_path = data_path + "SimpleXMLObjectWithChildren.xml";
+ ifstream fs(test_path.c_str());
DOMDocument* doc=XMLToolingConfig::getConfig().getParser().parse(fs);
TS_ASSERT(doc!=nullptr);
@@ -132,7 +134,8 @@ public:
}
void testHelper() {
- ifstream fs(data_path + "IgnoreCase.xml");
+ string test_path = data_path + "IgnoreCase.xml";
+ ifstream fs(test_path.c_str());
DOMDocument* doc=XMLToolingConfig::getConfig().getParser().parse(fs);
TS_ASSERT(doc!=nullptr);
DOMElement* parent = doc->getDocumentElement();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list