summaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/src')
-rw-r--r--test/src/test-gen-c.cpp16
-rw-r--r--test/src/test-validating.cpp1
2 files changed, 13 insertions, 4 deletions
diff --git a/test/src/test-gen-c.cpp b/test/src/test-gen-c.cpp
index c75492a..0b03129 100644
--- a/test/src/test-gen-c.cpp
+++ b/test/src/test-gen-c.cpp
@@ -23,7 +23,7 @@
//#include "/Users/sradomski/Documents/TK/Code/uscxml/build/cli/test/gen/c/ecma/test446.scxml.machine.c"
#endif
-#include "uscxml/util/URL.h"
+//#include "uscxml/util/URL.h"
//#include "uscxml/concurrency/Timer.h"
//#include "uscxml/dom/DOMUtils.h"
#include "uscxml/plugins/Factory.h"
@@ -44,6 +44,12 @@
using namespace uscxml;
+namespace XERCESC_NS {
+class DOMDocument;
+class DOMNode;
+}
+
+
class StateMachine : public DataModelCallbacks, public IOProcessorCallbacks, public DelayedEventQueueCallbacks {
public:
StateMachine(const uscxml_machine* machine) : machine(machine), parentMachine(NULL), topMostMachine(NULL), invocation(NULL) {
@@ -105,7 +111,7 @@ public:
}
XERCESC_NS::DOMDocument* getDocument() const {
- return document;
+ return NULL;
}
const std::map<std::string, Invoker>& getInvokers() {
return invokers;
@@ -675,6 +681,7 @@ public:
if (data->content) {
content << data->content;
} else {
+#if 0
URL sourceURL(data->src);
if (USER_DATA(ctx)->baseURL.size() > 0) {
sourceURL = URL::resolve(sourceURL, USER_DATA(ctx)->baseURL);
@@ -682,6 +689,7 @@ public:
sourceURL = URL::resolveWithCWD(sourceURL);
}
content << sourceURL.getInContent();
+#endif
}
/**
* first attempt to parse as structured data, we will try
@@ -947,8 +955,8 @@ protected:
size_t currIteration;
};
- X xmlPrefix;
- XERCESC_NS::DOMDocument* document;
+// X xmlPrefix;
+// XERCESC_NS::DOMDocument* document;
DelayedEventQueue delayQueue;
std::map<std::string, std::tuple<std::string, std::string, std::string> > sendUUIDs;
diff --git a/test/src/test-validating.cpp b/test/src/test-validating.cpp
index 528812b..e69c07d 100644
--- a/test/src/test-validating.cpp
+++ b/test/src/test-validating.cpp
@@ -2,6 +2,7 @@
#include "uscxml/Interpreter.h"
#include "uscxml/interpreter/InterpreterImpl.h"
#include "uscxml/debug/InterpreterIssue.h"
+#include "uscxml/util/DOM.h"
#include "uscxml/interpreter/Logging.h"
#include <xercesc/util/PlatformUtils.hpp>
#include <iostream>