use of com.hazelcast.test.RequireAssertEnabled in project hazelcast by hazelcast.
the class HashSlotArray8byteKeyImplTest method testCursor_valueAddress_withoutAdvance.
@Test(expected = AssertionError.class)
@RequireAssertEnabled
public void testCursor_valueAddress_withoutAdvance() {
HashSlotCursor8byteKey cursor = hsa.cursor();
cursor.valueAddress();
}
use of com.hazelcast.test.RequireAssertEnabled in project hazelcast by hazelcast.
the class HashSlotArray8byteKeyImplTest method testCursor_valueAddress_whenDisposed.
@Test(expected = AssertionError.class)
@RequireAssertEnabled
public void testCursor_valueAddress_whenDisposed() {
HashSlotCursor8byteKey cursor = hsa.cursor();
hsa.dispose();
cursor.valueAddress();
}
use of com.hazelcast.test.RequireAssertEnabled in project hazelcast by hazelcast.
the class HashSlotArray8byteKeyImplTest method testCursor_key_whenDisposed.
@Test(expected = AssertionError.class)
@RequireAssertEnabled
public void testCursor_key_whenDisposed() {
HashSlotCursor8byteKey cursor = hsa.cursor();
hsa.dispose();
cursor.key();
}
use of com.hazelcast.test.RequireAssertEnabled in project hazelcast by hazelcast.
the class HashSlotArray16byteKeyNoValueTest method testCursor_key2_whenDisposed.
@Test(expected = AssertionError.class)
@RequireAssertEnabled
public void testCursor_key2_whenDisposed() {
HashSlotCursor16byteKey cursor = hsa.cursor();
hsa.dispose();
cursor.key2();
}
use of com.hazelcast.test.RequireAssertEnabled in project hazelcast by hazelcast.
the class HashSlotArray16byteKeyNoValueTest method testCursor_key1_withoutAdvance.
@Test(expected = AssertionError.class)
@RequireAssertEnabled
public void testCursor_key1_withoutAdvance() {
HashSlotCursor16byteKey cursor = hsa.cursor();
cursor.key1();
}
Aggregations