Changeset 145412 in webkit
- Timestamp:
- Mar 11, 2013 3:15:06 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r145400 r145412 1 2013-03-08 Geoffrey Garen <ggaren@apple.com> 2 3 Some StringHasher tests are broken because of missing null termination 4 https://bugs.webkit.org/show_bug.cgi?id=111284 5 6 Reviewed by Darin Adler. 7 8 * TestWebKitAPI/Tests/WTF/StringHasher.cpp: 9 (TestWebKitAPI): Added null termination since C strings are null-terminated. 10 (TestWebKitAPI::TEST): Removed #ifdef's that disabled this testing since 11 the bug caught by it is now fixed. 12 1 13 2013-03-11 Sheriff Bot <webkit.review.bot@gmail.com> 2 14 -
trunk/Tools/TestWebKitAPI/Tests/WTF/StringHasher.cpp
r144619 r145412 38 38 static const LChar testALChars[6] = { 0x41, 0x95, 0xFF, 0x50, 0x01, 0 }; 39 39 static const UChar testAUChars[6] = { 0x41, 0x95, 0xFF, 0x50, 0x01, 0 }; 40 static const UChar testBUChars[ 5] = { 0x41, 0x95, 0xFFFF, 0x1080, 0x01};40 static const UChar testBUChars[6] = { 0x41, 0x95, 0xFFFF, 0x1080, 0x01, 0 }; 41 41 42 42 static const unsigned testAHash1 = 0xEA32B004; … … 108 108 } 109 109 110 #if OS(ANDROID) 111 // Failing on Android. http://webkit.org/b/111284 112 # define MAYBE_StringHasher_addCharacters DISABLED_StringHasher_addCharacters 113 #else 114 # define MAYBE_StringHasher_addCharacters StringHasher_addCharacters 115 #endif 116 117 TEST(WTF, MAYBE_StringHasher_addCharacters) 110 TEST(WTF, StringHasher_addCharacters) 118 111 { 119 112 StringHasher hasher; … … 274 267 } 275 268 276 #if OS(ANDROID) 277 // Failing on Android. http://webkit.org/b/111284 278 # define MAYBE_StringHasher_addCharactersAssumingAligned DISABLED_StringHasher_addCharactersAssumingAligned 279 #else 280 # define MAYBE_StringHasher_addCharactersAssumingAligned StringHasher_addCharactersAssumingAligned 281 #endif 282 283 TEST(WTF, MAYBE_StringHasher_addCharactersAssumingAligned) 269 TEST(WTF, StringHasher_addCharactersAssumingAligned) 284 270 { 285 271 StringHasher hasher;
Note: See TracChangeset
for help on using the changeset viewer.