diff options
Diffstat (limited to 'test/src/test-lifecycle.cpp')
-rw-r--r-- | test/src/test-lifecycle.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/src/test-lifecycle.cpp b/test/src/test-lifecycle.cpp index 528d903..df77e96 100644 --- a/test/src/test-lifecycle.cpp +++ b/test/src/test-lifecycle.cpp @@ -14,7 +14,7 @@ int startedAt; int lastTransitionAt; using namespace uscxml; -using namespace xercesc; +using namespace XERCESC_NS; enum CallbackType { USCXML_BEFOREPROCESSINGEVENT, @@ -55,45 +55,45 @@ class SequenceCheckingMonitor : public InterpreterMonitor { CHECK_CALLBACK_TYPE(USCXML_BEFOREMICROSTEP); } - virtual void beforeExitingState(const xercesc::DOMElement* state) { + virtual void beforeExitingState(const XERCESC_NS::DOMElement* state) { CHECK_CALLBACK_TYPE(USCXML_BEFOREEXITINGSTATE); } - virtual void afterExitingState(const xercesc::DOMElement* state) { + virtual void afterExitingState(const XERCESC_NS::DOMElement* state) { CHECK_CALLBACK_TYPE(USCXML_AFTEREXITINGSTATE); } - virtual void beforeExecutingContent(const xercesc::DOMElement* element) { + virtual void beforeExecutingContent(const XERCESC_NS::DOMElement* element) { CHECK_CALLBACK_TYPE(USCXML_BEFOREEXECUTINGCONTENT); } - virtual void afterExecutingContent(const xercesc::DOMElement* element) { + virtual void afterExecutingContent(const XERCESC_NS::DOMElement* element) { CHECK_CALLBACK_TYPE(USCXML_AFTEREXECUTINGCONTENT); } - virtual void beforeUninvoking(const xercesc::DOMElement* invokeElem, const std::string& invokeid) { + virtual void beforeUninvoking(const XERCESC_NS::DOMElement* invokeElem, const std::string& invokeid) { CHECK_CALLBACK_TYPE(USCXML_BEFOREUNINVOKING); } - virtual void afterUninvoking(const xercesc::DOMElement* invokeElem, const std::string& invokeid) { + virtual void afterUninvoking(const XERCESC_NS::DOMElement* invokeElem, const std::string& invokeid) { CHECK_CALLBACK_TYPE(USCXML_AFTERUNINVOKING); } - virtual void beforeTakingTransition(const xercesc::DOMElement* transition) { + virtual void beforeTakingTransition(const XERCESC_NS::DOMElement* transition) { CHECK_CALLBACK_TYPE(USCXML_BEFORETAKINGTRANSITION); } - virtual void afterTakingTransition(const xercesc::DOMElement* transition) { + virtual void afterTakingTransition(const XERCESC_NS::DOMElement* transition) { CHECK_CALLBACK_TYPE(USCXML_AFTERTAKINGTRANSITION); } - virtual void beforeEnteringState(const xercesc::DOMElement* state) { + virtual void beforeEnteringState(const XERCESC_NS::DOMElement* state) { CHECK_CALLBACK_TYPE(USCXML_BEFOREENTERINGSTATE); } - virtual void afterEnteringState(const xercesc::DOMElement* state) { + virtual void afterEnteringState(const XERCESC_NS::DOMElement* state) { CHECK_CALLBACK_TYPE(USCXML_AFTERENTERINGSTATE); } - virtual void beforeInvoking(const xercesc::DOMElement* invokeElem, const std::string& invokeid) { + virtual void beforeInvoking(const XERCESC_NS::DOMElement* invokeElem, const std::string& invokeid) { CHECK_CALLBACK_TYPE(USCXML_BEFOREINVOKING); } - virtual void afterInvoking(const xercesc::DOMElement* invokeElem, const std::string& invokeid) { + virtual void afterInvoking(const XERCESC_NS::DOMElement* invokeElem, const std::string& invokeid) { CHECK_CALLBACK_TYPE(USCXML_AFTERINVOKING); } |