Skip to content

Commit

Permalink
Add skeleton of comprehensive thresholds tests
Browse files Browse the repository at this point in the history
Work in progress.

Original TestThresholds in story tests were renamed
to TestThresholdsStory.
  • Loading branch information
mederly committed Aug 24, 2021
1 parent 14c31e2 commit dea855f
Show file tree
Hide file tree
Showing 37 changed files with 1,493 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ public abstract class SchemaConstants {
public static final ItemPath PATH_ATTRIBUTES = ItemPath.create(C_ATTRIBUTES);
public static final ItemPath PATH_ASSIGNMENT = ItemPath.create(FocusType.F_ASSIGNMENT);
public static final ItemPath PATH_INDUCEMENT = ItemPath.create(AbstractRoleType.F_INDUCEMENT);
public static final ItemPath PATH_INDUCEMENT_POLICY_RULE = ItemPath.create(RoleType.F_INDUCEMENT, AssignmentType.F_POLICY_RULE);

public static final ItemPath PATH_ASSIGNMENT_ACTIVATION_EFFECTIVE_STATUS = ItemPath
.create(FocusType.F_ASSIGNMENT, AssignmentType.F_ACTIVATION, ActivationType.F_EFFECTIVE_STATUS);
public static final ItemPath PATH_ASSIGNMENT_ACTIVATION_VALID_FROM = ItemPath
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void setupFactory() throws SAXException, IOException, SchemaException {
evaluator = new MappingTestEvaluator();
evaluator.initWithMetadata();

TEMPLATE_PROVENANCE.read(evaluator.getPrismContext());
TEMPLATE_PROVENANCE.read();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@
import com.evolveum.midpoint.schema.result.OperationResult;
import com.evolveum.midpoint.task.api.Task;
import com.evolveum.midpoint.test.DummyResourceContoller;
import com.evolveum.midpoint.test.DummyTestResource;

/**
* Wrapper for specific configured dummy resource.
*
* Unfinished. EXPERIMENTAL.
*
* Probably a bad idea at all. Consider {@link DummyTestResource} instead.
*/
abstract class AbstractResourceDummyInterruptedSync {

Expand Down

0 comments on commit dea855f

Please sign in to comment.