summaryrefslogtreecommitdiffstats
path: root/common/test.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-05-23 14:43:26 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-05-23 14:43:26 +0200
commitc9f26c4cbca654417d304c9214aa3a7709631159 (patch)
treefd19cab23dbea2364f6c381d67d68fdd943f63a2 /common/test.h
parent422950c63f830e4d01315afc37d0144f79bf10db (diff)
downloadsink-c9f26c4cbca654417d304c9214aa3a7709631159.tar.gz
sink-c9f26c4cbca654417d304c9214aa3a7709631159.zip
Propagate test-mode to resources.
This way we can run tests in completely separate data-directories.
Diffstat (limited to 'common/test.h')
-rw-r--r--common/test.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/test.h b/common/test.h
index e2bd1ea..bb505b6 100644
--- a/common/test.h
+++ b/common/test.h
@@ -34,6 +34,8 @@ namespace Test {
34 * and clears all data directories. 34 * and clears all data directories.
35 */ 35 */
36void SINK_EXPORT initTest(); 36void SINK_EXPORT initTest();
37void SINK_EXPORT setTestModeEnabled(bool);
38bool SINK_EXPORT testModeEnabled();
37 39
38class SINK_EXPORT TestAccount { 40class SINK_EXPORT TestAccount {
39public: 41public: