use of com.cosylab.acs.laser.AlarmSourcesListenerCached in project ACS by ACS-Community.
the class StatisticsTest method setUp.
/**
* @see alma.acs.component.client.ComponentClientTestCase#setUp()
*/
@Override
protected void setUp() throws Exception {
super.setUp();
// Instantiate the object to test
AlarmSourcesListenerCached queue = new AlarmSourcesListenerCached(getContainerServices(), getContainerServices().getLogger());
assertNotNull(queue);
stats = new StatsCalculator(this.getContainerServices().getLogger(), queue);
assertNotNull(stats);
// Enable the generation of statistics
stats.start();
}
Aggregations