Search in sources :

Example 11 with PartnerResult

use of org.activityinfo.shared.command.result.PartnerResult in project activityinfo by bedatadriven.

the class GetPartnersDimensionHandlerTest method testIndicatorLinked100.

@Test
@OnDataSet("/dbunit/sites-linked.db.xml")
public void testIndicatorLinked100() throws CommandException {
    // empty
    PartnerResult result = execute(DimensionType.Indicator, 100);
    assertThat(result.getData().size(), equalTo(0));
}
Also used : PartnerResult(org.activityinfo.shared.command.result.PartnerResult) OnDataSet(org.activityinfo.server.database.OnDataSet) Test(org.junit.Test)

Aggregations

PartnerResult (org.activityinfo.shared.command.result.PartnerResult)11 OnDataSet (org.activityinfo.server.database.OnDataSet)8 Test (org.junit.Test)8 GetPartnersDimension (org.activityinfo.shared.command.GetPartnersDimension)3 PartnerDTO (org.activityinfo.shared.dto.PartnerDTO)3 ArrayList (java.util.ArrayList)2 HashSet (java.util.HashSet)2 List (java.util.List)2 Set (java.util.Set)2 Comparator (java.util.Comparator)1 Filter (org.activityinfo.shared.command.Filter)1 PivotSites (org.activityinfo.shared.command.PivotSites)1 Bucket (org.activityinfo.shared.command.result.Bucket)1 EntityCategory (org.activityinfo.shared.report.content.EntityCategory)1 Dimension (org.activityinfo.shared.report.model.Dimension)1