]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[trac1140] fix copyright and style
authorchenzhengzhang <jerry.zzpku@gmail.com>
Tue, 11 Oct 2011 07:24:28 +0000 (15:24 +0800)
committerchenzhengzhang <jerry.zzpku@gmail.com>
Tue, 11 Oct 2011 07:24:28 +0000 (15:24 +0800)
src/lib/dns/tests/rdata_txt_like_unittest.cc

index d7a455d7ee8ef9f9d6cbc49dbf748d223165df92..4d913c4f3ee81d7492f8e5699d80de11f0ed6363 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2010  Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2011  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
@@ -86,11 +86,11 @@ TYPED_TEST(Rdata_TXT_LIKE_Test, createFromText) {
     EXPECT_PRED_FORMAT4(UnitTestUtil::matchWireData,
                         this->obuffer.getData(),
                         this->obuffer.getLength(),
-                        wiredata_nulltxt, sizeof (wiredata_nulltxt));
+                        wiredata_nulltxt, sizeof(wiredata_nulltxt));
 
     // Longest possible character-string.
     this->obuffer.clear();
-    TypeParam(string(255, 'a')).  toWire(this->obuffer);
+    TypeParam(string(255, 'a')).toWire(this->obuffer);
     EXPECT_PRED_FORMAT4(UnitTestUtil::matchWireData,
                         this->obuffer.getData(),
                         this->obuffer.getLength(),
@@ -224,11 +224,11 @@ TYPED_TEST(Rdata_TXT_LIKE_Test, assignment) {
 }
 
 TYPED_TEST(Rdata_TXT_LIKE_Test, compare) {
-    string const txt1 ("aaaaaaaa");
-    string const txt2 ("aaaaaaaaaa");
-    string const txt3 ("bbbbbbbb");
-    string const txt4 (129, 'a');
-    string const txt5 (128, 'b');
+    string const txt1("aaaaaaaa");
+    string const txt2("aaaaaaaaaa");
+    string const txt3("bbbbbbbb");
+    string const txt4(129, 'a');
+    string const txt5(128, 'b');
 
     EXPECT_EQ(TypeParam(txt1).compare(TypeParam(txt1)), 0);