diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-23 14:43:26 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-23 14:43:26 +0200 |
commit | c9f26c4cbca654417d304c9214aa3a7709631159 (patch) | |
tree | fd19cab23dbea2364f6c381d67d68fdd943f63a2 /common/test.h | |
parent | 422950c63f830e4d01315afc37d0144f79bf10db (diff) | |
download | sink-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.h | 2 |
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 | */ |
36 | void SINK_EXPORT initTest(); | 36 | void SINK_EXPORT initTest(); |
37 | void SINK_EXPORT setTestModeEnabled(bool); | ||
38 | bool SINK_EXPORT testModeEnabled(); | ||
37 | 39 | ||
38 | class SINK_EXPORT TestAccount { | 40 | class SINK_EXPORT TestAccount { |
39 | public: | 41 | public: |