summaryrefslogtreecommitdiff
path: root/libutils/Unicode_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use 0 instead of NULL for comparison to char16_tColin Cross2022-01-131-3/+2
| | | | | | | | | | musl libc defines NULL as nullptr, which is explicitly allowed by C++11. nullptr_t cannot be implicitly cast to an integral type. Use 0 instead. Bug: 190084016 Test: m USE_HOST_MUSL=true host-native Change-Id: I0c3b6c94cd69262f574414bf52494333f2f2645a
* Clean up libcutils/libutils tests.Elliott Hughes2019-02-111-0/+190
Move tests in the same directory as the corresponding code, so it's easier to see what is/isn't tested. Fix naming of libcutils_tests (plural) to match the singular that's more common (even though the plural makes more sense to me). Add these two to system/core/'s TEST_MAPPING. Remove obsolete AndroidTest.xml. Fix a flaky (timing-dependent) libcutils test. Test: ran tests Change-Id: I7e0a31ff45c8a152562bf66fc97161594249366e