[llvm-commits] [llvm] r79451 - /llvm/trunk/unittests/ADT/SmallStringTest.cpp

Benjamin Kramer benny.kra at googlemail.com
Wed Aug 19 12:41:05 PDT 2009


Author: d0k
Date: Wed Aug 19 14:41:05 2009
New Revision: 79451

URL: http://llvm.org/viewvc/llvm-project?rev=79451&view=rev
Log:
Remove SmallString::append_*int* unit tests.

Modified:
    llvm/trunk/unittests/ADT/SmallStringTest.cpp

Modified: llvm/trunk/unittests/ADT/SmallStringTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/SmallStringTest.cpp?rev=79451&r1=79450&r2=79451&view=diff

==============================================================================
--- llvm/trunk/unittests/ADT/SmallStringTest.cpp (original)
+++ llvm/trunk/unittests/ADT/SmallStringTest.cpp Wed Aug 19 14:41:05 2009
@@ -44,21 +44,5 @@
   EXPECT_TRUE(theString.rbegin() == theString.rend());
 }
 
-TEST_F(SmallStringTest, AppendUINT64_MAX) {
-  SCOPED_TRACE("AppendUINT64_MAX");
-  theString.clear();
-  assertEmpty(theString);
-  theString.append_uint(UINT64_MAX);
-  EXPECT_TRUE(0 == strcmp(theString.c_str(),"18446744073709551615"));
-}
-
-TEST_F(SmallStringTest, AppendINT64_MIN) {
-  SCOPED_TRACE("AppendINT64_MIN");
-  theString.clear();
-  assertEmpty(theString);
-  theString.append_sint(INT64_MIN);
-  EXPECT_TRUE(0 == strcmp(theString.c_str(),"-9223372036854775808"));
-}
-
 }
 





More information about the llvm-commits mailing list