]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3859] Made getVersion() unit tests more regular
authorFrancis Dupont <fdupont@isc.org>
Thu, 11 Jun 2015 11:09:46 +0000 (13:09 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 11 Jun 2015 11:09:46 +0000 (13:09 +0200)
src/lib/dhcpsrv/tests/daemon_unittest.cc

index f9e6ccba326510337c05b98c13396b1cdcf35878..89fb9354cbb4b7c3f356159823099c6d02b959bd 100644 (file)
@@ -123,6 +123,10 @@ TEST_F(DaemonTest, getVersion) {
 
     ASSERT_NO_THROW(DaemonImpl::getVersion(false));
 
+    EXPECT_EQ(DaemonImpl::getVersion(false), "BASIC");
+
+    ASSERT_NO_THROW(DaemonImpl::getVersion(true));
+
     EXPECT_EQ(DaemonImpl::getVersion(true), "EXTENDED");
 }