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>
This commit is contained in:
parent
878c05afed
commit
787b12cff4
@ -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()
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user