aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wchar_test.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-05-24 01:02:31 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-24 01:02:31 +0000
commit1c4d83012fea4e6d011215bef1665cf68d2ac47c (patch)
tree882e74eff6ba2eb37d9f617e9f5ee4fdcec7e52d /tests/wchar_test.cpp
parent78c3e11e78e7d2643ec25e2be1cfc258aeb6d9d7 (diff)
parentfd0ce866ce46ed62aa17dc2959a085cb3bf5755d (diff)
downloadandroid_bionic-1c4d83012fea4e6d011215bef1665cf68d2ac47c.tar.gz
android_bionic-1c4d83012fea4e6d011215bef1665cf68d2ac47c.tar.bz2
android_bionic-1c4d83012fea4e6d011215bef1665cf68d2ac47c.zip
Merge "Revert "Add optimized AArch64 versions of bcopy and wmemmove based on memmove""
Diffstat (limited to 'tests/wchar_test.cpp')
-rw-r--r--tests/wchar_test.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/wchar_test.cpp b/tests/wchar_test.cpp
index 5fa5bf992..50b860893 100644
--- a/tests/wchar_test.cpp
+++ b/tests/wchar_test.cpp
@@ -442,14 +442,3 @@ TEST(wchar, wcsftime) {
EXPECT_EQ(24U, wcsftime(buf, sizeof(buf), L"%c", &t));
EXPECT_STREQ(L"Sun Mar 10 00:00:00 2100", buf);
}
-
-TEST(wchar, wmemmove) {
- const wchar_t const_wstr[] = L"This is a test of something or other.....";
- wchar_t* wstr = new wchar_t[sizeof(const_wstr)];
-
- wmemmove(wstr, const_wstr, sizeof(const_wstr)/sizeof(wchar_t));
- EXPECT_STREQ(const_wstr, wstr);
-
- wmemmove(wstr+5, wstr, sizeof(const_wstr)/sizeof(wchar_t) - 5);
- EXPECT_STREQ(L"This This is a test of something or other.", wstr);
-}