tmf: Rename TmfLocation.fLocation to .fLocationData
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / src / org / eclipse / linuxtools / tmf / core / tests / ctfadaptor / CtfLocationTest.java
index 087c22fd8b101ddb907b1191be157a00c21b123f..5791da7ac3a76bec0358766c6d2b28ab3183f9a1 100644 (file)
@@ -72,7 +72,7 @@ public class CtfLocationTest {
         CtfLocation result = new CtfLocation(location);
 
         assertNotNull(result);
-        assertEquals(Long.valueOf(1), (Long)result.getLocation().getTimestamp());
+        assertEquals(Long.valueOf(1), (Long)result.getLocationData().getTimestamp());
     }
 
     /**
@@ -84,7 +84,7 @@ public class CtfLocationTest {
         CtfLocation result = new CtfLocation(timestamp);
 
         assertNotNull(result);
-        assertEquals(new Long(0L), (Long)result.getLocation().getTimestamp());
+        assertEquals(new Long(0L), (Long)result.getLocationData().getTimestamp());
     }
 
     /**
@@ -95,7 +95,7 @@ public class CtfLocationTest {
         CtfLocation result = fixture.clone();
 
         assertNotNull(result);
-        assertEquals(Long.valueOf(1), (Long)result.getLocation().getTimestamp());
+        assertEquals(Long.valueOf(1), (Long)result.getLocationData().getTimestamp());
     }
 
     /**
@@ -103,7 +103,7 @@ public class CtfLocationTest {
      */
     @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$
This page took 0.024413 seconds and 5 git commands to generate.