X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.lttng.ui.tests%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Flttng%2Fui%2Ftests%2Fcontrol%2Fmodel%2Fcomponent%2FTraceControlTreeModelTest.java;h=bc7c604ef15191ab6d3c90956038c35a697cffc6;hb=06b9339e3b09514f583a9aa61559f17024f8e365;hp=ee19a1346a845155bce09594d1e9f6aa31024d80;hpb=eb1bab5b3b7a59cfdd19c0d7a9600368ddfd7c4a;p=deliverable%2Ftracecompass.git
diff --git a/org.eclipse.linuxtools.lttng.ui.tests/src/org/eclipse/linuxtools/lttng/ui/tests/control/model/component/TraceControlTreeModelTest.java b/org.eclipse.linuxtools.lttng.ui.tests/src/org/eclipse/linuxtools/lttng/ui/tests/control/model/component/TraceControlTreeModelTest.java
index ee19a1346a..bc7c604ef1 100644
--- a/org.eclipse.linuxtools.lttng.ui.tests/src/org/eclipse/linuxtools/lttng/ui/tests/control/model/component/TraceControlTreeModelTest.java
+++ b/org.eclipse.linuxtools.lttng.ui.tests/src/org/eclipse/linuxtools/lttng/ui/tests/control/model/component/TraceControlTreeModelTest.java
@@ -45,8 +45,7 @@ import org.junit.After;
import org.junit.Before;
/**
- * The class TraceControlComponentTest
contains tests for the class {@link TraceControlComponent}
.
- *
+ * The class TraceControlTreeModelTest
contains tests for the tree component classes.
*/
@SuppressWarnings("nls")
public class TraceControlTreeModelTest extends TestCase {
@@ -116,26 +115,6 @@ public class TraceControlTreeModelTest extends TestCase {
TraceControlTestFacility.getInstance().waitForJobs();
- // ------------------------------------------------------------------------
- // Verify Node Properties (adapter)
- // ------------------------------------------------------------------------
- Object adapter = node.getAdapter(IPropertySource.class);
- assertNotNull(adapter);
- assertTrue(adapter instanceof TargetNodePropertySource);
-
- TargetNodePropertySource source = (TargetNodePropertySource)adapter;
-
- assertNull(source.getEditableValue());
- assertFalse(source.isPropertySet(TargetNodePropertySource.TARGET_NODE_NAME_PROPERTY_ID));
- assertNotNull(source.getPropertyDescriptors());
-
- assertEquals("myNode", source.getPropertyValue(TargetNodePropertySource.TARGET_NODE_NAME_PROPERTY_ID));
- assertEquals("127.0.0.1", source.getPropertyValue(TargetNodePropertySource.TARGET_NODE_ADDRESS_PROPERTY_ID));
- assertNull(source.getPropertyValue("test"));
-
- adapter = node.getAdapter(IChannelInfo.class);
- assertNull(adapter);
-
// ------------------------------------------------------------------------
// Verify Parameters of TargetNodeComponent
// ------------------------------------------------------------------------
@@ -592,5 +571,4 @@ public class TraceControlTreeModelTest extends TestCase {
ustProvider.setPid(pid);
}
-
}
\ No newline at end of file