summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c0092c8)
raw | patch | inline | side by side (parent: c0092c8)
author | jaspervdg <jaspervdg@users.sourceforge.net> | |
Mon, 8 Dec 2008 10:03:49 +0000 (10:03 +0000) | ||
committer | jaspervdg <jaspervdg@users.sourceforge.net> | |
Mon, 8 Dec 2008 10:03:49 +0000 (10:03 +0000) |
src/svg/css-ostringstream-test.h | patch | blob | history | |
src/test-stubs.cpp | [new file with mode: 0644] | patch | blob |
src/xml/repr-action-test.cpp | patch | blob | history |
index 5656baf5c5d8083b46f5f578db2f29ebb11321fd..295bf4bf3f6fe196fbdc759d437bf2702e60a122 100644 (file)
#include <cxxtest/TestSuite.h>
#include "svg/css-ostringstream.h"
-// dummy functions to prevent link errors
-int sp_main_gui(int /*argc*/, char const **/*argv*/) { return 0; }
-int sp_main_console(int /*argc*/, char const **/*argv*/) { return 0; }
-
template<typename T>
static void
css_test_datum(T const x, std::string const &exp_str)
diff --git a/src/test-stubs.cpp b/src/test-stubs.cpp
--- /dev/null
+++ b/src/test-stubs.cpp
@@ -0,0 +1,4 @@
+
+// dummy functions to prevent link errors
+int sp_main_gui(int /*argc*/, char const **/*argv*/) { return 0; }
+int sp_main_console(int /*argc*/, char const **/*argv*/) { return 0; }
index d4f9d094d4f56a3709acdd9487f3bb7be07de92c..d36ff410689239a52fc3eb3a3d27ab13a4e6e4a1 100644 (file)
#include "repr.h"
#include "event-fns.h"
-int sp_main_gui (int, char const**) { return 0; }
-int sp_main_console (int, char const**) { return 0; }
-
int main(int /*argc*/, char */*argv*/[]) {
Inkscape::XML::Document *document;
Inkscape::XML::Node *a, *b, *c, *root;