summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2016-10-14 09:27:46 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-10-15 12:20:14 -0700
commit503e1e4c286db555716a8cf81c4d22b6954a12d8 (patch)
tree080af913f587b8bbc51a06c26ec1a28f16a4c30b /tests
parent1801a6888f713f8b4aa4b7ff1c7c0455456821cb (diff)
downloadsubsurface-503e1e4c286db555716a8cf81c4d22b6954a12d8.tar.gz
Finish vendor testing
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/testpreferences.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testpreferences.cpp b/tests/testpreferences.cpp
index 14a40cb81..f3d00a1d6 100644
--- a/tests/testpreferences.cpp
+++ b/tests/testpreferences.cpp
@@ -89,6 +89,11 @@ void TestPreferences::testPreferences()
TEST(dc->dc_product(), QStringLiteral("Thingy1"));
dc->setProduct("Thingy2");
TEST(dc->dc_product(), QStringLiteral("Thingy2"));
+
+ dc->setVendor("Sharewater");
+ TEST(dc->dc_vendor(), QStringLiteral("Sharewater"));
+ dc->setVendor("OSTS");
+ TEST(dc->dc_vendor(), QStringLiteral("OSTS"));
}
QTEST_MAIN(TestPreferences)