Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuProcStringReaderTest.java211 String invalidChar = "123: -1234 456"; in testLineToArrayErrorHandling() local
213 CharBuffer cb = CharBuffer.wrap("----" + invalidChar + "+++", 4, 4 + invalidChar.length()); in testLineToArrayErrorHandling()
214 assertEquals("Failed to report err for: " + invalidChar, -2, in testLineToArrayErrorHandling()
216 assertEquals("Buffer not reset to the same pos before reading", invalidChar, cb.toString()); in testLineToArrayErrorHandling()