import junit.framework.TestCase;
import junit.framework.TestSuite;
+import org.eclipse.linuxtools.internal.lttng.ui.views.control.ControlView;
+import org.eclipse.linuxtools.internal.lttng.ui.views.control.model.ITraceControlComponent;
+import org.eclipse.linuxtools.internal.lttng.ui.views.control.model.ITraceControlComponentChangedListener;
+import org.eclipse.linuxtools.internal.lttng.ui.views.control.model.TargetNodeState;
+import org.eclipse.linuxtools.internal.lttng.ui.views.control.model.impl.TraceControlComponent;
+import org.eclipse.linuxtools.internal.lttng.ui.views.control.model.impl.TraceControlRoot;
+import org.eclipse.linuxtools.internal.lttng.ui.views.control.service.ILttngControlService;
+import org.eclipse.linuxtools.internal.lttng.ui.views.control.service.LTTngControlService;
import org.eclipse.linuxtools.lttng.stubs.service.TestRemoteSystemProxy;
import org.eclipse.linuxtools.lttng.ui.tests.control.model.impl.ListenerValidator;
-import org.eclipse.linuxtools.lttng.ui.views.control.ControlView;
-import org.eclipse.linuxtools.lttng.ui.views.control.model.ITraceControlComponent;
-import org.eclipse.linuxtools.lttng.ui.views.control.model.ITraceControlComponentChangedListener;
-import org.eclipse.linuxtools.lttng.ui.views.control.model.TargetNodeState;
-import org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceControlComponent;
-import org.eclipse.linuxtools.lttng.ui.views.control.model.impl.TraceControlRoot;
-import org.eclipse.linuxtools.lttng.ui.views.control.service.ILttngControlService;
-import org.eclipse.linuxtools.lttng.ui.views.control.service.LTTngControlService;
import org.eclipse.swt.graphics.Image;
import org.eclipse.ui.ISharedImages;
import org.eclipse.ui.PlatformUI;
fixture.removeChild(root);
assertTrue(validator.isRemovedCalled());
- fixture.fireCompenentChanged(fixture);
+ fixture.fireComponentChanged(fixture);
assertTrue(validator.isChangedCalled());
}
ListenerValidator validator = new ListenerValidator();
fixture.addComponentListener(validator);
- fixture.fireCompenentAdded(parent, component);
+ fixture.fireComponentAdded(parent, component);
assertTrue(validator.isAddedCalled());
assertEquals(parent.getName(), validator.getSavedParent().getName());
assertEquals(component.getName(), validator.getSavedChild().getName());
validator.initialize();
- fixture.fireCompenentRemoved(parent, component);
+ fixture.fireComponentRemoved(parent, component);
assertTrue(validator.isRemovedCalled());
assertEquals(parent.getName(), validator.getSavedParent().getName());
assertEquals(component.getName(), validator.getSavedChild().getName());
validator.initialize();
- fixture.fireCompenentChanged(fixture);
+ fixture.fireComponentChanged(fixture);
assertTrue(validator.isChangedCalled());
assertEquals(fixture.getName(), validator.getSavedComponent().getName());
}
fixture.removeChild(root);
assertFalse(validator.isRemovedCalled());
- fixture.fireCompenentChanged(fixture);
+ fixture.fireComponentChanged(fixture);
assertFalse(validator.isChangedCalled());
}