Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/lang/CharSequence/
DEmptiness.java71 checkNotEmpty(new StringBuilder().append("foo")); in isNotEmpty()
72 checkNotEmpty(new StringBuffer().append("bar")); in isNotEmpty()
73 checkNotEmpty("baz"); in isNotEmpty()
74 checkNotEmpty(new CharSequence() { in isNotEmpty()
81 checkNotEmpty(CharBuffer.wrap(new char[] { 'f' })); in isNotEmpty()
82 checkNotEmpty(CharBuffer.wrap("foo")); in isNotEmpty()
86 checkNotEmpty(ByteBuffer.allocate(2).asCharBuffer()); in isNotEmpty()
87 checkNotEmpty(ByteBuffer.allocate(4).asCharBuffer().append('f')); in isNotEmpty()
89 checkNotEmpty((CharBuffer) ByteBuffer.allocate(2).asCharBuffer().append('f').flip()); in isNotEmpty()
91 checkNotEmpty(ByteBuffer.allocateDirect(2).asCharBuffer()); in isNotEmpty()
[all …]