mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
2 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Reference in a new issue