< prev index next >
modules/web/src/test/java/com/sun/webkit/SharedBufferTest.java
Print this page
rev 10097 : 8201619: [TESTBUG] Bad HG merge causes some web tests to be skipped by mistake
Reviewed-by:
@@ -28,11 +28,10 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
import org.junit.After;
import org.junit.BeforeClass;
-import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
@@ -119,11 +118,11 @@
assertArrayEquals(
g(SEGMENT_SIZE - 10, 10),
getSomeData(SEGMENT_SIZE - 10, 10));
}
- @Test @Ignore
+ @Test
public void testGetSomeDataInteriorSegmentFirstTenBytes() {
append(SEGMENT_SIZE * 2.5);
assertArrayEquals(g(SEGMENT_SIZE, 10), getSomeData(SEGMENT_SIZE, 10));
}
@@ -141,11 +140,11 @@
assertArrayEquals(
g(SEGMENT_SIZE * 2 - 10, 10),
getSomeData(SEGMENT_SIZE * 2 - 10, 10));
}
- @Test @Ignore
+ @Test
public void testGetSomeDataLastSegmentFirstTenBytes() {
append(SEGMENT_SIZE * 2.5);
assertArrayEquals(
g(SEGMENT_SIZE * 2, 10),
getSomeData(SEGMENT_SIZE * 2, 10));
@@ -190,19 +189,19 @@
public void testGetSomeDataFirstSegment() {
append(SEGMENT_SIZE * 2.5);
assertArrayEquals(g(0, SEGMENT_SIZE), getSomeData(0, SEGMENT_SIZE));
}
- @Test @Ignore
+ @Test
public void testGetSomeDataInteriorSegment() {
append(SEGMENT_SIZE * 2.5);
assertArrayEquals(
g(SEGMENT_SIZE, SEGMENT_SIZE),
getSomeData(SEGMENT_SIZE, SEGMENT_SIZE));
}
- @Test @Ignore
+ @Test
public void testGetSomeDataLastSegment() {
append(SEGMENT_SIZE * 2.5);
assertArrayEquals(
g(SEGMENT_SIZE * 2, SEGMENT_SIZE * 0.5),
getSomeData(SEGMENT_SIZE * 2, SEGMENT_SIZE));
< prev index next >