use of org.igniterealtime.smack.inttest.annotations.AfterClass in project Smack by igniterealtime.
the class EntityCapsTest method tearDown.
@AfterClass
public void tearDown() throws NotConnectedException, InterruptedException {
RosterUtil.ensureNotSubscribedToEachOther(conOne, conTwo);
ServiceDiscoveryManager[] sdms = new ServiceDiscoveryManager[] { sdmOne, sdmTwo };
for (ServiceDiscoveryManager sdm : sdms) {
for (String dummyFeature : dummyFeatures) {
sdm.removeFeature(dummyFeature);
}
}
}
use of org.igniterealtime.smack.inttest.annotations.AfterClass in project Smack by igniterealtime.
the class ChatStateIntegrationTest method cleanup.
@AfterClass
public void cleanup() {
ChatStateManager manTwo = ChatStateManager.getInstance(conTwo);
manTwo.removeChatStateListener(this::composingListener);
manTwo.removeChatStateListener(this::activeListener);
}
Aggregations