use of org.eclipse.ecf.tests.discovery.listener.TestServiceListener in project ecf by eclipse.
the class DiscoveryTest method testRemoveServiceListenerIServiceTypeIDIServiceListener.
/**
* Test method for
* {@link org.eclipse.ecf.discovery.IDiscoveryContainerAdapter#removeServiceListener(org.eclipse.ecf.discovery.identity.IServiceTypeID, org.eclipse.ecf.discovery.IServiceListener)}.
* @throws ContainerConnectException
*/
public void testRemoveServiceListenerIServiceTypeIDIServiceListener() throws ContainerConnectException {
final TestServiceListener serviceListener = new TestServiceListener(eventsToExpect, discoveryLocator, getName(), getTestId());
addServiceListener(serviceListener);
// TODO reregister and verify the listener doesn't receive any events any longer.
}
use of org.eclipse.ecf.tests.discovery.listener.TestServiceListener in project ecf by eclipse.
the class DiscoveryTest method testRemoveServiceListenerIServiceListener.
/**
* Test method for
* {@link org.eclipse.ecf.discovery.IDiscoveryContainerAdapter#removeServiceListener(org.eclipse.ecf.discovery.IServiceListener)}.
* @throws ContainerConnectException
*/
public void testRemoveServiceListenerIServiceListener() throws ContainerConnectException {
final TestServiceListener serviceListener = new TestServiceListener(eventsToExpect, discoveryLocator, getName(), getTestId());
addServiceListener(serviceListener);
// TODO reregister and verify the listener doesn't receive any events any longer.
}
Aggregations