tests: make testpreferences.h loadable independent of testdive

set #ifdef TESTPREFERENCES in testpreferences.h so it can be loaded with other header files

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-07-05 22:59:49 +02:00 committed by Dirk Hohndel
parent 19803ab3c3
commit efab865b07

View file

@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#ifndef TESTDIVESITEDUPLICATION_H
#define TESTDIVESITEDUPLICATION_H
#ifndef TESTPREFERENCES_H
#define TESTPREFERENCES_H
#include <QTest>
#include <functional>
@ -13,4 +13,4 @@ private slots:
void testPreferences();
};
#endif // TESTDIVESITEDUPLICATION_H
#endif // TESTPREFERENCES_H