Home
last modified time | relevance | path

Searched refs:expected_utf16_length (Results 1 – 1 of 1) sorted by relevance

/art/runtime/mirror/
Dobject_test.cc53 void AssertString(int32_t expected_utf16_length, in AssertString() argument
58 std::unique_ptr<uint16_t[]> utf16_expected(new uint16_t[expected_utf16_length]); in AssertString()
59 for (int32_t i = 0; i < expected_utf16_length; i++) { in AssertString()
68 hs.NewHandle(String::AllocFromModifiedUtf8(self, expected_utf16_length, utf8_in))); in AssertString()
69 ASSERT_EQ(expected_utf16_length, string->GetLength()); in AssertString()
72 ASSERT_TRUE(string->Equals(utf8_in) || (expected_utf16_length == 1 && strlen(utf8_in) == 0)); in AssertString()
73 for (int32_t i = 0; i < expected_utf16_length; i++) { in AssertString()