Working on the JMF implementation of the media service.

refactoring
cusax-fix
Emil Ivov 20 years ago
parent f4b4cae883
commit f5e4c48d99

@ -89,7 +89,7 @@ protected void tearDown() throws Exception
public void testIsInitialized()
{
// Initial check
assertFalse(mediaService.isInitialized());
assertFalse(mediaService.isStarted());
// Initialize service
//emcho: breaks the build on proxenet cause there's no X server there.
@ -102,8 +102,7 @@ public void testIsInitialized()
// This means that we don't trust service impl
// Shutdown service
mediaService.shutdown();
assertFalse(mediaService.isInitialized());
assertFalse(mediaService.isStarted());
}
/**
@ -122,8 +121,6 @@ public void testMediaEventNotification()
// mediaService.initialize();
// assertNotNull("A MediaEvent with a registered listener", mediaEvent);
mediaService.shutdown();
//test remove
mediaEvent = null;
mediaService.removeMediaListener(mediaListener);
@ -135,7 +132,6 @@ public void testMediaEventNotification()
// assertNull("A MediaEvent after unregistering a listener.",
// mediaEvent);
mediaService.shutdown();
}
}

Loading…
Cancel
Save