From 503e1e4c286db555716a8cf81c4d22b6954a12d8 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 14 Oct 2016 09:27:46 +0200 Subject: Finish vendor testing Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- tests/testpreferences.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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) -- cgit v1.2.3-70-g09d2