CtfLocation result = new CtfLocation(location);
assertNotNull(result);
- assertEquals(Long.valueOf(1), (Long)result.getLocation().getTimestamp());
+ assertEquals(Long.valueOf(1), (Long)result.getLocationData().getTimestamp());
}
/**
CtfLocation result = new CtfLocation(timestamp);
assertNotNull(result);
- assertEquals(new Long(0L), (Long)result.getLocation().getTimestamp());
+ assertEquals(new Long(0L), (Long)result.getLocationData().getTimestamp());
}
/**
CtfLocation result = fixture.clone();
assertNotNull(result);
- assertEquals(Long.valueOf(1), (Long)result.getLocation().getTimestamp());
+ assertEquals(Long.valueOf(1), (Long)result.getLocationData().getTimestamp());
}
/**
*/
@Test
public void testGetLocation() {
- CtfLocationData location = fixture.getLocation();
+ CtfLocationData location = fixture.getLocationData();
Long result = location.getTimestamp();
assertNotNull(result);
assertEquals("1", result.toString()); //$NON-NLS-1$