|
@@ -1,4 +1,4 @@
|
|
|
-// Copyright (C) 2011, 2014 Internet Systems Consortium, Inc. ("ISC")
|
|
|
+// Copyright (C) 2011, 2014, 2015 Internet Systems Consortium, Inc. ("ISC")
|
|
|
//
|
|
|
// Permission to use, copy, modify, and/or distribute this software for any
|
|
|
// purpose with or without fee is hereby granted, provided that the above
|
|
@@ -22,6 +22,11 @@
|
|
|
|
|
|
using namespace isc::cryptolink;
|
|
|
|
|
|
+// Test get version
|
|
|
+TEST(CryptoLinkTest, Version) {
|
|
|
+ EXPECT_NO_THROW(CryptoLink::getVersion());
|
|
|
+}
|
|
|
+
|
|
|
// Tests whether getCryptoLink() returns a singleton instance
|
|
|
TEST(CryptoLinkTest, Singleton) {
|
|
|
const CryptoLink& c1 = CryptoLink::getCryptoLink();
|