fixing test
This commit is contained in:
parent
6752b45644
commit
24e092c52f
|
@ -220,15 +220,6 @@ public class AccountingPersistenceQueryPostgreSQLTest extends ContextTest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void storageStatusTest() throws Exception {
|
|
||||||
accountingPersistenceQueryPostgreSQL.setRequestedRecords(AggregatedStorageStatusRecord.class);
|
|
||||||
Collection<NumberedFilter> myFilters = accountingPersistenceQueryPostgreSQL.getFilterValues(AggregatedStorageStatusRecord.DATA_TYPE);
|
|
||||||
accountingPersistenceQueryPostgreSQL.setFilters(myFilters);
|
|
||||||
accountingPersistenceQueryPostgreSQL.setTemporalConstraint(getTemporalConstraint());
|
|
||||||
accountingPersistenceQueryPostgreSQL.getTimeSeries();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testTopValues() throws DuplicatedKeyFilterException, KeyException, ValueException, Exception {
|
public void testTopValues() throws DuplicatedKeyFilterException, KeyException, ValueException, Exception {
|
||||||
String orderingProperty = AccountingPersistenceQuery.getDefaultOrderingProperties(AggregatedServiceUsageRecord.class);
|
String orderingProperty = AccountingPersistenceQuery.getDefaultOrderingProperties(AggregatedServiceUsageRecord.class);
|
||||||
|
@ -261,6 +252,15 @@ public class AccountingPersistenceQueryPostgreSQLTest extends ContextTest {
|
||||||
logger.debug("{}", record);
|
logger.debug("{}", record);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void storageStatusTest() throws Exception {
|
||||||
|
accountingPersistenceQueryPostgreSQL.setRequestedRecords(AggregatedStorageStatusRecord.class);
|
||||||
|
Collection<NumberedFilter> myFilters = accountingPersistenceQueryPostgreSQL.getFilterValues(AggregatedStorageStatusRecord.DATA_TYPE);
|
||||||
|
accountingPersistenceQueryPostgreSQL.setFilters(myFilters);
|
||||||
|
accountingPersistenceQueryPostgreSQL.setTemporalConstraint(getTemporalConstraint());
|
||||||
|
accountingPersistenceQueryPostgreSQL.getTimeSeries();
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testGetSpaceTimeSeries() throws DuplicatedKeyFilterException, KeyException, ValueException, Exception {
|
public void testGetSpaceTimeSeries() throws DuplicatedKeyFilterException, KeyException, ValueException, Exception {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue