[svn] commit: r1034 - /trunk/src/lib/dns/cpp/tests/rdata_in_a_unittest.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Sun Feb 28 02:38:32 UTC 2010


Author: jinmei
Date: Sun Feb 28 02:38:32 2010
New Revision: 1034

Log:
renamed test class to be more specific

Modified:
    trunk/src/lib/dns/cpp/tests/rdata_in_a_unittest.cc

Modified: trunk/src/lib/dns/cpp/tests/rdata_in_a_unittest.cc
==============================================================================
--- trunk/src/lib/dns/cpp/tests/rdata_in_a_unittest.cc (original)
+++ trunk/src/lib/dns/cpp/tests/rdata_in_a_unittest.cc Sun Feb 28 02:38:32 2010
@@ -50,7 +50,7 @@
     EXPECT_THROW(in::A("xxx"), InvalidRdataText);
 }
 
-TEST_F(RdataTest, createFromWire)
+TEST_F(Rdata_IN_A_Test, createFromWire)
 {
     // Valid data
     EXPECT_EQ(0, rdata_in_a.compare(
@@ -70,7 +70,7 @@
                  InvalidBufferPosition);
 }
 
-TEST_F(RdataTest, toWireBuffer)
+TEST_F(Rdata_IN_A_Test, toWireBuffer)
 {
     rdata_in_a.toWire(obuffer);
     EXPECT_PRED_FORMAT4(UnitTestUtil::matchWireData,
@@ -78,7 +78,7 @@
                         wiredata_in_a, sizeof(wiredata_in_a));
 }
 
-TEST_F(RdataTest, toWireRenderer)
+TEST_F(Rdata_IN_A_Test, toWireRenderer)
 {
     rdata_in_a.toWire(renderer);
     EXPECT_PRED_FORMAT4(UnitTestUtil::matchWireData,
@@ -86,14 +86,14 @@
                         wiredata_in_a, sizeof(wiredata_in_a));
 }
 
-TEST_F(RdataTest, toText)
+TEST_F(Rdata_IN_A_Test, toText)
 {
     EXPECT_EQ("192.0.2.1", rdata_in_a.toText());
     string longaddr("255.255.255.255"); // this shouldn't make the code crash
     EXPECT_EQ(longaddr, in::A(longaddr).toText());
 }
 
-TEST_F(RdataTest, compare)
+TEST_F(Rdata_IN_A_Test, compare)
 {
     in::A small1("1.1.1.1");
     in::A small2("1.2.3.4");




More information about the bind10-changes mailing list