aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-01 13:43:52 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-01 09:42:31 -0700
commit95284c026e763482ef581c8b6298012d2c1fd941 (patch)
treeae00ee0920b3e31991cb324d256ac0c97a5027fd /tests
parentc13040798c66c5254fbcc921842cd519da05a4c5 (diff)
downloadsubsurface-95284c026e763482ef581c8b6298012d2c1fd941.tar.gz
cleanup: move dive_table from dive.h to divelist.h
This allows us to decouple dive.h and divelist.h, a small step in include disentangling. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/testAirPressure.cpp1
-rw-r--r--tests/testgitstorage.cpp1
-rw-r--r--tests/testmerge.cpp1
-rw-r--r--tests/testpicture.cpp1
-rw-r--r--tests/testrenumber.cpp1
5 files changed, 5 insertions, 0 deletions
diff --git a/tests/testAirPressure.cpp b/tests/testAirPressure.cpp
index f7d63848a..f8144dd7c 100644
--- a/tests/testAirPressure.cpp
+++ b/tests/testAirPressure.cpp
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include "testAirPressure.h"
+#include "core/dive.h"
#include "core/divesite.h"
#include "core/trip.h"
#include "core/file.h"
diff --git a/tests/testgitstorage.cpp b/tests/testgitstorage.cpp
index c5dc612f5..135b0dc3f 100644
--- a/tests/testgitstorage.cpp
+++ b/tests/testgitstorage.cpp
@@ -2,6 +2,7 @@
#include "testgitstorage.h"
#include "git2.h"
+#include "core/dive.h"
#include "core/divesite.h"
#include "core/file.h"
#include "core/qthelper.h"
diff --git a/tests/testmerge.cpp b/tests/testmerge.cpp
index f57f85429..7fa18756c 100644
--- a/tests/testmerge.cpp
+++ b/tests/testmerge.cpp
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include "testmerge.h"
+#include "core/dive.h" // for save_dives()
#include "core/divesite.h"
#include "core/file.h"
#include "core/trip.h"
diff --git a/tests/testpicture.cpp b/tests/testpicture.cpp
index 08922b1aa..da8fedeec 100644
--- a/tests/testpicture.cpp
+++ b/tests/testpicture.cpp
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include "testpicture.h"
+#include "core/dive.h"
#include "core/divesite.h"
#include "core/errorhelper.h"
#include "core/picture.h"
diff --git a/tests/testrenumber.cpp b/tests/testrenumber.cpp
index 53da23f65..abb0058c1 100644
--- a/tests/testrenumber.cpp
+++ b/tests/testrenumber.cpp
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include "testrenumber.h"
+#include "core/dive.h"
#include "core/divesite.h"
#include "core/trip.h"
#include "core/file.h"