diff options
author | Jeremie Guichard <djebrest@gmail.com> | 2017-03-03 13:25:23 +0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-03-04 12:03:33 -0800 |
commit | 16a321d43b654cd756f5e2b54d72bad80e493b69 (patch) | |
tree | 0eb60d99ffc0678b7511d9887f964d7b4a74ef79 /tests/testgitstorage.h | |
parent | 7329629b6ec6e373020907cc0e43dc311d360777 (diff) | |
download | subsurface-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.h | 2 |
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(); |