tmf.core: Introduce TmfTimestamp factory methods
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.ui.tests / widgetStubs / org / eclipse / tracecompass / tmf / ui / tests / uml2sd / load / TestLoaders.java
index ddea688608451b4641091b4aedb22ffa4ec6aab2..e1ec9bf7c058120c475ec170e2b5c3e6f86c9e65 100644 (file)
@@ -151,7 +151,7 @@ public class TestLoaders implements IUml2SDLoader, ISDFindProvider, ISDFilterPro
 //                else if (i == 6)
 //                    m3.setTime(new TmfTimestamp(i));
 //                else
-                    m3.setTime(new TmfTimestamp(i + 1));
+                    m3.setTime(TmfTimestamp.fromSeconds(i + 1));
             }
 
             for (int i = testFrame.lifeLinesCount() - 1; i > 0; i--) {
@@ -189,8 +189,8 @@ public class TestLoaders implements IUml2SDLoader, ISDFindProvider, ISDFilterPro
             m.setEndLifeline(testFrame.getLifeline(3));
             m.setStartOccurrence(2);
             m.setEndOccurrence(6);
-            m.setStartTime(new TmfTimestamp(2));
-            m.setEndTime(new TmfTimestamp(6));
+            m.setStartTime(TmfTimestamp.fromSeconds(2));
+            m.setEndTime(TmfTimestamp.fromSeconds(6));
             m.setName("*******************Async TEST ****************");
             testFrame.addMessage(m);
             v.setFrame(testFrame);
This page took 0.02515 seconds and 5 git commands to generate.