Home
last modified time | relevance | path

Searched refs:baseBuf (Results 1 – 25 of 58) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DAbstractBufferTest.java30 protected Buffer baseBuf; field in AbstractBufferTest
34 baseBuf = ByteBuffer.allocate(10); in setUp()
42 assertTrue(0 <= baseBuf.position() && baseBuf.position() <= baseBuf.limit() in testCapacity()
43 && baseBuf.limit() <= baseBuf.capacity()); in testCapacity()
48 int oldPosition = baseBuf.position(); in testClear()
49 int oldLimit = baseBuf.limit(); in testClear()
51 Buffer ret = baseBuf.clear(); in testClear()
52 assertSame(ret, baseBuf); in testClear()
53 assertEquals(baseBuf.position(), 0); in testClear()
54 assertEquals(baseBuf.limit(), baseBuf.capacity()); in testClear()
[all …]
DHeapCharBufferTest.java27 baseBuf = buf; in setUp()
33 baseBuf = null; in tearDown()
DHeapFloatBufferTest.java25 baseBuf = buf; in setUp()
31 baseBuf = null; in tearDown()
DHeapDoubleBufferTest.java25 baseBuf = buf; in setUp()
31 baseBuf = null; in tearDown()
DHeapLongBufferTest.java25 baseBuf = buf; in setUp()
31 baseBuf = null; in tearDown()
DHeapIntBufferTest.java25 baseBuf = buf; in setUp()
31 baseBuf = null; in tearDown()
DHeapShortBufferTest.java25 baseBuf = buf; in setUp()
31 baseBuf = null; in tearDown()
DHeapByteBufferTest.java27 baseBuf = buf; in setUp()
33 baseBuf = null; in tearDown()
DWrappedCharBufferTest1.java27 baseBuf = buf; in setUp()
32 baseBuf = null; in tearDown()
DWrappedShortBufferTest.java25 baseBuf = buf; in setUp()
30 baseBuf = null; in tearDown()
DWrappedByteBufferTest.java26 baseBuf = buf; in setUp()
32 baseBuf = null; in tearDown()
DWrappedLongBufferTest.java25 baseBuf = buf; in setUp()
30 baseBuf = null; in tearDown()
DWrappedIntBufferTest.java25 baseBuf = buf; in setUp()
30 baseBuf = null; in tearDown()
DWrappedDoubleBufferTest.java25 baseBuf = buf; in setUp()
30 baseBuf = null; in tearDown()
DWrappedFloatBufferTest.java25 baseBuf = buf; in setUp()
30 baseBuf = null; in tearDown()
DDirectCharBufferTest.java29 baseBuf = buf; in setUp()
34 baseBuf = null; in tearDown()
DDirectShortBufferTest.java28 baseBuf = buf; in setUp()
33 baseBuf = null; in tearDown()
DDirectLongBufferTest.java28 baseBuf = buf; in setUp()
33 baseBuf = null; in tearDown()
DDirectFloatBufferTest.java28 baseBuf = buf; in setUp()
33 baseBuf = null; in tearDown()
DDirectIntBufferTest.java28 baseBuf = buf; in setUp()
33 baseBuf = null; in tearDown()
DDirectDoubleBufferTest.java28 baseBuf = buf; in setUp()
33 baseBuf = null; in tearDown()
DWrappedCharBufferTest2.java29 baseBuf = buf; in setUp()
34 baseBuf = null; in tearDown()
DDirectByteBufferTest.java29 baseBuf = buf; in setUp()
35 baseBuf = null; in tearDown()
DDuplicateHeapByteBufferTest.java25 baseBuf = buf; in setUp()
DDuplicateDirectByteBufferTest.java25 baseBuf = buf; in setUp()

123