diff options
author | Ocean Wang <wanghaidong@cnnic.cn> | 2011-04-08 11:02:44 +0200 |
---|---|---|
committer | Ocean Wang <wanghaidong@cnnic.cn> | 2011-04-08 11:02:44 +0200 |
commit | 8fc7cdd216bead2a98f1c98a6b6dc7a8a3bea4f4 (patch) | |
tree | fadd5381b04a08fcd0de6cd7e6cf07ca8ac26665 /src/lib/asiolink/tests/qid_gen_unittest.cc | |
parent | [trac751] Move some DNS related files from asiolink to asiodns (diff) | |
download | kea-8fc7cdd216bead2a98f1c98a6b6dc7a8a3bea4f4.tar.xz kea-8fc7cdd216bead2a98f1c98a6b6dc7a8a3bea4f4.zip |
[trac751] Move dns related code to asiodns lib
Diffstat (limited to 'src/lib/asiolink/tests/qid_gen_unittest.cc')
-rw-r--r-- | src/lib/asiolink/tests/qid_gen_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/asiolink/tests/qid_gen_unittest.cc b/src/lib/asiolink/tests/qid_gen_unittest.cc index 3ad8a03c51..346e6f4f01 100644 --- a/src/lib/asiolink/tests/qid_gen_unittest.cc +++ b/src/lib/asiolink/tests/qid_gen_unittest.cc @@ -39,8 +39,8 @@ // Check that getInstance returns a singleton TEST(QidGenerator, singleton) { - asiolink::QidGenerator& g1 = asiolink::QidGenerator::getInstance(); - asiolink::QidGenerator& g2 = asiolink::QidGenerator::getInstance(); + isc::asiolink::QidGenerator& g1 = isc::asiolink::QidGenerator::getInstance(); + isc::asiolink::QidGenerator& g2 = isc::asiolink::QidGenerator::getInstance(); EXPECT_TRUE(&g1 == &g2); } @@ -51,7 +51,7 @@ TEST(QidGenerator, generate) { // test (http://xkcd.com/221/), and check if three consecutive // generates are not all the same. isc::dns::qid_t one, two, three; - asiolink::QidGenerator& gen = asiolink::QidGenerator::getInstance(); + isc::asiolink::QidGenerator& gen = isc::asiolink::QidGenerator::getInstance(); one = gen.generateQid(); two = gen.generateQid(); three = gen.generateQid(); |