mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 18:43:26 +01:00
clean up tests for security group manager v2 move interval to listener -- allows it to be configurable if needed fix mocks Enhanced logging for security group manager (from zucchini) fix merge issues merge issues
16 lines
480 B
Java
16 lines
480 B
Java
package com.cloud.storage.dao;
|
|
|
|
import junit.framework.TestCase;
|
|
|
|
import com.cloud.storage.StoragePoolStatus;
|
|
import com.cloud.utils.component.ComponentLocator;
|
|
|
|
public class StoragePoolDaoTest extends TestCase {
|
|
|
|
public void testCountByStatus() {
|
|
StoragePoolDaoImpl dao = ComponentLocator.inject(StoragePoolDaoImpl.class);
|
|
long count = dao.countPoolsByStatus(StoragePoolStatus.Up);
|
|
System.out.println("Found " + count + " storage pools");
|
|
}
|
|
}
|