diff options
| author | Kees Cook <kees@outflux.net> | 2007-01-13 03:46:21 +0000 |
|---|---|---|
| committer | keescook <keescook@users.sourceforge.net> | 2007-01-13 03:46:21 +0000 |
| commit | b988aafc72dfee09f3ddcc360938e12be9e33c34 (patch) | |
| tree | 7c4ba83566a978ec2382f94b101d5d94f8ef85fb /src/svg/test-stubs.cpp | |
| parent | drop unneeded ascii fix, breaking tests (diff) | |
| download | inkscape-b988aafc72dfee09f3ddcc360938e12be9e33c34.tar.gz inkscape-b988aafc72dfee09f3ddcc360938e12be9e33c34.zip | |
stub out heavy routines during svg tests
(bzr r2200)
Diffstat (limited to 'src/svg/test-stubs.cpp')
| -rw-r--r-- | src/svg/test-stubs.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/svg/test-stubs.cpp b/src/svg/test-stubs.cpp new file mode 100644 index 000000000..e09e03186 --- /dev/null +++ b/src/svg/test-stubs.cpp @@ -0,0 +1,34 @@ +/* + * Stub out functions when building tests + * + * Authors: + * Kees Cook <kees@outflux.net> + * + * Copyright (C) 2007 authors + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include "svg/test-stubs.h" + +long long int +prefs_get_int_attribute(gchar const *path, gchar const *attr, long long int def) +{ + return def; +} + +/* + Local Variables: + mode:c++ + c-file-style:"stroustrup" + c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) + indent-tabs-mode:nil + fill-column:99 + End: +*/ +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : |
