initial load of upstream version 1.06.32
[xmlrpc-c] / src / cpp / test / testclient_dummy.cpp
diff --git a/src/cpp/test/testclient_dummy.cpp b/src/cpp/test/testclient_dummy.cpp
new file mode 100644 (file)
index 0000000..5bf3018
--- /dev/null
@@ -0,0 +1,29 @@
+/*=============================================================================
+                                  testclient_dummy
+===============================================================================
+  This is a substitute for testclient.cpp, for use in a test program that is
+  not linked with the client libraries.
+
+  It simply passes the test.
+=============================================================================*/
+
+#include <string>
+#include <iostream>
+
+#include "tools.hpp"
+#include "testclient.hpp"
+
+using namespace std;
+
+string
+clientTestSuite::suiteName() {
+    return "clientTestSuite";
+}
+
+
+void
+clientTestSuite::runtests(unsigned int const indentation) {
+
+    cout << string((indentation+1)*2, ' ') 
+         << "Running dummy test." << endl;
+}