[xmltooling] 53/65: Solaris fix
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Thu Jun 30 13:07:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to branch debian/master
in repository xmltooling.
commit 913d7199fb9d58a93f25e697b60bbbb0d8694eb5
Author: Scott Cantor <cantor.2 at osu.edu>
Date: 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();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xmltooling.git
More information about the Pkg-shibboleth-devel
mailing list