summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-07 09:56:41 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-07 09:56:41 -0800
commit787b12cff446d7b877b4b5e25c1fcaa072df767d (patch)
treeb69bc53aab81ca95b55d82eae0305c3670636a49 /tests
parent878c05afede17fb245897617981a8b6975678e5b (diff)
downloadsubsurface-787b12cff446d7b877b4b5e25c1fcaa072df767d.tar.gz
Remove unnecessary call from tests
Now that the WindowTitleUpdater is fixed we don't need to create an instance in the tests, either. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/testgitstorage.cpp2
-rw-r--r--tests/testrenumber.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/tests/testgitstorage.cpp b/tests/testgitstorage.cpp
index ed9465386..891982151 100644
--- a/tests/testgitstorage.cpp
+++ b/tests/testgitstorage.cpp
@@ -4,7 +4,6 @@
#include "file.h"
#include "git2.h"
#include "prefs-macros.h"
-#include "windowtitleupdate.h"
#include "subsurfacestartup.h"
#include <QDir>
#include <QTextStream>
@@ -56,7 +55,6 @@ void TestGitStorage::testSetup()
QString localCacheDir(get_local_dir("https://cloud.subsurface-divelog.org/git/ssrftest@hohndel.org", "ssrftest@hohndel.org"));
QDir localCacheDirectory(localCacheDir);
QCOMPARE(localCacheDirectory.removeRecursively(), true);
- WindowTitleUpdate *wtu = new WindowTitleUpdate();
}
void TestGitStorage::testGitStorageLocal()
diff --git a/tests/testrenumber.cpp b/tests/testrenumber.cpp
index 86ad6fae4..83c4b56f0 100644
--- a/tests/testrenumber.cpp
+++ b/tests/testrenumber.cpp
@@ -1,4 +1,3 @@
-#include "windowtitleupdate.h"
#include "testrenumber.h"
#include "dive.h"
#include "file.h"
@@ -7,7 +6,6 @@
void TestRenumber::setup()
{
- WindowTitleUpdate *wtu = new WindowTitleUpdate();
QCOMPARE(parse_file(SUBSURFACE_SOURCE "/dives/test47.xml"), 0);
process_dives(false, false);
dive_table.preexisting = dive_table.nr;