summaryrefslogtreecommitdiffstats
path: root/tests/testgitstorage.cpp
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.cpp
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.cpp')
-rw-r--r--tests/testgitstorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testgitstorage.cpp b/tests/testgitstorage.cpp
index aaa6bd8da..46e77142d 100644
--- a/tests/testgitstorage.cpp
+++ b/tests/testgitstorage.cpp
@@ -16,7 +16,7 @@
// this is a local helper function in git-access.c
extern "C" char *get_local_dir(const char *remote, const char *branch);
-void TestGitStorage::testSetup()
+void TestGitStorage::initTestCase()
{
// first, setup the preferences an proxy information
copy_prefs(&default_prefs, &prefs);