Search in sources :

Example 1 with AttributeActions

use of org.hisp.dhis.actions.metadata.AttributeActions in project dhis2-core by dhis2.

the class EventImportIdSchemeTests method beforeAll.

@BeforeAll
public void beforeAll() {
    orgUnitActions = new OrgUnitActions();
    eventActions = new EventActions();
    programActions = new ProgramActions();
    attributeActions = new AttributeActions();
    new LoginActions().loginAsSuperUser();
    setupData();
}
Also used : OrgUnitActions(org.hisp.dhis.actions.metadata.OrgUnitActions) ProgramActions(org.hisp.dhis.actions.metadata.ProgramActions) AttributeActions(org.hisp.dhis.actions.metadata.AttributeActions) LoginActions(org.hisp.dhis.actions.LoginActions) EventActions(org.hisp.dhis.actions.tracker.EventActions) BeforeAll(org.junit.jupiter.api.BeforeAll)

Example 2 with AttributeActions

use of org.hisp.dhis.actions.metadata.AttributeActions in project dhis2-core by dhis2.

the class OrgUnitProfileTests method beforeAll.

@BeforeAll
public void beforeAll() {
    loginActions = new LoginActions();
    attributeActions = new AttributeActions();
    orgUnitProfileActions = new RestApiActions("/organisationUnitProfile");
    loginActions.loginAsSuperUser();
    orgUnitId = new OrgUnitActions().createOrgUnit();
}
Also used : OrgUnitActions(org.hisp.dhis.actions.metadata.OrgUnitActions) RestApiActions(org.hisp.dhis.actions.RestApiActions) AttributeActions(org.hisp.dhis.actions.metadata.AttributeActions) LoginActions(org.hisp.dhis.actions.LoginActions) BeforeAll(org.junit.jupiter.api.BeforeAll)

Example 3 with AttributeActions

use of org.hisp.dhis.actions.metadata.AttributeActions in project dhis2-core by dhis2.

the class EventIdSchemeTests method beforeAll.

@BeforeAll
public void beforeAll() {
    orgUnitActions = new OrgUnitActions();
    programActions = new ProgramActions();
    attributeActions = new AttributeActions();
    loginActions.loginAsSuperUser();
    setupData();
}
Also used : OrgUnitActions(org.hisp.dhis.actions.metadata.OrgUnitActions) ProgramActions(org.hisp.dhis.actions.metadata.ProgramActions) AttributeActions(org.hisp.dhis.actions.metadata.AttributeActions) BeforeAll(org.junit.jupiter.api.BeforeAll)

Aggregations

AttributeActions (org.hisp.dhis.actions.metadata.AttributeActions)3 OrgUnitActions (org.hisp.dhis.actions.metadata.OrgUnitActions)3 BeforeAll (org.junit.jupiter.api.BeforeAll)3 LoginActions (org.hisp.dhis.actions.LoginActions)2 ProgramActions (org.hisp.dhis.actions.metadata.ProgramActions)2 RestApiActions (org.hisp.dhis.actions.RestApiActions)1 EventActions (org.hisp.dhis.actions.tracker.EventActions)1