Add some more model test cases for LTTng 2.0 control
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.ui.tests / src / org / eclipse / linuxtools / lttng2 / ui / tests / control / model / component / TraceControlPropertiesTest.java
index 23e4a18a5535d5a7ed19e09d6a10379f8b0fcced..2771df2c2781a51d3dc98e4b8051725134b7f5bc 100644 (file)
@@ -111,14 +111,13 @@ public class TraceControlPropertiesTest extends TestCase {
      */
     @Override
     @After
-    public void tearDown()  throws Exception {
+    public void tearDown() throws Exception {
     }
     
     /**
      * Run the TraceControlComponent.
      */
-    public void testTraceControlComponents()
-        throws Exception {
+    public void testComponentProperties() throws Exception {
         
         TestRemoteSystemProxy proxy = new TestRemoteSystemProxy();
 
@@ -343,5 +342,10 @@ public class TraceControlPropertiesTest extends TestCase {
         assertEquals("0x0", probeEventSource.getPropertyValue(TraceProbeEventPropertySource.TRACE_EVENT_PROBE_OFFSET_PROPERTY_ID));
         assertEquals("init_post", probeEventSource.getPropertyValue(TraceProbeEventPropertySource.TRACE_EVENT_PROBE_SYMBOL_PROPERTY_ID));
         
+        //-------------------------------------------------------------------------
+        // Delete node
+        //-------------------------------------------------------------------------
+        node.disconnect();
+        node.getParent().removeChild(node);
     }
 }
\ No newline at end of file
This page took 0.025243 seconds and 5 git commands to generate.