Two tests are missing @Test
annotations
Motivation: ReadOnlyByteBufTest contains two tests which are missing the `@Test` annotation and so will never run. Modifications: Add missing annotation. Result: Tests run as expected.
This commit is contained in:
parent
413d6eba53
commit
d8596d2d90
@ -173,10 +173,12 @@ public class ReadOnlyByteBufTest {
|
|||||||
unmodifiableBuffer(EMPTY_BUFFER).setBytes(0, (ByteBuffer) null);
|
unmodifiableBuffer(EMPTY_BUFFER).setBytes(0, (ByteBuffer) null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
public void shouldIndicateNotWriteable() {
|
public void shouldIndicateNotWriteable() {
|
||||||
assertFalse(unmodifiableBuffer(buffer(1)).isWritable());
|
assertFalse(unmodifiableBuffer(buffer(1)).isWritable());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
public void shouldIndicteNotWritableAnyNumber() {
|
public void shouldIndicteNotWritableAnyNumber() {
|
||||||
assertFalse(unmodifiableBuffer(buffer(1)).isWritable(1));
|
assertFalse(unmodifiableBuffer(buffer(1)).isWritable(1));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user