public void testGetNextAfterSeekingOnLocation_1() {
- final ITmfLocation<?> INITIAL_LOC = null;
+ final ITmfLocation INITIAL_LOC = null;
final long INITIAL_TS = 1;
final int NB_READS = 20;
public void testGetNextAfterSeekingOnLocation_2() {
- final ITmfLocation<?> INITIAL_LOC = fTrace.seekEvent(1L).getLocation();
+ final ITmfLocation INITIAL_LOC = fTrace.seekEvent(1L).getLocation();
final long INITIAL_TS = 2;
final int NB_READS = 20;
public void testGetNextAfterSeekingOnLocation_3() {
- final ITmfLocation<?> INITIAL_LOC = fTrace.seekEvent(500L).getLocation();
+ final ITmfLocation INITIAL_LOC = fTrace.seekEvent(500L).getLocation();
final long INITIAL_TS = 501;
final int NB_READS = 20;
public void testGetNextLocation() {
ITmfContext context1 = fTrace.seekEvent(0);
fTrace.getNext(context1);
- ITmfLocation<?> location = context1.getLocation().clone();
+ ITmfLocation location = context1.getLocation();
ITmfEvent event1 = fTrace.getNext(context1);
ITmfContext context2 = fTrace.seekEvent(location);
ITmfEvent event2 = fTrace.getNext(context2);
public void testGetNextEndLocation() {
ITmfContext context1 = fTrace.seekEvent(fTrace.getNbEvents() - 1);
fTrace.getNext(context1);
- ITmfLocation<?> location = context1.getLocation().clone();
+ ITmfLocation location = context1.getLocation();
ITmfContext context2 = fTrace.seekEvent(location);
ITmfEvent event = fTrace.getNext(context2);
assertNull("Event", event);