summaryrefslogtreecommitdiffstats
path: root/tests/testgitstorage.h
diff options
context:
space:
mode:
authorGravatar Jeremie Guichard <djebrest@gmail.com>2017-03-03 13:25:23 +0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-04 12:03:33 -0800
commit16a321d43b654cd756f5e2b54d72bad80e493b69 (patch)
tree0eb60d99ffc0678b7511d9887f964d7b4a74ef79 /tests/testgitstorage.h
parent7329629b6ec6e373020907cc0e43dc311d360777 (diff)
downloadsubsurface-16a321d43b654cd756f5e2b54d72bad80e493b69.tar.gz
Use proper QTest initialization method in TestGitStorage
Method originally called testSetup is more a precondition to test execution rather than an actual test. QTest recommends to use initTestCase for that purpose. Signed-off-by: Jeremie Guichard <djebrest@gmail.com>
Diffstat (limited to 'tests/testgitstorage.h')
-rw-r--r--tests/testgitstorage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgitstorage.h b/tests/testgitstorage.h
index e71e1f809..579aa33d3 100644
--- a/tests/testgitstorage.h
+++ b/tests/testgitstorage.h
@@ -7,7 +7,7 @@ class TestGitStorage : public QObject
{
Q_OBJECT
private slots:
- void testSetup();
+ void initTestCase();
void testGitStorageLocal_data();
void testGitStorageLocal();
void testGitStorageCloud();