diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/DisplayNamePanel.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/DisplayNamePanel.java index 6d005407713..78f8435dc30 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/DisplayNamePanel.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/DisplayNamePanel.java @@ -49,7 +49,7 @@ private String createImageModel() { return WebComponentUtil.createDefaultIcon((ObjectType) getModelObject()); } - return WebComponentUtil.createDefaultColoredIcon(getModelObject().asPrismContainerValue().getContainer().getComplexTypeDefinition().getTypeName()); + return WebComponentUtil.createDefaultColoredIcon(getModelObject().asPrismContainerValue().getComplexTypeDefinition().getTypeName()); } @@ -61,7 +61,7 @@ private IModel createHeaderModel() { if (ObjectType.class.isAssignableFrom(getModelObject().getClass())) { return Model.of(WebComponentUtil.getEffectiveName((ObjectType) getModelObject(), AbstractRoleType.F_DISPLAY_NAME)); } - PrismProperty name = getModelObject().asPrismContainerValue().getContainer().findProperty(ObjectType.F_NAME); + PrismProperty name = getModelObject().asPrismContainerValue().findProperty(ObjectType.F_NAME); if (name == null || name.isEmpty()) { return Model.of(""); } diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageBase.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageBase.java index 71dfa8b8941..cb4f0800425 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageBase.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageBase.java @@ -1549,9 +1549,12 @@ private void createSelfServiceMenu(SideBarMenuItem menu) { item = new MainMenuItem("fa fa-shield", createStringResource("PageAdmin.menu.credentials"), PageSelfCredentials.class); menu.getItems().add(item); - item = new MainMenuItem("fa fa-pencil-square-o", createStringResource("PageAdmin.menu.request"), + item = new MainMenuItem("fa fa-pencil-square-o", createStringResource("PageAdmin.menu.request"), PageAssignmentShoppingKart.class); menu.getItems().add(item); + item = new MainMenuItem("fa fa-eur", createStringResource("PageAdmin.menu.consent"), + PageSelfConsents.class); + menu.getItems().add(item); } private void createAdditionalMenu(SideBarMenuItem menu) { diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AbstractRoleAssignmentPanel.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AbstractRoleAssignmentPanel.java index f6bf6780eba..134bc15b99c 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AbstractRoleAssignmentPanel.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AbstractRoleAssignmentPanel.java @@ -141,7 +141,7 @@ protected void addPerformed(AjaxRequestTarget target, List selected, QName relat panel.setOutputMarkupId(true); getPageBase().showMainPopup(panel, target); } - private void addSelectedAssignmentsPerformed(AjaxRequestTarget target, List assignmentsList, QName relation){ + protected void addSelectedAssignmentsPerformed(AjaxRequestTarget target, List assignmentsList, QName relation){ if (assignmentsList == null || assignmentsList.isEmpty()){ warn(getParentPage().getString("AssignmentTablePanel.message.noAssignmentSelected")); target.add(getPageBase().getFeedbackPanel()); diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentsUtil.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentsUtil.java index 0813842c612..b63f0030553 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentsUtil.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentsUtil.java @@ -75,9 +75,13 @@ public String getObject() { } public static IModel createActivationTitleModelExperimental(IModel model, BasePanel basePanel) { + return createActivationTitleModelExperimental(model.getObject(), basePanel); + } + + public static IModel createActivationTitleModelExperimental(AssignmentDto model, BasePanel basePanel) { - AssignmentDto assignmentDto = model.getObject(); - ActivationType activation = assignmentDto.getAssignment().getActivation(); +// AssignmentDto assignmentDto = model.getObject(); + ActivationType activation = model.getAssignment().getActivation(); if (activation == null) { return basePanel.createStringResource("ActivationType.undefined"); } diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/GdprAssignmentPanel.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/GdprAssignmentPanel.java index 7eb6cd3b01b..641f182a30e 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/GdprAssignmentPanel.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/GdprAssignmentPanel.java @@ -19,6 +19,7 @@ import com.evolveum.midpoint.web.component.data.column.CheckBoxColumn; import com.evolveum.midpoint.web.session.UserProfileStorage.TableId; import com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType; import com.evolveum.midpoint.xml.ns._public.common.common_3.RoleType; public class GdprAssignmentPanel extends AbstractRoleAssignmentPanel{ @@ -65,7 +66,6 @@ public Boolean getObject() { } }; } - }); @@ -77,4 +77,12 @@ protected boolean isRelationVisible() { return false; } + @Override + protected void addSelectedAssignmentsPerformed(AjaxRequestTarget target, List assignmentsList, + QName relation) { + super.addSelectedAssignmentsPerformed(target, assignmentsList, SchemaConstants.ORG_CONSENT); + } + + + } diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/SelfConsentPanel.html b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/SelfConsentPanel.html new file mode 100644 index 00000000000..290b6f0da4e --- /dev/null +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/SelfConsentPanel.html @@ -0,0 +1,51 @@ + + + + + + + +
+
+ + +
+ + +
+ + + +
+ +
+
+ + diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/SelfConsentPanel.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/SelfConsentPanel.java new file mode 100644 index 00000000000..a4fdc7bb8d6 --- /dev/null +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/SelfConsentPanel.java @@ -0,0 +1,150 @@ +package com.evolveum.midpoint.web.component.assignment; + +import org.apache.commons.lang3.StringUtils; +import org.apache.wicket.RestartResponseException; +import org.apache.wicket.ajax.AjaxRequestTarget; +import org.apache.wicket.behavior.AttributeAppender; +import org.apache.wicket.markup.html.WebMarkupContainer; +import org.apache.wicket.markup.html.basic.Label; +import org.apache.wicket.model.AbstractReadOnlyModel; +import org.apache.wicket.model.IModel; +import org.apache.wicket.model.Model; + +import com.evolveum.midpoint.gui.api.GuiStyleConstants; +import com.evolveum.midpoint.gui.api.component.BasePanel; +import com.evolveum.midpoint.gui.api.component.DisplayNamePanel; +import com.evolveum.midpoint.gui.api.page.PageBase; +import com.evolveum.midpoint.gui.api.util.WebModelServiceUtils; +import com.evolveum.midpoint.prism.PrismObject; +import com.evolveum.midpoint.schema.constants.SchemaConstants; +import com.evolveum.midpoint.schema.result.OperationResult; +import com.evolveum.midpoint.task.api.Task; +import com.evolveum.midpoint.web.component.AjaxButton; +import com.evolveum.midpoint.web.component.util.VisibleEnableBehaviour; +import com.evolveum.midpoint.web.page.self.PageSelfConsents; +import com.evolveum.midpoint.web.page.self.PageSelfDashboard; +import com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractRoleType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType; + +public class SelfConsentPanel extends BasePanel{ + + private static final long serialVersionUID = 1L; + + private static final String ID_DISPLAY_NAME = "displayName"; + private static final String ID_CONSENT_ICON = "consentIcon"; + private static final String ID_VALIDITY = "validity"; + + private static final String ID_REVOKE = "revoke"; + private static final String ID_AGREE = "agree"; + + private static final String DOT_CLASS = SelfConsentPanel.class.getSimpleName() + "."; + private static final String OPERATION_LOAD_TARGET = DOT_CLASS + "loadTargetRef"; +// private PageBase parentPage; + + public SelfConsentPanel(String id, IModel model, PageBase parentPage) { + super(id, model); + + Task task = parentPage.createSimpleTask(OPERATION_LOAD_TARGET); + OperationResult result = task.getResult(); + PrismObject abstractRole = WebModelServiceUtils + .loadObject(getModelObject().getAssignment().getTargetRef(), parentPage, task, result); + + if (abstractRole == null) { + getSession().error("Failed to load target ref"); + throw new RestartResponseException(PageSelfDashboard.class); + } + + initLayout(abstractRole.asObjectable()); + } + + private void initLayout(final AbstractRoleType abstractRole) { + + DisplayNamePanel displayName = new DisplayNamePanel<>(ID_DISPLAY_NAME, Model.of(abstractRole)); + displayName.setOutputMarkupId(true); + add(displayName); + + WebMarkupContainer iconCssClass = new WebMarkupContainer(ID_CONSENT_ICON); + iconCssClass.add(AttributeAppender.append("class", getIconCssClass(getModelObject()))); + iconCssClass.setOutputMarkupId(true); + add(iconCssClass); + + Label validityLabel = new Label(ID_VALIDITY, AssignmentsUtil.createActivationTitleModelExperimental(getModel(), displayName)); + validityLabel.setOutputMarkupId(true); + add(validityLabel); + + AjaxButton revoke = new AjaxButton(ID_REVOKE, createStringResource("SelfConsentPanel.button.revoke")) { + + private static final long serialVersionUID = 1L; + + @Override + public void onClick(AjaxRequestTarget target) { + SelfConsentPanel.this.getModelObject().getAssignment().setLifecycleState(SchemaConstants.LIFECYCLE_FAILED); + target.add(SelfConsentPanel.this); + } + }; + add(revoke); + revoke.add(new VisibleEnableBehaviour() { + + private static final long serialVersionUID = 1L; + + @Override + public boolean isVisible() { + return isActiveConsent(); + } + }); + +AjaxButton activate = new AjaxButton(ID_AGREE, createStringResource("SelfConsentPanel.button.agree")) { + + private static final long serialVersionUID = 1L; + + @Override + public void onClick(AjaxRequestTarget target) { + SelfConsentPanel.this.getModelObject().getAssignment().setLifecycleState(SchemaConstants.LIFECYCLE_ACTIVE); + target.add(SelfConsentPanel.this); + } + }; + add(activate); + activate.add(new VisibleEnableBehaviour() { + + private static final long serialVersionUID = 1L; + + @Override + public boolean isVisible() { + return !isActiveConsent(); + } + }); + } + + //TODO move to the WebComponentUtil ??? + private String getIconCssClass(AssignmentDto assignment) { + AssignmentType assignmentType = assignment.getAssignment(); + String currentLifecycle = assignmentType.getLifecycleState(); + if (StringUtils.isBlank(currentLifecycle)) { + return GuiStyleConstants.CLASS_APPROVAL_OUTCOME_ICON_FUTURE_COLORED; + } + + if (SchemaConstants.LIFECYCLE_DRAFT.equals(currentLifecycle) || SchemaConstants.LIFECYCLE_PROPOSED.equals(currentLifecycle)) { + return GuiStyleConstants.CLASS_APPROVAL_OUTCOME_ICON_IN_PROGRESS_COLORED; + } + + if (SchemaConstants.LIFECYCLE_ACTIVE.equals(currentLifecycle)) { + return GuiStyleConstants.CLASS_APPROVAL_OUTCOME_ICON_APPROVED_COLORED; + } + + if (SchemaConstants.LIFECYCLE_FAILED.equals(currentLifecycle)) { + return GuiStyleConstants.CLASS_APPROVAL_OUTCOME_ICON_REJECTED_COLORED; + } + + return GuiStyleConstants.CLASS_APPROVAL_OUTCOME_ICON_FUTURE_COLORED; + } + + private boolean isActiveConsent(){ + String lifecycle = SelfConsentPanel.this.getModelObject().getAssignment().getLifecycleState(); + if (StringUtils.isBlank(lifecycle)) { + return false; + } + + return lifecycle.equals(SchemaConstants.LIFECYCLE_ACTIVE); + } + +} diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdminFocus.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdminFocus.java index d2c66e6e8de..6f28da1ab8b 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdminFocus.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdminFocus.java @@ -405,7 +405,7 @@ private int countAssignments() { PrismObject focus = getObjectModel().getObject().getObject(); List assignments = focus.asObjectable().getAssignment(); for (AssignmentType assignment : assignments) { - if (!isPolicyRuleAssignment(assignment) && isAssignmentRelevant(assignment)) { + if (!isPolicyRuleAssignment(assignment) && !isConsentAssignment(assignment) && isAssignmentRelevant(assignment)) { rv++; } } @@ -419,7 +419,7 @@ private List loadAssignments() { PrismObject focus = focusWrapper.getObject(); List assignments = focus.asObjectable().getAssignment(); for (AssignmentType assignment : assignments) { - if (!isPolicyRuleAssignment(assignment) && isAssignmentRelevant(assignment)) { + if (!isPolicyRuleAssignment(assignment) && !isConsentAssignment(assignment) && isAssignmentRelevant(assignment)) { list.add(new AssignmentDto(assignment, StringUtils.isEmpty(focusWrapper.getOid()) ? UserDtoStatus.ADD : UserDtoStatus.MODIFY)); } } @@ -471,6 +471,13 @@ private boolean isPolicyRuleAssignment(AssignmentType assignment) { && assignment.asPrismContainerValue().findContainer(AssignmentType.F_POLICY_RULE) != null; } + private boolean isConsentAssignment(AssignmentType assignment) { + if (assignment.getTargetRef() == null) { + return false; + } + + return QNameUtil.match(assignment.getTargetRef().getRelation(), SchemaConstants.ORG_CONSENT); + } @Override @@ -530,9 +537,7 @@ protected void handleAssignmentForAdd(PrismObject focus, QName containerName, protected void prepareObjectDeltaForModify(ObjectDelta focusDelta) throws SchemaException { super.prepareObjectDeltaForModify(focusDelta); // handle accounts - SchemaRegistry registry = getPrismContext().getSchemaRegistry(); - PrismObjectDefinition objectDefinition = registry - .findObjectDefinitionByCompileTimeClass(getCompileTimeClass()); + PrismObjectDefinition objectDefinition = getObjectDefinition(); PrismReferenceDefinition refDef = objectDefinition.findReferenceDefinition(FocusType.F_LINK_REF); ReferenceDelta refDelta = prepareUserAccountsDeltaForModify(refDef); if (!refDelta.isEmpty()) { @@ -550,12 +555,18 @@ protected void prepareObjectDeltaForModify(ObjectDelta focusDelta) throws Sch // only slow down the operation - especially if we have many assignments if (isAssignmentsLoaded()) { // handle assignments - PrismContainerDefinition def = objectDefinition.findContainerDefinition(UserType.F_ASSIGNMENT); + PrismContainerDefinition def = objectDefinition.findContainerDefinition(UserType.F_ASSIGNMENT); // handleAssignmentDeltas(focusDelta, getFocusAssignments(), def); handleAssignmentExperimentalDeltas(focusDelta, getFocusAssignments(), def, false); } } + protected PrismObjectDefinition getObjectDefinition() { + SchemaRegistry registry = getPrismContext().getSchemaRegistry(); + return registry + .findObjectDefinitionByCompileTimeClass(getCompileTimeClass()); + } + protected ContainerDelta handleAssignmentDeltas(ObjectDelta focusDelta, List assignments, PrismContainerDefinition def) throws SchemaException { diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/PageUser.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/PageUser.java index d38a0d5f0f6..fbd97d0f525 100644 --- a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/PageUser.java +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/PageUser.java @@ -26,6 +26,7 @@ import com.evolveum.midpoint.model.api.ModelAuthorizationAction; import com.evolveum.midpoint.prism.PrismContainerDefinition; import com.evolveum.midpoint.prism.PrismReferenceValue; +import com.evolveum.midpoint.prism.delta.ContainerDelta; import com.evolveum.midpoint.prism.delta.ObjectDelta; import com.evolveum.midpoint.prism.query.ObjectFilter; import com.evolveum.midpoint.prism.query.ObjectQuery; @@ -34,6 +35,7 @@ import com.evolveum.midpoint.schema.result.OperationResult; import com.evolveum.midpoint.task.api.Task; import com.evolveum.midpoint.util.QNameUtil; +import com.evolveum.midpoint.util.exception.SchemaException; import com.evolveum.midpoint.util.logging.LoggingUtils; import com.evolveum.midpoint.web.component.assignment.AssignmentDto; import com.evolveum.midpoint.web.component.assignment.AssignmentEditorDto; @@ -365,6 +367,17 @@ private List getUserPrivilegesList(){ } return list; } + + @Override + protected void prepareObjectDeltaForModify(ObjectDelta focusDelta) throws SchemaException { + + super.prepareObjectDeltaForModify(focusDelta); + + PrismContainerDefinition def = getObjectDefinition().findContainerDefinition(UserType.F_ASSIGNMENT); + if (consentsModel.isLoaded()) { + handleAssignmentExperimentalDeltas(focusDelta, consentsModel.getObject(), def, false); + } +} @Override protected boolean processDeputyAssignments(boolean previewOnly) { diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageSelfConsents.html b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageSelfConsents.html new file mode 100644 index 00000000000..9310b1f4dfe --- /dev/null +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageSelfConsents.html @@ -0,0 +1,26 @@ + + + + + + +
+
+
+ + + diff --git a/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageSelfConsents.java b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageSelfConsents.java new file mode 100644 index 00000000000..f66e3c57a3f --- /dev/null +++ b/gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageSelfConsents.java @@ -0,0 +1,115 @@ +package com.evolveum.midpoint.web.page.self; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; +import java.util.stream.Collectors; + +import org.apache.wicket.behavior.AttributeAppender; +import org.apache.wicket.markup.html.WebMarkupContainer; +import org.apache.wicket.markup.html.basic.Label; +import org.apache.wicket.markup.repeater.RepeatingView; +import org.apache.wicket.model.AbstractReadOnlyModel; +import org.apache.wicket.model.Model; +import org.apache.wicket.model.PropertyModel; + +import com.evolveum.midpoint.gui.api.component.DisplayNamePanel; +import com.evolveum.midpoint.gui.api.model.LoadableModel; +import com.evolveum.midpoint.gui.api.page.PageBase; +import com.evolveum.midpoint.gui.api.util.WebModelServiceUtils; +import com.evolveum.midpoint.prism.PrismConstants; +import com.evolveum.midpoint.prism.PrismContainer; +import com.evolveum.midpoint.prism.PrismObject; +import com.evolveum.midpoint.schema.constants.SchemaConstants; +import com.evolveum.midpoint.schema.result.OperationResult; +import com.evolveum.midpoint.security.api.AuthorizationConstants; +import com.evolveum.midpoint.security.api.MidPointPrincipal; +import com.evolveum.midpoint.security.api.SecurityUtil; +import com.evolveum.midpoint.task.api.Task; +import com.evolveum.midpoint.util.QNameUtil; +import com.evolveum.midpoint.web.application.AuthorizationAction; +import com.evolveum.midpoint.web.application.PageDescriptor; +import com.evolveum.midpoint.web.application.Url; +import com.evolveum.midpoint.web.component.assignment.AssignmentDto; +import com.evolveum.midpoint.web.component.assignment.AssignmentsUtil; +import com.evolveum.midpoint.web.component.assignment.SelfConsentPanel; +import com.evolveum.midpoint.web.page.admin.users.dto.UserDtoStatus; +import com.evolveum.midpoint.web.security.SecurityUtils; +import com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType; +import com.evolveum.midpoint.xml.ns._public.common.common_3.UserType; + + +@PageDescriptor( + urls = { + @Url(mountUrl = "/self/consents") + }, + action = { + @AuthorizationAction(actionUri = PageSelf.AUTH_SELF_ALL_URI, + label = PageSelf.AUTH_SELF_ALL_LABEL, + description = PageSelf.AUTH_SELF_ALL_DESCRIPTION), + @AuthorizationAction(actionUri = AuthorizationConstants.AUTZ_UI_SELF_CONSENTS_URL, + label = "PageSelfCredentials.auth.consents.label", + description = "PageSelfCredentials.auth.consents.description")}) +public class PageSelfConsents extends PageBase{ + + private static final long serialVersionUID = 1L; + + private LoadableModel> consentModel; + private static final String DOT_CLASS = PageSelfConsents.class.getSimpleName() + "."; + private static final String OPERATION_LOAD_USER = DOT_CLASS + "loadUserSelf"; + + private static final String ID_CONSENTS = "consents"; + + public PageSelfConsents() { + + consentModel = new LoadableModel>() { + + private static final long serialVersionUID = 1L; + + @Override + protected List load() { + MidPointPrincipal principal = SecurityUtils.getPrincipalUser(); + + if (principal == null) { + return null; + } + + Task task = createSimpleTask(OPERATION_LOAD_USER); + OperationResult result = task.getResult(); + PrismObject userSelf = WebModelServiceUtils.loadObject(UserType.class, principal.getOid(), PageSelfConsents.this, task, result); + PrismContainer assignmentContainer = userSelf.findContainer(UserType.F_ASSIGNMENT); + if (assignmentContainer == null || assignmentContainer.isEmpty()) { + return new ArrayList<>(); + } + + Collection assignments = assignmentContainer.getRealValues(); + return assignments.stream() + .filter(a -> a.getTargetRef()!= null && QNameUtil.match(a.getTargetRef().getRelation(), SchemaConstants.ORG_CONSENT)) + .map(a -> new AssignmentDto(a, UserDtoStatus.MODIFY)) + .collect(Collectors.toList()); + } + }; + + initLayout(); + } + + private void initLayout() { + + RepeatingView consents = new RepeatingView(ID_CONSENTS); + consents.setOutputMarkupId(true); + for (AssignmentDto assignmentDto : consentModel.getObject()) { + SelfConsentPanel consentPanel = new SelfConsentPanel(consents.newChildId(), Model.of(assignmentDto), this); + consentPanel.setOutputMarkupId(true); + consents.add(consentPanel); + } + + add(consents); + + } + + + + + + +} diff --git a/gui/admin-gui/src/main/resources/localization/Midpoint.properties b/gui/admin-gui/src/main/resources/localization/Midpoint.properties index 3f4d0de063b..1c279fe8bad 100644 --- a/gui/admin-gui/src/main/resources/localization/Midpoint.properties +++ b/gui/admin-gui/src/main/resources/localization/Midpoint.properties @@ -1,3 +1,4 @@ + # Copyright (c) 2010-2017 Evolveum # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -3751,3 +3752,7 @@ AbstractAssignmentDetailsPanel.properties=Properties AssignmentPanel.doneButton=Done AssignmentPanel.cancelButton=Cancel ObjectPolicyConfigurationEditor.conflictResolution=(conflict resolution) +PageSelfConsents.title=Consents +SelfConsentPanel.button.revoke=Revoke +SelfConsentPanel.button.agree=Agree +PageAdmin.menu.consent=Consents \ No newline at end of file diff --git a/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/AbstractInitializedGuiIntegrationTest.java b/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/AbstractInitializedGuiIntegrationTest.java index 98fec938953..b0293362546 100644 --- a/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/AbstractInitializedGuiIntegrationTest.java +++ b/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/AbstractInitializedGuiIntegrationTest.java @@ -77,7 +77,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000PreparationAndSanity() throws Exception { final String TEST_NAME = "test100GetResourceDummy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(AbstractInitializedGuiIntegrationTest.class.getName() + "." + TEST_NAME); diff --git a/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestCleanStartup.java b/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestCleanStartup.java index 9166e6e0df9..47ab9157379 100644 --- a/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestCleanStartup.java +++ b/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestCleanStartup.java @@ -69,7 +69,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti // work in progress @Test public void test001Logfiles() throws Exception { - TestUtil.displayTestTile("test001Logfiles"); + TestUtil.displayTestTitle("test001Logfiles"); // GIVEN - system startup and initialization that has already happened LogfileTestTailer tailer = new LogfileTestTailer(LoggingConfigurationManager.AUDIT_LOGGER_NAME, false); diff --git a/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestDescriptorLoader.java b/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestDescriptorLoader.java index 8538816f7a3..5d9040a1951 100644 --- a/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestDescriptorLoader.java +++ b/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestDescriptorLoader.java @@ -61,7 +61,7 @@ public class TestDescriptorLoader extends AbstractGuiUnitTest { @Test(enabled=false) public void testDescriptorLoader() { final String TEST_NAME = "testDescriptorLoader"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); MidPointApplication midPointApplication = new MidPointApplication(); ServletContext mockServletContext = new ServletContext() { diff --git a/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestIntegrationObjectWrapperFactory.java b/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestIntegrationObjectWrapperFactory.java index 7de96df5315..6f62eba7261 100644 --- a/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestIntegrationObjectWrapperFactory.java +++ b/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestIntegrationObjectWrapperFactory.java @@ -112,7 +112,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100CreateWrapperUserJack() throws Exception { final String TEST_NAME = "test100CreateWrapperUserJack"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject user = getUser(USER_JACK_OID); @@ -165,7 +165,7 @@ public void test100CreateWrapperUserJack() throws Exception { @Test public void test102CreateWrapperUserEmpty() throws Exception { final String TEST_NAME = "test102CreateWrapperUserEmpty"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject user = getUser(USER_EMPTY_OID); @@ -218,7 +218,7 @@ public void test102CreateWrapperUserEmpty() throws Exception { @Test public void test150CreateWrapperShadow() throws Exception { final String TEST_NAME = "test150CreateWrapperShadow"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject shadow = getShadowModel(accountJackOid); shadow.findReference(ShadowType.F_RESOURCE_REF).getValue().setObject(resourceDummy); @@ -273,7 +273,7 @@ public void test150CreateWrapperShadow() throws Exception { @Test public void test220AssignRoleLandluberToWally() throws Exception { final String TEST_NAME = "test220AssignRoleLandluberToWally"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -353,7 +353,7 @@ public void test220AssignRoleLandluberToWally() throws Exception { @Test public void test800EditSchemaJackPropReadAllModifySomeUser() throws Exception { final String TEST_NAME = "test800EditSchemaJackPropReadAllModifySomeUser"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_PROP_READ_ALL_MODIFY_SOME_USER_OID); @@ -429,7 +429,7 @@ public void test800EditSchemaJackPropReadAllModifySomeUser() throws Exception { @Test public void test802EditSchemaJackPropReadSomeModifySomeUser() throws Exception { final String TEST_NAME = "test800EditSchemaJackPropReadAllModifySomeUser"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_PROP_READ_SOME_MODIFY_SOME_USER_OID); diff --git a/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestUnitObjectWrapperFactory.java b/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestUnitObjectWrapperFactory.java index d51571b1bdb..4f499cbeb87 100644 --- a/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestUnitObjectWrapperFactory.java +++ b/gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestUnitObjectWrapperFactory.java @@ -43,7 +43,7 @@ public class TestUnitObjectWrapperFactory extends AbstractGuiUnitTest { @Test public void testCreateWrapperUser() throws Exception { final String TEST_NAME = "testCreateWrapperUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject user = PrismTestUtil.parseObject(USER_JACK_REPO_FILE); PrismObjectDefinition objDef = user.getDefinition(); diff --git a/infra/common/src/test/java/com/evolveum/midpoint/common/TestStaticValues.java b/infra/common/src/test/java/com/evolveum/midpoint/common/TestStaticValues.java index cdf296779d3..bf04742b3db 100644 --- a/infra/common/src/test/java/com/evolveum/midpoint/common/TestStaticValues.java +++ b/infra/common/src/test/java/com/evolveum/midpoint/common/TestStaticValues.java @@ -55,7 +55,7 @@ public void setup() throws SchemaException, SAXException, IOException { @Test public void testValueElementsRoundtripString() throws Exception { final String TEST_NAME = "testValueElementsRoundtripString"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN PrismContext prismContext = PrismTestUtil.getPrismContext(); @@ -71,7 +71,7 @@ public void testValueElementsRoundtripString() throws Exception { @Test public void testValueElementsRoundtripInt() throws Exception { final String TEST_NAME = "testValueElementsRoundtripInt"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN PrismContext prismContext = PrismTestUtil.getPrismContext(); diff --git a/infra/common/src/test/java/com/evolveum/midpoint/common/refinery/TestRefinedSchema.java b/infra/common/src/test/java/com/evolveum/midpoint/common/refinery/TestRefinedSchema.java index 4e586cd5d78..bdfd1d1f4fe 100644 --- a/infra/common/src/test/java/com/evolveum/midpoint/common/refinery/TestRefinedSchema.java +++ b/infra/common/src/test/java/com/evolveum/midpoint/common/refinery/TestRefinedSchema.java @@ -94,7 +94,7 @@ public void setup() throws SchemaException, SAXException, IOException { @Test public void test010ParseFromResourceComplex() throws Exception { final String TEST_NAME = "test010ParseFromResourceComplex"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN PrismContext prismContext = createInitializedPrismContext(); @@ -134,7 +134,7 @@ private void assertLayerRefinedSchema(ResourceType resourceType, RefinedResource @Test public void test020ParseFromResourceSimple() throws Exception { final String TEST_NAME = "test020ParseFromResourceSimple"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN PrismContext prismContext = createInitializedPrismContext(); @@ -290,7 +290,7 @@ private void assertRefinedToLayer(ResourceAttributeDefinition attrDef, LayerType @Test public void test100ParseAccount() throws Exception { final String TEST_NAME = "test100ParseAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN PrismContext prismContext = createInitializedPrismContext(); @@ -325,7 +325,7 @@ public void test100ParseAccount() throws Exception { @Test public void test110ApplyAttributeDefinition() throws Exception { final String TEST_NAME = "test110ApplyAttributeDefinition"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN PrismContext prismContext = createInitializedPrismContext(); @@ -402,7 +402,7 @@ private QName getAttrQName(PrismObject resource, String localPart) @Test public void test120CreateShadow() throws Exception { final String TEST_NAME = "test120CreateShadow"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN PrismContext prismContext = createInitializedPrismContext(); @@ -432,7 +432,7 @@ public void test120CreateShadow() throws Exception { @Test public void test130ProtectedAccount() throws Exception { final String TEST_NAME = "test130ProtectedAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN PrismContext prismContext = createInitializedPrismContext(); @@ -559,7 +559,7 @@ private ResourceAttribute createStringAttribute(QName attrName, String v @Test public void test140ParseFromResourcePosix() throws Exception { final String TEST_NAME = "test140ParseFromResourcePosix"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN PrismContext prismContext = createInitializedPrismContext(); diff --git a/infra/test-util/src/main/java/com/evolveum/midpoint/test/util/TestUtil.java b/infra/test-util/src/main/java/com/evolveum/midpoint/test/util/TestUtil.java index 01492163915..b62dfb82ce4 100644 --- a/infra/test-util/src/main/java/com/evolveum/midpoint/test/util/TestUtil.java +++ b/infra/test-util/src/main/java/com/evolveum/midpoint/test/util/TestUtil.java @@ -174,12 +174,12 @@ public static void assertExceptionSanity(ObjectAlreadyExistsException e) { +e.getMessage().length()+" characters): "+e.getMessage(); } - public static void displayTestTile(String testName) { + public static void displayTestTitle(String testName) { System.out.println(TEST_OUT_PREFIX + testName + TEST_OUT_SUFFIX); LOGGER.info(TEST_LOG_PREFIX + testName + TEST_LOG_SUFFIX); } - public static void displayTestTile(Object testCase, String testName) { + public static void displayTestTitle(Object testCase, String testName) { System.out.println(TEST_OUT_PREFIX + testCase.getClass().getSimpleName() + "." + testName + TEST_OUT_SUFFIX); LOGGER.info(TEST_LOG_PREFIX + testCase.getClass().getSimpleName() + "." + testName + TEST_LOG_SUFFIX); } diff --git a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestAdHocCertification.java b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestAdHocCertification.java index 0991670d850..24b283a4e79 100644 --- a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestAdHocCertification.java +++ b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestAdHocCertification.java @@ -76,7 +76,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test010HireIndigo() throws Exception { final String TEST_NAME = "test010HireIndigo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAdHocCertification.class.getName() + "." + TEST_NAME); @@ -107,7 +107,7 @@ public void test010HireIndigo() throws Exception { @Test public void test020ModifyIndigo() throws Exception { final String TEST_NAME = "test020ModifyIndigo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAdHocCertification.class.getName() + "." + TEST_NAME); diff --git a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCertificationBasic.java b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCertificationBasic.java index 1633b4ae045..b6860f48e18 100644 --- a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCertificationBasic.java +++ b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCertificationBasic.java @@ -84,7 +84,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test001CreateForeignCampaign() throws Exception { final String TEST_NAME = "test001CreateForeignCampaign"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -116,7 +116,7 @@ public void test001CreateForeignCampaign() throws Exception { @Test public void test002OpenFirstForeignStage() throws Exception { final String TEST_NAME = "test002OpenFirstForeignStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -140,7 +140,7 @@ public void test002OpenFirstForeignStage() throws Exception { @Test public void test005CreateCampaignDenied() throws Exception { final String TEST_NAME = "test005CreateCampaignDenied"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCertificationBasic.class.getName() + "." + TEST_NAME); @@ -160,7 +160,7 @@ public void test005CreateCampaignDenied() throws Exception { @Test public void test006CreateCampaignDeniedBobWrongDeputy() throws Exception { final String TEST_NAME = "test006CreateCampaignDeniedBobWrongDeputy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCertificationBasic.class.getName() + "." + TEST_NAME); @@ -180,7 +180,7 @@ public void test006CreateCampaignDeniedBobWrongDeputy() throws Exception { @Test public void test010CreateCampaignAllowedForDeputy() throws Exception { final String TEST_NAME = "test010CreateCampaignAllowedForDeputy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCertificationBasic.class.getName() + "." + TEST_NAME); @@ -214,7 +214,7 @@ public void test010CreateCampaignAllowedForDeputy() throws Exception { @Test public void test011CreateCampaignAllowed() throws Exception { final String TEST_NAME = "test010CreateCampaignAllowed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCertificationBasic.class.getName() + "." + TEST_NAME); @@ -244,7 +244,7 @@ public void test011CreateCampaignAllowed() throws Exception { @Test public void test012SearchAllCasesDenied() throws Exception { final String TEST_NAME = "test012SearchAllCasesDenied"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ELAINE_OID)); searchWithNoCasesExpected(TEST_NAME); @@ -253,7 +253,7 @@ public void test012SearchAllCasesDenied() throws Exception { @Test public void test013SearchAllCasesAllowed() throws Exception { final String TEST_NAME = "test013SearchAllCasesAllowed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_BOB_OID)); searchWithNoCasesExpected(TEST_NAME); @@ -283,7 +283,7 @@ protected void searchWithNoCasesExpected(String TEST_NAME) throws Exception { @Test public void test020OpenFirstStageDenied() throws Exception { final String TEST_NAME = "test020OpenFirstStageDenied"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCertificationBasic.class.getName() + "." + TEST_NAME); @@ -305,7 +305,7 @@ public void test020OpenFirstStageDenied() throws Exception { @Test public void test021OpenFirstStageAllowed() throws Exception { final String TEST_NAME = "test021OpenFirstStageAllowed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCertificationBasic.class.getName() + "." + TEST_NAME); @@ -342,7 +342,7 @@ public void test021OpenFirstStageAllowed() throws Exception { @Test public void test030SearchAllCasesDenied() throws Exception { final String TEST_NAME = "test030SearchCasesDenied"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ELAINE_OID)); searchWithNoCasesExpected(TEST_NAME); @@ -351,7 +351,7 @@ public void test030SearchAllCasesDenied() throws Exception { @Test public void test031SearchAllCasesDeniedLimitedDeputy() throws Exception { final String TEST_NAME = "test031SearchAllCasesDeniedLimitedDeputy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_BOB_DEPUTY_NO_ASSIGNMENTS_OID)); searchWithNoCasesExpected(TEST_NAME); @@ -360,7 +360,7 @@ public void test031SearchAllCasesDeniedLimitedDeputy() throws Exception { @Test public void test032SearchAllCasesAllowed() throws Exception { final String TEST_NAME = "test032SearchAllCasesAllowed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_BOB_OID)); // GIVEN @@ -384,7 +384,7 @@ public void test032SearchAllCasesAllowed() throws Exception { @Test(enabled = false) public void test034SearchAllCasesAllowedDeputy() throws Exception { final String TEST_NAME = "test034SearchAllCasesAllowedDeputy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_BOB_DEPUTY_FULL_OID)); // GIVEN @@ -408,7 +408,7 @@ public void test034SearchAllCasesAllowedDeputy() throws Exception { @Test public void test040SearchCasesFilteredSortedPaged() throws Exception { final String TEST_NAME = "test040SearchCasesFilteredSortedPaged"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_BOB_OID)); // GIVEN @@ -449,7 +449,7 @@ public void test040SearchCasesFilteredSortedPaged() throws Exception { @Test public void test050SearchWorkItemsAdministrator() throws Exception { final String TEST_NAME = "test050SearchWorkItemsAdministrator"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -476,7 +476,7 @@ public void test050SearchWorkItemsAdministrator() throws Exception { @Test public void test052SearchWorkItemsByTenantRef() throws Exception { final String TEST_NAME = "test052SearchWorkItemsByTenantRef"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -509,7 +509,7 @@ public void test052SearchWorkItemsByTenantRef() throws Exception { @Test public void test054SearchDecisionsByOrgRef() throws Exception { final String TEST_NAME = "test054SearchDecisionsByOrgRef"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -541,7 +541,7 @@ public void test054SearchDecisionsByOrgRef() throws Exception { @Test public void test056SearchDecisionsByAdminStatus() throws Exception { final String TEST_NAME = "test056SearchDecisionsByAdminStatus"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -573,7 +573,7 @@ public void test056SearchDecisionsByAdminStatus() throws Exception { @Test public void test060SearchOpenWorkItemsDeputyDenied() throws Exception { final String TEST_NAME = "test060SearchOpenWorkItemsDeputyDenied"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_DEPUTY_NONE_OID)); // GIVEN @@ -598,7 +598,7 @@ public void test060SearchOpenWorkItemsDeputyDenied() throws Exception { @Test public void test062SearchOpenWorkItemsDeputyAllowed() throws Exception { final String TEST_NAME = "test062SearchOpenWorkItemsDeputyAllowed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_DEPUTY_NO_ASSIGNMENTS_OID)); // GIVEN @@ -624,7 +624,7 @@ public void test062SearchOpenWorkItemsDeputyAllowed() throws Exception { @Test public void test100RecordDecision() throws Exception { final String TEST_NAME = "test100RecordDecision"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -660,7 +660,7 @@ public void test100RecordDecision() throws Exception { @Test public void test105RecordAcceptJackCeo() throws Exception { final String TEST_NAME = "test105RecordAcceptJackCeo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -697,7 +697,7 @@ public void test105RecordAcceptJackCeo() throws Exception { @Test public void test110RecordRevokeJackCeo() throws Exception { final String TEST_NAME = "test110RecordRevokeJackCeo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -755,7 +755,7 @@ protected void checkAllWorkItems(Collection wor @Test public void test150CloseFirstStageDeny() throws Exception { final String TEST_NAME = "test150CloseFirstStageDeny"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ELAINE_OID)); // GIVEN @@ -775,7 +775,7 @@ public void test150CloseFirstStageDeny() throws Exception { @Test public void test151CloseCampaignDeny() throws Exception { final String TEST_NAME = "test151CloseCampaignDeny"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ELAINE_OID)); // GIVEN @@ -795,7 +795,7 @@ public void test151CloseCampaignDeny() throws Exception { @Test public void test152CloseFirstStageAllow() throws Exception { final String TEST_NAME = "test152CloseFirstStageAllow"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_BOB_OID)); // GIVEN @@ -830,7 +830,7 @@ public void test152CloseFirstStageAllow() throws Exception { @Test public void test200StartRemediationDeny() throws Exception { final String TEST_NAME = "test200StartRemediationDeny"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ELAINE_OID)); // GIVEN @@ -850,7 +850,7 @@ public void test200StartRemediationDeny() throws Exception { @Test public void test205StartRemediationAllow() throws Exception { final String TEST_NAME = "test205StartRemediationAllow"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_BOB_OID)); // GIVEN diff --git a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCriticalRolesCertification.java b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCriticalRolesCertification.java index d2647309d1d..c5be60c4a80 100644 --- a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCriticalRolesCertification.java +++ b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCriticalRolesCertification.java @@ -75,7 +75,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test010CreateCampaign() throws Exception { final String TEST_NAME = "test010CreateCampaign"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -124,7 +124,7 @@ public void test010CreateCampaign() throws Exception { @Test public void test020OpenFirstStage() throws Exception { final String TEST_NAME = "test020OpenFirstStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -180,7 +180,7 @@ public void test020OpenFirstStage() throws Exception { @Test public void test100RecordDecisions1() throws Exception { final String TEST_NAME = "test100RecordDecisions1"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -218,7 +218,7 @@ public void test100RecordDecisions1() throws Exception { @Test public void test150CloseFirstStage() throws Exception { final String TEST_NAME = "test150CloseFirstStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -256,7 +256,7 @@ public void test150CloseFirstStage() throws Exception { @Test public void test200OpenSecondStage() throws Exception { final String TEST_NAME = "test200OpenSecondStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -319,7 +319,7 @@ public void test200OpenSecondStage() throws Exception { @Test public void test220StatisticsAllStages() throws Exception { final String TEST_NAME = "test220StatisticsAllStages"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -348,7 +348,7 @@ public void test220StatisticsAllStages() throws Exception { @Test public void test250RecordDecisionsSecondStage() throws Exception { final String TEST_NAME = "test250RecordDecisionsSecondStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -427,7 +427,7 @@ public void test250RecordDecisionsSecondStage() throws Exception { @Test public void test260Statistics() throws Exception { final String TEST_NAME = "test260Statistics"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -456,7 +456,7 @@ public void test260Statistics() throws Exception { @Test public void test290CloseSecondStage() throws Exception { final String TEST_NAME = "test290CloseSecondStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -492,7 +492,7 @@ public void test290CloseSecondStage() throws Exception { @Test public void test300OpenThirdStage() throws Exception { final String TEST_NAME = "test300OpenThirdStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -558,7 +558,7 @@ public void test300OpenThirdStage() throws Exception { @Test public void test330RecordDecisionsThirdStage() throws Exception { final String TEST_NAME = "test330RecordDecisionsThirdStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -654,7 +654,7 @@ public void test330RecordDecisionsThirdStage() throws Exception { @Test public void test390CloseThirdStage() throws Exception { final String TEST_NAME = "test390CloseThirdStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -709,7 +709,7 @@ public void test390CloseThirdStage() throws Exception { @Test public void test400OpenFourthStage() throws Exception { final String TEST_NAME = "test400OpenFourthStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -775,7 +775,7 @@ public void test400OpenFourthStage() throws Exception { @Test public void test430RecordDecisionsFourthStage() throws Exception { final String TEST_NAME = "test430RecordDecisionsFourthStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -872,7 +872,7 @@ public void test430RecordDecisionsFourthStage() throws Exception { @Test public void test490CloseFourthStage() throws Exception { final String TEST_NAME = "test490CloseFourthStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -930,7 +930,7 @@ public void test490CloseFourthStage() throws Exception { @Test public void test900StartRemediation() throws Exception { final String TEST_NAME = "test900StartRemediation"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); @@ -983,7 +983,7 @@ public void test900StartRemediation() throws Exception { @Test public void test910Statistics() throws Exception { final String TEST_NAME = "test910Statistics"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCriticalRolesCertification.class.getName() + "." + TEST_NAME); diff --git a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestEscalation.java b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestEscalation.java index e89d44cd9c3..c4dd745ed15 100644 --- a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestEscalation.java +++ b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestEscalation.java @@ -69,7 +69,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test010CreateCampaign() throws Exception { final String TEST_NAME = "test010CreateCampaign"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEscalation.class.getName() + "." + TEST_NAME); @@ -98,7 +98,7 @@ public void test010CreateCampaign() throws Exception { @Test public void test013SearchAllCases() throws Exception { final String TEST_NAME = "test013SearchAllCases"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); searchWithNoCasesExpected(TEST_NAME); } @@ -126,7 +126,7 @@ protected void searchWithNoCasesExpected(String TEST_NAME) throws Exception { @Test public void test021OpenFirstStage() throws Exception { final String TEST_NAME = "test021OpenFirstStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEscalation.class.getName() + "." + TEST_NAME); @@ -165,7 +165,7 @@ public void test021OpenFirstStage() throws Exception { @Test public void test032SearchAllCases() throws Exception { final String TEST_NAME = "test032SearchAllCases"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEscalation.class.getName() + "." + TEST_NAME); @@ -188,7 +188,7 @@ public void test032SearchAllCases() throws Exception { @Test public void test050SearchWorkItems() throws Exception { final String TEST_NAME = "test050SearchWorkItems"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEscalation.class.getName() + "." + TEST_NAME); @@ -214,7 +214,7 @@ public void test050SearchWorkItems() throws Exception { @Test public void test100RecordDecision() throws Exception { final String TEST_NAME = "test100RecordDecision"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCertificationBasic.class.getName() + "." + TEST_NAME); @@ -250,7 +250,7 @@ public void test100RecordDecision() throws Exception { @Test public void test110Escalate() throws Exception { final String TEST_NAME = "test110Escalate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -314,7 +314,7 @@ public void test110Escalate() throws Exception { @Test public void test120EscalateAgain() throws Exception { final String TEST_NAME = "test120EscalateAgain"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -380,7 +380,7 @@ public void test120EscalateAgain() throws Exception { @Test public void test130Remediation() throws Exception { final String TEST_NAME = "test130Remediation"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN diff --git a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestManualEscalation.java b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestManualEscalation.java index 53bed54faed..8c9d52fd714 100644 --- a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestManualEscalation.java +++ b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestManualEscalation.java @@ -72,7 +72,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test010CreateCampaign() throws Exception { final String TEST_NAME = "test010CreateCampaign"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestManualEscalation.class.getName() + "." + TEST_NAME); @@ -102,7 +102,7 @@ public void test010CreateCampaign() throws Exception { @Test public void test013SearchAllCasesAllowed() throws Exception { final String TEST_NAME = "test013SearchAllCasesAllowed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_BOB_OID)); searchWithNoCasesExpected(TEST_NAME); @@ -131,7 +131,7 @@ protected void searchWithNoCasesExpected(String TEST_NAME) throws Exception { @Test public void test021OpenFirstStageAllowed() throws Exception { final String TEST_NAME = "test021OpenFirstStageAllowed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestManualEscalation.class.getName() + "." + TEST_NAME); @@ -167,7 +167,7 @@ public void test021OpenFirstStageAllowed() throws Exception { @Test public void test032SearchAllCasesAllowed() throws Exception { final String TEST_NAME = "test032SearchAllCasesAllowed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_BOB_OID)); // GIVEN @@ -191,7 +191,7 @@ public void test032SearchAllCasesAllowed() throws Exception { @Test public void test050SearchWorkItemsAsAdministrator() throws Exception { final String TEST_NAME = "test050SearchWorkItemsAsAdministrator"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -218,7 +218,7 @@ public void test050SearchWorkItemsAsAdministrator() throws Exception { @Test public void test100RecordDecision() throws Exception { final String TEST_NAME = "test100RecordDecision"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -254,7 +254,7 @@ public void test100RecordDecision() throws Exception { @Test public void test110Escalate() throws Exception { final String TEST_NAME = "test110Escalate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -303,7 +303,7 @@ public void test110Escalate() throws Exception { @Test public void test120EscalateAgain() throws Exception { final String TEST_NAME = "test120EscalateAgain"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN @@ -353,7 +353,7 @@ public void test120EscalateAgain() throws Exception { @Test public void test130Delegate() throws Exception { final String TEST_NAME = "test130Delegate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(getUserFromRepo(USER_ADMINISTRATOR_OID)); // GIVEN diff --git a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestRoleInducementCertification.java b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestRoleInducementCertification.java index e4c024ed1f0..dc3fd2d175d 100644 --- a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestRoleInducementCertification.java +++ b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestRoleInducementCertification.java @@ -56,7 +56,7 @@ public class TestRoleInducementCertification extends AbstractCertificationTest { @Test public void test010CreateCampaign() throws Exception { final String TEST_NAME = "test010CreateCampaign"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -88,7 +88,7 @@ public void test010CreateCampaign() throws Exception { @Test public void test012SearchAllCases() throws Exception { final String TEST_NAME = "test012SearchAllCases"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -110,7 +110,7 @@ public void test012SearchAllCases() throws Exception { @Test public void test014Statistics() throws Exception { final String TEST_NAME = "test014Statistics"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -139,7 +139,7 @@ public void test014Statistics() throws Exception { @Test public void test020OpenFirstStage() throws Exception { final String TEST_NAME = "test020OpenFirstStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -181,7 +181,7 @@ protected void checkAllCases(Collection caseList, S @Test public void test024Statistics() throws Exception { final String TEST_NAME = "test024Statistics"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -211,7 +211,7 @@ public void test024Statistics() throws Exception { @Test public void test030SearchAllCases() throws Exception { final String TEST_NAME = "test030SearchCases"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -235,7 +235,7 @@ public void test030SearchAllCases() throws Exception { @Test public void test050SearchDecisionsAdministrator() throws Exception { final String TEST_NAME = "test050SearchDecisionsAdministrator"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN login(userAdministrator.asPrismObject()); @@ -269,7 +269,7 @@ public void test050SearchDecisionsAdministrator() throws Exception { @Test public void test051SearchDecisionsElaine() throws Exception { final String TEST_NAME = "test051SearchDecisionsElaine"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN login(userElaine.asPrismObject()); @@ -299,7 +299,7 @@ public void test051SearchDecisionsElaine() throws Exception { @Test public void test052SearchDecisionsJack() throws Exception { final String TEST_NAME = "test052SearchDecisionsJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN login(userJack.asPrismObject()); @@ -336,7 +336,7 @@ public void test052SearchDecisionsJack() throws Exception { @Test public void test100RecordDecisions() throws Exception { final String TEST_NAME = "test100RecordDecisions"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN login(userAdministrator.asPrismObject()); @@ -390,7 +390,7 @@ public void test100RecordDecisions() throws Exception { @Test public void test110Statistics() throws Exception { final String TEST_NAME = "test110Statistics"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -420,7 +420,7 @@ public void test110Statistics() throws Exception { @Test public void test150CloseFirstStage() throws Exception { final String TEST_NAME = "test150CloseFirstStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -466,7 +466,7 @@ public void test150CloseFirstStage() throws Exception { @Test public void test160Statistics() throws Exception { final String TEST_NAME = "test160Statistics"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -495,7 +495,7 @@ public void test160Statistics() throws Exception { @Test public void test200OpenSecondStage() throws Exception { final String TEST_NAME = "test200OpenSecondStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -550,7 +550,7 @@ public void test200OpenSecondStage() throws Exception { @Test public void test210Statistics() throws Exception { final String TEST_NAME = "test210Statistics"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -579,7 +579,7 @@ public void test210Statistics() throws Exception { @Test public void test220StatisticsAllStages() throws Exception { final String TEST_NAME = "test220StatisticsAllStages"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -608,7 +608,7 @@ public void test220StatisticsAllStages() throws Exception { @Test public void test250RecordDecisionsSecondStage() throws Exception { final String TEST_NAME = "test250RecordDecisionsSecondStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -688,7 +688,7 @@ public void test250RecordDecisionsSecondStage() throws Exception { @Test public void test260Statistics() throws Exception { final String TEST_NAME = "test260Statistics"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -717,7 +717,7 @@ public void test260Statistics() throws Exception { @Test public void test290CloseSecondStage() throws Exception { final String TEST_NAME = "test290CloseSecondStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -771,7 +771,7 @@ public void test290CloseSecondStage() throws Exception { @Test public void test300StartRemediation() throws Exception { final String TEST_NAME = "test300StartRemediation"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); @@ -838,7 +838,7 @@ public void test300StartRemediation() throws Exception { @Test public void test310Statistics() throws Exception { final String TEST_NAME = "test310Statistics"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleInducementCertification.class.getName() + "." + TEST_NAME); diff --git a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestSoDCertification.java b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestSoDCertification.java index d6429597ad5..e81f15618e0 100644 --- a/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestSoDCertification.java +++ b/model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestSoDCertification.java @@ -102,7 +102,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test001Triggers() throws Exception { final String TEST_NAME = "test001Triggers"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN, WHEN PrismObject jack = getUser(USER_JACK_OID); @@ -154,7 +154,7 @@ private void assertPacked(AssignmentType assignment, int exclusionExpected, int @Test public void test010CreateCampaign() throws Exception { final String TEST_NAME = "test010CreateCampaign"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSoDCertification.class.getName() + "." + TEST_NAME); @@ -186,7 +186,7 @@ public void test010CreateCampaign() throws Exception { @Test public void test012SearchAllCases() throws Exception { final String TEST_NAME = "test012SearchAllCases"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSoDCertification.class.getName() + "." + TEST_NAME); @@ -208,7 +208,7 @@ public void test012SearchAllCases() throws Exception { @Test public void test014Statistics() throws Exception { final String TEST_NAME = "test014Statistics"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSoDCertification.class.getName() + "." + TEST_NAME); @@ -237,7 +237,7 @@ public void test014Statistics() throws Exception { @Test public void test020OpenFirstStage() throws Exception { final String TEST_NAME = "test020OpenFirstStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSoDCertification.class.getName() + "." + TEST_NAME); @@ -284,7 +284,7 @@ protected void checkAllCases(Collection caseList, S @Test public void test030SearchAllCases() throws Exception { final String TEST_NAME = "test030SearchCases"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSoDCertification.class.getName() + "." + TEST_NAME); @@ -309,7 +309,7 @@ public void test030SearchAllCases() throws Exception { @Test public void test100RecordDecisions() throws Exception { final String TEST_NAME = "test100RecordDecisions"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSoDCertification.class.getName() + "." + TEST_NAME); @@ -366,7 +366,7 @@ public void test100RecordDecisions() throws Exception { @Test public void test150CloseFirstStage() throws Exception { final String TEST_NAME = "test150CloseFirstStage"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSoDCertification.class.getName() + "." + TEST_NAME); @@ -412,7 +412,7 @@ public void test150CloseFirstStage() throws Exception { @Test public void test200StartRemediation() throws Exception { final String TEST_NAME = "test200StartRemediation"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSoDCertification.class.getName() + "." + TEST_NAME); diff --git a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/TestExpression.java b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/TestExpression.java index 31e02d37fef..fe587159cbe 100644 --- a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/TestExpression.java +++ b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/TestExpression.java @@ -83,7 +83,7 @@ public void setup() throws SchemaException, SAXException, IOException { @Test public void testIterationCondition() throws Exception { final String TEST_NAME = "testIterationCondition"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestExpression.class.getName()+"."+TEST_NAME); diff --git a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/TestExpressionFunctions.java b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/TestExpressionFunctions.java index e84a86e925e..9ccb065b3e5 100644 --- a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/TestExpressionFunctions.java +++ b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/TestExpressionFunctions.java @@ -71,7 +71,7 @@ public void setup() throws SchemaException, SAXException, IOException { @Test public void testGetExtensionPropertyValue() throws Exception { final String TEST_NAME = "testGetExtensionPropertyValue"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -88,7 +88,7 @@ public void testGetExtensionPropertyValue() throws Exception { @Test public void testGetExtensionPropertyValueParts() throws Exception { final String TEST_NAME = "testGetExtensionPropertyValueParts"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -106,7 +106,7 @@ public void testGetExtensionPropertyValueParts() throws Exception { @Test public void testGetExtensionPropertyValueNotPresent() throws Exception { final String TEST_NAME = "testGetExtensionPropertyValueNotPresent"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -123,7 +123,7 @@ public void testGetExtensionPropertyValueNotPresent() throws Exception { @Test public void testGetExtensionPropertyValueNullObject() throws Exception { final String TEST_NAME = "testGetExtensionPropertyValueNullObject"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -139,7 +139,7 @@ public void testGetExtensionPropertyValueNullObject() throws Exception { @Test public void testGetAttributeValueParts() throws Exception { final String TEST_NAME = "testGetAttributeValueParts"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -157,7 +157,7 @@ public void testGetAttributeValueParts() throws Exception { @Test public void testGetAttributeValueDefaultRi() throws Exception { final String TEST_NAME = "testGetAttributeValueDefaultRi"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -174,7 +174,7 @@ public void testGetAttributeValueDefaultRi() throws Exception { @Test public void testGetAttributeValuesParts() throws Exception { final String TEST_NAME = "testGetAttributeValuesParts"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -192,7 +192,7 @@ public void testGetAttributeValuesParts() throws Exception { @Test public void testGetAttributeValuesDefaultRi() throws Exception { final String TEST_NAME = "testGetAttributeValuesDefaultRi"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -209,7 +209,7 @@ public void testGetAttributeValuesDefaultRi() throws Exception { @Test public void testgetResourceIcfConfigurationPropertyValueStringHost() throws Exception { final String TEST_NAME = "testgetResourceIcfConfigurationPropertyValueStringHost"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -225,7 +225,7 @@ public void testgetResourceIcfConfigurationPropertyValueStringHost() throws Exce @Test public void testgetResourceIcfConfigurationPropertyValueStringPort() throws Exception { final String TEST_NAME = "testgetResourceIcfConfigurationPropertyValueStringPort"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -241,7 +241,7 @@ public void testgetResourceIcfConfigurationPropertyValueStringPort() throws Exce @Test public void testDetermineLdapSingleAttributeValue01() throws Exception { final String TEST_NAME = "testDetermineLdapSingleAttributeValue01"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -361,7 +361,7 @@ public void testFormatDateTime() throws Exception { @Test public void testParseDateTime() throws Exception { final String TEST_NAME = "testParseDateTime"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN BasicExpressionFunctions f = createBasicFunctions(); @@ -388,7 +388,7 @@ private BasicExpressionFunctions createBasicFunctions() throws SchemaException, @Test public void testStringify() throws Exception { final String TEST_NAME = "testStringifyString"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); BasicExpressionFunctions basic = createBasicFunctions(); assertEquals("foo", basic.stringify("foo")); assertEquals("foo", basic.stringify(poly("foo"))); @@ -401,7 +401,7 @@ public void testStringify() throws Exception { @Test public void testConcatName() throws Exception { final String TEST_NAME = "testConcatName"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); BasicExpressionFunctions basic = createBasicFunctions(); assertEquals("foo bar", basic.concatName("foo","bar")); assertEquals("foo bar", basic.concatName(poly("foo"),"bar")); @@ -424,7 +424,7 @@ private PolyString poly(String s) { @Test public void testToAscii() throws Exception { final String TEST_NAME = "testToAscii"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); BasicExpressionFunctions basic = createBasicFunctions(); assertEquals("foo", basic.toAscii("foo")); assertEquals("foo", basic.toAscii(poly("foo"))); @@ -439,7 +439,7 @@ public void testToAscii() throws Exception { @Test public void testComposeDn() throws Exception { final String TEST_NAME = "testComposeDn"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); BasicExpressionFunctions basic = createBasicFunctions(); assertEquals("cn=foo,o=bar", basic.composeDn("cn","foo","o","bar")); @@ -461,7 +461,7 @@ public void testComposeDn() throws Exception { @Test public void testComposeDnWithSuffix() throws Exception { final String TEST_NAME = "testComposeDnWithSuffix"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); BasicExpressionFunctions basic = createBasicFunctions(); assertEquals("cn=foo,ou=baz,o=bar", basic.composeDnWithSuffix(new Rdn("cn","foo"),"ou=baz,o=bar")); @@ -489,7 +489,7 @@ public void testComposeDnWithSuffix() throws Exception { @Test public void testParseFullName() throws Exception { final String TEST_NAME = "testParseFullName"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); BasicExpressionFunctions basic = createBasicFunctions(); assertEquals(null, basic.parseGivenName(null)); diff --git a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/TestScriptCaching.java b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/TestScriptCaching.java index b4690549246..d63ab7aeebe 100644 --- a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/TestScriptCaching.java +++ b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/TestScriptCaching.java @@ -94,7 +94,7 @@ public void setupFactory() { @Test public void testGetExtensionPropertyValue() throws Exception { final String TEST_NAME = "testGetExtensionPropertyValue"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN InternalMonitor.reset(); diff --git a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDomain.java b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDomain.java index ef223be7ab1..42661a2a3f3 100644 --- a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDomain.java +++ b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDomain.java @@ -62,7 +62,7 @@ public void setupFactory() throws SchemaException, SAXException, IOException { @Test public void testControlReplaceSingleValue() throws Exception { final String TEST_NAME = "testControlReplaceSingleValue"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN @@ -98,7 +98,7 @@ public void testControlReplaceSingleValue() throws Exception { @Test public void testControlReplaceMultiValue() throws Exception { final String TEST_NAME = "testControlReplaceMultiValue"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN @@ -138,7 +138,7 @@ public void testControlReplaceMultiValue() throws Exception { @Test public void testReplaceMixedMultiValue() throws Exception { final String TEST_NAME = "testReplaceMixedMultiValue"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN @@ -181,7 +181,7 @@ public void testReplaceMixedMultiValue() throws Exception { @Test public void testAddMixedMultiValue() throws Exception { final String TEST_NAME = "testAddMixedMultiValue"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN @@ -224,7 +224,7 @@ public void testAddMixedMultiValue() throws Exception { @Test public void testDeleteMixedMultiValue() throws Exception { final String TEST_NAME = "testDeleteMixedMultiValue"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN diff --git a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSimple.java b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSimple.java index 10d294e4d22..f46334f6f83 100644 --- a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSimple.java +++ b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSimple.java @@ -652,7 +652,7 @@ public void testScriptExtraVariablesRef() throws Exception { public void testScriptExtraVariablesJaxb() throws Exception { // GIVEN final String TEST_NAME = "testScriptExtraVariablesJaxb"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Mapping.Builder,PrismPropertyDefinition> builder = evaluator.createMappingBuilder("mapping-script-extra-variables.xml", TEST_NAME, "employeeType", null); @@ -695,7 +695,7 @@ public void testScriptFullNameNoChange() throws Exception { @Test public void testScriptFullNameReplaceGivenName() throws Exception { final String TEST_NAME = "testScriptFullNameReplaceGivenName"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN PrismValueDeltaSetTriple> outputTriple = evaluator.evaluateMappingDynamicReplace( "mapping-script-fullname.xml", @@ -714,7 +714,7 @@ public void testScriptFullNameReplaceGivenName() throws Exception { @Test public void testScriptFullNameDeleteGivenName() throws Exception { final String TEST_NAME = "testScriptFullNameDeleteGivenName"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDelta delta = ObjectDelta.createModificationDeleteProperty(UserType.class, evaluator.USER_OLD_OID, @@ -742,7 +742,7 @@ public void testScriptFullNameDeleteGivenName() throws Exception { @Test public void testScriptFullNameDeleteGivenNameFromNull() throws Exception { final String TEST_NAME = "testScriptFullNameDeleteGivenNameFromNull"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDelta delta = ObjectDelta.createModificationDeleteProperty(UserType.class, evaluator.USER_OLD_OID, @@ -773,7 +773,7 @@ public void testScriptFullNameDeleteGivenNameFromNull() throws Exception { @Test public void testScriptFullNameDeleteGivenNameFamilyName() throws Exception { final String TEST_NAME = "testScriptFullNameDeleteGivenNameFamilyName"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDelta delta = ObjectDelta.createModificationDeleteProperty(UserType.class, evaluator.USER_OLD_OID, @@ -860,7 +860,7 @@ public void testScriptCustomEnum() throws Exception { public void testScriptRootNodeRef() throws Exception { // GIVEN final String TEST_NAME = "testScriptRootNodeRef"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Mapping,PrismPropertyDefinition> mapping = evaluator.createMappingBuilder("mapping-script-root-node.xml", TEST_NAME, "locality", null) .rootNode(MiscSchemaUtil.createObjectReference( @@ -885,7 +885,7 @@ public void testScriptRootNodeRef() throws Exception { public void testScriptRootNodeJaxb() throws Exception { // GIVEN final String TEST_NAME = "testScriptRootNodeJaxb"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject user = PrismTestUtil.parseObject(new File(MidPointTestConstants.OBJECTS_DIR, "c0c010c0-d34d-b33f-f00d-111111111111.xml")); Mapping,PrismPropertyDefinition> mapping = @@ -1013,7 +1013,7 @@ public void testValueConditionFalse() throws Exception { public void testConditionNonEmptyCaptain() throws Exception { // GIVEN final String TEST_NAME = "testConditionNonEmptyCaptain"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject user = evaluator.getUserOld(); user.asObjectable().getEmployeeType().clear(); @@ -1041,7 +1041,7 @@ public void testConditionNonEmptyCaptain() throws Exception { public void testConditionNonEmptyEmpty() throws Exception { // GIVEN final String TEST_NAME = "testConditionNonEmptyEmpty"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject user = evaluator.getUserOld(); user.asObjectable().getEmployeeType().clear(); @@ -1066,7 +1066,7 @@ public void testConditionNonEmptyEmpty() throws Exception { public void testConditionNonEmptyNoValue() throws Exception { // GIVEN final String TEST_NAME = "testConditionNonEmptyNoValue"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject user = evaluator.getUserOld(); user.asObjectable().getEmployeeType().clear(); @@ -1089,7 +1089,7 @@ public void testConditionNonEmptyNoValue() throws Exception { @Test public void testScriptTransformMultiAddDelete() throws Exception { final String TEST_NAME = "testScriptTransformMultiAddDelete"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDelta delta = ObjectDelta.createEmptyModifyDelta(UserType.class, evaluator.USER_OLD_OID, evaluator.getPrismContext()); @@ -1129,7 +1129,7 @@ public void testScriptTransformMultiAddDelete() throws Exception { @Test public void testScriptTransformMultiReplace() throws Exception { final String TEST_NAME = "testScriptTransformMultiReplace"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDelta delta = ObjectDelta.createEmptyModifyDelta(UserType.class, evaluator.USER_OLD_OID, evaluator.getPrismContext()); @@ -1165,7 +1165,7 @@ public void testScriptTransformMultiReplace() throws Exception { @Test public void testInboundMapping() throws Exception{ final String TEST_NAME = "testInboundMapping"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject account = PrismTestUtil.parseObject(new File(MappingTestEvaluator.TEST_DIR + "/account-inbound-mapping.xml")); Item oldItem = account.findItem(new ItemPath(ShadowType.F_ATTRIBUTES, SchemaTestConstants.ICFS_NAME)); @@ -1188,7 +1188,7 @@ public void testInboundMapping() throws Exception{ @Test public void testGenerateDefault() throws Exception { final String TEST_NAME = "testGenerateDefault"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); final StringPolicyType stringPolicy = evaluator.getStringPolicy(); // GIVEN @@ -1258,7 +1258,7 @@ public void testGeneratePolicyNumericString() throws Exception { private void generatePolicy(final String TEST_NAME, String mappingFileName, String policyFileName, String pattern, boolean ignoreMax) throws Exception { - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // This is just for validation. The expression has to resolve reference of its own PrismObject valuePolicy = PrismTestUtil.parseObject( @@ -1343,7 +1343,7 @@ public void testGeneratePolicyNumericLong() throws Exception { private void generatePolicyNumeric(final String TEST_NAME, String mappingFileName, String policyFileName, String extensionPropName, Class clazz) throws Exception { - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // This is just for validation. The expression has to resolve reference of its own PrismObject valuePolicy = PrismTestUtil.parseObject( @@ -1400,7 +1400,7 @@ TEST_NAME, stringPolicy, new ItemPath( @Test public void testGenerateProtectedString() throws Exception { final String TEST_NAME = "testGenerateProtectedString"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Mapping,PrismPropertyDefinition> mapping = evaluator.createMapping("mapping-generate.xml", TEST_NAME, SchemaConstants.PATH_PASSWORD_VALUE, null); diff --git a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSysVar.java b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSysVar.java index 84a514d3916..8695931d34a 100644 --- a/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSysVar.java +++ b/model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSysVar.java @@ -775,7 +775,7 @@ public void testEmployeeNumberProtectedString() throws Exception { @Test public void testEmployeeTypeDeltaAreplaceB() throws Exception { final String TEST_NAME = "testEmployeeTypeDeltaAreplaceB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDelta delta = ObjectDelta.createModificationReplaceProperty(UserType.class, evaluator.USER_OLD_OID, @@ -805,7 +805,7 @@ public void testEmployeeTypeDeltaAreplaceB() throws Exception { @Test public void testEmployeeTypeDeltaNullreplaceB() throws Exception { final String TEST_NAME = "testEmployeeTypeDeltaNullreplaceB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDelta delta = ObjectDelta.createModificationReplaceProperty(UserType.class, evaluator.USER_OLD_OID, @@ -835,7 +835,7 @@ public void testEmployeeTypeDeltaNullreplaceB() throws Exception { @Test public void testEmployeeTypeDeltaBreplaceB() throws Exception { final String TEST_NAME = "testEmployeeTypeDeltaBreplaceB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDelta delta = ObjectDelta.createModificationReplaceProperty(UserType.class, evaluator.USER_OLD_OID, @@ -865,7 +865,7 @@ public void testEmployeeTypeDeltaBreplaceB() throws Exception { @Test public void testEmployeeTypeDeltaAaddB() throws Exception { final String TEST_NAME = "testEmployeeTypeDeltaAaddB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN PrismValueDeltaSetTriple> outputTriple = @@ -880,7 +880,7 @@ public void testEmployeeTypeDeltaAaddB() throws Exception { @Test public void testEmployeeTypeDeltaABaddB() throws Exception { final String TEST_NAME = "testEmployeeTypeDeltaABaddB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN PrismValueDeltaSetTriple> outputTriple = @@ -895,7 +895,7 @@ public void testEmployeeTypeDeltaABaddB() throws Exception { @Test public void testEmployeeTypeDeltaBaddB() throws Exception { final String TEST_NAME = "testEmployeeTypeDeltaBaddB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN PrismValueDeltaSetTriple> outputTriple = @@ -910,7 +910,7 @@ public void testEmployeeTypeDeltaBaddB() throws Exception { @Test public void testEmployeeTypeDeltaNulladdB() throws Exception { final String TEST_NAME = "testEmployeeTypeDeltaNulladdB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN PrismValueDeltaSetTriple> outputTriple = @@ -924,7 +924,7 @@ public void testEmployeeTypeDeltaNulladdB() throws Exception { public PrismValueDeltaSetTriple> employeeTypeDeltaABAdd( final String TEST_NAME, String addVal, String... oldVals) throws Exception { - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDelta delta = ObjectDelta.createModificationAddProperty(UserType.class, evaluator.USER_OLD_OID, @@ -958,7 +958,7 @@ private void setEmployeeType(UserType userType, String... vals) { @Test public void testEmployeeTypeDeltaBdeleteB() throws Exception { final String TEST_NAME = "testEmployeeTypeDeltaBdeleteB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN PrismValueDeltaSetTriple> outputTriple = @@ -973,7 +973,7 @@ public void testEmployeeTypeDeltaBdeleteB() throws Exception { @Test public void testEmployeeTypeDeltaABdeleteB() throws Exception { final String TEST_NAME = "testEmployeeTypeDeltaABdeleteB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN PrismValueDeltaSetTriple> outputTriple = @@ -988,7 +988,7 @@ public void testEmployeeTypeDeltaABdeleteB() throws Exception { @Test public void testEmployeeTypeDeltaAdeleteB() throws Exception { final String TEST_NAME = "testEmployeeTypeDeltaAdeleteB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN PrismValueDeltaSetTriple> outputTriple = @@ -1003,7 +1003,7 @@ public void testEmployeeTypeDeltaAdeleteB() throws Exception { @Test public void testEmployeeTypeDeltaNulldeleteB() throws Exception { final String TEST_NAME = "testEmployeeTypeDeltaNulldeleteB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN PrismValueDeltaSetTriple> outputTriple = @@ -1016,7 +1016,7 @@ public void testEmployeeTypeDeltaNulldeleteB() throws Exception { } public PrismValueDeltaSetTriple> employeeTypeDeltaDelete(final String TEST_NAME, String delVal, String... oldVals) throws Exception { - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDelta delta = ObjectDelta.createModificationDeleteProperty(UserType.class, evaluator.USER_OLD_OID, diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/TestRefinedSchema.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/TestRefinedSchema.java index ca05a3c3deb..c46aae06dae 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/TestRefinedSchema.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/TestRefinedSchema.java @@ -78,7 +78,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // WHEN refinedSchema = RefinedResourceSchemaImpl.getRefinedSchema(getDummyResourceType(), prismContext); @@ -92,7 +92,7 @@ public void test000Sanity() throws Exception { @Test public void test010SanityModel() throws Exception { final String TEST_NAME = "test010SanityModel"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // WHEN refinedSchemaModel = RefinedResourceSchemaImpl.getRefinedSchema(getDummyResourceType(), LayerType.MODEL, prismContext); @@ -109,7 +109,7 @@ public void test010SanityModel() throws Exception { @Test public void test100EntitlementRefinedObjectClasses() throws Exception { final String TEST_NAME = "test100EntitlementRefinedObjectClasses"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // WHEN Collection entitlementROcDefs = refinedSchema.getRefinedDefinitions(ShadowKindType.ENTITLEMENT); @@ -128,7 +128,7 @@ public void test100EntitlementRefinedObjectClasses() throws Exception { @Test public void test101EntitlementRefinedObjectClassesModel() throws Exception { final String TEST_NAME = "test101EntitlementRefinedObjectClassesModel"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // WHEN Collection entitlementROcDefs = refinedSchemaModel.getRefinedDefinitions(ShadowKindType.ENTITLEMENT); @@ -147,7 +147,7 @@ public void test101EntitlementRefinedObjectClassesModel() throws Exception { @Test public void test110DetermineObjectClassObjectClass() throws Exception { final String TEST_NAME = "test110DetermineObjectClassObjectClass"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(TestRefinedSchema.class.getName() + "." + TEST_NAME); @@ -170,7 +170,7 @@ public void test110DetermineObjectClassObjectClass() throws Exception { @Test public void test112DetermineObjectClassKindIntent() throws Exception { final String TEST_NAME = "test112DetermineObjectClassKindIntent"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(TestRefinedSchema.class.getName() + "." + TEST_NAME); @@ -193,7 +193,7 @@ public void test112DetermineObjectClassKindIntent() throws Exception { @Test public void test114DetermineObjectClassKindIntentObjectClass() throws Exception { final String TEST_NAME = "test114DetermineObjectClassKindIntentObjectClass"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(TestRefinedSchema.class.getName() + "." + TEST_NAME); @@ -216,7 +216,7 @@ public void test114DetermineObjectClassKindIntentObjectClass() throws Exception @Test public void test120DetermineObjectClassObjectClassModel() throws Exception { final String TEST_NAME = "test120DetermineObjectClassObjectClassModel"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(TestRefinedSchema.class.getName() + "." + TEST_NAME); @@ -240,7 +240,7 @@ public void test120DetermineObjectClassObjectClassModel() throws Exception { @Test public void test122DetermineObjectClassKindIntentModel() throws Exception { final String TEST_NAME = "test122DetermineObjectClassKindIntentModel"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(TestRefinedSchema.class.getName() + "." + TEST_NAME); @@ -265,7 +265,7 @@ public void test122DetermineObjectClassKindIntentModel() throws Exception { @Test public void test124DetermineObjectClassKindIntentObjectClassModel() throws Exception { final String TEST_NAME = "test124DetermineObjectClassKindIntentObjectClassModel"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(TestRefinedSchema.class.getName() + "." + TEST_NAME); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/controller/ControllerAddObjectTest.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/controller/ControllerAddObjectTest.java index 41106952fa3..8d718cf30ca 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/controller/ControllerAddObjectTest.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/controller/ControllerAddObjectTest.java @@ -109,20 +109,20 @@ public void before() { @Test(expectedExceptions = IllegalArgumentException.class) public void nullObject() throws Exception { - TestUtil.displayTestTile("nullObject"); + TestUtil.displayTestTitle("nullObject"); controller.addObject(null, null, taskManager.createTaskInstance(), new OperationResult("Test Operation")); } @Test(expectedExceptions = IllegalArgumentException.class) public void nullResult() throws Exception { - TestUtil.displayTestTile("nullResult"); + TestUtil.displayTestTitle("nullResult"); controller.addObject(new UserType().asPrismObject(), null, taskManager.createTaskInstance(), null); } @Test(expectedExceptions = NoFocusNameSchemaException.class) @SuppressWarnings("unchecked") public void addUserWithoutName() throws Exception { - TestUtil.displayTestTile("addUserWithoutName"); + TestUtil.displayTestTitle("addUserWithoutName"); final UserType expectedUser = (UserType) PrismTestUtil.parseObject(new File(TEST_FOLDER, "add-user-without-name.xml")).asObjectable(); @@ -140,7 +140,7 @@ public void addUserWithoutName() throws Exception { // @Test @SuppressWarnings("unchecked") public void addUserCorrect() throws Exception { - TestUtil.displayTestTile("addUserCorrect"); + TestUtil.displayTestTitle("addUserCorrect"); // GIVEN Task task = taskManager.createTaskInstance(); @@ -184,7 +184,7 @@ public String answer(InvocationOnMock invocation) throws Throwable { public void addResourceCorrect() throws JAXBException, FaultMessage, ObjectAlreadyExistsException, SchemaException, CommunicationException, ObjectNotFoundException, ExpressionEvaluationException, IOException, ConfigurationException, PolicyViolationException, SecurityViolationException { - TestUtil.displayTestTile("addResourceCorrect"); + TestUtil.displayTestTitle("addResourceCorrect"); Task task = taskManager.createTaskInstance(); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/TestFilterExpression.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/TestFilterExpression.java index f1434d6ec77..f7b52bbff42 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/TestFilterExpression.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/TestFilterExpression.java @@ -91,7 +91,7 @@ public void setup() throws SchemaException, SAXException, IOException { @Test public void test100EvaluateExpressionEmployeeTypeUndefinedFilter() throws Exception { final String TEST_NAME = "testEvaluateExpressionEmployeeTypeUndefinedFilter"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME); @@ -106,7 +106,7 @@ public void test100EvaluateExpressionEmployeeTypeUndefinedFilter() throws Except @Test public void test110EvaluateExpressionEmployeeTypeNoneFilter() throws Exception { final String TEST_NAME = "testEvaluateExpressionEmployeeTypeNoneFilter"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME); @@ -121,7 +121,7 @@ public void test110EvaluateExpressionEmployeeTypeNoneFilter() throws Exception { @Test public void test120EvaluateExpressionEmployeeTypeAllFilter() throws Exception { final String TEST_NAME = "testEvaluateExpressionEmployeeTypeAllFilter"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME); @@ -136,7 +136,7 @@ public void test120EvaluateExpressionEmployeeTypeAllFilter() throws Exception { @Test public void test130EvaluateExpressionEmployeeTypeError() throws Exception { final String TEST_NAME = "testEvaluateExpressionEmployeeTypeError"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME); @@ -156,7 +156,7 @@ public void test130EvaluateExpressionEmployeeTypeError() throws Exception { @Test public void test140EvaluateExpressionEmployeeTypeEmptyFilter() throws Exception { final String TEST_NAME = "testEvaluateExpressionEmployeeTypeEmptyFilter"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME); @@ -174,7 +174,7 @@ public void test140EvaluateExpressionEmployeeTypeEmptyFilter() throws Exception @Test public void test150EvaluateExpressionEmployeeTypeDefaultsNull() throws Exception { final String TEST_NAME = "test150EvaluateExpressionEmployeeTypeDefaultsNull"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME); @@ -193,7 +193,7 @@ public void test150EvaluateExpressionEmployeeTypeDefaultsNull() throws Exception @Test public void test152EvaluateExpressionEmployeeTypeDefaultsCaptain() throws Exception { final String TEST_NAME = "test152EvaluateExpressionEmployeeTypeDefaultsCaptain"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME); @@ -212,7 +212,7 @@ public void test152EvaluateExpressionEmployeeTypeDefaultsCaptain() throws Except @Test public void test200EvaluateExpressionLinkRefDefaultsNull() throws Exception { final String TEST_NAME = "test200EvaluateExpressionLinkRefDefaultsNull"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME); @@ -230,7 +230,7 @@ public void test200EvaluateExpressionLinkRefDefaultsNull() throws Exception { @Test public void test202EvaluateExpressionLinkRefObjectReferenceTypeDefaultsNull() throws Exception { final String TEST_NAME = "test202EvaluateExpressionLinkRefObjectReferenceTypeDefaultsNull"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME); @@ -248,7 +248,7 @@ public void test202EvaluateExpressionLinkRefObjectReferenceTypeDefaultsNull() th @Test public void test210EvaluateExpressionLinkRefDefaultsVal() throws Exception { final String TEST_NAME = "test210EvaluateExpressionLinkRefDefaultsVal"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME); @@ -266,7 +266,7 @@ public void test210EvaluateExpressionLinkRefDefaultsVal() throws Exception { @Test public void test212EvaluateExpressionLinkRefObjectReferenceTypeDefaultsVal() throws Exception { final String TEST_NAME = "test212EvaluateExpressionLinkRefObjectReferenceTypeDefaultsVal"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestFilterExpression.class.getName() + "." + TEST_NAME); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/TestModelExpressions.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/TestModelExpressions.java index 82b6f06a912..4e0ca16eeca 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/TestModelExpressions.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/TestModelExpressions.java @@ -112,7 +112,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void testHello() throws Exception { final String TEST_NAME = "testHello"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); assertExecuteScriptExpressionString(TEST_NAME, null, "Hello swashbuckler"); } @@ -126,7 +126,7 @@ private ScriptExpressionEvaluatorType parseScriptType(String fileName) throws Sc @Test public void testGetUserByOid() throws Exception { final String TEST_NAME = "testGetUserByOid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestModelExpressions.class.getName() + "." + TEST_NAME); @@ -141,7 +141,7 @@ public void testGetUserByOid() throws Exception { @Test public void testGetManagersOids() throws Exception { final String TEST_NAME = "testGetManagersOids"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestModelExpressions.class.getName() + "." + TEST_NAME); @@ -174,7 +174,7 @@ public void testGetManagersOids() throws Exception { @Test public void testIsUniquePropertyValue() throws Exception { final String TEST_NAME = "testIsUniquePropertyValue"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestModelExpressions.class.getName() + "." + TEST_NAME); @@ -201,14 +201,14 @@ public void testIsUniquePropertyValue() throws Exception { @Test public void testGetOrgByName() throws Exception { final String TEST_NAME = "testGetOrgByName"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); assertExecuteScriptExpressionString(TEST_NAME, null, F0006_OID); } @Test public void testGetLinkedShadowName() throws Exception { final String TEST_NAME = "testGetLinkedShadowName"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); @@ -222,7 +222,7 @@ public void testGetLinkedShadowName() throws Exception { @Test public void testGetLinkedShadowKindIntentUsername() throws Exception { final String TEST_NAME = "testGetLinkedShadowKindIntentUsername"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); @@ -236,7 +236,7 @@ public void testGetLinkedShadowKindIntentUsername() throws Exception { @Test public void testGetLinkedShadowKindIntentFullname() throws Exception { final String TEST_NAME = "testGetLinkedShadowKindIntentFullname"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); @@ -250,7 +250,7 @@ public void testGetLinkedShadowKindIntentFullname() throws Exception { @Test public void testGetLinkedShadowNameRepo() throws Exception { final String TEST_NAME = "testGetLinkedShadowNameRepo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); @@ -264,7 +264,7 @@ public void testGetLinkedShadowNameRepo() throws Exception { @Test public void testGetLinkedShadowKindIntentUsernameRepo() throws Exception { final String TEST_NAME = "testGetLinkedShadowKindIntentUsernameRepo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); @@ -278,7 +278,7 @@ public void testGetLinkedShadowKindIntentUsernameRepo() throws Exception { @Test public void testGetLinkedShadowKindIntentFullnameRepo() throws Exception { final String TEST_NAME = "testGetLinkedShadowKindIntentFullnameRepo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAbstractAssignmentEvaluator.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAbstractAssignmentEvaluator.java index 57c62952ce7..bc5e3b4d2ac 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAbstractAssignmentEvaluator.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAbstractAssignmentEvaluator.java @@ -114,7 +114,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100Direct() throws Exception { final String TEST_NAME = "test100Direct"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -156,7 +156,7 @@ public void test100Direct() throws Exception { @Test public void test110DirectExpression() throws Exception { final String TEST_NAME = "test110DirectExpression"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -197,7 +197,7 @@ public void test110DirectExpression() throws Exception { @Test public void test120DirectExpressionReplaceDescription() throws Exception { final String TEST_NAME = "test120DirectExpressionReplaceDescription"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -260,7 +260,7 @@ public void test120DirectExpressionReplaceDescription() throws Exception { @Test public void test130DirectExpressionReplaceDescriptionFromNull() throws Exception { final String TEST_NAME = "test130DirectExpressionReplaceDescriptionFromNull"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -352,7 +352,7 @@ Explanation for roles structure (copied from role-corp-generic-metarole.xml) @Test public void test140RoleVisitor() throws Exception { final String TEST_NAME = "test140RoleVisitor"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -401,7 +401,7 @@ public void test140RoleVisitor() throws Exception { @Test public void test142RoleVisitorDisabledAssignment() throws Exception { final String TEST_NAME = "test142RoleVisitorDisabledAssignment"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -451,7 +451,7 @@ public void test142RoleVisitorDisabledAssignment() throws Exception { @Test public void test150RoleEngineer() throws Exception { final String TEST_NAME = "test150RoleEngineer"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -501,7 +501,7 @@ public void test150RoleEngineer() throws Exception { @Test public void test160AddRoleEngineer() throws Exception { final String TEST_NAME = "test160AddRoleEngineer"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -574,7 +574,7 @@ public void test160AddRoleEngineer() throws Exception { @Test public void test170RoleManagerChangeCostCenter() throws Exception { final String TEST_NAME = "test170RoleManagerChangeCostCenter"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -639,7 +639,7 @@ public void test170RoleManagerChangeCostCenter() throws Exception { @Test public void test180RoleManagerRemoveCostCenter() throws Exception { final String TEST_NAME = "test180RoleManagerRemoveCostCenter"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -701,7 +701,7 @@ public void test180RoleManagerRemoveCostCenter() throws Exception { @Test(enabled = false) public void test200DisableEngineerEmployeeInducement() throws Exception { final String TEST_NAME = "test200DisableEngineerEmployeeInducement"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -761,7 +761,7 @@ public void test200DisableEngineerEmployeeInducement() throws Exception { @Test(enabled = false) public void test299ReenableEngineerEmployeeInducement() throws Exception { final String TEST_NAME = "test299ReenableEngineerEmployeeInducement"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -782,7 +782,7 @@ public void test299ReenableEngineerEmployeeInducement() throws Exception { @Test public void test300DisableRoleEmployee() throws Exception { final String TEST_NAME = "test300DisableRoleEmployee"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); @@ -840,7 +840,7 @@ public void test300DisableRoleEmployee() throws Exception { @Test public void test310DisableRoleEngineer() throws Exception { final String TEST_NAME = "test310DisableRoleEngineer"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentEvaluator.class.getName() + "." + TEST_NAME); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAssignmentProcessor.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAssignmentProcessor.java index 89331b195f4..92825171d95 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAssignmentProcessor.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAssignmentProcessor.java @@ -82,7 +82,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test001OutboundEmpty() throws Exception { final String TEST_NAME = "test001OutboundEmpty"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -107,7 +107,7 @@ public void test001OutboundEmpty() throws Exception { @Test public void test002ModifyUser() throws Exception { final String TEST_NAME = "test002ModifyUser"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -170,7 +170,7 @@ public void test002ModifyUser() throws Exception { @Test public void test011AddAssignmentAddAccountDirect() throws Exception { final String TEST_NAME = "test011AddAssignmentAddAccountDirect"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -212,7 +212,7 @@ public void test011AddAssignmentAddAccountDirect() throws Exception { @Test public void test012AddAssignmentAddAccountDirectAssignmentWithAttrs() throws Exception { final String TEST_NAME = "test012AddAssignmentAddAccountDirectAssignmentWithAttrs"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -283,7 +283,7 @@ public void test012AddAssignmentAddAccountDirectAssignmentWithAttrs() throws Exc @Test public void test021AddAssignmentModifyAccountAssignment() throws Exception { final String TEST_NAME = "test021AddAssignmentModifyAccountAssignment"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -377,7 +377,7 @@ public void test021AddAssignmentModifyAccountAssignment() throws Exception { @Test public void test031DeleteAssignmentModifyAccount() throws Exception { final String TEST_NAME = "test031DeleteAssignmentModifyAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -463,7 +463,7 @@ public void test031DeleteAssignmentModifyAccount() throws Exception { @Test public void test032ModifyUserLegalizeAccount() throws Exception { final String TEST_NAME = "test032ModifyUserLegalizeAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -510,7 +510,7 @@ public void test032ModifyUserLegalizeAccount() throws Exception { @Test public void test100AddAssignmentWithConditionalMetarole() throws Exception { final String TEST_NAME = "test100AddAssignmentWithConditionalMetarole"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -575,7 +575,7 @@ public void test100AddAssignmentWithConditionalMetarole() throws Exception { @Test public void test102EnableConditionalMetarole() throws Exception { final String TEST_NAME = "test102EnableConditionalMetarole"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -659,7 +659,7 @@ public void test102EnableConditionalMetarole() throws Exception { @Test public void test200AssignVisitor() throws Exception { final String TEST_NAME = "test200AssignVisitor"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -714,7 +714,7 @@ public void test200AssignVisitor() throws Exception { @Test public void test210AssignEngineer() throws Exception { final String TEST_NAME = "test210AssignEngineer"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAssignmentProcessor2.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAssignmentProcessor2.java index 831d87ab297..90e397ecf33 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAssignmentProcessor2.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAssignmentProcessor2.java @@ -159,7 +159,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test(enabled = FIRST_PART) public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assertEquals("Wrong default relation", SchemaConstants.ORG_DEFAULT, prismContext.getDefaultRelation()); } @@ -167,7 +167,7 @@ public void test000Sanity() throws Exception { @Test(enabled = FIRST_PART) public void test010AssignR1ToJack() throws Exception { final String TEST_NAME = "test010AssignR1ToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -212,7 +212,7 @@ public void test010AssignR1ToJack() throws Exception { @Test(enabled = FIRST_PART) public void test020AssignMR1ToR1() throws Exception { final String TEST_NAME = "test020AssignMR1ToR1"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -261,7 +261,7 @@ public void test020AssignMR1ToR1() throws Exception { @Test(enabled = FIRST_PART) public void test030AssignR1ToJackProjectorDisabled() throws Exception { final String TEST_NAME = "test030AssignR1ToJackProjectorDisabled"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -293,7 +293,7 @@ public void test030AssignR1ToJackProjectorDisabled() throws Exception { @Test(enabled = FIRST_PART) public void test040AssignR1ToJackAsApprover() throws Exception { final String TEST_NAME = "test040AssignR1ToJackAsApprover"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -350,7 +350,7 @@ public void test040AssignR1ToJackAsApprover() throws Exception { @Test(enabled = FIRST_PART) public void test050JackDeputyOfBarbossa() throws Exception { final String TEST_NAME = "test050JackDeputyOfBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -433,7 +433,7 @@ public void test050JackDeputyOfBarbossa() throws Exception { @Test(enabled = FIRST_PART) public void test060JackDeputyOfGuybrushDeputyOfBarbossa() throws Exception { final String TEST_NAME = "test060JackDeputyOfGuybrushDeputyOfBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -517,7 +517,7 @@ public void test060JackDeputyOfGuybrushDeputyOfBarbossa() throws Exception { @Test(enabled = FIRST_PART) public void test070JackDeputyOfBarbossaApproverOfR1() throws Exception { final String TEST_NAME = "test070JackDeputyOfBarbossaApproverOfR1"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -597,7 +597,7 @@ public void test070JackDeputyOfBarbossaApproverOfR1() throws Exception { @Test(enabled = FIRST_PART) public void test100DisableSomeRoles() throws Exception { final String TEST_NAME = "test100DisableSomeRoles"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -614,7 +614,7 @@ public void test100DisableSomeRoles() throws Exception { @Test(enabled = FIRST_PART) public void test110AssignR1ToJack() throws Exception { final String TEST_NAME = "test010AssignR1ToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -675,7 +675,7 @@ public void test110AssignR1ToJack() throws Exception { @Test(enabled = FIRST_PART) public void test150DisableSomeAssignments() throws Exception { final String TEST_NAME = "test150DisableSomeAssignments"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -690,7 +690,7 @@ public void test150DisableSomeAssignments() throws Exception { @Test(enabled = FIRST_PART) public void test160AssignR1ToJack() throws Exception { final String TEST_NAME = "test160AssignR1ToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -751,7 +751,7 @@ public void test160AssignR1ToJack() throws Exception { @Test(enabled = FIRST_PART) public void test200AddConditions() throws Exception { final String TEST_NAME = "test200AddConditions"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -772,7 +772,7 @@ public void test200AddConditions() throws Exception { @Test(enabled = FIRST_PART) public void test210AssignR1ToJack() throws Exception { final String TEST_NAME = "test210AssignR1ToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -838,7 +838,7 @@ public void test210AssignR1ToJack() throws Exception { @Test(enabled = SECOND_PART) public void test300AssignR7ToJack() throws Exception { final String TEST_NAME = "test300AssignR7ToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -981,7 +981,7 @@ public void test300AssignR7ToJack() throws Exception { @Test(enabled = THIRD_PART) public void test400AssignJackPirate() throws Exception { final String TEST_NAME = "test400AssignJackPirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -1443,7 +1443,7 @@ public static void finishCallback(String desc) { @Test(enabled = FOURTH_PART) public void test500AssignJackOrg11() throws Exception { final String TEST_NAME = "test500AssignJackOrg11"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -1504,7 +1504,7 @@ public void test500AssignJackOrg11() throws Exception { @Test(enabled = FOURTH_PART) public void test505AssignJackOrg11AsManager() throws Exception { final String TEST_NAME = "test505AssignJackOrg11AsManager"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -1562,7 +1562,7 @@ public void test505AssignJackOrg11AsManager() throws Exception { @Test(enabled = FOURTH_PART) public void test507AssignJackOrg11AsApprover() throws Exception { final String TEST_NAME = "test507AssignJackOrg11AsApprover"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -1619,7 +1619,7 @@ public void test507AssignJackOrg11AsApprover() throws Exception { @Test(enabled = FOURTH_PART) public void test510AssignJackOrg21() throws Exception { final String TEST_NAME = "test510AssignJackOrg21"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -1675,7 +1675,7 @@ public void test510AssignJackOrg21() throws Exception { @Test(enabled = FOURTH_PART) public void test515AssignJackOrg21AsManager() throws Exception { final String TEST_NAME = "test515AssignJackOrg21AsManager"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -1745,7 +1745,7 @@ public void test515AssignJackOrg21AsManager() throws Exception { @Test(enabled = FOURTH_PART) public void test520AssignJackOrg41AsApprover() throws Exception { final String TEST_NAME = "test520AssignJackOrg41AsApprover"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); @@ -1812,7 +1812,7 @@ public void test520AssignJackOrg41AsApprover() throws Exception { @Test(enabled = FIFTH_PART) public void test600AssignA1ToJack() throws Exception { final String TEST_NAME = "test600AssignA1ToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentProcessor.class.getName() + "." + TEST_NAME); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestClockwork.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestClockwork.java index 2600395e077..6b8f185fb1c 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestClockwork.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestClockwork.java @@ -106,7 +106,7 @@ public void initSystem(Task initTask, OperationResult initResult) @Test(enabled = true) public void test010SerializeAddUserBarbossa() throws Exception { final String TEST_NAME = "test010SerializeAddUserBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestClockwork.class.getName() + "." + TEST_NAME); @@ -143,7 +143,7 @@ public void test010SerializeAddUserBarbossa() throws Exception { @Test public void test020AssignAccountToJackSync() throws Exception { final String TEST_NAME = "test020AssignAccountToJackSync"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); try { @@ -222,7 +222,7 @@ public void test031AssignAccountToJackAsyncSerialize() throws Exception { @Test public void test053ModifyUserBarbossaDisable() throws Exception { final String TEST_NAME = "test053ModifyUserBarbossaDisable"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -283,7 +283,7 @@ public void test053ModifyUserBarbossaDisable() throws Exception { } private void assignAccountToJackAsync(String testName, boolean serialize) throws Exception { - displayTestTile(testName); + displayTestTitle(testName); // GIVEN Task task = createTask(testName); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestDependencies.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestDependencies.java index 142c836b1ba..7ace0e93568 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestDependencies.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestDependencies.java @@ -122,7 +122,7 @@ private String getDummuAccountOid(String dummyName, String accountName) { @Test public void test100SortToWavesIdependent() throws Exception { final String TEST_NAME = "test100SortToWavesIdependent"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDependencies.class.getName() + "." + TEST_NAME); @@ -151,7 +151,7 @@ public void test100SortToWavesIdependent() throws Exception { @Test public void test101SortToWavesAB() throws Exception { final String TEST_NAME = "test101SortToWavesAB"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDependencies.class.getName() + "." + TEST_NAME); @@ -182,7 +182,7 @@ public void test101SortToWavesAB() throws Exception { @Test public void test102SortToWavesABCD() throws Exception { final String TEST_NAME = "test102SortToWavesABCD"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDependencies.class.getName() + "." + TEST_NAME); @@ -217,7 +217,7 @@ public void test102SortToWavesABCD() throws Exception { @Test public void test120SortToWavesBCUnsatisfied() throws Exception { final String TEST_NAME = "test120SortToWavesBCUnsatisfied"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDependencies.class.getName() + "." + TEST_NAME); @@ -248,7 +248,7 @@ public void test120SortToWavesBCUnsatisfied() throws Exception { @Test public void test151SortToWavesPR() throws Exception { final String TEST_NAME = "test151SortToWavesPR"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDependencies.class.getName() + "." + TEST_NAME); @@ -282,7 +282,7 @@ public void test151SortToWavesPR() throws Exception { @Test public void test152SortToWavesRP() throws Exception { final String TEST_NAME = "test152SortToWavesRP"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDependencies.class.getName() + "." + TEST_NAME); @@ -312,7 +312,7 @@ public void test152SortToWavesRP() throws Exception { @Test public void test200SortToWavesIdependentDeprovision() throws Exception { final String TEST_NAME = "test200SortToWavesIdependentDeprovision"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDependencies.class.getName() + "." + TEST_NAME); @@ -342,7 +342,7 @@ public void test200SortToWavesIdependentDeprovision() throws Exception { @Test public void test201SortToWavesABDeprovision() throws Exception { final String TEST_NAME = "test201SortToWavesABDeprovision"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDependencies.class.getName() + "." + TEST_NAME); @@ -374,7 +374,7 @@ public void test201SortToWavesABDeprovision() throws Exception { @Test public void test202SortToWavesABCDDeprovision() throws Exception { final String TEST_NAME = "test202SortToWavesABCDDeprovision"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDependencies.class.getName() + "." + TEST_NAME); @@ -414,7 +414,7 @@ private void setDelete(LensProjectionContext accountContext) { @Test public void test300SortToWavesXYZCircular() throws Exception { final String TEST_NAME = "test300SortToWavesXYZCircular"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDependencies.class.getName() + "." + TEST_NAME); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPasswordPolicy.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPasswordPolicy.java index 1883c731007..105635386b2 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPasswordPolicy.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPasswordPolicy.java @@ -91,7 +91,7 @@ public void stringPolicyUtilsMinimalTest() throws JAXBException, SchemaException @Test public void stringPolicyUtilsComplexTest() { final String TEST_NAME = "stringPolicyUtilsComplexTest"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); File file = new File(TEST_DIR, "password-policy-complex.xml"); ValuePolicyType pp = null; @@ -108,7 +108,7 @@ public void stringPolicyUtilsComplexTest() { @Test public void testPasswordGeneratorComplexNegative() throws Exception { final String TEST_NAME = "testPasswordGeneratorComplexNegative"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -168,7 +168,7 @@ public void testValueGeneratorMustBeFirst() throws Exception { @Test public void testValueGenerateRandomPin() throws Exception { final String TEST_NAME = "testValueGenerateRandomPin"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -192,7 +192,7 @@ public void testValueGenerateRandomPin() throws Exception { @Test public void testValueGenerate() throws Exception { final String TEST_NAME = "testValueGenerate"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -216,7 +216,7 @@ public void testValueGenerate() throws Exception { @Test public void testValueGenerateEmpty() throws Exception { final String TEST_NAME = "testValueGenerateEmpty"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -239,7 +239,7 @@ public void testValueGenerateEmpty() throws Exception { } public void passwordGeneratorTest(final String TEST_NAME, String policyFilename) throws JAXBException, SchemaException, IOException, ExpressionEvaluationException, ObjectNotFoundException { - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -295,7 +295,7 @@ private void assertPassword(String passwd, ValuePolicyTyp @Test public void passwordValidationTestComplex() throws Exception { final String TEST_NAME = "passwordValidationTestComplex"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); ValuePolicyType pp = parsePasswordPolicy("password-policy-complex.xml"); @@ -309,7 +309,7 @@ public void passwordValidationTestComplex() throws Exception { @Test public void passwordValidationTestTri() throws Exception { final String TEST_NAME = "passwordValidationTestTri"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); ValuePolicyType pp = parsePasswordPolicy("password-policy-tri.xml"); @@ -328,7 +328,7 @@ public void passwordValidationTestTri() throws Exception { @Test public void testUsername() throws Exception { final String TEST_NAME = "testUsername"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject user = createUserAb(); ValuePolicyType pp = parsePasswordPolicy("password-policy-username.xml"); @@ -361,7 +361,7 @@ public void testUsername() throws Exception { @Test public void testUserProps() throws Exception { final String TEST_NAME = "testUserProps"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject user = createUserAb(); display("User", user); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPasswordPolicyProcessor.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPasswordPolicyProcessor.java index a8c55a16a8f..7d5704c54d8 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPasswordPolicyProcessor.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPasswordPolicyProcessor.java @@ -91,7 +91,7 @@ public void test000initPasswordPolicyForHistory() throws Exception { @Test public void test100CreateUserWithPassword() throws Exception { final String TEST_NAME = "test100CreateUserWithPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN addObject(USER_JACK_FILE); @@ -105,7 +105,7 @@ public void test100CreateUserWithPassword() throws Exception { @Test public void test101ModifyUserPassword() throws Exception { final String TEST_NAME = "test101ModifyUserPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -134,7 +134,7 @@ public void test101ModifyUserPassword() throws Exception { @Test public void test102ModifyUserPassword() throws Exception { final String TEST_NAME = "test102ModifyUserPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TEST_NAME); OperationResult result = task.getResult(); @@ -163,7 +163,7 @@ public void test102ModifyUserPassword() throws Exception { @Test public void test103ModifyUserPasswordAgain() throws Exception { final String TEST_NAME = "test103ModifyUserPasswordAgain"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -207,7 +207,7 @@ public void test113ModifyUserPasswordSamePassword3() throws Exception { public void doTestModifyUserPasswordExpectFailure(final String TEST_NAME, String password) throws Exception { Task task = taskManager.createTaskInstance(TEST_NAME); - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = task.getResult(); try { @@ -232,7 +232,7 @@ public void test200initNoHistoryPasswordPolicy() throws Exception { @Test public void test201deleteUserJack() throws Exception { final String TEST_NAME = "test201deleteUserJack"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN deleteObject(UserType.class, USER_JACK_OID); @@ -249,7 +249,7 @@ public void test201deleteUserJack() throws Exception { @Test public void test202createUserJackNoPasswordHistory() throws Exception { final String TEST_NAME = "test202createUserJackNoPasswordHistory"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN addObject(USER_JACK_FILE); @@ -286,7 +286,7 @@ public void test204modifyUserJackSamePasswordNoPasswordHistory() throws Exceptio } private void modifyUserJackPasswordNoHistory(String TEST_NAME) throws Exception{ - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyMetadata.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyMetadata.java index cfebc521251..0952ae12fd9 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyMetadata.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyMetadata.java @@ -70,7 +70,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100JackAssignRoleJudge() throws Exception { final String TEST_NAME = "test100JackAssignRoleJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyMetadata.class.getName() + "." + TEST_NAME); @@ -97,7 +97,7 @@ public void test100JackAssignRoleJudge() throws Exception { @Test public void test110JackAssignRolePirate() throws Exception { final String TEST_NAME = "test110JackAssignRolePirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyMetadata.class.getName() + "." + TEST_NAME); @@ -127,7 +127,7 @@ public void test110JackAssignRolePirate() throws Exception { @Test public void test120RecomputeJack() throws Exception { final String TEST_NAME = "test120RecomputeJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyMetadata.class.getName() + "." + TEST_NAME); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyRules.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyRules.java index 808989ea7b7..2e5a44c7768 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyRules.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyRules.java @@ -81,7 +81,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test005JackAttemptAssignRoleJudge() throws Exception { final String TEST_NAME = "test005JackAttemptAssignRoleJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); @@ -114,7 +114,7 @@ public void test005JackAttemptAssignRoleJudge() throws Exception { @Test(enabled = false) public void test007JackAttemptAssignRoleJudgeAsOwner() throws Exception { final String TEST_NAME = "test007JackAttemptAssignRoleJudgeAsOwner"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); @@ -153,7 +153,7 @@ public void test007JackAttemptAssignRoleJudgeAsOwner() throws Exception { @Test public void test010JackAssignRoleJudge() throws Exception { final String TEST_NAME = "test010JackAssignRoleJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); @@ -179,7 +179,7 @@ public void test010JackAssignRoleJudge() throws Exception { @Test public void test020JackUnassignRoleJudge() throws Exception { final String TEST_NAME = "test020JackUnassignRoleJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); @@ -216,7 +216,7 @@ public void test020JackUnassignRoleJudge() throws Exception { @Test public void test100AssignRoleMutinierToJack() throws Exception { final String TEST_NAME = "test100AssignRoleMutinierToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); @@ -255,7 +255,7 @@ public void test100AssignRoleMutinierToJack() throws Exception { @Test public void test110AssignRolePirateToJack() throws Exception { final String TEST_NAME = "test110AssignRolePirateToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); @@ -299,7 +299,7 @@ public void test110AssignRolePirateToJack() throws Exception { @Test public void test112AssignRolePirateWithExceptionToJack() throws Exception { final String TEST_NAME = "test112AssignRolePirateWithExceptionToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); @@ -349,7 +349,7 @@ public void test112AssignRolePirateWithExceptionToJack() throws Exception { @Test public void test120AssignRoleConstableToJack() throws Exception { final String TEST_NAME = "test120AssignRoleConstableToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); @@ -410,7 +410,7 @@ public void test120AssignRoleConstableToJack() throws Exception { @Test public void test150AssignRoleThiefToJack() throws Exception { final String TEST_NAME = "test150AssignRoleThiefToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); @@ -459,7 +459,7 @@ public void test150AssignRoleThiefToJack() throws Exception { @Test public void test200JackAssignRoleContractor() throws Exception { final String TEST_NAME = "test200JackAssignRoleContractor"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); @@ -485,7 +485,7 @@ public void test200JackAssignRoleContractor() throws Exception { @Test public void test210AssignRoleEmployeeToJack() throws Exception { final String TEST_NAME = "test210AssignRoleEmployeeToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); @@ -530,7 +530,7 @@ public void test210AssignRoleEmployeeToJack() throws Exception { @Test public void test220AssignRoleEngineerToJack() throws Exception { final String TEST_NAME = "test220AssignRoleEngineerToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestPolicyRules.class.getName() + "." + TEST_NAME); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjector.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjector.java index 2e376d50aa7..1c20323521d 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjector.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjector.java @@ -109,7 +109,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); assertNoJackShadow(); } @@ -117,7 +117,7 @@ public void test000Sanity() throws Exception { @Test public void test010BasicContextOperations() throws Exception { final String TEST_NAME = "test010BasicContextOperations"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -203,7 +203,7 @@ public void test010BasicContextOperations() throws Exception { @Test public void test100AddAccountToJackDirect() throws Exception { final String TEST_NAME = "test100AddAccountToJackDirect"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -271,7 +271,7 @@ public void test100AddAccountToJackDirect() throws Exception { @Test public void test110AssignAccountToJack() throws Exception { final String TEST_NAME = "test110AssignAccountToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -300,7 +300,7 @@ public void test110AssignAccountToJack() throws Exception { @Test public void test111AssignAccountToJackBroken() throws Exception { final String TEST_NAME = "test111AssignAccountToJackBroken"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -364,7 +364,7 @@ private void assertAssignAccountToJack(LensContext context) { @Test public void test250ModifyUserBarbossaLocality() throws Exception { final String TEST_NAME = "test250ModifyUserBarbossaLocality"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -415,7 +415,7 @@ public void test250ModifyUserBarbossaLocality() throws Exception { @Test public void test251ModifyUserBarbossaFullname() throws Exception { final String TEST_NAME = "test251ModifyUserBarbossaFullname"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -467,7 +467,7 @@ public void test251ModifyUserBarbossaFullname() throws Exception { @Test public void test254ModifyUserBarbossaDisable() throws Exception { final String TEST_NAME = "test254ModifyUserBarbossaDisable"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -533,7 +533,7 @@ public void test254ModifyUserBarbossaDisable() throws Exception { @Test public void test255ModifyUserBarbossaAssignment() throws Exception { final String TEST_NAME = "test255ModifyUserBarbossaAssignment"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -587,7 +587,7 @@ public void test255ModifyUserBarbossaAssignment() throws Exception { @Test public void test260ModifyAccountBarbossaDrinkReplace() throws Exception { final String TEST_NAME = "test260ModifyAccountBarbossaDrinkReplace"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -627,7 +627,7 @@ public void test260ModifyAccountBarbossaDrinkReplace() throws Exception { @Test public void test261ModifyAccountBarbossaQuoteReplace() throws Exception { final String TEST_NAME = "test261ModifyAccountBarbossaQuoteReplace"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -689,7 +689,7 @@ public void test261ModifyAccountBarbossaQuoteReplace() throws Exception { @Test public void test269DeleteBarbossaDummyAccount() throws Exception { final String TEST_NAME = "test269DeleteBarbossaDummyAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -726,7 +726,7 @@ public void test269DeleteBarbossaDummyAccount() throws Exception { @Test public void test270AddUserBarbossaAssignmentBrethren() throws Exception { final String TEST_NAME = "test270AddUserBarbossaAssignmentBrethren"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -773,7 +773,7 @@ public void test270AddUserBarbossaAssignmentBrethren() throws Exception { @Test public void test275DeleteUserBarbossaAssignmentBrethren() throws Exception { final String TEST_NAME = "test275DeleteUserBarbossaAssignmentBrethren"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -822,7 +822,7 @@ public void test275DeleteUserBarbossaAssignmentBrethren() throws Exception { @Test public void test280AddUserBarbossaAssignmentMutinier() throws Exception { final String TEST_NAME = "test280AddUserBarbossaAssignmentMutinier"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -870,7 +870,7 @@ public void test280AddUserBarbossaAssignmentMutinier() throws Exception { @Test public void test301AssignConflictingAccountToJack() throws Exception { final String TEST_NAME = "test301AssignConflictingAccountToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -919,7 +919,7 @@ public void test301AssignConflictingAccountToJack() throws Exception { @Test public void test400ImportHermanDummy() throws Exception { final String TEST_NAME = "test400ImportHermanDummy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -977,7 +977,7 @@ public void test400ImportHermanDummy() throws Exception { @Test public void test401ImportHermanDummy() throws Exception { final String TEST_NAME = "test401ImportHermanDummy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -1024,7 +1024,7 @@ public void test401ImportHermanDummy() throws Exception { @Test public void test450GuybrushInboundFromDelta() throws Exception { final String TEST_NAME = "test450GuybrushInboundFromDelta"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -1059,7 +1059,7 @@ public void test450GuybrushInboundFromDelta() throws Exception { @Test public void test451GuybrushInboundFromAbsolute() throws Exception { final String TEST_NAME = "test451GuybrushInboundFromAbsolute"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -1115,7 +1115,7 @@ public void test451GuybrushInboundFromAbsolute() throws Exception { @Test public void test500ReconcileGuybrushDummy() throws Exception { final String TEST_NAME = "test500ReconcileGuybrushDummy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); @@ -1180,7 +1180,7 @@ public void test500ReconcileGuybrushDummy() throws Exception { @Test public void test600AddLargo() throws Exception { final String TEST_NAME = "test600AddLargo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjector.class.getName() + "." + TEST_NAME); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjectorPersona.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjectorPersona.java index d79e13895d2..0548e8d467a 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjectorPersona.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjectorPersona.java @@ -107,7 +107,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100AssignRolePersonaAdminToJack() throws Exception { final String TEST_NAME = "test100AssignRolePersonaAdminToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjectorPersona.class.getName() + "." + TEST_NAME); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjectorRoleEntitlement.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjectorRoleEntitlement.java index 8dd4783136b..beac72e7171 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjectorRoleEntitlement.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjectorRoleEntitlement.java @@ -93,7 +93,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100AddEntitlementToPirateDirect() throws Exception { final String TEST_NAME = "test100AddEntitlementToPirateDirect"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjectorRoleEntitlement.class.getName() + "." + TEST_NAME); @@ -156,7 +156,7 @@ public void test100AddEntitlementToPirateDirect() throws Exception { @Test public void test110AssignEntitlementToPirate() throws Exception { final String TEST_NAME = "test110AssignEntitlementToPirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjectorRoleEntitlement.class.getName() + "." + TEST_NAME); @@ -186,7 +186,7 @@ public void test110AssignEntitlementToPirate() throws Exception { @Test public void test111AssignEntitlementToPirateBroken() throws Exception { final String TEST_NAME = "test110AssignEntitlementToPirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestProjectorRoleEntitlement.class.getName() + "." + TEST_NAME); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestReconScript.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestReconScript.java index 628065e4184..cd383bad3ac 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestReconScript.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestReconScript.java @@ -60,7 +60,7 @@ public class TestReconScript extends AbstractInternalModelIntegrationTest { @Test public void text001testReconcileScriptsWhenProvisioning() throws Exception{ final String TEST_NAME = "text001testReconcileScriptsWhenProvisioning"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TEST_NAME); OperationResult parentResult = new OperationResult(TEST_NAME); @@ -103,7 +103,7 @@ public void text001testReconcileScriptsWhenProvisioning() throws Exception{ @Test public void test002testReconcileScriptsWhenReconciling() throws Exception{ final String TEST_NAME = "test002testReconcileScriptsWhenReconciling"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); getDummyResource().getScriptHistory().clear(); @@ -135,7 +135,7 @@ public void test002testReconcileScriptsWhenReconciling() throws Exception{ @Test public void test003testReconcileScriptsAddUserAction() throws Exception{ final String TEST_NAME = "test003testReconcileScriptsAddUserAction"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TEST_NAME); OperationResult parentResult = new OperationResult(TEST_NAME); @@ -188,7 +188,7 @@ public void test003testReconcileScriptsAddUserAction() throws Exception{ @Test public void test005TestDryRunDelete() throws Exception{ final String TEST_NAME = "test005TestDryRunDelete"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); PrismObject task = getTask(TASK_RECON_DUMMY_OID); @@ -221,7 +221,7 @@ public void test005TestDryRunDelete() throws Exception{ @Test public void test006TestReconDelete() throws Exception{ final String TEST_NAME = "test006TestReconDelete"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); PrismObject task = getTask(TASK_RECON_DUMMY_OID); OperationResult parentResult = new OperationResult(TEST_NAME); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/migrator/TestMigrator.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/migrator/TestMigrator.java index 1cfab4b62a3..d424549ad10 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/migrator/TestMigrator.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/migrator/TestMigrator.java @@ -67,7 +67,7 @@ public void setup() throws SchemaException, SAXException, IOException { @Test public void testMigrateUserTemplate() throws Exception { - TestUtil.displayTestTile("testMigrateUserTemplate"); + TestUtil.displayTestTitle("testMigrateUserTemplate"); for (File beforeFile: TEST_DIR_BEFORE.listFiles()) { String beforeName = beforeFile.getName(); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/security/TestAbstractAuthenticationEvaluator.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/security/TestAbstractAuthenticationEvaluator.java index c74c9140658..c0ad91ec978 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/security/TestAbstractAuthenticationEvaluator.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/security/TestAbstractAuthenticationEvaluator.java @@ -147,7 +147,7 @@ public MidPointPrincipal getPrincipal(String username) throws ObjectNotFoundExce @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assertNotNull(getAuthenticationEvaluator()); MidPointPrincipal principal = userProfileService.getPrincipal(USER_JACK_USERNAME); @@ -157,7 +157,7 @@ public void test000Sanity() throws Exception { @Test public void test100PasswordLoginGoodPasswordJack() throws Exception { final String TEST_NAME = "test100PasswordLoginGoodPasswordJack"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -181,7 +181,7 @@ public void test100PasswordLoginGoodPasswordJack() throws Exception { @Test public void test101PasswordLoginBadPasswordJack() throws Exception { final String TEST_NAME = "test101PasswordLoginBadPasswordJack"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -216,7 +216,7 @@ public void test101PasswordLoginBadPasswordJack() throws Exception { @Test public void test102PasswordLoginNullPasswordJack() throws Exception { final String TEST_NAME = "test102PasswordLoginNullPasswordJack"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -249,7 +249,7 @@ public void test102PasswordLoginNullPasswordJack() throws Exception { @Test public void test103PasswordLoginEmptyPasswordJack() throws Exception { final String TEST_NAME = "test103PasswordLoginEmptyPasswordJack"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -281,7 +281,7 @@ public void test103PasswordLoginEmptyPasswordJack() throws Exception { @Test public void test105PasswordLoginNullUsernameNullPassword() throws Exception { final String TEST_NAME = "test105PasswordLoginNullUsernameNullPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -309,7 +309,7 @@ public void test105PasswordLoginNullUsernameNullPassword() throws Exception { @Test public void test106PasswordLoginEmptyUsernameBadPassword() throws Exception { final String TEST_NAME = "test106PasswordLoginEmptyUsernameBadPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -337,7 +337,7 @@ public void test106PasswordLoginEmptyUsernameBadPassword() throws Exception { @Test public void test107PasswordLoginBadUsernameBadPassword() throws Exception { final String TEST_NAME = "test107PasswordLoginBadUsernameBadPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -369,7 +369,7 @@ public void test107PasswordLoginBadUsernameBadPassword() throws Exception { @Test public void test125PasswordLoginBadPasswordJackAfterLockoutFailedAttemptsDuration() throws Exception { final String TEST_NAME = "test125PasswordLoginBadPasswordJackAfterLockoutFailedAttemptsDuration"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN clock.overrideDuration("PT5M"); @@ -407,7 +407,7 @@ public void test125PasswordLoginBadPasswordJackAfterLockoutFailedAttemptsDuratio @Test public void test130PasswordLoginLockout() throws Exception { final String TEST_NAME = "test130PasswordLoginLockout"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -460,7 +460,7 @@ public void test130PasswordLoginLockout() throws Exception { @Test public void test132PasswordLoginLockedoutGoodPassword() throws Exception { final String TEST_NAME = "test132PasswordLoginLockedoutGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -490,7 +490,7 @@ public void test132PasswordLoginLockedoutGoodPassword() throws Exception { @Test public void test133PasswordLoginLockedoutBadPassword() throws Exception { final String TEST_NAME = "test133PasswordLoginLockedoutBadPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -523,7 +523,7 @@ public void test133PasswordLoginLockedoutBadPassword() throws Exception { @Test public void test135PasswordLoginLockedoutLockExpires() throws Exception { final String TEST_NAME = "test135PasswordLoginLockedoutLockExpires"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN clock.overrideDuration("PT30M"); @@ -550,7 +550,7 @@ public void test135PasswordLoginLockedoutLockExpires() throws Exception { @Test public void test136PasswordLoginLockoutAgain() throws Exception { final String TEST_NAME = "test136PasswordLoginLockoutAgain"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -623,7 +623,7 @@ public void test136PasswordLoginLockoutAgain() throws Exception { @Test public void test137PasswordLoginLockedoutGoodPasswordAgain() throws Exception { final String TEST_NAME = "test137PasswordLoginLockedoutGoodPasswordAgain"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -653,7 +653,7 @@ public void test137PasswordLoginLockedoutGoodPasswordAgain() throws Exception { @Test public void test138UnlockUserGoodPassword() throws Exception { final String TEST_NAME = "test138UnlockUserGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -698,7 +698,7 @@ public void test138UnlockUserGoodPassword() throws Exception { @Test public void test139TryToLockByModelService() throws Exception { final String TEST_NAME = "test139TryToLockByModelService"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -729,7 +729,7 @@ public void test139TryToLockByModelService() throws Exception { @Test public void test150PasswordLoginDisabledGoodPassword() throws Exception { final String TEST_NAME = "test150PasswordLoginDisabledGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -742,7 +742,7 @@ public void test150PasswordLoginDisabledGoodPassword() throws Exception { @Test public void test152PasswordLoginEnabledGoodPassword() throws Exception { final String TEST_NAME = "test152PasswordLoginEnabledGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -755,7 +755,7 @@ public void test152PasswordLoginEnabledGoodPassword() throws Exception { @Test public void test154PasswordLoginNotValidYetGoodPassword() throws Exception { final String TEST_NAME = "test154PasswordLoginNotValidYetGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -774,7 +774,7 @@ public void test154PasswordLoginNotValidYetGoodPassword() throws Exception { @Test public void test155PasswordLoginValidGoodPassword() throws Exception { final String TEST_NAME = "test155PasswordLoginValidGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN clock.overrideDuration("PT2H"); @@ -788,7 +788,7 @@ public void test155PasswordLoginValidGoodPassword() throws Exception { @Test public void test156PasswordLoginNotValidAnyLongerGoodPassword() throws Exception { final String TEST_NAME = "test156PasswordLoginNotValidAnyLongerGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN clock.overrideDuration("P2D"); @@ -802,7 +802,7 @@ public void test156PasswordLoginNotValidAnyLongerGoodPassword() throws Exception @Test public void test159PasswordLoginNoLongerValidEnabledGoodPassword() throws Exception { final String TEST_NAME = "test159PasswordLoginNoLongerValidEnabledGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -815,7 +815,7 @@ public void test159PasswordLoginNoLongerValidEnabledGoodPassword() throws Except @Test public void test160PasswordLoginLifecycleActiveGoodPassword() throws Exception { final String TEST_NAME = "test160PasswordLoginLifecycleActiveGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -830,7 +830,7 @@ public void test160PasswordLoginLifecycleActiveGoodPassword() throws Exception { @Test public void test162PasswordLoginLifecycleDraftGoodPassword() throws Exception { final String TEST_NAME = "test162PasswordLoginLifecycleDraftGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -845,7 +845,7 @@ public void test162PasswordLoginLifecycleDraftGoodPassword() throws Exception { @Test public void test164PasswordLoginLifecycleDeprecatedGoodPassword() throws Exception { final String TEST_NAME = "test164PasswordLoginLifecycleDeprecatedGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -860,7 +860,7 @@ public void test164PasswordLoginLifecycleDeprecatedGoodPassword() throws Excepti @Test public void test166PasswordLoginLifecycleProposedGoodPassword() throws Exception { final String TEST_NAME = "test166PasswordLoginLifecycleProposedGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -875,7 +875,7 @@ public void test166PasswordLoginLifecycleProposedGoodPassword() throws Exception @Test public void test168PasswordLoginLifecycleArchivedGoodPassword() throws Exception { final String TEST_NAME = "test168PasswordLoginLifecycleArchivedGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -890,7 +890,7 @@ public void test168PasswordLoginLifecycleArchivedGoodPassword() throws Exception @Test public void test200UserGuybrushSetCredentials() throws Exception { final String TEST_NAME = "test200UserGuybrushSetPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TestAbstractAuthenticationEvaluator.class.getName() + "." + TEST_NAME); @@ -918,7 +918,7 @@ public void test200UserGuybrushSetCredentials() throws Exception { @Test public void test201UserGuybrushPasswordLoginGoodPassword() throws Exception { final String TEST_NAME = "test201UserGuybrushPasswordLoginGoodPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -942,7 +942,7 @@ public void test201UserGuybrushPasswordLoginGoodPassword() throws Exception { @Test public void test202UserGuybrushPasswordLoginBadPassword() throws Exception { final String TEST_NAME = "test202UserGuybrushPasswordLoginBadPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ConnectionEnvironment connEnv = createConnectionEnvironment(); @@ -976,7 +976,7 @@ public void test202UserGuybrushPasswordLoginBadPassword() throws Exception { @Test public void test209UserGuybrushPasswordLoginGoodPasswordBeforeExpiration() throws Exception { final String TEST_NAME = "test209UserGuybrushPasswordLoginGoodPasswordBeforeExpiration"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN clock.overrideDuration("P29D"); @@ -1002,7 +1002,7 @@ public void test209UserGuybrushPasswordLoginGoodPasswordBeforeExpiration() throw @Test public void test210UserGuybrushPasswordLoginGoodPasswordExpired() throws Exception { final String TEST_NAME = "test210UserGuybrushPasswordLoginGoodPasswordExpired"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN clock.overrideDuration("P2D"); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/security/TestUserProfileService.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/security/TestUserProfileService.java index 63264fa93b9..c7d4c4a3d4e 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/security/TestUserProfileService.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/security/TestUserProfileService.java @@ -88,7 +88,7 @@ public void test140DeputyBlockOtherPrivileges() throws Exception { private void executeDeputyLimitationsTest(String TEST_NAME, List expectedLimitations, Consumer assignmentModifier) throws CommonException { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN AssignmentType assignment = new AssignmentType() diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestCorrelationConfiramtionEvaluator.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestCorrelationConfiramtionEvaluator.java index 220ab83ae6b..fe2da821e34 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestCorrelationConfiramtionEvaluator.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestCorrelationConfiramtionEvaluator.java @@ -82,7 +82,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test001CorrelationOrFilter() throws Exception{ String TEST_NAME = "test001CorrelationOrFilter"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TEST_NAME); OperationResult result = task.getResult(); @@ -118,7 +118,7 @@ public void test001CorrelationOrFilter() throws Exception{ @Test public void test002CorrelationMoreThanOne() throws Exception{ String TEST_NAME = "test002CorrelationMoreThanOne"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TEST_NAME); OperationResult result = task.getResult(); @@ -153,7 +153,7 @@ public void test002CorrelationMoreThanOne() throws Exception{ @Test public void test003CorrelationWithCondition() throws Exception{ String TEST_NAME = "test003CorrelationWithCondition"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TEST_NAME); OperationResult result = task.getResult(); @@ -188,7 +188,7 @@ public void test003CorrelationWithCondition() throws Exception{ @Test public void test004CorrelationMatchCaseInsensitive() throws Exception{ String TEST_NAME = "test004CorrelationMatchCaseInsensitive"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TEST_NAME); OperationResult result = task.getResult(); @@ -232,7 +232,7 @@ public void test004CorrelationMatchCaseInsensitive() throws Exception{ @Test public void test005CorrelationMatchCaseInsensitive() throws Exception{ String TEST_NAME = "test005CorrelationMatchCaseInsensitive"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TEST_NAME); OperationResult result = task.getResult(); @@ -280,7 +280,7 @@ public void test005CorrelationMatchCaseInsensitive() throws Exception{ @Test public void test006CorrelationFindCaseInsensitive() throws Exception{ String TEST_NAME = "test006CorrelationFindCaseInsensitive"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestSynchronizationService.java b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestSynchronizationService.java index db960940089..b30c64c292b 100644 --- a/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestSynchronizationService.java +++ b/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestSynchronizationService.java @@ -81,7 +81,7 @@ public class TestSynchronizationService extends AbstractInternalModelIntegration @Test public void test010AddedAccountJack() throws Exception { final String TEST_NAME = "test010AddedAccountJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSynchronizationService.class.getName() + "." + TEST_NAME); @@ -142,7 +142,7 @@ public void test010AddedAccountJack() throws Exception { @Test public void test020ModifyLootAbsolute() throws Exception { final String TEST_NAME = "test020ModifyLootAbsolute"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSynchronizationService.class.getName() + "." + TEST_NAME); @@ -203,7 +203,7 @@ public void test020ModifyLootAbsolute() throws Exception { @Test public void test021ModifyLootAbsoluteEmpty() throws Exception { final String TEST_NAME = "test021ModifyLootAbsoluteEmpty"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSynchronizationService.class.getName() + "." + TEST_NAME); @@ -268,7 +268,7 @@ public void test021ModifyLootAbsoluteEmpty() throws Exception { @Test public void test030Reconcile() throws Exception { final String TEST_NAME = "test030Reconcile"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSynchronizationService.class.getName() + "." + TEST_NAME); @@ -318,7 +318,7 @@ public void test030Reconcile() throws Exception { @Test public void test039DeletedAccountJack() throws Exception { final String TEST_NAME = "test039DeletedAccountJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSynchronizationService.class.getName() + "." + TEST_NAME); @@ -388,7 +388,7 @@ public void test039DeletedAccountJack() throws Exception { @Test public void test050AddedAccountCalypso() throws Exception { final String TEST_NAME = "test050AddedAccountCalypso"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSynchronizationService.class.getName() + "." + TEST_NAME); @@ -440,7 +440,7 @@ public void test050AddedAccountCalypso() throws Exception { @Test public void test051CalypsoRecon() throws Exception { final String TEST_NAME = "test051CalypsoRecon"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSynchronizationService.class.getName() + "." + TEST_NAME); @@ -488,7 +488,7 @@ public void test051CalypsoRecon() throws Exception { @Test public void test100AddedAccountJack() throws Exception { final String TEST_NAME = "test100AddedAccountJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSynchronizationService.class.getName() + "." + TEST_NAME); @@ -561,7 +561,7 @@ public void test100AddedAccountJack() throws Exception { @Test public void test199DeletedAccountJackTotal() throws Exception { final String TEST_NAME = "test199DeletedAccountJackTotal"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSynchronizationService.class.getName() + "." + TEST_NAME); @@ -617,7 +617,7 @@ public void test199DeletedAccountJackTotal() throws Exception { @Test public void test210AddedGroupPirates() throws Exception { final String TEST_NAME = "test210AddedGroupPirates"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSynchronizationService.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestActivation.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestActivation.java index 4ad8d96af53..3dfbcbe97bf 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestActivation.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestActivation.java @@ -155,7 +155,7 @@ public void initSystem(Task initTask, OperationResult initResult) @Test public void test050CheckJackEnabled() throws Exception { final String TEST_NAME = "test050CheckJackEnabled"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN, WHEN // this happens during test initialization when user-jack.xml is added @@ -172,7 +172,7 @@ public void test050CheckJackEnabled() throws Exception { @Test public void test051ModifyUserJackDisable() throws Exception { final String TEST_NAME = "test051ModifyUserJackDisable"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -204,7 +204,7 @@ public void test051ModifyUserJackDisable() throws Exception { @Test public void test052ModifyUserJackNull() throws Exception { final String TEST_NAME = "test052ModifyUserJackNull"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -235,7 +235,7 @@ public void test052ModifyUserJackNull() throws Exception { @Test public void test055ModifyUserJackEnable() throws Exception { final String TEST_NAME = "test055ModifyUserJackEnable"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -267,7 +267,7 @@ public void test055ModifyUserJackEnable() throws Exception { @Test public void test056RecomputeUserJackEffectiveEnable() throws Exception { final String TEST_NAME = "test056RecomputeUserJackEffectiveEnable"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -320,7 +320,7 @@ public void test056RecomputeUserJackEffectiveEnable() throws Exception { @Test public void test060ModifyUserJackLifecycleActive() throws Exception { final String TEST_NAME = "test060ModifyUserJackLifecycleActive"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -352,7 +352,7 @@ public void test060ModifyUserJackLifecycleActive() throws Exception { @Test public void test061ModifyUserJackLifecycleDraft() throws Exception { final String TEST_NAME = "test061ModifyUserJackLifecycleDraft"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -384,7 +384,7 @@ public void test061ModifyUserJackLifecycleDraft() throws Exception { @Test public void test065ModifyUserJackLifecycleDeprecated() throws Exception { final String TEST_NAME = "test065ModifyUserJackLifecycleDeprecated"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -416,7 +416,7 @@ public void test065ModifyUserJackLifecycleDeprecated() throws Exception { @Test public void test068ModifyUserJackLifecycleArchived() throws Exception { final String TEST_NAME = "test068ModifyUserJackLifecycleArchived"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -447,7 +447,7 @@ public void test068ModifyUserJackLifecycleArchived() throws Exception { @Test public void test069ModifyUserJackLifecycleNull() throws Exception { final String TEST_NAME = "test069ModifyUserJackLifecycleNull"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -478,7 +478,7 @@ public void test069ModifyUserJackLifecycleNull() throws Exception { @Test public void test100ModifyUserJackAssignAccount() throws Exception { final String TEST_NAME = "test100ModifyUserJackAssignAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -553,7 +553,7 @@ public void test100ModifyUserJackAssignAccount() throws Exception { @Test public void test101ModifyUserJackDisable() throws Exception { final String TEST_NAME = "test101ModifyUserJackDisable"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -585,7 +585,7 @@ public void test101ModifyUserJackDisable() throws Exception { @Test public void test102ModifyUserJackEnable() throws Exception { - TestUtil.displayTestTile(this, "test102ModifyUserJackEnable"); + TestUtil.displayTestTitle(this, "test102ModifyUserJackEnable"); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + ".test052ModifyUserJackEnable"); @@ -616,7 +616,7 @@ public void test102ModifyUserJackEnable() throws Exception { */ @Test public void test111ModifyAccountJackDisable() throws Exception { - TestUtil.displayTestTile(this, "test111ModifyAccountJackDisable"); + TestUtil.displayTestTitle(this, "test111ModifyAccountJackDisable"); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + ".test111ModifyAccountJackDisable"); @@ -652,7 +652,7 @@ public void test111ModifyAccountJackDisable() throws Exception { @Test public void test112UserJackRecompute() throws Exception { final String TEST_NAME = "test112UserJackRecompute"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -692,7 +692,7 @@ public void test112UserJackRecompute() throws Exception { @Test public void test114ModifyUserJackEnable() throws Exception { final String TEST_NAME = "test114ModifyUserJackEnable"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -730,7 +730,7 @@ public void test114ModifyUserJackEnable() throws Exception { @Test public void test115ModifyUserJackAdministrativeStatusNull() throws Exception { final String TEST_NAME = "test115ModifyUserJackAdministrativeStatusNull"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -771,7 +771,7 @@ public void test115ModifyUserJackAdministrativeStatusNull() throws Exception { @Test public void test118ModifyJackActivationUserAndAccount() throws Exception { final String TEST_NAME = "test118ModifyJackActivationUserAndAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -818,7 +818,7 @@ public void test118ModifyJackActivationUserAndAccount() throws Exception { @Test public void test120ModifyUserJackAssignAccountDummyRed() throws Exception { final String TEST_NAME = "test120ModifyUserJackAssignAccountDummyRed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -870,7 +870,7 @@ public void test120ModifyUserJackAssignAccountDummyRed() throws Exception { @Test public void test121ModifyJackUserAndAccountRed() throws Exception { final String TEST_NAME = "test121ModifyJackUserAndAccountRed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -916,7 +916,7 @@ public void test121ModifyJackUserAndAccountRed() throws Exception { @Test public void test130ModifyAccountDefaultAndRed() throws Exception { - TestUtil.displayTestTile(this, "test130ModifyAccountDefaultAndRed"); + TestUtil.displayTestTitle(this, "test130ModifyAccountDefaultAndRed"); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + ".test121ModifyJackPasswordUserAndAccountRed"); @@ -951,7 +951,7 @@ public void test130ModifyAccountDefaultAndRed() throws Exception { @Test public void test138ModifyJackEnabled() throws Exception { final String TEST_NAME = "test138ModifyJackEnabled"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -982,7 +982,7 @@ public void test138ModifyJackEnabled() throws Exception { @Test public void test139ModifyUserJackUnAssignAccountDummyRed() throws Exception { final String TEST_NAME = "test139ModifyUserJackUnAssignAccountDummyRed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -1021,7 +1021,7 @@ public void test139ModifyUserJackUnAssignAccountDummyRed() throws Exception { @Test public void test150ModifyUserJackAssignYellowAccount() throws Exception { final String TEST_NAME = "test150ModifyUserJackAssignYellowAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1072,7 +1072,7 @@ public void test150ModifyUserJackAssignYellowAccount() throws Exception { @Test public void test151ReconcileJack() throws Exception { final String TEST_NAME = "test151ReconcileJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1113,7 +1113,7 @@ public void test151ReconcileJack() throws Exception { @Test public void test152ModifyAccountsJackDisable() throws Exception { final String TEST_NAME = "test152ModifyAccountsJackDisable"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1158,7 +1158,7 @@ public void test152ModifyAccountsJackDisable() throws Exception { @Test public void test153ModifyAccountsJackEnable() throws Exception { final String TEST_NAME = "test153ModifyAccountsJackEnable"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -1231,7 +1231,7 @@ private void checkAdminStatusFor15x(PrismObject user, boolean userStat @Test public void test160ModifyUserJackAssignAccountKhaki() throws Exception { final String TEST_NAME = "test160ModifyUserJackAssignAccountKhaki"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1310,7 +1310,7 @@ public void test160ModifyUserJackAssignAccountKhaki() throws Exception { @Test public void test170GetAccountUnlocked() throws Exception { final String TEST_NAME = "test170GetAccountUnlocked"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -1334,7 +1334,7 @@ public void test170GetAccountUnlocked() throws Exception { @Test public void test172GetAccountLocked() throws Exception { final String TEST_NAME = "test172GetAccountLocked"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -1362,7 +1362,7 @@ public void test172GetAccountLocked() throws Exception { @Test public void test174ModifyAccountUnlock() throws Exception { final String TEST_NAME = "test174ModifyAccountUnlock"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -1397,7 +1397,7 @@ public void test174ModifyAccountUnlock() throws Exception { @Test public void test176ModifyUserUnlock() throws Exception { final String TEST_NAME = "test176ModifyUserUnlock"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -1433,7 +1433,7 @@ public void test176ModifyUserUnlock() throws Exception { @Test public void test199DeleteUserJack() throws Exception { final String TEST_NAME = "test199DeleteUserJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -1466,7 +1466,7 @@ public void test199DeleteUserJack() throws Exception { @Test public void test200AddUserLargo() throws Exception { final String TEST_NAME = "test200AddUserLargo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN long startMillis = System.currentTimeMillis(); @@ -1492,7 +1492,7 @@ public void test200AddUserLargo() throws Exception { @Test public void test205ModifyUserLargoAssignAccount() throws Exception { final String TEST_NAME = "test205ModifyUserLargoAssignAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -1531,7 +1531,7 @@ public void test205ModifyUserLargoAssignAccount() throws Exception { @Test public void test210ModifyLargoValidTo10MinsAgo() throws Exception { final String TEST_NAME = "test210ModifyLargoValidTo10MinsAgo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN long startMillis = System.currentTimeMillis(); @@ -1569,7 +1569,7 @@ public void test210ModifyLargoValidTo10MinsAgo() throws Exception { @Test public void test211ModifyLargoValidToManana() throws Exception { final String TEST_NAME = "test211ModifyLargoValidToManana"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN long startMillis = System.currentTimeMillis(); @@ -1611,7 +1611,7 @@ public void test211ModifyLargoValidToManana() throws Exception { @Test public void test212SeeLargoTomorrow() throws Exception { final String TEST_NAME = "test212SeeLargoTomorrow"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN long startMillis = System.currentTimeMillis(); @@ -1654,7 +1654,7 @@ public void test212SeeLargoTomorrow() throws Exception { @Test public void test213HastaLaMananaLargo() throws Exception { final String TEST_NAME = "test213HastaLaMananaLargo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN long startMillis = System.currentTimeMillis(); @@ -1694,7 +1694,7 @@ public void test213HastaLaMananaLargo() throws Exception { @Test public void test215ModifyLargoRemoveValidTo() throws Exception { final String TEST_NAME = "test215ModifyLargoRemoveValidTo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN long startMillis = clock.currentTimeMillis(); @@ -1731,7 +1731,7 @@ public void test215ModifyLargoRemoveValidTo() throws Exception { @Test public void test217ModifyLargoRemoveValidFrom() throws Exception { final String TEST_NAME = "test217ModifyLargoRemoveValidFrom"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN long startMillis = clock.currentTimeMillis(); @@ -1773,7 +1773,7 @@ public void test217ModifyLargoRemoveValidFrom() throws Exception { @Test public void test230JackUnassignRepoRecompute() throws Exception { final String TEST_NAME = "test230JackUnassignRepoRecompute"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -1807,7 +1807,7 @@ public void test230JackUnassignRepoRecompute() throws Exception { @Test public void test231JackRecomputeReconcile() throws Exception { final String TEST_NAME = "test231JackRecomputeReconcile"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -1834,7 +1834,7 @@ public void test231JackRecomputeReconcile() throws Exception { @Test public void test240AddUserRappDraft() throws Exception { final String TEST_NAME = "test240AddUserRappDraft"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1892,7 +1892,7 @@ public void test240AddUserRappDraft() throws Exception { @Test public void test241RecomputeRappDraft() throws Exception { final String TEST_NAME = "test240AddUserRappDraft"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1935,7 +1935,7 @@ public void test241RecomputeRappDraft() throws Exception { @Test public void test242RappAssignCaptain() throws Exception { final String TEST_NAME = "test242RappAssignCaptain"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1973,7 +1973,7 @@ public void test242RappAssignCaptain() throws Exception { @Test public void test245ActivateRapp() throws Exception { final String TEST_NAME = "test245ActivateRapp"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2016,7 +2016,7 @@ public void test245ActivateRapp() throws Exception { @Test public void test248DeactivateRapp() throws Exception { final String TEST_NAME = "test248DeactivateRapp"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2053,7 +2053,7 @@ public void test248DeactivateRapp() throws Exception { @Test public void test249DeleteUserRapp() throws Exception { final String TEST_NAME = "test249DeleteUserRapp"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2078,7 +2078,7 @@ public void test249DeleteUserRapp() throws Exception { @Test public void test300AddDummyGreenAccountMancomb() throws Exception { final String TEST_NAME = "test300AddDummyGreenAccountMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2119,7 +2119,7 @@ public void test300AddDummyGreenAccountMancomb() throws Exception { @Test public void test310ImportAccountsFromDummyGreen() throws Exception { final String TEST_NAME = "test310ImportAccountsFromDummyGreen"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -2157,7 +2157,7 @@ public void test310ImportAccountsFromDummyGreen() throws Exception { @Test public void test350AssignMancombBlueAccount() throws Exception { final String TEST_NAME = "test350AssignMancombBlueAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -2184,7 +2184,7 @@ public void test350AssignMancombBlueAccount() throws Exception { @Test public void test352AssignMancombBlackAccount() throws Exception { final String TEST_NAME = "test352AssignMancombBlackAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -2217,7 +2217,7 @@ public void test352AssignMancombBlackAccount() throws Exception { @Test public void test355MancombModifyAdministrativeStatusNull() throws Exception { final String TEST_NAME = "test355MancombModifyAdministrativeStatusNull"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -2252,7 +2252,7 @@ public void test355MancombModifyAdministrativeStatusNull() throws Exception { @Test public void test400AddHerman() throws Exception { final String TEST_NAME = "test400AddHerman"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // WHEN addObject(USER_HERMAN_FILE); @@ -2269,7 +2269,7 @@ public void test400AddHerman() throws Exception { @Test public void test410AssignHermanKhakiAccount() throws Exception { final String TEST_NAME = "test410AssignHermanKhakiAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -2374,7 +2374,7 @@ public void test525SerivceSeaMonkeyRecompute() throws Exception { } private void test5X0CheckInitial(final String TEST_NAME, Class type, String oid) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN, WHEN // this happens during test initialization when the role is added @@ -2392,7 +2392,7 @@ private void test5X0CheckInitial(final String TEST_NAME, C * MID-2877 */ private void test5X1Recompute(final String TEST_NAME, Class type, String oid) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -2419,7 +2419,7 @@ private void test5X1Recompute(final String TEST_NAME, Clas * MID-2877 */ private void test5X2ModifyDisable(final String TEST_NAME, Class type, String oid) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -2451,7 +2451,7 @@ private void test5X2ModifyDisable(final String TEST_NAME, * MID-2877 */ private void test5X4ModifyEnable(final String TEST_NAME, Class type, String oid) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -2483,7 +2483,7 @@ private void test5X4ModifyEnable(final String TEST_NAME, C * Make sure that recompute does not destroy anything. */ public void test5X5Recompute(final String TEST_NAME, Class type, String oid) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -2514,7 +2514,7 @@ public void test5X5Recompute(final String TEST_NAME, Class @Test public void test600AddUser1() throws Exception { final String TEST_NAME = "test600AddUser1"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -2559,7 +2559,7 @@ private void checkSuspendedAttribute(DummyAccount dummyAccount, Boolean expected @Test public void test610EnableUser1() throws Exception { final String TEST_NAME = "test610EnableUser1"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN PrismObject user1 = findUserByUsername("user1"); @@ -2596,7 +2596,7 @@ public void test610EnableUser1() throws Exception { @Test public void test700ModifyJackRemoveAdministrativeStatus() throws Exception { final String TEST_NAME = "test700ModifyJackRemoveAdministrativeStatus"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -2648,7 +2648,7 @@ public void test700ModifyJackRemoveAdministrativeStatus() throws Exception { @Test public void test702ModifyJackFuneralTimestampBeforeNow() throws Exception { final String TEST_NAME = "test702ModifyJackFuneralTimestampBeforeNow"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -2692,7 +2692,7 @@ public void test702ModifyJackFuneralTimestampBeforeNow() throws Exception { @Test public void test704ModifyJackFuneralTimestampAfterNow() throws Exception { final String TEST_NAME = "test704ModifyJackFuneralTimestampAfterNow"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAudit.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAudit.java index 876379f9875..715029d50bf 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAudit.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAudit.java @@ -105,7 +105,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); assertTrue(modelAuditService.supportsRetrieval()); @@ -122,7 +122,7 @@ public void test000Sanity() throws Exception { @Test public void test010SanityJack() throws Exception { final String TEST_NAME = "test010SanityJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // WHEN List auditRecords = getObjectAuditRecords(USER_JACK_OID); @@ -136,7 +136,7 @@ public void test010SanityJack() throws Exception { @Test public void test100ModifyUserJackKid() throws Exception { final String TEST_NAME = "test100ModifyUserJackKid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -165,7 +165,7 @@ public void test100ModifyUserJackKid() throws Exception { @Test public void test105CreateUserHerman() throws Exception { final String TEST_NAME = "test105CreateUserHerman"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -197,7 +197,7 @@ public void test105CreateUserHerman() throws Exception { @Test public void test110ModifyUserJackSailor() throws Exception { final String TEST_NAME = "test110ModifyUserJackSailor"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -230,7 +230,7 @@ public void test110ModifyUserJackSailor() throws Exception { @Test public void test115ModifyUserHermanMarooned() throws Exception { final String TEST_NAME = "test115ModifyUserHermanMarooned"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -262,7 +262,7 @@ public void test115ModifyUserHermanMarooned() throws Exception { @Test public void test120ModifyUserJackCaptain() throws Exception { final String TEST_NAME = "test120ModifyUserJackCaptain"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -294,7 +294,7 @@ public void test120ModifyUserJackCaptain() throws Exception { @Test public void test125ModifyUserHermanHermit() throws Exception { final String TEST_NAME = "test125ModifyUserHermanHermit"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -332,7 +332,7 @@ public void test125ModifyUserHermanHermit() throws Exception { @Test public void test135ModifyUserHermanCivilisedHermit() throws Exception { final String TEST_NAME = "test135ModifyUserHermanCivilisedHermit"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -365,7 +365,7 @@ public void test135ModifyUserHermanCivilisedHermit() throws Exception { @Test public void test200ReconstructJackSailor() throws Exception { final String TEST_NAME = "test200ReconstructJackSailor"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -397,7 +397,7 @@ public void test200ReconstructJackSailor() throws Exception { @Test public void test210ReconstructJackKid() throws Exception { final String TEST_NAME = "test210ReconstructJackKid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -431,7 +431,7 @@ public void test210ReconstructJackKid() throws Exception { @Test public void test250ReconstructHermanCreated() throws Exception { final String TEST_NAME = "test250ReconstructHermanCreated"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -472,7 +472,7 @@ public void test250ReconstructHermanCreated() throws Exception { @Test public void test252ReconstructHermanMarooned() throws Exception { final String TEST_NAME = "test252ReconstructHermanMarooned"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -506,7 +506,7 @@ public void test252ReconstructHermanMarooned() throws Exception { @Test public void test254ReconstructHermanHermit() throws Exception { final String TEST_NAME = "test254ReconstructHermanHermit"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestAudit.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestCaseIgnore.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestCaseIgnore.java index 78235331881..57e4f9d158a 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestCaseIgnore.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestCaseIgnore.java @@ -111,7 +111,7 @@ public void initSystem(Task initTask, OperationResult initResult) @Test public void test000Sanity() throws Exception { final String TEST_NAME="test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); assertShadows(5); } @@ -119,7 +119,7 @@ public void test000Sanity() throws Exception { @Test public void test131ModifyUserJackAssignAccount() throws Exception { final String TEST_NAME="test131ModifyUserJackAssignAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCaseIgnore.class.getName() + "." + TEST_NAME); @@ -174,7 +174,7 @@ public void test131ModifyUserJackAssignAccount() throws Exception { @Test public void test133SeachAccountShadows() throws Exception { final String TEST_NAME="test133SeachAccountShadows"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCaseIgnore.class.getName() + "." + TEST_NAME); @@ -228,7 +228,7 @@ public void test133SeachAccountShadows() throws Exception { @Test public void test139ModifyUserJackUnassignAccount() throws Exception { final String TEST_NAME = "test139ModifyUserJackUnassignAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestCaseIgnore.class.getName() + "." + TEST_NAME); @@ -268,7 +268,7 @@ public void test139ModifyUserJackUnassignAccount() throws Exception { @Test public void test150JackAssignRoleX() throws Exception { final String TEST_NAME = "test150JackAssignRoleX"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -315,7 +315,7 @@ public void test150JackAssignRoleX() throws Exception { @Test public void test152GetJack() throws Exception { final String TEST_NAME = "test152GetJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -357,7 +357,7 @@ public void test152GetJack() throws Exception { @Test public void test159JackUnAssignRoleX() throws Exception { final String TEST_NAME = "test159JackUnAssignRoleX"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -389,7 +389,7 @@ public void test159JackUnAssignRoleX() throws Exception { @Test public void test160JackAssignRoleBasic() throws Exception { final String TEST_NAME = "test160JackAssignRoleBasic"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -438,7 +438,7 @@ public void test160JackAssignRoleBasic() throws Exception { @Test public void test161JackAssignRoleJoker() throws Exception { final String TEST_NAME = "test161JackAssignRoleJoker"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -491,7 +491,7 @@ public void test161JackAssignRoleJoker() throws Exception { @Test public void test165JackUnAssignRoleJoker() throws Exception { final String TEST_NAME = "test165JackUnAssignRoleJoker"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -540,7 +540,7 @@ public void test165JackUnAssignRoleJoker() throws Exception { @Test public void test169JackUnAssignRoleBasic() throws Exception { final String TEST_NAME = "test169JackUnAssignRoleBasic"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -575,7 +575,7 @@ public void test169JackUnAssignRoleBasic() throws Exception { @Test public void test170JackAssignRoleJoker() throws Exception { final String TEST_NAME = "test170JackAssignRoleJoker"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -624,7 +624,7 @@ public void test170JackAssignRoleJoker() throws Exception { @Test public void test179JackUnAssignRoleJoker() throws Exception { final String TEST_NAME = "test179JackUnAssignRoleJoker"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -668,7 +668,7 @@ public void test179JackUnAssignRoleJoker() throws Exception { @Test public void test200GuybrushAssignRoleFools() throws Exception { final String TEST_NAME = "test200GuybrushAssignRoleFools"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConnectorDummyFake.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConnectorDummyFake.java index 754026319cf..b567f831289 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConnectorDummyFake.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConnectorDummyFake.java @@ -98,7 +98,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test010ListConnectors() throws Exception { final String TEST_NAME = "test010ListConnectors"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -136,7 +136,7 @@ public void test010ListConnectors() throws Exception { @Test public void test020ImportFakeResource() throws Exception { final String TEST_NAME = "test020ImportFakeResource"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -161,7 +161,7 @@ public void test020ImportFakeResource() throws Exception { @Test public void test021TestFakeResource() throws Exception { final String TEST_NAME = "test021TestFakeResource"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -178,7 +178,7 @@ public void test021TestFakeResource() throws Exception { @Test public void test022ListAccountsFakeResource() throws Exception { final String TEST_NAME = "test022ListAccountsFakeResource"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -198,7 +198,7 @@ public void test022ListAccountsFakeResource() throws Exception { @Test public void test030ImportDummyResource() throws Exception { final String TEST_NAME = "test030ImportDummyResource"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -223,7 +223,7 @@ public void test030ImportDummyResource() throws Exception { @Test public void test031TestDummyResource() throws Exception { final String TEST_NAME = "test031TestDummyResource"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -240,7 +240,7 @@ public void test031TestDummyResource() throws Exception { @Test public void test032ListAccountsDummyResource() throws Exception { final String TEST_NAME = "test032ListAccountsDummyResource"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -264,7 +264,7 @@ public void test032ListAccountsDummyResource() throws Exception { @Test public void test100UpgradeModelAddDelete() throws Exception { final String TEST_NAME = "test100UpgradeModelAddDelete"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -301,7 +301,7 @@ public void test100UpgradeModelAddDelete() throws Exception { @Test public void test150DowngradeModelAddDelete() throws Exception { final String TEST_NAME = "test150DowngradeModelAddDelete"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -333,7 +333,7 @@ public void test150DowngradeModelAddDelete() throws Exception { @Test public void test200UpgradeModelReplace() throws Exception { final String TEST_NAME = "test200UpgradeModelReplace"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -363,7 +363,7 @@ public void test200UpgradeModelReplace() throws Exception { @Test public void test250DowngradeModelReplace() throws Exception { final String TEST_NAME = "test250DowngradeModelReplace"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -392,7 +392,7 @@ public void test250DowngradeModelReplace() throws Exception { @Test public void test300UpgradeRawAddDelete() throws Exception { final String TEST_NAME = "test300UpgradeRawAddDelete"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -427,7 +427,7 @@ public void test300UpgradeRawAddDelete() throws Exception { @Test public void test350DowngradeRawAddDelete() throws Exception { final String TEST_NAME = "test350DowngradeRawAddDelete"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -461,7 +461,7 @@ public void test350DowngradeRawAddDelete() throws Exception { @Test public void test400UpgradeRawReplace() throws Exception { final String TEST_NAME = "test400UpgradeRawReplace"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -493,7 +493,7 @@ public void test400UpgradeRawReplace() throws Exception { @Test public void test450DowngradeRawReplace() throws Exception { final String TEST_NAME = "test450DowngradeRawReplace"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConnectorMultiInstance.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConnectorMultiInstance.java index 4542b4a85fc..306a9857e81 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConnectorMultiInstance.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConnectorMultiInstance.java @@ -91,7 +91,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -109,7 +109,7 @@ public void test000Sanity() throws Exception { @Test public void test100JackAssignDummyYellow() throws Exception { final String TEST_NAME = "test100JackAssignDummyYellow"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -141,7 +141,7 @@ public void test100JackAssignDummyYellow() throws Exception { @Test public void test102ReadJackDummyYellowAgain() throws Exception { final String TEST_NAME = "test102ReadJackDummyYellowAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // WHEN PrismObject shadowYellow = getShadowModel(accountJackYellowOid); @@ -164,7 +164,7 @@ public void test102ReadJackDummyYellowAgain() throws Exception { @Test public void test110ReadJackDummyYellowBlocking() throws Exception { final String TEST_NAME = "test110ReadJackDummyYellowBlocking"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); dummyResourceYellow.setBlockOperations(true); final Holder> shadowHolder = new Holder<>(); @@ -209,7 +209,7 @@ public void test110ReadJackDummyYellowBlocking() throws Exception { @Test public void test120ReadJackDummyYellowTwoOperationsOneBlocking() throws Exception { final String TEST_NAME = "test120ReadJackDummyYellowTwoOperationsOneBlocking"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); dummyResourceYellow.setBlockOperations(true); final Holder> shadowHolder1 = new Holder<>(); @@ -276,7 +276,7 @@ public void test120ReadJackDummyYellowTwoOperationsOneBlocking() throws Exceptio @Test public void test125ReadJackDummyYellowTwoBlocking() throws Exception { final String TEST_NAME = "test125ReadJackDummyYellowTwoBlocking"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); dummyResourceYellow.setBlockOperations(true); final Holder> shadowHolder1 = new Holder<>(); @@ -334,7 +334,7 @@ public void run() throws Exception { @Test public void test200GuybrushAssignDummyBlack() throws Exception { final String TEST_NAME = "test200GuybrushAssignDummyBlack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConsistencySimple.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConsistencySimple.java index 8402f6d8fa2..176058a7083 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConsistencySimple.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConsistencySimple.java @@ -159,7 +159,7 @@ public void test270Recompute_Delete_Delete() throws Exception { private void executeTest(final String TEST_NAME, FocusOperation focusOperation, ShadowOperation shadowOperation, ResourceObjectOperation resourceObjectOperation) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestConsistencySimple.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestDeputy.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestDeputy.java index 6102b3f6cff..6116db87486 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestDeputy.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestDeputy.java @@ -71,7 +71,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); PrismObject userJack = getUser(USER_JACK_OID); display("User Jack", userJack); @@ -93,7 +93,7 @@ public void test000Sanity() throws Exception { @Test public void test100AssignDeputyNoBigDeal() throws Exception { final String TEST_NAME = "test100AssignDeputyNoBigDeal"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -130,7 +130,7 @@ public void test100AssignDeputyNoBigDeal() throws Exception { @Test public void test109UnassignDeputyNoBigDeal() throws Exception { final String TEST_NAME = "test109UnassignDeputyNoBigDeal"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -166,7 +166,7 @@ public void test109UnassignDeputyNoBigDeal() throws Exception { @Test public void test110AssignJackPirate() throws Exception { final String TEST_NAME = "test110AssignJackPirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -204,7 +204,7 @@ public void test110AssignJackPirate() throws Exception { @Test public void test112AssignDeputyPirate() throws Exception { final String TEST_NAME = "test112AssignDeputyPirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -247,7 +247,7 @@ public void test112AssignDeputyPirate() throws Exception { @Test public void test119UnassignDeputyPirate() throws Exception { final String TEST_NAME = "test119UnassignDeputyPirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -285,7 +285,7 @@ public void test119UnassignDeputyPirate() throws Exception { @Test public void test120AssignbarbossaDeputyOfGuybrush() throws Exception { final String TEST_NAME = "test120AssignbarbossaDeputyOfGuybrush"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -328,7 +328,7 @@ public void test120AssignbarbossaDeputyOfGuybrush() throws Exception { @Test public void test122AssignGuybrushPirate() throws Exception { final String TEST_NAME = "test122AssignGuybrushPirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -367,7 +367,7 @@ public void test122AssignGuybrushPirate() throws Exception { @Test public void test124RecomputeBarbossa() throws Exception { final String TEST_NAME = "test124RecomputeBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -408,7 +408,7 @@ public void test124RecomputeBarbossa() throws Exception { @Test public void test126UnassignGuybrushPirate() throws Exception { final String TEST_NAME = "test126UnassignGuybrushPirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -446,7 +446,7 @@ public void test126UnassignGuybrushPirate() throws Exception { @Test public void test128RecomputeBarbossa() throws Exception { final String TEST_NAME = "test128RecomputeBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -480,7 +480,7 @@ public void test128RecomputeBarbossa() throws Exception { @Test public void test129UnassignBarbossaDeputyOfGuybrush() throws Exception { final String TEST_NAME = "test129UnassignBarbossaDeputyOfGuybrush"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -516,7 +516,7 @@ public void test129UnassignBarbossaDeputyOfGuybrush() throws Exception { @Test public void test150AssignJackMoreRoles() throws Exception { final String TEST_NAME = "test150AssignJackMoreRoles"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -570,7 +570,7 @@ public void test150AssignJackMoreRoles() throws Exception { @Test public void test152AssignbarbossaDeputyLimitedDeputy() throws Exception { final String TEST_NAME = "test152AssignbarbossaDeputyLimitedDeputy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -607,7 +607,7 @@ public void test152AssignbarbossaDeputyLimitedDeputy() throws Exception { @Test public void test154UnassignbarbossaDeputyLimitedDeputy() throws Exception { final String TEST_NAME = "test154UnassignbarbossaDeputyLimitedDeputy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -641,7 +641,7 @@ public void test154UnassignbarbossaDeputyLimitedDeputy() throws Exception { @Test public void test156AssignbarbossaDeputyLimitedDeputyRed() throws Exception { final String TEST_NAME = "test156AssignbarbossaDeputyLimitedDeputyRed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -679,7 +679,7 @@ public void test156AssignbarbossaDeputyLimitedDeputyRed() throws Exception { @Test public void test159UnassignbarbossaDeputyLimitedDeputyRed() throws Exception { final String TEST_NAME = "test159UnassignbarbossaDeputyLimitedDeputyRed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -721,7 +721,7 @@ public void test159UnassignbarbossaDeputyLimitedDeputyRed() throws Exception { @Test public void test160AssignbarbossaDeputyLimitedDeputyEmpty() throws Exception { final String TEST_NAME = "test160AssignbarbossaDeputyLimitedDeputyEmpty"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -758,7 +758,7 @@ public void test160AssignbarbossaDeputyLimitedDeputyEmpty() throws Exception { @Test public void test162UnassignbarbossaDeputyLimitedDeputyEmpty() throws Exception { final String TEST_NAME = "test162UnassignbarbossaDeputyLimitedDeputyEmpty"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -799,7 +799,7 @@ public void test162UnassignbarbossaDeputyLimitedDeputyEmpty() throws Exception { @Test public void test170AddRoleDrinker() throws Exception { final String TEST_NAME = "test170AssignJackRoleDrinker"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -825,7 +825,7 @@ public void test170AddRoleDrinker() throws Exception { @Test public void test172AssignJackRoleDrinker() throws Exception { final String TEST_NAME = "test170AssignJackRoleDrinker"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -856,7 +856,7 @@ public void test172AssignJackRoleDrinker() throws Exception { @Test public void test172AssignbarbossaDeputyLimitedDeputyDrinker() throws Exception { final String TEST_NAME = "test172AssignbarbossaDeputyLimitedDeputyDrinker"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -885,7 +885,7 @@ public void test172AssignbarbossaDeputyLimitedDeputyDrinker() throws Exception { @Test public void test178UnassignbarbossaDeputyLimitedDeputyDrinker() throws Exception { final String TEST_NAME = "test178UnassignbarbossaDeputyLimitedDeputyDrinker"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -926,7 +926,7 @@ public void test178UnassignbarbossaDeputyLimitedDeputyDrinker() throws Exception @Test public void test180AssignbarbossaDeputyLimitedDeputyEmptyDrinker() throws Exception { final String TEST_NAME = "test180AssignbarbossaDeputyLimitedDeputyEmptyDrinker"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -964,7 +964,7 @@ public void test180AssignbarbossaDeputyLimitedDeputyEmptyDrinker() throws Except @Test public void test182UnassignbarbossaDeputyLimitedDeputyEmptyDrinker() throws Exception { final String TEST_NAME = "test182UnassignbarbossaDeputyLimitedDeputyEmptyDrinker"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -1007,7 +1007,7 @@ public void test182UnassignbarbossaDeputyLimitedDeputyEmptyDrinker() throws Exce @Test public void test800ImportValidityScannerTask() throws Exception { final String TEST_NAME = "test800ImportValidityScannerTask"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1035,7 +1035,7 @@ public void test800ImportValidityScannerTask() throws Exception { @Test public void test802AssignBarbossaDeputyOfJack() throws Exception { final String TEST_NAME = "test802AssignBarbossaDeputyOfJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -1091,7 +1091,7 @@ public void test802AssignBarbossaDeputyOfJack() throws Exception { @Test public void test804BarbosaThreeHoursLater() throws Exception { final String TEST_NAME = "test804BarbosaThreeHoursLater"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestDeputy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestEntitlements.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestEntitlements.java index 607d26d7da3..bc06fbd8f20 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestEntitlements.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestEntitlements.java @@ -132,7 +132,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100AddGroupShadowSwashbucklers() throws Exception { final String TEST_NAME = "test100AddGroupShadowSwashbucklers"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -155,7 +155,7 @@ public void test100AddGroupShadowSwashbucklers() throws Exception { @Test public void test101GetGroupShadowSwashbucklers() throws Exception { final String TEST_NAME = "test101GetGroupShadowSwashbucklers"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -178,7 +178,7 @@ public void test101GetGroupShadowSwashbucklers() throws Exception { @Test public void test110AssociateGuybrushToSwashbucklers() throws Exception { final String TEST_NAME = "test110AssociateGuybrushToSwashbucklers"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -205,7 +205,7 @@ public void test110AssociateGuybrushToSwashbucklers() throws Exception { @Test public void test200AssignRoleSwashbucklerToJack() throws Exception { final String TEST_NAME = "test200AssignRoleSwashbucklerToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -236,7 +236,7 @@ public void test200AssignRoleSwashbucklerToJack() throws Exception { @Test public void test209UnAssignRoleSwashbucklerFromJack() throws Exception { final String TEST_NAME = "test209UnAssignRoleSwashbucklerFromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -270,7 +270,7 @@ public void test209UnAssignRoleSwashbucklerFromJack() throws Exception { @Test public void test220AssignRoleLandluberToWally() throws Exception { final String TEST_NAME = "test220AssignRoleLandluberToWally"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -300,7 +300,7 @@ public void test220AssignRoleLandluberToWally() throws Exception { @Test public void test222AssignRoleMapmakerToWally() throws Exception { final String TEST_NAME = "test222AssignRoleMapmakerToWally"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -325,7 +325,7 @@ public void test222AssignRoleMapmakerToWally() throws Exception { @Test public void test224UnassignRoleMapmakerFromWally() throws Exception { final String TEST_NAME = "test224UnassignRoleMapmakerFromWally"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -350,7 +350,7 @@ public void test224UnassignRoleMapmakerFromWally() throws Exception { @Test public void test300AddRoleWimp() throws Exception { final String TEST_NAME = "test300AddRoleWimp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -379,7 +379,7 @@ public void test300AddRoleWimp() throws Exception { @Test public void test302AddRoleBrute() throws Exception { final String TEST_NAME = "test302AddRoleBrute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -407,7 +407,7 @@ public void test302AddRoleBrute() throws Exception { @Test public void test304AddRoleThug() throws Exception { final String TEST_NAME = "test304AddRoleThug"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -435,7 +435,7 @@ public void test304AddRoleThug() throws Exception { @Test public void test310AssignRoleWimpToLargo() throws Exception { final String TEST_NAME = "test310AssignRoleWimpToLargo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -462,7 +462,7 @@ public void test310AssignRoleWimpToLargo() throws Exception { @Test public void test312AssignRoleBruteToLargo() throws Exception { final String TEST_NAME = "test312AssignRoleBruteToLargo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -487,7 +487,7 @@ public void test312AssignRoleBruteToLargo() throws Exception { @Test public void test313UnAssignRoleBruteFromLargo() throws Exception { final String TEST_NAME = "test313UnAssignRoleBruteFromLargo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -522,7 +522,7 @@ public void test313UnAssignRoleBruteFromLargo() throws Exception { @Test public void test314AssignRoleThugToLargo() throws Exception { final String TEST_NAME = "test314AssignRoleThugToLargo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -547,7 +547,7 @@ public void test314AssignRoleThugToLargo() throws Exception { @Test public void test315UnAssignRoleThugFromLargo() throws Exception { final String TEST_NAME = "test315UnAssignRoleThugFromLargo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -586,7 +586,7 @@ public void test315UnAssignRoleThugFromLargo() throws Exception { @Test public void test317RenameLargo() throws Exception { final String TEST_NAME = "test317RenameLargo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -618,7 +618,7 @@ public void test317RenameLargo() throws Exception { @Test public void test319UnassignRoleWimpFromLargo() throws Exception { final String TEST_NAME = "test319UnassignRoleWimpFromLargo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -655,7 +655,7 @@ public void test319UnassignRoleWimpFromLargo() throws Exception { @Test public void test320AssignRoleBruteToRapp() throws Exception { final String TEST_NAME = "test320AssignRoleBruteToRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -682,7 +682,7 @@ public void test320AssignRoleBruteToRapp() throws Exception { @Test public void test322AssignRoleWimpToRapp() throws Exception { final String TEST_NAME = "test322AssignRoleWimpToRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -714,7 +714,7 @@ public void test322AssignRoleWimpToRapp() throws Exception { @Test public void test324AssignRoleThugToRapp() throws Exception { final String TEST_NAME = "test324AssignRoleThugToRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -753,7 +753,7 @@ public void test324AssignRoleThugToRapp() throws Exception { @Test public void test327UnassignRoleWimpFromRapp() throws Exception { final String TEST_NAME = "test327UnassignRoleWimpFromRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -795,7 +795,7 @@ public void test327UnassignRoleWimpFromRapp() throws Exception { @Test public void test328UnassignRoleThugFromRapp() throws Exception { final String TEST_NAME = "test328UnassignRoleThugFromRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -840,7 +840,7 @@ public void test328UnassignRoleThugFromRapp() throws Exception { @Test public void test329UnAssignRoleBruteFromRapp() throws Exception { final String TEST_NAME = "test329UnAssignRoleBruteFromRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -879,7 +879,7 @@ public void test329UnAssignRoleBruteFromRapp() throws Exception { @Test public void test350AssignOrangeAccountToGuybrushAndRapp() throws Exception { final String TEST_NAME = "test350AssignOrangeAccountToGuybrushAndRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -905,7 +905,7 @@ public void test350AssignOrangeAccountToGuybrushAndRapp() throws Exception { @Test public void test351AssignRoleCrewOfGuybrushToRapp() throws Exception { final String TEST_NAME = "test351AssignRoleCrewOfGuybrushToRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -950,7 +950,7 @@ public void test351AssignRoleCrewOfGuybrushToRapp() throws Exception { @Test public void test358UnassignRoleCrewOfGuybrushToRapp() throws Exception { final String TEST_NAME = "test358UnassignRoleCrewOfGuybrushToRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -990,7 +990,7 @@ public void test358UnassignRoleCrewOfGuybrushToRapp() throws Exception { @Test public void test359UnassignOrangeAccountFromGuybrushAndRapp() throws Exception { final String TEST_NAME = "test359UnassignOrangeAccountFromGuybrushAndRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1011,7 +1011,7 @@ public void test359UnassignOrangeAccountFromGuybrushAndRapp() throws Exception { @Test public void test600AssignRolePirateToJack() throws Exception { final String TEST_NAME = "test600AssignRolePirateToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1046,7 +1046,7 @@ public void test600AssignRolePirateToJack() throws Exception { @Test public void test610AssignRoleSwashbucklerToJack() throws Exception { final String TEST_NAME = "test610AssignRoleSwashbucklerToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1080,7 +1080,7 @@ public void test610AssignRoleSwashbucklerToJack() throws Exception { @Test public void test620UnAssignSwashbucklerFromJack() throws Exception { final String TEST_NAME = "test620UnAssignSwashbucklerFromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1118,7 +1118,7 @@ public void test620UnAssignSwashbucklerFromJack() throws Exception { @Test public void test630AssignRoleSwashbucklerToJackValidity() throws Exception { final String TEST_NAME = "test630AssignRoleSwashbucklerToJackValidity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1162,7 +1162,7 @@ public void test630AssignRoleSwashbucklerToJackValidity() throws Exception { @Test public void test640JackRoleSwashbucklerBecomesValid() throws Exception { final String TEST_NAME = "test640JackRoleSwashbucklerBecomesValid"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1198,7 +1198,7 @@ public void test640JackRoleSwashbucklerBecomesValid() throws Exception { @Test public void test645JackRoleSwashbucklerIsValid() throws Exception { final String TEST_NAME = "test645JackRoleSwashbucklerIsValid"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1231,7 +1231,7 @@ public void test645JackRoleSwashbucklerIsValid() throws Exception { @Test public void test650JackRoleSwashbucklerBecomesInvalid() throws Exception { final String TEST_NAME = "test650JackRoleSwashbucklerBecomesInvalid"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1268,7 +1268,7 @@ public void test650JackRoleSwashbucklerBecomesInvalid() throws Exception { @Test public void test659UnassignRoleSwashbucklerFromJack() throws Exception { final String TEST_NAME = "test659UnassignRoleSwashbucklerFromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1306,7 +1306,7 @@ public void test659UnassignRoleSwashbucklerFromJack() throws Exception { @Test public void test699UnassignRolePirateFromJack() throws Exception { final String TEST_NAME = "test699UnassignRolePirateFromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1332,7 +1332,7 @@ public void test699UnassignRolePirateFromJack() throws Exception { @Test public void test700ReconcileGuybrush() throws Exception { final String TEST_NAME = "test700ReconcileGuybrush"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1362,7 +1362,7 @@ public void test700ReconcileGuybrush() throws Exception { @Test public void test710AssociateGuybrushToLandlubers() throws Exception { final String TEST_NAME = "test710AssociateGuybrushToLandlubers"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1391,7 +1391,7 @@ public void test710AssociateGuybrushToLandlubers() throws Exception { @Test public void test715AssociateGuybrushToThugs() throws Exception { final String TEST_NAME = "test715AssociateGuybrushToThugs"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1435,7 +1435,7 @@ public void test715AssociateGuybrushToThugs() throws Exception { @Test public void test720ReconcileGuybrush() throws Exception { final String TEST_NAME = "test720ReconcileGuybrush"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1461,7 +1461,7 @@ public void test720ReconcileGuybrush() throws Exception { @Test public void test800AssignRoleSwashbucklerToJackNone() throws Exception { final String TEST_NAME = "test800AssignRoleSwashbucklerToJackNone"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1493,7 +1493,7 @@ public void test800AssignRoleSwashbucklerToJackNone() throws Exception { @Test public void test805ReconcileJackNone() throws Exception { final String TEST_NAME = "test805ReconcileJackNone"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1522,7 +1522,7 @@ public void test805ReconcileJackNone() throws Exception { @Test public void test809UnAssignRoleSwashbucklerFromJackNone() throws Exception { final String TEST_NAME = "test809UnAssignRoleSwashbucklerFromJackNone"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1550,7 +1550,7 @@ public void test809UnAssignRoleSwashbucklerFromJackNone() throws Exception { @Test public void test810AssignRoleSwashbucklerToJackPositive() throws Exception { final String TEST_NAME = "test810AssignRoleSwashbucklerToJackPositive"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1582,7 +1582,7 @@ public void test810AssignRoleSwashbucklerToJackPositive() throws Exception { @Test public void test815ReconcileJackPositive() throws Exception { final String TEST_NAME = "test815ReconcileJackPositive"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1611,7 +1611,7 @@ public void test815ReconcileJackPositive() throws Exception { @Test public void test817UnAssignRoleSwashbucklerFromJackPositive() throws Exception { final String TEST_NAME = "test817UnAssignRoleSwashbucklerFromJackPositive"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1639,7 +1639,7 @@ public void test817UnAssignRoleSwashbucklerFromJackPositive() throws Exception { @Test public void test819ReconcileJackPositive() throws Exception { final String TEST_NAME = "test819ReconcileJackPositive"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1672,7 +1672,7 @@ public void test819ReconcileJackPositive() throws Exception { @Test public void test820RecomputeJackFull() throws Exception { final String TEST_NAME = "test820RecomputeJackFull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1703,7 +1703,7 @@ public void test820RecomputeJackFull() throws Exception { @Test public void test822AssignRoleSwashbucklerToJackFull() throws Exception { final String TEST_NAME = "test822AssignRoleSwashbucklerToJackFull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1735,7 +1735,7 @@ public void test822AssignRoleSwashbucklerToJackFull() throws Exception { @Test public void test825ReconcileJackFull() throws Exception { final String TEST_NAME = "test825ReconcileJackFull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1764,7 +1764,7 @@ public void test825ReconcileJackFull() throws Exception { @Test public void test827UnAssignRoleSwashbucklerFromJackFull() throws Exception { final String TEST_NAME = "test827UnAssignRoleSwashbucklerFromJackFull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1792,7 +1792,7 @@ public void test827UnAssignRoleSwashbucklerFromJackFull() throws Exception { @Test public void test829ReconcileJackFull() throws Exception { final String TEST_NAME = "test829ReconcileJackFull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1821,7 +1821,7 @@ public void test829ReconcileJackFull() throws Exception { @Test public void test830AssignJackAccountDummy() throws Exception { final String TEST_NAME = "test830AssignJackAccountDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1852,7 +1852,7 @@ public void test830AssignJackAccountDummy() throws Exception { @Test public void test840AssignRoleSwashbucklerToJackNone() throws Exception { final String TEST_NAME = "test840AssignRoleSwashbucklerToJackNone"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1884,7 +1884,7 @@ public void test840AssignRoleSwashbucklerToJackNone() throws Exception { @Test public void test849UnassignRoleSwashbucklerFromJackNone() throws Exception { final String TEST_NAME = "test849UnassignRoleSwashbucklerFromJackNone"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1912,7 +1912,7 @@ public void test849UnassignRoleSwashbucklerFromJackNone() throws Exception { @Test public void test850AssignRoleSwashbucklerToJackPositive() throws Exception { final String TEST_NAME = "test850AssignRoleSwashbucklerToJackPositive"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1944,7 +1944,7 @@ public void test850AssignRoleSwashbucklerToJackPositive() throws Exception { @Test public void test859UnassignRoleSwashbucklerToJackPositive() throws Exception { final String TEST_NAME = "test859UnassignRoleSwashbucklerToJackPositive"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1974,7 +1974,7 @@ public void test859UnassignRoleSwashbucklerToJackPositive() throws Exception { @Test public void test860RecomputeJackFull() throws Exception { final String TEST_NAME = "test860RecomputeJackFull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2002,7 +2002,7 @@ public void test860RecomputeJackFull() throws Exception { @Test public void test862AssignRoleSwashbucklerToJackFull() throws Exception { final String TEST_NAME = "test862AssignRoleSwashbucklerToJackFull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2034,7 +2034,7 @@ public void test862AssignRoleSwashbucklerToJackFull() throws Exception { @Test public void test869UnassignRoleSwashbucklerToJackFull() throws Exception { final String TEST_NAME = "test869UnassignRoleSwashbucklerToJackFull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2062,7 +2062,7 @@ public void test869UnassignRoleSwashbucklerToJackFull() throws Exception { @Test public void test899UnAssignAccountJackDummy() throws Exception { final String TEST_NAME = "test899UnAssignAccountJackDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestInbounds.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestInbounds.java index 59516272619..9545ddaad9d 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestInbounds.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestInbounds.java @@ -73,7 +73,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -93,7 +93,7 @@ public void test000Sanity() throws Exception { @Test public void test101ModifyUserEmployeeTypePirate() throws Exception { final String TEST_NAME = "test101ModifyUserEmployeeTypePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -141,7 +141,7 @@ public void test101ModifyUserEmployeeTypePirate() throws Exception { @Test public void test102ModifyUserEmployeeTypeBuccaneer() throws Exception { final String TEST_NAME = "test102ModifyUserEmployeeTypeBuccaneer"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -175,7 +175,7 @@ public void test102ModifyUserEmployeeTypeBuccaneer() throws Exception { @Test public void test103DeleteUserEmployeeTypeBartender() throws Exception { final String TEST_NAME = "test103ModifyUserEmployeeTypeBartender"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -216,7 +216,7 @@ public void test103DeleteUserEmployeeTypeBartender() throws Exception { @Test public void test200AssignAccountOrange() throws Exception { final String TEST_NAME = "test200AssignAccountOrange"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -259,7 +259,7 @@ public void test200AssignAccountOrange() throws Exception { @Test public void test202ModifyAccountOrangeGossip() throws Exception { final String TEST_NAME = "test202ModifyAccountOrangeGossip"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -303,7 +303,7 @@ public void test202ModifyAccountOrangeGossip() throws Exception { @Test public void test204AssignAccountOrangeAgain() throws Exception { final String TEST_NAME = "test204AssignAccountOrangeAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -347,7 +347,7 @@ public void test204AssignAccountOrangeAgain() throws Exception { @Test public void test209ModifyAccountOrangeGossipRemove() throws Exception { final String TEST_NAME = "test209ModifyAccountOrangeGossipRemove"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -393,7 +393,7 @@ public void test209ModifyAccountOrangeGossipRemove() throws Exception { @Test public void test210ModifyAccountOrangeQuoteMonkey() throws Exception { final String TEST_NAME = "test210ModifyAccountOrangeQuoteMonkey"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -441,7 +441,7 @@ public void test210ModifyAccountOrangeQuoteMonkey() throws Exception { @Test public void test211ModifyAccountOrangeQuotePirate() throws Exception { final String TEST_NAME = "test211ModifyAccountOrangeQuotePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -489,7 +489,7 @@ public void test211ModifyAccountOrangeQuotePirate() throws Exception { @Test public void test214ModifyAccountOrangeQuoteWoodchuck() throws Exception { final String TEST_NAME = "test214ModifyAccountOrangeQuoteWoodchuck"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -536,7 +536,7 @@ public void test214ModifyAccountOrangeQuoteWoodchuck() throws Exception { @Test public void test250UnlinkAccountDefaultDummy() throws Exception { final String TEST_NAME = "test250UnlinkAccountDefaultDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -581,7 +581,7 @@ public void test250UnlinkAccountDefaultDummy() throws Exception { @Test public void test252ModifyAccountOrangeGossipRecon() throws Exception { final String TEST_NAME = "test252ModifyAccountOrangeGossipRecon"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -627,7 +627,7 @@ public void test252ModifyAccountOrangeGossipRecon() throws Exception { @Test public void test259ModifyAccountOrangeGossipRemoveRecon() throws Exception { final String TEST_NAME = "test259ModifyAccountOrangeGossipRemoveRecon"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -674,7 +674,7 @@ public void test259ModifyAccountOrangeGossipRemoveRecon() throws Exception { @Test public void test260ModifyAccountOrangeQuoteMonkeyRecon() throws Exception { final String TEST_NAME = "test260ModifyAccountOrangeQuoteMonkeyRecon"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -729,7 +729,7 @@ public void test260ModifyAccountOrangeQuoteMonkeyRecon() throws Exception { @Test public void test261ModifyAccountOrangeQuotePirateRecon() throws Exception { final String TEST_NAME = "test261ModifyAccountOrangeQuotePirateRecon"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -779,7 +779,7 @@ public void test261ModifyAccountOrangeQuotePirateRecon() throws Exception { @Test public void test264ModifyAccountOrangeQuoteWoodchuckRecon() throws Exception { final String TEST_NAME = "test264ModifyAccountOrangeQuoteWoodchuckRecon"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -827,7 +827,7 @@ public void test264ModifyAccountOrangeQuoteWoodchuckRecon() throws Exception { @Test public void test297ModifyAccountOrangeGossipRecon() throws Exception { final String TEST_NAME = "test297ModifyAccountOrangeGossipRecon"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -869,7 +869,7 @@ public void test297ModifyAccountOrangeGossipRecon() throws Exception { @Test public void test299UnassignAccountOrange() throws Exception { final String TEST_NAME = "test299UnassignAccountOrange"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIntent.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIntent.java index 27de455fe2a..90a3a318249 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIntent.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIntent.java @@ -67,7 +67,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test131ModifyUserJackAssignAccountDefault() throws Exception { final String TEST_NAME="test131ModifyUserJackAssignAccountDefault"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIntent.class.getName() + "." + TEST_NAME); @@ -128,7 +128,7 @@ public void test131ModifyUserJackAssignAccountDefault() throws Exception { @Test public void test132ModifyUserJackAssignAccountTest() throws Exception { final String TEST_NAME="test132ModifyUserJackAssignAccountTest"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIntent.class.getName() + "." + TEST_NAME); @@ -202,7 +202,7 @@ public void test132ModifyUserJackAssignAccountTest() throws Exception { @Test public void test135ModifyUserJackFullName() throws Exception { final String TEST_NAME="test135ModifyUserJackFullName"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIntent.class.getName() + "." + TEST_NAME); @@ -265,7 +265,7 @@ public void test135ModifyUserJackFullName() throws Exception { @Test public void test147ModifyUserJackUnAssignAccountDefault() throws Exception { final String TEST_NAME="test147ModifyUserJackUnAssignAccountDefault"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIntent.class.getName() + "." + TEST_NAME); @@ -326,7 +326,7 @@ public void test147ModifyUserJackUnAssignAccountDefault() throws Exception { @Test public void test149ModifyUserJackUnassignAccountTest() throws Exception { final String TEST_NAME = "test149ModifyUserJackUnassignAccountTest"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIntent.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIteration.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIteration.java index ae871143986..dfeb544ea00 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIteration.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIteration.java @@ -266,7 +266,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100JackAssignAccountDummyConflicting() throws Exception { final String TEST_NAME = "test100JackAssignAccountDummyConflicting"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -324,7 +324,7 @@ public void test100JackAssignAccountDummyConflicting() throws Exception { @Test public void test200JackAssignAccountDummyPinkConflicting() throws Exception { final String TEST_NAME = "test200JackAssignAccountDummyPinkConflicting"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -412,7 +412,7 @@ public void test200JackAssignAccountDummyPinkConflicting() throws Exception { @Test public void test210GuybrushAssignAccountDummyPink() throws Exception { final String TEST_NAME = "test210GuybrushAssignAccountDummyPink"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -468,7 +468,7 @@ public void test210GuybrushAssignAccountDummyPink() throws Exception { @Test public void test220DeWattAssignAccountDummyPinkCaseIgnore() throws Exception { final String TEST_NAME = "test220DeWattAssignAccountDummyPinkCaseIgnore"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -537,7 +537,7 @@ public void test220DeWattAssignAccountDummyPinkCaseIgnore() throws Exception { @Test public void test230ScroogeAddAccountDummyConflictingNoShadow() throws Exception { final String TEST_NAME = "test230ScroogeAddAccountDummyConflictingNoShadow"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -591,7 +591,7 @@ public void test230ScroogeAddAccountDummyConflictingNoShadow() throws Exception @Test public void test235HackerAddAccountDummyEternalConflict() throws Exception { final String TEST_NAME = "test235HackerAddAccountDummyEternalConflict"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -635,7 +635,7 @@ public void test235HackerAddAccountDummyEternalConflict() throws Exception { @Test public void test240LargoAssignAccountDummyConflictingNoShadow() throws Exception { final String TEST_NAME = "test240LargoAssignAccountDummyConflictingNoShadow"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -705,7 +705,7 @@ public void test240LargoAssignAccountDummyConflictingNoShadow() throws Exception @Test public void test260JupiterConflictNoShadowSyncBack() throws Exception { final String TEST_NAME = "test260JupiterConflictNoShadowSyncBack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -768,7 +768,7 @@ public void test262JupiterCleanup() throws Exception { } protected void cleanUpJupiter(String TEST_NAME) throws SchemaException, ObjectAlreadyExistsException, ObjectNotFoundException, ExpressionEvaluationException, CommunicationException, ConfigurationException, PolicyViolationException, SecurityViolationException, SchemaViolationException, ConflictException { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -811,7 +811,7 @@ protected void cleanUpJupiter(String TEST_NAME) throws SchemaException, ObjectAl @Test public void test264JupiterConflictNoShadowSyncBackSeparate() throws Exception { final String TEST_NAME = "test264JupiterConflictNoShadowSyncBackSeparate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -879,7 +879,7 @@ public void test266JupiterCleanupAgain() throws Exception { @Test public void test270JupiterConflictOtherNoShadowSyncBack() throws Exception { final String TEST_NAME = "test270JupiterConflictOtherNoShadowSyncBack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -963,7 +963,7 @@ private void assertUserJupiter(PrismObject user) { @Test public void test280RenameBobNoShadow() throws Exception { final String TEST_NAME = "test280RenameBobNoShadow"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1024,7 +1024,7 @@ public void test280RenameBobNoShadow() throws Exception { @Test public void test282RenamePeterNoShadowSync() throws Exception { final String TEST_NAME = "test282RenamePeterNoShadowSync"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1101,7 +1101,7 @@ public void test282RenamePeterNoShadowSync() throws Exception { @Test public void test290AlfredConflictNoShadowSyncBackAdd() throws Exception { final String TEST_NAME = "test290AlfredConflictNoShadowSyncBackAdd"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1150,7 +1150,7 @@ public void test290AlfredConflictNoShadowSyncBackAdd() throws Exception { @Test public void test300JackAssignAccountDummyVioletConflicting() throws Exception { final String TEST_NAME = "test300JackAssignAccountDummyVioletConflicting"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1217,7 +1217,7 @@ public void test300JackAssignAccountDummyVioletConflicting() throws Exception { @Test public void test350GuybrushAssignAccountDummyViolet() throws Exception { final String TEST_NAME = "test350GuybrushAssignAccountDummyViolet"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1274,7 +1274,7 @@ public void test350GuybrushAssignAccountDummyViolet() throws Exception { @Test public void test360HermanAssignAccountDummyViolet() throws Exception { final String TEST_NAME = "test360HermanAssignAccountDummyViolet"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1334,7 +1334,7 @@ public void test360HermanAssignAccountDummyViolet() throws Exception { @Test public void test400RenameAngelicaConflicting() throws Exception { final String TEST_NAME = "test400RenameAngelicaConflicting"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1368,7 +1368,7 @@ public void test400RenameAngelicaConflicting() throws Exception { @Test public void test500JackAssignAccountDummyMagenta() throws Exception { final String TEST_NAME = "test500JackAssignAccountDummyMagenta"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1437,7 +1437,7 @@ public void test500JackAssignAccountDummyMagenta() throws Exception { @Test public void test510DrakeAssignAccountDummyMagenta() throws Exception { final String TEST_NAME = "test510DrakeAssignAccountDummyMagenta"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1517,7 +1517,7 @@ public void test510DrakeAssignAccountDummyMagenta() throws Exception { @Test public void test520DrakeModifyLocality() throws Exception { final String TEST_NAME = "test520DrakeModifyLocality"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1582,7 +1582,7 @@ public void test520DrakeModifyLocality() throws Exception { @Test public void test530GuybrushAssignAccountDummyMagenta() throws Exception { final String TEST_NAME = "test530GuybrushAssignAccountDummyMagenta"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1649,7 +1649,7 @@ public void test530GuybrushAssignAccountDummyMagenta() throws Exception { @Test public void test532GuybrushModifyDescription() throws Exception { final String TEST_NAME = "test532GuybrushModifyDescription"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1713,7 +1713,7 @@ public void test532GuybrushModifyDescription() throws Exception { @Test public void test600JackRename() throws Exception { final String TEST_NAME = "test600JackRename"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1775,7 +1775,7 @@ public void test600JackRename() throws Exception { @Test public void test700DarkVioletSyncTask() throws Exception { final String TEST_NAME = "test700DarkVioletSyncTask"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // WHEN importObjectFromFile(TASK_LIVE_SYNC_DUMMY_DARK_VIOLET_FILE); @@ -1790,7 +1790,7 @@ public void test700DarkVioletSyncTask() throws Exception { @Test public void test710DarkVioletAddLeChuck() throws Exception { final String TEST_NAME = "test710DarkVioletAddLeChuck"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1820,7 +1820,7 @@ public void test710DarkVioletAddLeChuck() throws Exception { @Test public void test712DarkVioletAddCharles() throws Exception { final String TEST_NAME = "test712DarkVioletAddCharles"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1851,7 +1851,7 @@ public void test712DarkVioletAddCharles() throws Exception { @Test public void test714DarkVioletAddShinetop() throws Exception { final String TEST_NAME = "test714DarkVioletAddShinetop"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1881,7 +1881,7 @@ public void test714DarkVioletAddShinetop() throws Exception { @Test public void test716DarkVioletDeleteCharles() throws Exception { final String TEST_NAME = "test716DarkVioletDeleteCharles"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1905,7 +1905,7 @@ public void test716DarkVioletDeleteCharles() throws Exception { @Test public void test720DarkVioletModifyShinetopLocation() throws Exception { final String TEST_NAME = "test720DarkVioletModifyShinetopLocation"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1932,7 +1932,7 @@ public void test720DarkVioletModifyShinetopLocation() throws Exception { @Test public void test722DarkVioletModifyShinetopFullName() throws Exception { final String TEST_NAME = "test722DarkVioletModifyShinetopFullName"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1964,7 +1964,7 @@ public void test722DarkVioletModifyShinetopFullName() throws Exception { @Test public void test730DarkVioletAddBarbossa() throws Exception { final String TEST_NAME = "test730DarkVioletAddBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -1997,7 +1997,7 @@ public void test730DarkVioletAddBarbossa() throws Exception { @Test public void test732DarkVioletAddBarbossa() throws Exception { final String TEST_NAME = "test732DarkVioletAddBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -2025,7 +2025,7 @@ public void test732DarkVioletAddBarbossa() throws Exception { @Test public void test750DarkVioletAddMatusalem() throws Exception { final String TEST_NAME = "test750DarkVioletAddMatusalem"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -2059,7 +2059,7 @@ public void test750DarkVioletAddMatusalem() throws Exception { @Test public void test752DarkVioletAddDiplomatico() throws Exception { final String TEST_NAME = "test752DarkVioletAddDiplomatico"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -2094,7 +2094,7 @@ public void test752DarkVioletAddDiplomatico() throws Exception { @Test public void test754DarkVioletAddMilionario() throws Exception { final String TEST_NAME = "test754DarkVioletAddMilionario"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -2126,7 +2126,7 @@ public void test754DarkVioletAddMilionario() throws Exception { @Test public void test756DarkVioletDeleteDiplomatico() throws Exception { final String TEST_NAME = "test756DarkVioletDeleteDiplomatico"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -2150,7 +2150,7 @@ public void test756DarkVioletDeleteDiplomatico() throws Exception { @Test public void test760DarkVioletModifyMillonarioLocation() throws Exception { final String TEST_NAME = "test760DarkVioletModifyMillonarioLocation"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -2180,7 +2180,7 @@ public void test760DarkVioletModifyMillonarioLocation() throws Exception { @Test public void test762DarkVioletModifyMillonarioFullName() throws Exception { final String TEST_NAME = "test762DarkVioletModifyMillonarioFullName"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -2211,7 +2211,7 @@ public void test762DarkVioletModifyMillonarioFullName() throws Exception { @Test public void test764DarkVioletModifyMatusalemFullName() throws Exception { final String TEST_NAME = "test764DarkVioletModifyMatusalemFullName"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -2245,7 +2245,7 @@ public void test764DarkVioletModifyMatusalemFullName() throws Exception { @Test public void test800UniqeEmailAddUserAlfredoFettucini() throws Exception { final String TEST_NAME = "test800UniqeEmailAddUserAlfredoFettucini"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); @@ -2283,7 +2283,7 @@ public void test800UniqeEmailAddUserAlfredoFettucini() throws Exception { @Test public void test802UniqeEmailAddUserBillFettucini() throws Exception { final String TEST_NAME = "test802UniqeEmailAddUserBillFettucini"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestIteration.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLoggingConfiguration.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLoggingConfiguration.java index faac70d675c..651c9cbe439 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLoggingConfiguration.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLoggingConfiguration.java @@ -76,7 +76,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test001CreateSystemConfiguration() throws Exception { final String TEST_NAME = "test001CreateSystemConfiguration"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN LogfileTestTailer tailer = new LogfileTestTailer(LoggingConfigurationManager.AUDIT_LOGGER_NAME); @@ -104,7 +104,7 @@ public void test001CreateSystemConfiguration() throws Exception { @Test public void test002InitialConfiguration() throws Exception { final String TEST_NAME = "test002InitialConfiguration"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN LogfileTestTailer tailer = new LogfileTestTailer(LoggingConfigurationManager.AUDIT_LOGGER_NAME); @@ -159,7 +159,7 @@ public void test002InitialConfiguration() throws Exception { @Test public void test004OverwriteInitialConfiguration() throws Exception { final String TEST_NAME = "test004OverwriteInitialConfiguration"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN LogfileTestTailer tailer = new LogfileTestTailer(LoggingConfigurationManager.AUDIT_LOGGER_NAME); @@ -204,7 +204,7 @@ public void test004OverwriteInitialConfiguration() throws Exception { @Test public void test010AddModelSubsystemLogger() throws Exception { final String TEST_NAME = "test010AddModelSubsystemLogger"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN LogfileTestTailer tailer = new LogfileTestTailer(LoggingConfigurationManager.AUDIT_LOGGER_NAME); @@ -267,7 +267,7 @@ public void test010AddModelSubsystemLogger() throws Exception { @Test public void test020JulLoggingDisabled() throws Exception { final String TEST_NAME = "test020JulLoggingDisabled"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN LogfileTestTailer tailer = new LogfileTestTailer(LoggingConfigurationManager.AUDIT_LOGGER_NAME); @@ -298,7 +298,7 @@ public void test020JulLoggingDisabled() throws Exception { @Test public void test021JulLoggingEnabled() throws Exception { final String TEST_NAME = "test021JulLoggingEnabled"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN LogfileTestTailer tailer = new LogfileTestTailer(LoggingConfigurationManager.AUDIT_LOGGER_NAME); @@ -355,7 +355,7 @@ public void test021JulLoggingEnabled() throws Exception { @Test public void test030ConnectorLogging() throws Exception { final String TEST_NAME = "test030ConnectorLogging"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN LogfileTestTailer tailer = new LogfileTestTailer(LoggingConfigurationManager.AUDIT_LOGGER_NAME); @@ -417,7 +417,7 @@ public void test030ConnectorLogging() throws Exception { @Test public void test101EnableBasicAudit() throws Exception { - TestUtil.displayTestTile("test101EnableBasicAudit"); + TestUtil.displayTestTitle("test101EnableBasicAudit"); // GIVEN LogfileTestTailer tailer = new LogfileTestTailer(LoggingConfigurationManager.AUDIT_LOGGER_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMapping.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMapping.java index 030ac68aa93..22c5d70dacb 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMapping.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMapping.java @@ -119,7 +119,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100ModifyUserAssignAccountDummyBlue() throws Exception { final String TEST_NAME = "test100ModifyUserJackAssignAccountDummyBlue"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -176,7 +176,7 @@ public void test100ModifyUserAssignAccountDummyBlue() throws Exception { @Test public void test101ModifyUserFullName() throws Exception { final String TEST_NAME = "test101ModifyUserFullName"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -216,7 +216,7 @@ public void test101ModifyUserFullName() throws Exception { @Test public void test102ModifyUserFullNameRecon() throws Exception { final String TEST_NAME = "test102ModifyUserFullNameRecon"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -259,7 +259,7 @@ public void test102ModifyUserFullNameRecon() throws Exception { @Test public void test104ModifyUserOrganizationalUnit() throws Exception { final String TEST_NAME = "test104ModifyUserOrganizationalUnit"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -293,7 +293,7 @@ public void test104ModifyUserOrganizationalUnit() throws Exception { @Test public void test105ModifyAccountShip() throws Exception { final String TEST_NAME = "test105ModifyAccountShip"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -338,7 +338,7 @@ accountOid, getDummyResourceController(RESOURCE_DUMMY_BLUE_NAME).getAttributePat @Test public void test106ModifyAccountShipReplaceEmpty() throws Exception { final String TEST_NAME = "test106ModifyAccountShipReplaceEmpty"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -379,7 +379,7 @@ accountOid, getDummyResourceController(RESOURCE_DUMMY_BLUE_NAME).getAttributePat @Test public void test107ModifyAccountShipAgain() throws Exception { final String TEST_NAME = "test107ModifyAccountShipAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -424,7 +424,7 @@ accountOid, getDummyResourceController(RESOURCE_DUMMY_BLUE_NAME).getAttributePat @Test public void test108ModifyAccountShipDelete() throws Exception { final String TEST_NAME = "test108ModifyAccountShipDelete"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -465,7 +465,7 @@ accountOid, getDummyResourceController(RESOURCE_DUMMY_BLUE_NAME).getAttributePat @Test public void test109ModifyUserUnassignAccountBlue() throws Exception { final String TEST_NAME = "test109ModifyUserUnassignAccountBlue"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -510,7 +510,7 @@ public void test109ModifyUserUnassignAccountBlue() throws Exception { @Test public void test120ModifyUserAssignAccountDummyRed() throws Exception { final String TEST_NAME = "test120ModifyUserAssignAccountDummyRed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -563,7 +563,7 @@ public void test120ModifyUserAssignAccountDummyRed() throws Exception { @Test public void test121ModifyUserFullName() throws Exception { final String TEST_NAME = "test121ModifyUserFullName"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -597,7 +597,7 @@ public void test121ModifyUserFullName() throws Exception { @Test public void test122ModifyUserOrganizationalUnit() throws Exception { final String TEST_NAME = "test122ModifyUserOrganizationalUnit"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -631,7 +631,7 @@ public void test122ModifyUserOrganizationalUnit() throws Exception { @Test public void test123ModifyAccountShip() throws Exception { final String TEST_NAME = "test123ModifyAccountShip"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -684,7 +684,7 @@ accountOid, getDummyResourceController(RESOURCE_DUMMY_RED_NAME).getAttributePath @Test public void test124ModifyAccountShipReplaceEmpty() throws Exception { final String TEST_NAME = "test124ModifyAccountShipReplaceEmpty"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -725,7 +725,7 @@ accountOid, getDummyResourceController(RESOURCE_DUMMY_RED_NAME).getAttributePath @Test public void test126ModifyAccountShipDelete() throws Exception { final String TEST_NAME = "test126ModifyAccountShipDelete"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -778,7 +778,7 @@ accountOid, getDummyResourceController(RESOURCE_DUMMY_RED_NAME).getAttributePath @Test public void test128ModifyUserOrganization() throws Exception { final String TEST_NAME = "test128ModifyUserOrganization"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -815,7 +815,7 @@ public void test128ModifyUserOrganization() throws Exception { @Test public void test138ModifyUserUnassignAccountRed() throws Exception { final String TEST_NAME = "test138ModifyUserUnassignAccountRed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -874,7 +874,7 @@ public void test138ModifyUserUnassignAccountRed() throws Exception { @Test public void test139DeleteAccountRed() throws Exception { final String TEST_NAME = "test139DeleteAccountRed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -920,7 +920,7 @@ public void test139DeleteAccountRed() throws Exception { @Test public void test140ModifyUserAssignAccountDummyDefault() throws Exception { final String TEST_NAME = "test140ModifyUserAssignAccountDummyDefault"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -973,7 +973,7 @@ public void test140ModifyUserAssignAccountDummyDefault() throws Exception { @Test public void test141ModifyUserFullName() throws Exception { final String TEST_NAME = "test141ModifyUserFullName"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1010,7 +1010,7 @@ public void test141ModifyUserFullName() throws Exception { @Test public void test142ModifyUserLocality() throws Exception { final String TEST_NAME = "test142ModifyUserLocality"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1044,7 +1044,7 @@ public void test142ModifyUserLocality() throws Exception { @Test public void test143ModifyAccountLocation() throws Exception { final String TEST_NAME = "test143ModifyAccountLocation"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1097,7 +1097,7 @@ public void test143ModifyAccountLocation() throws Exception { @Test public void test144ModifyAccountLocationReplaceEmpty() throws Exception { final String TEST_NAME = "test144ModifyAccountLocationReplaceEmpty"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1138,7 +1138,7 @@ public void test144ModifyAccountLocationReplaceEmpty() throws Exception { @Test public void test145ModifyAccountLocationDelete() throws Exception { final String TEST_NAME = "test145ModifyAccountLocationDelete"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1186,7 +1186,7 @@ public void test145ModifyAccountLocationDelete() throws Exception { @Test public void test148ModifyUserRename() throws Exception { final String TEST_NAME = "test148ModifyUserRename"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1221,7 +1221,7 @@ public void test148ModifyUserRename() throws Exception { @Test public void test149ModifyUserUnassignAccountDummy() throws Exception { final String TEST_NAME = "test149ModifyUserUnassignAccountDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1320,7 +1320,7 @@ private void assertAccount(PrismObject userJack, String expectedFullNa @Test public void test200ModifyUserAssignAccountDummyCrimson() throws Exception { final String TEST_NAME = "test200ModifyUserAssignAccountDummyCrimson"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1354,7 +1354,7 @@ public void test200ModifyUserAssignAccountDummyCrimson() throws Exception { @Test public void test202NativeModifyDummyCrimsonThenReconcile() throws Exception { final String TEST_NAME = "test202NativeModifyDummyCrimsonThenReconcile"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1398,7 +1398,7 @@ public void test202NativeModifyDummyCrimsonThenReconcile() throws Exception { @Test public void test204DummyCrimsonReconcile() throws Exception { final String TEST_NAME = "test204DummyCrimsonReconcile"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1444,7 +1444,7 @@ public void test204DummyCrimsonReconcile() throws Exception { @Test public void test206DummyCrimsonReconcileIOError() throws Exception { final String TEST_NAME = "test206DummyCrimsonReconcileIOError"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1496,7 +1496,7 @@ public void test206DummyCrimsonReconcileIOError() throws Exception { @Test public void test208DummyCrimsonReconcileAgain() throws Exception { final String TEST_NAME = "test208DummyCrimsonReconcileAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1542,7 +1542,7 @@ public void test208DummyCrimsonReconcileAgain() throws Exception { @Test public void test210ModifyUserLocality() throws Exception { final String TEST_NAME = "test210ModifyUserLocality"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1588,7 +1588,7 @@ public void test210ModifyUserLocality() throws Exception { @Test public void test212ModifyUserLocalityRecon() throws Exception { final String TEST_NAME = "test212ModifyUserLocalityRecon"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1638,7 +1638,7 @@ public void test212ModifyUserLocalityRecon() throws Exception { @Test public void test214ModifyUserLocalityIOError() throws Exception { final String TEST_NAME = "test214ModifyUserLocalityIOError"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1691,7 +1691,7 @@ public void test214ModifyUserLocalityIOError() throws Exception { @Test public void test220NativeModifyDummyCrimsonThenChangePassword() throws Exception { final String TEST_NAME = "test220NativeModifyDummyCrimsonThenChangePassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1745,7 +1745,7 @@ public void test220NativeModifyDummyCrimsonThenChangePassword() throws Exception @Test public void test229ModifyUserUnassignAccountDummyCrimson() throws Exception { final String TEST_NAME = "test229ModifyUserUnassignAccountDummyCrimson"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1774,7 +1774,7 @@ public void test229ModifyUserUnassignAccountDummyCrimson() throws Exception { @Test public void test250ModifyUserAssignAccountDummyLightCrimson() throws Exception { final String TEST_NAME = "test250ModifyUserAssignAccountDummyLightCrimson"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1814,7 +1814,7 @@ public void test250ModifyUserAssignAccountDummyLightCrimson() throws Exception { @Test public void test252NativeModifyDummyLightCrimsonThenReconcile() throws Exception { final String TEST_NAME = "test252NativeModifyDummyLightCrimsonThenReconcile"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1858,7 +1858,7 @@ public void test252NativeModifyDummyLightCrimsonThenReconcile() throws Exception @Test public void test254DummyLightCrimsonReconcile() throws Exception { final String TEST_NAME = "test254DummyLightCrimsonReconcile"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1905,7 +1905,7 @@ public void test254DummyLightCrimsonReconcile() throws Exception { @Test public void test256DummyLightCrimsonReconcileIOError() throws Exception { final String TEST_NAME = "test256DummyLightCrimsonReconcileIOError"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1957,7 +1957,7 @@ public void test256DummyLightCrimsonReconcileIOError() throws Exception { @Test public void test258DummyLightCrimsonReconcileAgain() throws Exception { final String TEST_NAME = "test258DummyLightCrimsonReconcileAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2003,7 +2003,7 @@ public void test258DummyLightCrimsonReconcileAgain() throws Exception { @Test public void test260ModifyUserLocality() throws Exception { final String TEST_NAME = "test260ModifyUserLocality"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2049,7 +2049,7 @@ public void test260ModifyUserLocality() throws Exception { @Test public void test262ModifyUserLocalityRecon() throws Exception { final String TEST_NAME = "test262ModifyUserLocalityRecon"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2099,7 +2099,7 @@ public void test262ModifyUserLocalityRecon() throws Exception { @Test public void test264ModifyUserLocalityIOError() throws Exception { final String TEST_NAME = "test264ModifyUserLocalityIOError"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2152,7 +2152,7 @@ public void test264ModifyUserLocalityIOError() throws Exception { @Test public void test270NativeModifyDummyLightCrimsonThenChangePassword() throws Exception { final String TEST_NAME = "test270NativeModifyDummyLightCrimsonThenChangePassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2206,7 +2206,7 @@ public void test270NativeModifyDummyLightCrimsonThenChangePassword() throws Exce @Test public void test279ModifyUserUnassignAccountDummyLightCrimson() throws Exception { final String TEST_NAME = "test279ModifyUserUnassignAccountDummyLightCrimson"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2239,7 +2239,7 @@ public void test279ModifyUserUnassignAccountDummyLightCrimson() throws Exception @Test public void test300AssignGuybrushDummyYellow() throws Exception { final String TEST_NAME = "test300AssignGuybrushDummyYellow"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2277,7 +2277,7 @@ public void test300AssignGuybrushDummyYellow() throws Exception { @Test public void test309UnassignGuybrushDummyYellow() throws Exception { final String TEST_NAME = "test309UnassignGuybrushDummyYellow"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMappingInbound.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMappingInbound.java index 354056761f9..6f339f69a77 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMappingInbound.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMappingInbound.java @@ -82,7 +82,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100ImportLiveSyncTaskDummyTeaGreen() throws Exception { final String TEST_NAME = "test100ImportLiveSyncTaskDummyTeaGreen"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestMappingInbound.class.getName() + "." + TEST_NAME); @@ -101,7 +101,7 @@ public void test100ImportLiveSyncTaskDummyTeaGreen() throws Exception { @Test public void test110AddDummyTeaGreenAccountMancomb() throws Exception { final String TEST_NAME = "test110AddDummyTeaGreenAccountMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestMappingInbound.class.getName() + "." + TEST_NAME); @@ -149,7 +149,7 @@ public void test110AddDummyTeaGreenAccountMancomb() throws Exception { @Test public void test150UserReconcile() throws Exception { final String TEST_NAME = "test150UserReconcile"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestMappingInbound.class.getName() + "." + TEST_NAME); @@ -197,7 +197,7 @@ public void test150UserReconcile() throws Exception { @Test public void test300DeleteDummyTeaGreenAccountMancomb() throws Exception { final String TEST_NAME = "test300DeleteDummyTeaGreenAccountMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestMappingInbound.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMerge.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMerge.java index 9fb9202be37..2fd01ff0f99 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMerge.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMerge.java @@ -81,7 +81,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); PrismObject userJackBefore = getUser(USER_JACK_OID); display("Jack before", userJackBefore); @@ -109,7 +109,7 @@ public void test000Sanity() throws Exception { @Test public void test100MergeJackGuybrushPreviewDelta() throws Exception { final String TEST_NAME = "test100MergeJackGuybrushPreviewDelta"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestMerge.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -173,7 +173,7 @@ public void test100MergeJackGuybrushPreviewDelta() throws Exception { @Test public void test102MergeJackGuybrushPreviewObject() throws Exception { final String TEST_NAME = "test102MergeJackGuybrushPreviewObject"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestMerge.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -224,7 +224,7 @@ public void test102MergeJackGuybrushPreviewObject() throws Exception { @Test public void test110MergeGuybrushJackPreviewDelta() throws Exception { final String TEST_NAME = "test110MergeGuybrushJackPreviewDelta"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestMerge.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -289,7 +289,7 @@ public void test110MergeGuybrushJackPreviewDelta() throws Exception { @Test public void test112MergeGuybrushJackPreviewObject() throws Exception { final String TEST_NAME = "test112MergeGuybrushJackPreviewObject"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestMerge.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -337,7 +337,7 @@ public void test112MergeGuybrushJackPreviewObject() throws Exception { @Test public void test200MergeJackGuybrushExpressionPreviewDelta() throws Exception { final String TEST_NAME = "test200MergeJackGuybrushExpressionPreviewDelta"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestMerge.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -391,7 +391,7 @@ public void test200MergeJackGuybrushExpressionPreviewDelta() throws Exception { @Test public void test202MergeJackGuybrushExpressionPreviewObject() throws Exception { final String TEST_NAME = "test202MergeJackGuybrushExpressionPreviewObject"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestMerge.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -442,7 +442,7 @@ public void test202MergeJackGuybrushExpressionPreviewObject() throws Exception { @Test public void test300MergeJackGuybrushPreviewDeltaDefaultSpecific() throws Exception { final String TEST_NAME = "test300MergeJackGuybrushPreviewDeltaDefaultSpecific"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestMerge.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -506,7 +506,7 @@ public void test300MergeJackGuybrushPreviewDeltaDefaultSpecific() throws Excepti @Test public void test500MergeJackGuybrush() throws Exception { final String TEST_NAME = "test500MergeJackGuybrush"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestMerge.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMisc.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMisc.java index dbc0032f72d..0d6284ce4dd 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMisc.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMisc.java @@ -79,7 +79,7 @@ public void initSystem(Task initTask, OperationResult initResult) @Test public void test100GetRepositoryDiag() throws Exception { final String TEST_NAME = "test100GetRepositoryDiag"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -102,7 +102,7 @@ public void test100GetRepositoryDiag() throws Exception { @Test public void test110RepositorySelfTest() throws Exception { final String TEST_NAME = "test110RepositorySelfTest"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -122,7 +122,7 @@ public void test110RepositorySelfTest() throws Exception { @Test public void test200ExportUsers() throws Exception { final String TEST_NAME = "test200ExportUsers"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -165,7 +165,7 @@ public void test200ExportUsers() throws Exception { @Test public void test300RecomputeJack() throws Exception { final String TEST_NAME = "test300RecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -190,7 +190,7 @@ public void test300RecomputeJack() throws Exception { @Test public void test302UpdateKeyJack() throws Exception { final String TEST_NAME = "test302UpdateKeyJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -212,7 +212,7 @@ public void test302UpdateKeyJack() throws Exception { @Test public void test310AddUserClean() throws Exception { final String TEST_NAME = "test310AddUserClean"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -241,7 +241,7 @@ public void test310AddUserClean() throws Exception { @Test(enabled=false) // MID-3999 public void test312UpdateBinaryIdClean() throws Exception { final String TEST_NAME = "test312UpdateBinaryIdClean"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelCrudService.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelCrudService.java index 498c4f26586..16428925ee1 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelCrudService.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelCrudService.java @@ -69,7 +69,7 @@ public class TestModelCrudService extends AbstractInitializedModelIntegrationTes @Test public void test050AddResource() throws Exception { final String TEST_NAME = "test050AddResource"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelCrudService.class.getName() + "." + TEST_NAME); @@ -96,7 +96,7 @@ public void test050AddResource() throws Exception { @Test public void test100ModifyUserAddAccount() throws Exception { final String TEST_NAME = "test100ModifyUserAddAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelCrudService.class.getName() + "." + TEST_NAME); @@ -141,7 +141,7 @@ public void test100ModifyUserAddAccount() throws Exception { @Test public void test119ModifyUserDeleteAccount() throws Exception { - TestUtil.displayTestTile(this, "test119ModifyUserDeleteAccount"); + TestUtil.displayTestTitle(this, "test119ModifyUserDeleteAccount"); // GIVEN Task task = taskManager.createTaskInstance(TestModelCrudService.class.getName() + ".test119ModifyUserDeleteAccount"); @@ -181,7 +181,7 @@ public void test119ModifyUserDeleteAccount() throws Exception { @Test public void test120AddAccount() throws Exception { - TestUtil.displayTestTile(this, "test120AddAccount"); + TestUtil.displayTestTitle(this, "test120AddAccount"); // GIVEN Task task = taskManager.createTaskInstance(TestModelCrudService.class.getName() + ".test120AddAccount"); @@ -214,7 +214,7 @@ public void test120AddAccount() throws Exception { @Test public void test121ModifyUserAddAccountRef() throws Exception { - TestUtil.displayTestTile(this, "test121ModifyUserAddAccountRef"); + TestUtil.displayTestTitle(this, "test121ModifyUserAddAccountRef"); // GIVEN Task task = taskManager.createTaskInstance(TestModelCrudService.class.getName() + ".test121ModifyUserAddAccountRef"); @@ -250,7 +250,7 @@ public void test121ModifyUserAddAccountRef() throws Exception { @Test public void test128ModifyUserDeleteAccountRef() throws Exception { - TestUtil.displayTestTile(this, "test128ModifyUserDeleteAccountRef"); + TestUtil.displayTestTitle(this, "test128ModifyUserDeleteAccountRef"); // GIVEN Task task = taskManager.createTaskInstance(TestModelCrudService.class.getName() + ".test128ModifyUserDeleteAccountRef"); @@ -288,7 +288,7 @@ public void test128ModifyUserDeleteAccountRef() throws Exception { @Test public void test129DeleteAccount() throws Exception { - TestUtil.displayTestTile(this, "test129DeleteAccount"); + TestUtil.displayTestTitle(this, "test129DeleteAccount"); // GIVEN Task task = taskManager.createTaskInstance(TestModelCrudService.class.getName() + ".test129DeleteAccount"); @@ -313,7 +313,7 @@ public void test129DeleteAccount() throws Exception { @Test public void test150AddUserBlackbeardWithAccount() throws Exception { - TestUtil.displayTestTile(this, "test150AddUserBlackbeardWithAccount"); + TestUtil.displayTestTitle(this, "test150AddUserBlackbeardWithAccount"); // GIVEN Task task = taskManager.createTaskInstance(TestModelCrudService.class.getName() + ".test150AddUserBlackbeardWithAccount"); @@ -349,7 +349,7 @@ public void test150AddUserBlackbeardWithAccount() throws Exception { @Test public void test210AddUserMorganWithAssignment() throws Exception { - TestUtil.displayTestTile(this, "test210AddUserMorganWithAssignment"); + TestUtil.displayTestTitle(this, "test210AddUserMorganWithAssignment"); // GIVEN Task task = taskManager.createTaskInstance(TestModelCrudService.class.getName() + ".test210AddUserMorganWithAssignment"); @@ -384,7 +384,7 @@ public void test210AddUserMorganWithAssignment() throws Exception { @Test public void test220DeleteUserMorgan() throws Exception { - TestUtil.displayTestTile(this, "test220DeleteUserMorgan"); + TestUtil.displayTestTitle(this, "test220DeleteUserMorgan"); // GIVEN Task task = taskManager.createTaskInstance(TestModelCrudService.class.getName() + ".test220DeleteUserMorgan"); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelServiceContract.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelServiceContract.java index 53ed0dee9f4..4fb19d7bc56 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelServiceContract.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelServiceContract.java @@ -130,7 +130,7 @@ public void initSystem(Task initTask, OperationResult initResult) @Test public void test050GetUserJack() throws Exception { final String TEST_NAME = "test050GetUserJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -153,7 +153,7 @@ public void test050GetUserJack() throws Exception { @Test public void test051GetUserBarbossa() throws Exception { final String TEST_NAME = "test051GetUserBarbossa"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -177,7 +177,7 @@ public void test051GetUserBarbossa() throws Exception { @Test(enabled = true) public void test099ModifyUserAddAccountFailing() throws Exception { - TestUtil.displayTestTile(this, "test099ModifyUserAddAccountFailing"); + TestUtil.displayTestTitle(this, "test099ModifyUserAddAccountFailing"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test099ModifyUserAddAccountFailing"); @@ -243,7 +243,7 @@ public void test099ModifyUserAddAccountFailing() throws Exception { @Test public void test100ModifyUserAddAccount() throws Exception { final String TEST_NAME = "test100ModifyUserAddAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -331,7 +331,7 @@ public void test100ModifyUserAddAccount() throws Exception { @Test public void test101GetAccount() throws Exception { final String TEST_NAME = "test101GetAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -394,7 +394,7 @@ public void test101GetAccount() throws Exception { @Test public void test102GetAccountNoFetch() throws Exception { - TestUtil.displayTestTile(this, "test102GetAccountNoFetch"); + TestUtil.displayTestTitle(this, "test102GetAccountNoFetch"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test102GetAccountNoFetch"); @@ -422,7 +422,7 @@ public void test102GetAccountNoFetch() throws Exception { @Test public void test103GetAccountRaw() throws Exception { - TestUtil.displayTestTile(this, "test103GetAccountRaw"); + TestUtil.displayTestTitle(this, "test103GetAccountRaw"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test103GetAccountRaw"); @@ -450,7 +450,7 @@ public void test103GetAccountRaw() throws Exception { @Test public void test105SearchAccount() throws Exception { - TestUtil.displayTestTile(this, "test105SearchAccount"); + TestUtil.displayTestTitle(this, "test105SearchAccount"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test105SearchAccount"); @@ -482,7 +482,7 @@ public void test105SearchAccount() throws Exception { @Test public void test106SearchAccountWithoutResourceSchema() throws Exception { - TestUtil.displayTestTile(this, "test106SearchAccountWithoutResourceSchema"); + TestUtil.displayTestTitle(this, "test106SearchAccountWithoutResourceSchema"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test106SearchAccountWithoutResourceSchema"); @@ -509,7 +509,7 @@ public void test106SearchAccountWithoutResourceSchema() throws Exception { @Test public void test108ModifyUserAddAccountAgain() throws Exception { - TestUtil.displayTestTile(this, "test108ModifyUserAddAccountAgain"); + TestUtil.displayTestTitle(this, "test108ModifyUserAddAccountAgain"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test108ModifyUserAddAccountAgain"); @@ -557,7 +557,7 @@ public void test108ModifyUserAddAccountAgain() throws Exception { @Test public void test109ModifyUserAddAccountAgain() throws Exception { final String TEST_NAME = "test109ModifyUserAddAccountAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -607,7 +607,7 @@ public void test109ModifyUserAddAccountAgain() throws Exception { @Test public void test110GetUserResolveAccount() throws Exception { final String TEST_NAME = "test110GetUserResolveAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -647,7 +647,7 @@ public void test110GetUserResolveAccount() throws Exception { @Test public void test111GetUserResolveAccountResource() throws Exception { final String TEST_NAME = "test111GetUserResolveAccountResource"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -692,7 +692,7 @@ public void test111GetUserResolveAccountResource() throws Exception { @Test public void test112GetUserResolveAccountNoFetch() throws Exception { final String TEST_NAME = "test112GetUserResolveAccountNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -736,7 +736,7 @@ public void test112GetUserResolveAccountNoFetch() throws Exception { @Test public void test119ModifyUserDeleteAccount() throws Exception { final String TEST_NAME = "test119ModifyUserDeleteAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -807,7 +807,7 @@ public void test119ModifyUserDeleteAccount() throws Exception { @Test public void test120AddAccount() throws Exception { - TestUtil.displayTestTile(this, "test120AddAccount"); + TestUtil.displayTestTitle(this, "test120AddAccount"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test120AddAccount"); @@ -882,7 +882,7 @@ public void test120AddAccount() throws Exception { */ @Test public void test121ModifyUserAddAccountRef() throws Exception { - TestUtil.displayTestTile(this, "test121ModifyUserAddAccountRef"); + TestUtil.displayTestTitle(this, "test121ModifyUserAddAccountRef"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test121ModifyUserAddAccountRef"); @@ -947,7 +947,7 @@ public void test121ModifyUserAddAccountRef() throws Exception { @Test public void test128ModifyUserDeleteAccountRef() throws Exception { - TestUtil.displayTestTile(this, "test128ModifyUserDeleteAccountRef"); + TestUtil.displayTestTitle(this, "test128ModifyUserDeleteAccountRef"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test128ModifyUserDeleteAccountRef"); @@ -1013,7 +1013,7 @@ public void test128ModifyUserDeleteAccountRef() throws Exception { @Test public void test129DeleteAccount() throws Exception { - TestUtil.displayTestTile(this, "test129DeleteAccount"); + TestUtil.displayTestTitle(this, "test129DeleteAccount"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test129DeleteAccount"); @@ -1071,7 +1071,7 @@ public void test129DeleteAccount() throws Exception { @Test public void test130PreviewModifyUserJackAssignAccount() throws Exception { - TestUtil.displayTestTile(this, "test130PreviewModifyUserJackAssignAccount"); + TestUtil.displayTestTitle(this, "test130PreviewModifyUserJackAssignAccount"); // GIVEN try{ @@ -1117,7 +1117,7 @@ public void test130PreviewModifyUserJackAssignAccount() throws Exception { @Test public void test131ModifyUserJackAssignAccount() throws Exception { final String TEST_NAME="test131ModifyUserJackAssignAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1196,7 +1196,7 @@ public void test131ModifyUserJackAssignAccount() throws Exception { @Test public void test132ModifyAccountJackDummy() throws Exception { final String TEST_NAME = "test132ModifyAccountJackDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -1289,7 +1289,7 @@ public void test132ModifyAccountJackDummy() throws Exception { @Test public void test135ModifyUserJackAssignAccountAgain() throws Exception { final String TEST_NAME="test135ModifyUserJackAssignAccountAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -1352,7 +1352,7 @@ public void test135ModifyUserJackAssignAccountAgain() throws Exception { @Test public void test139ModifyUserJackUnassignAccount() throws Exception { final String TEST_NAME = "test139ModifyUserJackUnassignAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -1415,7 +1415,7 @@ public void test139ModifyUserJackUnassignAccount() throws Exception { @Test public void test141ModifyUserJackAssignAccountPositiveEnforcement() throws Exception { final String TEST_NAME = "test141ModifyUserJackAssignAccountPositiveEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -1499,7 +1499,7 @@ public void test141ModifyUserJackAssignAccountPositiveEnforcement() throws Excep @Test public void test148ModifyUserJackUnassignAccountPositiveEnforcement() throws Exception { final String TEST_NAME = "test148ModifyUserJackUnassignAccountPositiveEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() @@ -1589,7 +1589,7 @@ public void test148ModifyUserJackUnassignAccountPositiveEnforcement() throws Exc @Test public void test149ModifyUserJackDeleteAccount() throws Exception { final String TEST_NAME = "test149ModifyUserJackDeleteAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -1659,7 +1659,7 @@ public void test149ModifyUserJackDeleteAccount() throws Exception { @Test public void test151ModifyUserJackAssignAccountRelativeEnforcement() throws Exception { final String TEST_NAME = "test151ModifyUserJackAssignAccountRelativeEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -1736,7 +1736,7 @@ public void test151ModifyUserJackAssignAccountRelativeEnforcement() throws Excep @Test public void test158ModifyUserJackUnassignAccountRelativeEnforcement() throws Exception { final String TEST_NAME = "test158ModifyUserJackUnassignAccountRelativeEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() @@ -1801,7 +1801,7 @@ public void test158ModifyUserJackUnassignAccountRelativeEnforcement() throws Exc @Test public void test161ModifyUserJackAssignAccountNoneEnforcement() throws Exception { final String TEST_NAME = "test161ModifyUserJackAssignAccountNoneEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -1864,7 +1864,7 @@ public void test161ModifyUserJackAssignAccountNoneEnforcement() throws Exception @Test public void test163ModifyUserJackAddAccountNoneEnforcement() throws Exception { final String TEST_NAME = "test163ModifyUserJackAddAccountNoneEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -1944,7 +1944,7 @@ public void test163ModifyUserJackAddAccountNoneEnforcement() throws Exception { @Test public void test164ModifyUserJackUnassignAccountNoneEnforcement() throws Exception { final String TEST_NAME = "test164ModifyUserJackUnassignAccountNoneEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() @@ -2011,7 +2011,7 @@ public void test164ModifyUserJackUnassignAccountNoneEnforcement() throws Excepti @Test public void test169ModifyUserJackDeleteAccountNoneEnforcement() throws Exception { final String TEST_NAME = "test169ModifyUserJackDeleteAccountNoneEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -2078,7 +2078,7 @@ public void test169ModifyUserJackDeleteAccountNoneEnforcement() throws Exception @Test public void test180ModifyUserAddAccountFullEnforcement() throws Exception { final String TEST_NAME = "test180ModifyUserAddAccountFullEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -2139,7 +2139,7 @@ public void test180ModifyUserAddAccountFullEnforcement() throws Exception { @Test public void test182ModifyUserAddAndAssignAccountPositiveEnforcement() throws Exception { final String TEST_NAME = "test182ModifyUserAddAndAssignAccountPositiveEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -2214,7 +2214,7 @@ public void test182ModifyUserAddAndAssignAccountPositiveEnforcement() throws Exc */ @Test public void test189ModifyUserJackUnassignAndDeleteAccount() throws Exception { - TestUtil.displayTestTile(this, "test189ModifyUserJackUnassignAndDeleteAccount"); + TestUtil.displayTestTitle(this, "test189ModifyUserJackUnassignAndDeleteAccount"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test149ModifyUserJackUnassignAccount"); @@ -2271,7 +2271,7 @@ public void test189ModifyUserJackUnassignAndDeleteAccount() throws Exception { */ @Test public void test190ModifyUserJackAssignAccountAndModify() throws Exception { - TestUtil.displayTestTile(this, "test190ModifyUserJackAssignAccountAndModify"); + TestUtil.displayTestTitle(this, "test190ModifyUserJackAssignAccountAndModify"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test190ModifyUserJackAssignAccountAndModify"); @@ -2355,7 +2355,7 @@ public void test190ModifyUserJackAssignAccountAndModify() throws Exception { @Test public void test191ModifyUserJackModifyAssignment() throws Exception { final String TEST_NAME = "test191ModifyUserJackModifyAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -2469,7 +2469,7 @@ public void test191ModifyUserJackModifyAssignment() throws Exception { @Test public void test195ModifyUserJack() throws Exception { final String TEST_NAME = "test195ModifyUserJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -2542,7 +2542,7 @@ public void test195ModifyUserJack() throws Exception { @Test public void test196ModifyUserJackLocationEmpty() throws Exception { final String TEST_NAME = "test196ModifyUserJackLocationEmpty"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -2606,7 +2606,7 @@ public void test196ModifyUserJackLocationEmpty() throws Exception { @Test public void test197ModifyUserJackLocationNull() throws Exception { final String TEST_NAME = "test197ModifyUserJackLocationNull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -2639,7 +2639,7 @@ public void test197ModifyUserJackLocationNull() throws Exception { @Test public void test198ModifyUserJackRaw() throws Exception { - TestUtil.displayTestTile(this, "test198ModifyUserJackRaw"); + TestUtil.displayTestTitle(this, "test198ModifyUserJackRaw"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test196ModifyUserJackRaw"); @@ -2692,7 +2692,7 @@ public void test198ModifyUserJackRaw() throws Exception { @Test public void test199DeleteUserJack() throws Exception { - TestUtil.displayTestTile(this, "test199DeleteUserJack"); + TestUtil.displayTestTitle(this, "test199DeleteUserJack"); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + ".test199DeleteUserJack"); @@ -2755,7 +2755,7 @@ public void test199DeleteUserJack() throws Exception { @Test public void test200AddUserBlackbeardWithAccount() throws Exception { final String TEST_NAME = "test200AddUserBlackbeardWithAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2841,7 +2841,7 @@ public void test200AddUserBlackbeardWithAccount() throws Exception { @Test public void test210AddUserMorganWithAssignment() throws Exception { final String TEST_NAME = "test210AddUserMorganWithAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2924,7 +2924,7 @@ public void test210AddUserMorganWithAssignment() throws Exception { @Test public void test212RenameUserMorgan() throws Exception { final String TEST_NAME = "test212RenameUserMorgan"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -3010,7 +3010,7 @@ public void test212RenameUserMorgan() throws Exception { @Test public void test240AddUserCharlesRaw() throws Exception { final String TEST_NAME = "test240AddUserCharlesRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -3055,7 +3055,7 @@ public void test240AddUserCharlesRaw() throws Exception { @Test public void test241DeleteUserCharlesRaw() throws Exception { final String TEST_NAME = "test241DeleteUserCharlesRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelServiceContract.class.getName() + "." + TEST_NAME); @@ -3095,7 +3095,7 @@ public void test241DeleteUserCharlesRaw() throws Exception { @Test public void test300AddUserJackWithAssignmentBlue() throws Exception { final String TEST_NAME="test300AddUserJackWithAssignmentBlue"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -3161,7 +3161,7 @@ public void test300AddUserJackWithAssignmentBlue() throws Exception { @Test public void test302ModifyAccountJackDummyBlue() throws Exception { final String TEST_NAME = "test302ModifyAccountJackDummyBlue"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelVisualization.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelVisualization.java index c442a2cfca0..8f3ab806291 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelVisualization.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelVisualization.java @@ -49,7 +49,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti public void test100VisualizeOneResource() throws Exception { final String TEST_NAME = "test100VisualizeOneResource"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelVisualization.class.getName() + "." + TEST_NAME); @@ -69,7 +69,7 @@ public void test100VisualizeOneResource() throws Exception { public void test110VisualizeTwoResources() throws Exception { final String TEST_NAME = "test110VisualizeTwoResources"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelVisualization.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMultiResource.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMultiResource.java index d7a5c92dbb1..992b91fa171 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMultiResource.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMultiResource.java @@ -397,7 +397,7 @@ public void test209JackUnAssignDummyIvory() throws Exception { @Test public void test210JackAssignDummyBeige() throws Exception { final String TEST_NAME = "test210JackAssignDummyBeige"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -435,7 +435,7 @@ public void test210JackAssignDummyBeige() throws Exception { @Test public void test219JackUnAssignDummyBeige() throws Exception { final String TEST_NAME = "test219JackUnAssignDummyBeige"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -470,7 +470,7 @@ public void test219JackUnAssignDummyBeige() throws Exception { @Test public void test220JackAssignDummyBeigeAndDefault() throws Exception { final String TEST_NAME = "test220JackAssignDummyBeigeAndDefault"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -510,7 +510,7 @@ public void test220JackAssignDummyBeigeAndDefault() throws Exception { @Test public void test221JackRecompute() throws Exception { final String TEST_NAME = "test221JackRecompute"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -545,7 +545,7 @@ public void test221JackRecompute() throws Exception { @Test public void test223JackKillDefaultDummyAccounAndRecompute() throws Exception { final String TEST_NAME = "test223JackKillDefaultDummyAccounAndRecompute"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -586,7 +586,7 @@ public void test223JackKillDefaultDummyAccounAndRecompute() throws Exception { @Test public void test224JackKillBeigeAccounAndRecompute() throws Exception { final String TEST_NAME = "test224JackKillBeigeAccounAndRecompute"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -626,7 +626,7 @@ public void test224JackKillBeigeAccounAndRecompute() throws Exception { @Test public void test225JackKillBothAccounsAndRecompute() throws Exception { final String TEST_NAME = "test225JackKillBothAccounsAndRecompute"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -671,7 +671,7 @@ public void test225JackKillBothAccounsAndRecompute() throws Exception { @Test public void test227ModifyUserJackDefaultDummyBrokenSchemaViolation() throws Exception { final String TEST_NAME = "test227ModifyUserJackDefaultDummyBrokenSchemaViolation"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestMultiResource.class.getName() + "." + TEST_NAME); @@ -715,7 +715,7 @@ public void test227ModifyUserJackDefaultDummyBrokenSchemaViolation() throws Exce @Test public void test228ModifyUserJackDefaultDummyNoError() throws Exception { final String TEST_NAME = "test228ModifyUserJackDefaultDummyNoError"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestMultiResource.class.getName() + "." + TEST_NAME); @@ -756,7 +756,7 @@ public void test228ModifyUserJackDefaultDummyNoError() throws Exception { @Test public void test229JackUnassignDummyBeigeAndDefault() throws Exception { final String TEST_NAME = "test229JackUnassignDummyBeigeAndDefault"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -792,7 +792,7 @@ public void test229JackUnassignDummyBeigeAndDefault() throws Exception { @Test public void test250JackAssignDummyLavender() throws Exception { final String TEST_NAME = "test250JackAssignDummyLavender"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -829,7 +829,7 @@ public void test250JackAssignDummyLavender() throws Exception { * resource through the user to the other resource. If dependency does not work then no value is propagated. */ public void jackAssignRoleDummies(final String TEST_NAME) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -874,7 +874,7 @@ public void jackAssignRoleDummies(final String TEST_NAME) throws Exception { } public void jackRename(final String TEST_NAME) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -932,7 +932,7 @@ public void jackRename(final String TEST_NAME, String toName, String toFullName, } public void jackUnAssignRoleDummies(final String TEST_NAME) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -962,7 +962,7 @@ public void jackUnAssignRoleDummies(final String TEST_NAME) throws Exception { */ public void jackAssignRoleDummiesError(final String TEST_NAME, String roleOid, String dummyResourceName, boolean expectAccount) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -1003,7 +1003,7 @@ private void clearJackOrganizationalUnit(Task task, OperationResult result) thro } public void jackUnAssignRoleDummiesError(final String TEST_NAME, String roleOid) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -1038,7 +1038,7 @@ public void jackUnAssignRoleDummiesError(final String TEST_NAME, String roleOid) @Test public void test300AddAndAssignRelative() throws Exception { final String TEST_NAME = "test300AddAndAssignRelative"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1096,7 +1096,7 @@ public void test300AddAndAssignRelative() throws Exception { @Test public void test310AddedAccountAndUnassignRelative() throws Exception { final String TEST_NAME = "test310AddedAccountAndUnassignRelative"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1137,7 +1137,7 @@ public void test310AddedAccountAndUnassignRelative() throws Exception { @Test public void test319UnassignDummyRelative() throws Exception { final String TEST_NAME = "test319UnassignDummyRelative"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1173,7 +1173,7 @@ public void test319UnassignDummyRelative() throws Exception { @Test public void test350AddAccountLavender() throws Exception { final String TEST_NAME = "test350AddAccountLavender"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1204,7 +1204,7 @@ public void test350AddAccountLavender() throws Exception { @Test public void test352AddAccountIvory() throws Exception { final String TEST_NAME = "test352AddAccountIvory"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1228,7 +1228,7 @@ public void test352AddAccountIvory() throws Exception { @Test public void test354AddAccountBeige() throws Exception { final String TEST_NAME = "test354AddAccountBeige"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1252,7 +1252,7 @@ public void test354AddAccountBeige() throws Exception { @Test public void test360AddAccountDummy() throws Exception { final String TEST_NAME = "test360AddAccountDummy"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1279,7 +1279,7 @@ public void test360AddAccountDummy() throws Exception { @Test public void test362AddAccountLavender() throws Exception { final String TEST_NAME = "test362AddAccountLavender"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1306,7 +1306,7 @@ public void test362AddAccountLavender() throws Exception { @Test public void test370DeleteAccountDummy() throws Exception { final String TEST_NAME = "test370DeleteAccountDummy"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1343,7 +1343,7 @@ public void test370DeleteAccountDummy() throws Exception { @Test public void test372UnlinkAccountDummy() throws Exception { final String TEST_NAME = "test372UnlinkAccountDummy"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1377,7 +1377,7 @@ public void test372UnlinkAccountDummy() throws Exception { @Test public void test374DeleteAccountLavender() throws Exception { final String TEST_NAME = "test374DeleteAccountLavender"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1407,7 +1407,7 @@ public void test374DeleteAccountLavender() throws Exception { @Test public void test376DeleteAccountDummy() throws Exception { final String TEST_NAME = "test376DeleteAccountDummy"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1434,7 +1434,7 @@ public void test376DeleteAccountDummy() throws Exception { @Test public void test378DeleteAccountBeige() throws Exception { final String TEST_NAME = "test378DeleteAccountBeige"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1462,7 +1462,7 @@ public void test378DeleteAccountBeige() throws Exception { @Test public void test379DeleteAccountIvory() throws Exception { final String TEST_NAME = "test379DeleteAccountIvory"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1491,7 +1491,7 @@ public void test379DeleteAccountIvory() throws Exception { @Test public void test380AddAccountPeru() throws Exception { final String TEST_NAME = "test380AddAccountPeru"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); getDummyResource().resetBreakMode(); @@ -1519,7 +1519,7 @@ public void test380AddAccountPeru() throws Exception { @Test public void test382AddAccountYellow() throws Exception { final String TEST_NAME = "test382AddAccountYellow"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1556,7 +1556,7 @@ public void test382AddAccountYellow() throws Exception { @Test public void test385ModifyUserJackPasswordA() throws Exception { final String TEST_NAME = "test385ModifyUserJackPasswordA"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(AbstractPasswordTest.class.getName() + "." + TEST_NAME); @@ -1590,7 +1590,7 @@ public void test385ModifyUserJackPasswordA() throws Exception { @Test public void test389DeleteAccountPeru() throws Exception { final String TEST_NAME = "test389DeleteAccountPeru"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.NONE); Task task = taskManager.createTaskInstance(TestRbac.class.getName() + "." + TEST_NAME); @@ -1618,7 +1618,7 @@ public void test389DeleteAccountPeru() throws Exception { @Test public void test400DavidAndGoliathAssignRole() throws Exception { final String TEST_NAME = "test400DavidAndGoliathAssignRole"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -1705,7 +1705,7 @@ private void assertDavidGoliath(String userOid, String ou, String name, boolean @Test public void test401DavidAndGoliathModifyOu() throws Exception { final String TEST_NAME = "test401DavidAndGoliathModifyOu"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -1753,7 +1753,7 @@ public void test401DavidAndGoliathModifyOu() throws Exception { @Test public void test403DavidAndGoliathDisableUser() throws Exception { final String TEST_NAME = "test403DavidAndGoliathDisableUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -1792,7 +1792,7 @@ public void test403DavidAndGoliathDisableUser() throws Exception { @Test public void test404DavidAndGoliathEnableUser() throws Exception { final String TEST_NAME = "test404DavidAndGoliathEnableUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -1830,7 +1830,7 @@ public void test404DavidAndGoliathEnableUser() throws Exception { @Test public void test405DavidAndGoliathDisableAccountDavid() throws Exception { final String TEST_NAME = "test405DavidAndGoliathDisableAccountDavid"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -1870,7 +1870,7 @@ public void test405DavidAndGoliathDisableAccountDavid() throws Exception { @Test public void test406DavidAndGoliathRecompute() throws Exception { final String TEST_NAME = "test406DavidAndGoliathRecompute"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -1901,7 +1901,7 @@ public void test406DavidAndGoliathRecompute() throws Exception { @Test public void test408DavidAndGoliathEnableAccountDavid() throws Exception { final String TEST_NAME = "test408DavidAndGoliathEnableAccountDavid"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -1938,7 +1938,7 @@ public void test408DavidAndGoliathEnableAccountDavid() throws Exception { @Test public void test410DavidAndGoliathRename() throws Exception { final String TEST_NAME = "test410DavidAndGoliathRename"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -1986,7 +1986,7 @@ public void test410DavidAndGoliathRename() throws Exception { @Test public void test419DavidAndGoliathUnassignRole() throws Exception { final String TEST_NAME = "test419DavidAndGoliathUnassignRole"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -2032,7 +2032,7 @@ public void test419DavidAndGoliathUnassignRole() throws Exception { @Test public void test420DavidAndGoliathAssignRoleGoliathDown() throws Exception { final String TEST_NAME = "test420DavidAndGoliathAssignRoleGoliathDown"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -2100,7 +2100,7 @@ public void test420DavidAndGoliathAssignRoleGoliathDown() throws Exception { @Test(enabled=false) public void test422DavidAndGoliathAssignRoleGoliathUpRecompute() throws Exception { final String TEST_NAME = "test422DavidAndGoliathAssignRoleGoliathUpRecompute"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -2143,7 +2143,7 @@ public void test422DavidAndGoliathAssignRoleGoliathUpRecompute() throws Exceptio @Test public void test429DavidAndGoliathUnassignRole() throws Exception { final String TEST_NAME = "test429DavidAndGoliathUnassignRole"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -2191,7 +2191,7 @@ public void test429DavidAndGoliathUnassignRole() throws Exception { @Test public void test430DavidAndGoliathAssignRoleDavidDown() throws Exception { final String TEST_NAME = "test430DavidAndGoliathAssignRoleDavidDown"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); @@ -2256,7 +2256,7 @@ public void test430DavidAndGoliathAssignRoleDavidDown() throws Exception { @Test public void test440DavidAndGoliathAssignRoleAndCreateUserInOneStep() throws Exception { final String TEST_NAME = "test440DavidAndGoliathAssignRoleAndCreateUserInOneStep"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); dummyResourceGoliath.setBreakMode(BreakMode.NONE); dummyResourceDavid.setBreakMode(BreakMode.NONE); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestNotifications.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestNotifications.java index e8d9c3ed4d3..5c6ed31800d 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestNotifications.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestNotifications.java @@ -78,7 +78,7 @@ protected File getSystemConfigurationFile() { @Test public void test100ModifyUserAddAccount() throws Exception { final String TEST_NAME = "test100ModifyUserAddAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestNotifications.class.getName() + ".test100ModifyUserAddAccount"); @@ -171,7 +171,7 @@ public void test100ModifyUserAddAccount() throws Exception { @Test public void test119ModifyUserDeleteAccount() throws Exception { final String TEST_NAME = "test119ModifyUserDeleteAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestNotifications.class.getName() + "." + TEST_NAME); @@ -245,7 +245,7 @@ public void test119ModifyUserDeleteAccount() throws Exception { @Test public void test131ModifyUserJackAssignAccount() throws Exception { final String TEST_NAME="test131ModifyUserJackAssignAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestNotifications.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestPersona.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestPersona.java index 056f063e25b..eabc3cebfc1 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestPersona.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestPersona.java @@ -132,7 +132,7 @@ public void initSystem(Task initTask, OperationResult initResult) @Test public void test100AssignRolePersonaAdminToJack() throws Exception { final String TEST_NAME = "test100AssignRolePersonaAdminToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -167,7 +167,7 @@ public void test100AssignRolePersonaAdminToJack() throws Exception { @Test public void test102RecomputeUserJack() throws Exception { final String TEST_NAME = "test102RecomputeUserJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -187,7 +187,7 @@ public void test102RecomputeUserJack() throws Exception { @Test public void test103ReconcileUserJack() throws Exception { final String TEST_NAME = "test103ReconcileUserJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -207,7 +207,7 @@ public void test103ReconcileUserJack() throws Exception { @Test public void test104RecomputeJackAdminPersona() throws Exception { final String TEST_NAME = "test104RecomputeJackAdminPersona"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -227,7 +227,7 @@ public void test104RecomputeJackAdminPersona() throws Exception { @Test public void test105ReconcileJackAdminPersona() throws Exception { final String TEST_NAME = "test105ReconcileJackAdminPersona"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -264,7 +264,7 @@ private void assertUserJack11x() throws Exception { @Test public void test120ModifyJackGivenName() throws Exception { final String TEST_NAME = "test120ModifyJackGivenName"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -306,7 +306,7 @@ public void test120ModifyJackGivenName() throws Exception { @Test public void test199UnassignRolePersonaAdminFromJack() throws Exception { final String TEST_NAME = "test199UnassignRolePersonaAdminFromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestPreviewChanges.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestPreviewChanges.java index f5541b061c1..efd94a1898c 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestPreviewChanges.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestPreviewChanges.java @@ -198,7 +198,7 @@ public void check(ModelContext modelContext) { private void modifyUserAddAccountImplicit(String bundleName, ObjectSource> accountSource, ObjectChecker> checker) throws Exception { final String TEST_NAME = bundleName + "Implicit"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -219,7 +219,7 @@ private void modifyUserAddAccountImplicit(String bundleName, ObjectSource> accountSource, ObjectChecker> checker) throws Exception { final String TEST_NAME = bundleName + "Explicit"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -237,7 +237,7 @@ private void modifyUserAddAccountExplicit(String bundleName, ObjectSource> accountSource, ObjectChecker> checker) throws Exception { final String TEST_NAME = bundleName + "ImplicitExplicitSame"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -259,7 +259,7 @@ private void modifyUserAddAccountImplicitExplicitSame(String bundleName, private void modifyUserAddAccountImplicitExplicitSameReverse(String bundleName, ObjectSource> accountSource, ObjectChecker> checker) throws Exception { final String TEST_NAME = bundleName + "ImplicitExplicitSameReverse"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -281,7 +281,7 @@ private void modifyUserAddAccountImplicitExplicitSameReverse(String bundleName, private void modifyUserAddAccountImplicitExplicitEqual(String bundleName, ObjectSource> accountSource, ObjectChecker> checker) throws Exception { final String TEST_NAME = bundleName + "ImplicitExplicitEqual"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -303,7 +303,7 @@ private void modifyUserAddAccountImplicitExplicitEqual(String bundleName, private void modifyUserAddAccountImplicitExplicitEqualReverse(String bundleName, ObjectSource> accountSource, ObjectChecker> checker) throws Exception { final String TEST_NAME = bundleName + "ImplicitExplicitEqualReverse"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -325,7 +325,7 @@ private void modifyUserAddAccountImplicitExplicitEqualReverse(String bundleName, private void modifyUserAddAccountImplicitExplicitNotEqual(String bundleName, ObjectSource> accountSource, ObjectChecker> checker) throws Exception { final String TEST_NAME = bundleName + "ImplicitExplicitNotEqual"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -349,7 +349,7 @@ private void modifyUserAddAccountImplicitExplicitNotEqual(String bundleName, private void modifyUserAddAccountImplicitExplicitNotEqualReverse(String bundleName, ObjectSource> accountSource, ObjectChecker> checker) throws Exception { final String TEST_NAME = bundleName + "ImplicitExplicitNotEqualReverse"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -450,7 +450,7 @@ private void assertAddAccount(ModelContext modelContext, boolean expec @Test public void test130GetAdminGuiConfig() throws Exception { final String TEST_NAME = "test130GetAdminGuiConfig"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -475,7 +475,7 @@ public void test130GetAdminGuiConfig() throws Exception { @Test public void test150GetGuybrushRefinedObjectClassDef() throws Exception { final String TEST_NAME = "test150GetGuybrushRefinedObjectClassDef"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -501,7 +501,7 @@ public void test150GetGuybrushRefinedObjectClassDef() throws Exception { @Test public void test200ModifyUserGuybrushDeleteAccount() throws Exception { final String TEST_NAME = "test200ModifyUserGuybrushDeleteAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -550,7 +550,7 @@ public void test200ModifyUserGuybrushDeleteAccount() throws Exception { @Test public void test210GuybrushAddAccount() throws Exception { final String TEST_NAME = "test210GuybrushAddAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -601,7 +601,7 @@ public void test210GuybrushAddAccount() throws Exception { @Test public void test212ModifyUserAddAccountRef() throws Exception { final String TEST_NAME = "test212ModifyUserAddAccountRef"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -658,7 +658,7 @@ public void test212ModifyUserAddAccountRef() throws Exception { @Test public void test220PreviewJackAssignRolePirate() throws Exception { final String TEST_NAME = "test220PreviewJackAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -755,7 +755,7 @@ public void test220PreviewJackAssignRolePirate() throws Exception { @Test public void test230GuybrushAssignAccountDummy() throws Exception { final String TEST_NAME = "test230GuybrushAssignAccountDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -789,7 +789,7 @@ public void test230GuybrushAssignAccountDummy() throws Exception { @Test public void test232PreviewGuybrushAddRolePirate() throws Exception { final String TEST_NAME = "test232PreviewGuybrushAddRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -857,7 +857,7 @@ public void test232PreviewGuybrushAddRolePirate() throws Exception { @Test public void test234PreviewGuybrushAddRolePirateRecon() throws Exception { final String TEST_NAME = "test234PreviewGuybrushAddRolePirateRecon"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -927,7 +927,7 @@ public void test234PreviewGuybrushAddRolePirateRecon() throws Exception { @Test public void test236PreviewGuybrushAddRoleSailor() throws Exception { final String TEST_NAME = "test236PreviewGuybrushAddRoleSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -978,7 +978,7 @@ public void test236PreviewGuybrushAddRoleSailor() throws Exception { @Test public void test239GuybrushUnAssignAccountDummy() throws Exception { final String TEST_NAME = "test239GuybrushUnAssignAccountDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1004,7 +1004,7 @@ public void test239GuybrushUnAssignAccountDummy() throws Exception { @Test public void test240GuybrushAssignAccountDummyRelative() throws Exception { final String TEST_NAME = "test240GuybrushAssignAccountDummyRelative"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1033,7 +1033,7 @@ public void test240GuybrushAssignAccountDummyRelative() throws Exception { @Test public void test242PreviewGuybrushAddRolePirateRelative() throws Exception { final String TEST_NAME = "test242PreviewGuybrushAddRolePirateRelative"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1101,7 +1101,7 @@ public void test242PreviewGuybrushAddRolePirateRelative() throws Exception { @Test public void test244PreviewGuybrushAddRolePirateRelativeRecon() throws Exception { final String TEST_NAME = "test244PreviewGuybrushAddRolePirateRelativeRecon"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1166,7 +1166,7 @@ public void test244PreviewGuybrushAddRolePirateRelativeRecon() throws Exception @Test public void test249GuybrushUnAssignAccountDummyRelative() throws Exception { final String TEST_NAME = "test249GuybrushUnAssignAccountDummyRelative"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1220,7 +1220,7 @@ private void assertAccountItemModify(ObjectDelta accountDelta, @Test public void test300ModifyElaineAccountDummyReplace() throws Exception { final String TEST_NAME = "test300ModifyElaineAccountDummyReplace"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1276,7 +1276,7 @@ ACCOUNT_SHADOW_ELAINE_DUMMY_OID, getDummyResourceObject(), DummyResourceContolle @Test public void test301ModifyElaineAccountDummyDeleteAdd() throws Exception { final String TEST_NAME = "test301ModifyElaineAccountDummyDeleteAdd"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1337,7 +1337,7 @@ public void test301ModifyElaineAccountDummyDeleteAdd() throws Exception { @Test public void test400ModifyElaineAccountDummyRedReplace() throws Exception { final String TEST_NAME = "test400ModifyElaineAccountDummyRedReplace"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1373,7 +1373,7 @@ ACCOUNT_SHADOW_ELAINE_DUMMY_RED_OID, getDummyResourceObject(RESOURCE_DUMMY_RED_N @Test public void test401ModifyElaineAccountDummyRedDeleteAdd() throws Exception { final String TEST_NAME = "test401ModifyElaineAccountDummyRedDeleteAdd"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1411,7 +1411,7 @@ public void test401ModifyElaineAccountDummyRedDeleteAdd() throws Exception { @Test public void test500ModifyElaineAccountDummyBlueReplace() throws Exception { final String TEST_NAME = "test500ModifyElaineAccountDummyBlueReplace"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1467,7 +1467,7 @@ ACCOUNT_SHADOW_ELAINE_DUMMY_BLUE_OID, getDummyResourceObject(RESOURCE_DUMMY_BLUE @Test public void test501ModifyElaineAccountDummyBlueDeleteAdd() throws Exception { final String TEST_NAME = "test501ModifyElaineAccountDummyBlueDeleteAdd"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1531,7 +1531,7 @@ public void test501ModifyElaineAccountDummyBlueDeleteAdd() throws Exception { @Test public void test600ModifyElaineUserDummyReplace() throws Exception { final String TEST_NAME = "test600ModifyElaineUserDummyReplace"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1624,7 +1624,7 @@ public void test600ModifyElaineUserDummyReplace() throws Exception { @Test public void test610ModifyElaineUserAccountDummyReplace() throws Exception { final String TEST_NAME = "test610ModifyElaineUserAccountDummyReplace"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1728,7 +1728,7 @@ ACCOUNT_SHADOW_ELAINE_DUMMY_BLUE_OID, getDummyResourceObject(RESOURCE_DUMMY_BLUE @Test public void test620AddUserCapsize() throws Exception { final String TEST_NAME = "test620AddUserCapsize"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1817,7 +1817,7 @@ public void test620AddUserCapsize() throws Exception { @Test public void test630AddUserRogers() throws Exception { final String TEST_NAME = "test630AddUserRogers"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1913,7 +1913,7 @@ public void test630AddUserRogers() throws Exception { @Test public void test700DisableElaineAccountTwoResources() throws Exception { final String TEST_NAME = "test700DisableElaineAccountTwoResources"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestRaceConditions.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestRaceConditions.java index 378ed847cc0..e627581a1c9 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestRaceConditions.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestRaceConditions.java @@ -60,7 +60,7 @@ protected ConflictResolutionActionType getDefaultConflictResolutionAction() { @Test public void test100AssignRoles() throws Exception { final String TEST_NAME="test100AssignRoles"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -102,7 +102,7 @@ public void test100AssignRoles() throws Exception { @Test public void test110UnassignRoles() throws Exception { final String TEST_NAME = "test110UnassignRoles"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRaceConditions.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestResources.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestResources.java index 76c85d00ca9..63f6146d2af 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestResources.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestResources.java @@ -155,7 +155,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test050GetResourceRaw() throws Exception { final String TEST_NAME = "test050GetResourceRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -202,7 +202,7 @@ public void test050GetResourceRaw() throws Exception { @Test public void test052GetResourceNoFetch() throws Exception { final String TEST_NAME = "test052GetResourceNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -251,7 +251,7 @@ public void test052GetResourceNoFetch() throws Exception { @Test public void test053GetResourceNoFetchReadOnly() throws Exception { final String TEST_NAME = "test053GetResourceNoFetchReadOnly"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -301,7 +301,7 @@ public void test053GetResourceNoFetchReadOnly() throws Exception { @Test public void test100SearchResourcesNoFetch() throws Exception { final String TEST_NAME = "test100SearchResourcesNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -348,7 +348,7 @@ public void test100SearchResourcesNoFetch() throws Exception { @Test public void test102SearchResourcesNoFetchReadOnly() throws Exception { final String TEST_NAME = "test102SearchResourcesNoFetchReadOnly"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -397,7 +397,7 @@ public void test102SearchResourcesNoFetchReadOnly() throws Exception { @Test public void test105SearchResourcesIterativeNoFetch() throws Exception { final String TEST_NAME = "test105SearchResourcesIterativeNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -447,7 +447,7 @@ public void test105SearchResourcesIterativeNoFetch() throws Exception { @Test public void test107SearchResourcesIterativeNoFetchReadOnly() throws Exception { final String TEST_NAME = "test107SearchResourcesIterativeNoFetchReadOnly"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -496,7 +496,7 @@ public void test107SearchResourcesIterativeNoFetchReadOnly() throws Exception { @Test public void test110GetResourceDummy() throws Exception { final String TEST_NAME = "test110GetResourceDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -532,7 +532,7 @@ public void test110GetResourceDummy() throws Exception { @Test public void test112GetResourceDummyReadOnly() throws Exception { final String TEST_NAME = "test112GetResourceDummyReadOnly"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -571,7 +571,7 @@ public void test112GetResourceDummyReadOnly() throws Exception { @Test public void test120SearchResources() throws Exception { final String TEST_NAME = "test120SearchResources"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestResources.class.getName() + "." + TEST_NAME); @@ -608,7 +608,7 @@ public void test120SearchResources() throws Exception { @Test public void test125SearchResourcesIterative() throws Exception { final String TEST_NAME = "test125SearchResourcesIterative"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestResources.class.getName() + "." + TEST_NAME); @@ -728,7 +728,7 @@ private void assertResource(PrismObject resource, boolean expectSc @Test public void test200GetResourceRawAfterSchema() throws Exception { final String TEST_NAME = "test200GetResourceRawAfterSchema"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestResources.class.getName() + "." + TEST_NAME); @@ -759,7 +759,7 @@ public void test200GetResourceRawAfterSchema() throws Exception { @Test public void test210GetResourceDummyRed() throws Exception { final String TEST_NAME = "test210GetResourceDummyRed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -794,7 +794,7 @@ public void test210GetResourceDummyRed() throws Exception { @Test public void test750GetResourceRaw() throws Exception { final String TEST_NAME = "test750GetResourceRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -837,7 +837,7 @@ public void test750GetResourceRaw() throws Exception { @Test public void test752GetResourceDummy() throws Exception { final String TEST_NAME = "test752GetResourceDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -871,7 +871,7 @@ public void test752GetResourceDummy() throws Exception { @Test public void test760ModifyConfigurationString() throws Exception { final String TEST_NAME = "test760ModifyConfigurationString"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -898,7 +898,7 @@ public void test760ModifyConfigurationString() throws Exception { @Test public void test761ModifyConfigurationStringRaw() throws Exception { final String TEST_NAME = "test761ModifyConfigurationStringRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -966,7 +966,7 @@ public void handleGlobalError(OperationResult currentResult) { } public void modifyConfigurationDiffExpressionRaw(final String TEST_NAME, FailableFunction> parser) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1034,7 +1034,7 @@ private ItemPath getConfigurationPropertyPath(QName elementQName) { @Test public void test800GetResourceDummy() throws Exception { final String TEST_NAME = "test800GetResourceDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1068,7 +1068,7 @@ public void test800GetResourceDummy() throws Exception { @Test public void test820SingleDescriptionModify() throws Exception { final String TEST_NAME = "test820SingleDescriptionModify"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1079,7 +1079,7 @@ public void test820SingleDescriptionModify() throws Exception { @Test public void test840RadomModifySequence() throws Exception { final String TEST_NAME = "test840RadomModifySequence"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestSchemalessResource.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestSchemalessResource.java index b15c7093beb..d8ed5e905b5 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestSchemalessResource.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestSchemalessResource.java @@ -57,7 +57,7 @@ public TestSchemalessResource() throws JAXBException { @Test public void test001GetObject() throws Exception { final String TEST_NAME = "test001GetObject"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -72,7 +72,7 @@ public void test001GetObject() throws Exception { @Test public void test002TestConnection() throws Exception { final String TEST_NAME = "test002TestConnection"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestScriptHooks.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestScriptHooks.java index c15d71e7dbc..3d5c9fde0f7 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestScriptHooks.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestScriptHooks.java @@ -95,7 +95,7 @@ protected File getSystemConfigurationFile() { @Test public void test100JackAssignHookAccount() throws Exception { final String TEST_NAME = "test100JackAssignHookAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestScriptHooks.class.getName() + "." + TEST_NAME); @@ -149,7 +149,7 @@ public void test100JackAssignHookAccount() throws Exception { @Test public void test110JackAddOrganization() throws Exception { final String TEST_NAME = "test110JackAddOrganization"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestScriptHooks.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestStrangeCases.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestStrangeCases.java index 4812f51c8f2..17de9cd7dab 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestStrangeCases.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestStrangeCases.java @@ -162,7 +162,7 @@ public void initSystem(Task initTask, OperationResult initResult) @Test public void test050AddRoleRecursionAssignment() throws Exception { final String TEST_NAME = "test050AddRoleRecursionAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -197,7 +197,7 @@ public void test050AddRoleRecursionAssignment() throws Exception { @Test public void test060AddRoleStupidAssignment() throws Exception { final String TEST_NAME = "test060AddRoleStupidAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -218,7 +218,7 @@ public void test060AddRoleStupidAssignment() throws Exception { @Test public void test100ModifyUserGuybrushAddAccountDummyRedNoAttributesConflict() throws Exception { final String TEST_NAME = "test100ModifyUserGuybrushAddAccountDummyRedNoAttributesConflict"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -289,7 +289,7 @@ public void test100ModifyUserGuybrushAddAccountDummyRedNoAttributesConflict() th @Test public void test180DeleteHalfAssignmentFromUser() throws Exception { String TEST_NAME = "test180DeleteHalfAssignmentFromUser"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -341,7 +341,7 @@ public void test180DeleteHalfAssignmentFromUser() throws Exception { @Test public void test190DeleteHalfAssignedUser() throws Exception { String TEST_NAME = "test190DeleteHalfAssignedUser"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -396,7 +396,7 @@ public void test190DeleteHalfAssignedUser() throws Exception { @Test public void test200ModifyUserJackBrokenAccountRefAndPolyString() throws Exception { final String TEST_NAME = "test200ModifyUserJackBrokenAccountRefAndPolyString"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -442,7 +442,7 @@ public void test200ModifyUserJackBrokenAccountRefAndPolyString() throws Exceptio @Test public void test210ModifyUserAddAccount() throws Exception { final String TEST_NAME = "test210ModifyUserAddAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -474,7 +474,7 @@ public void test210ModifyUserAddAccount() throws Exception { @Test public void test212ModifyUserAddAccountRed() throws Exception { final String TEST_NAME = "test212ModifyUserAddAccountRed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -509,7 +509,7 @@ public void test212ModifyUserAddAccountRed() throws Exception { @Test public void test212ModifyUserJackBrokenSchemaViolationPolyString() throws Exception { final String TEST_NAME = "test212ModifyUserJackBrokenSchemaViolationPolyString"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -553,7 +553,7 @@ public void test212ModifyUserJackBrokenSchemaViolationPolyString() throws Except @Test public void test214ModifyUserJackBrokenPassword() throws Exception { final String TEST_NAME = "test214ModifyUserJackBrokenPassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -597,7 +597,7 @@ public void test214ModifyUserJackBrokenPassword() throws Exception { @Test public void test220ModifyUserJackBrokenConflict() throws Exception { final String TEST_NAME = "test220ModifyUserJackBrokenConflict"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -643,7 +643,7 @@ public void test220ModifyUserJackBrokenConflict() throws Exception { @Test public void test300ExtensionSanity() throws Exception { final String TEST_NAME = "test300ExtensionSanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); PrismObjectDefinition userDef = prismContext.getSchemaRegistry().findObjectDefinitionByCompileTimeClass(UserType.class); PrismContainerDefinition extensionContainerDef = userDef.findContainerDefinition(UserType.F_EXTENSION); @@ -664,7 +664,7 @@ public void test300ExtensionSanity() throws Exception { @Test public void test301AddUserDeGhoulash() throws Exception { final String TEST_NAME = "test301AddUserDeGhoulash"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -748,7 +748,7 @@ public void test317SearchDeGhoulashByFuneralTimestamp() throws Exception { private void searchDeGhoulash(String testName, QName propName, T propValue) throws Exception { - TestUtil.displayTestTile(this, testName); + TestUtil.displayTestTitle(this, testName); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + testName); @@ -802,7 +802,7 @@ private void assertBasicDeGhoulashExtension(PrismObject userDeGhoulash @Test public void test330AssignDeGhoulashIdiot() throws Exception { final String TEST_NAME = "test330AssignDeGhoulashIdiot"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -830,7 +830,7 @@ public void test330AssignDeGhoulashIdiot() throws Exception { @Test public void test332AssignDeGhoulashRecursion() throws Exception { final String TEST_NAME = "test332AssignDeGhoulashRecursion"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -868,7 +868,7 @@ public void test332AssignDeGhoulashRecursion() throws Exception { @Test public void test334AssignDeGhoulashStupidAssignment() throws Exception { final String TEST_NAME = "test334AssignDeGhoulashStupidAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -899,7 +899,7 @@ public void test334AssignDeGhoulashStupidAssignment() throws Exception { @Test public void test336UnassignDeGhoulashStupidAssignment() throws Exception { final String TEST_NAME = "test336UnassignDeGhoulashStupidAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -922,7 +922,7 @@ public void test336UnassignDeGhoulashStupidAssignment() throws Exception { @Test public void test340AssignDeGhoulashConstructionNonExistentResource() throws Exception { final String TEST_NAME = "test340AssignDeGhoulashConstructionNonExistentResource"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -949,7 +949,7 @@ public void test340AssignDeGhoulashConstructionNonExistentResource() throws Exce @Test public void test349UnAssignDeGhoulashConstructionNonExistentResource() throws Exception { final String TEST_NAME = "test349UnAssignDeGhoulashConstructionNonExistentResource"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -975,7 +975,7 @@ public void test349UnAssignDeGhoulashConstructionNonExistentResource() throws Ex @Test public void test350AssignDeGhoulashRoleBadConstructionResourceRef() throws Exception { final String TEST_NAME = "test350AssignDeGhoulashRoleBadConstructionResourceRef"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -1004,7 +1004,7 @@ public void test350AssignDeGhoulashRoleBadConstructionResourceRef() throws Excep @Test public void test351UnAssignDeGhoulashRoleBadConstructionResourceRef() throws Exception { final String TEST_NAME = "test351UnAssignDeGhoulashRoleBadConstructionResourceRef"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -1033,7 +1033,7 @@ public void test351UnAssignDeGhoulashRoleBadConstructionResourceRef() throws Exc @Test public void test360AddRoleTargetBadConstructionResourceRef() throws Exception { final String TEST_NAME = "test360AddRoleTargetBadConstructionResourceRef"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -1057,7 +1057,7 @@ public void test360AddRoleTargetBadConstructionResourceRef() throws Exception { @Test public void test400ImportJackMockTask() throws Exception { final String TEST_NAME = "test400ImportJackMockTask"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -1080,7 +1080,7 @@ public void test400ImportJackMockTask() throws Exception { @Test public void test401ListTasks() throws Exception { final String TEST_NAME = "test401ListTasks"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -1129,7 +1129,7 @@ public void test401ListTasks() throws Exception { @Test public void test410DeleteJack() throws Exception { final String TEST_NAME = "test410DeleteJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -1180,7 +1180,7 @@ public void test410DeleteJack() throws Exception { @Test public void test500EnumerationExtension() throws Exception { final String TEST_NAME = "test500EnumerationExtension"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); PrismObjectDefinition userDef = prismContext.getSchemaRegistry().findObjectDefinitionByCompileTimeClass(UserType.class); PrismPropertyDefinition markDef = userDef.findPropertyDefinition(new ItemPath(UserType.F_EXTENSION, PIRACY_MARK)); @@ -1199,7 +1199,7 @@ public void test500EnumerationExtension() throws Exception { @Test public void test502EnumerationStoreGood() throws Exception { final String TEST_NAME = "test502EnumerationStoreGood"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN @@ -1231,7 +1231,7 @@ public void test502EnumerationStoreGood() throws Exception { @Test // MID-2260 public void test510EnumerationGetBad() throws Exception { final String TEST_NAME = "test510EnumerationGetBad"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); PrismObjectDefinition userDef = prismContext.getSchemaRegistry().findObjectDefinitionByCompileTimeClass(UserType.class); PrismPropertyDefinition markDef = userDef.findPropertyDefinition(new ItemPath(UserType.F_EXTENSION, PIRACY_MARK)); @@ -1271,7 +1271,7 @@ public void test510EnumerationGetBad() throws Exception { @Test public void test520ShipReadBadTolerateRawData() throws Exception { final String TEST_NAME = "test520ShipReadBadTolerateRawData"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN @@ -1317,7 +1317,7 @@ private void changeDefinition(QName piracyShip, QName piracyShipBroken) { @Test public void test522ShipReadBadRaw() throws Exception { final String TEST_NAME = "test522ShipReadBadRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN @@ -1343,7 +1343,7 @@ public void test522ShipReadBadRaw() throws Exception { @Test public void test524ShipReadBadPlain() throws Exception { final String TEST_NAME = "test524ShipReadBadPlain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN @@ -1363,7 +1363,7 @@ public void test524ShipReadBadPlain() throws Exception { @Test public void test529FixSchema() throws Exception { final String TEST_NAME = "test529FixSchema"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); changeDefinition(PIRACY_SHIP_BROKEN, PIRACY_SHIP); } @@ -1376,7 +1376,7 @@ public void test529FixSchema() throws Exception { @Test public void test550AssignCircus() throws Exception { final String TEST_NAME = "test550AssignCircus"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN @@ -1400,7 +1400,7 @@ public void test550AssignCircus() throws Exception { @Test public void test600AddUserGuybrushAssignAccount() throws Exception { final String TEST_NAME="test600AddUserGuybrushAssignAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); @@ -1445,7 +1445,7 @@ public void test600AddUserGuybrushAssignAccount() throws Exception { @Test(enabled=false) // MID-2880 public void test610GetAccountGuybrushRogueAttribute() throws Exception { final String TEST_NAME="test600AddUserGuybrushAssignAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestStrangeCases.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTolerantAttributes.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTolerantAttributes.java index f0de51fe68c..932e32a11b3 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTolerantAttributes.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTolerantAttributes.java @@ -68,7 +68,7 @@ public class TestTolerantAttributes extends AbstractInitializedModelIntegrationT @Test public void test100ModifyUserAddAccount() throws Exception { - TestUtil.displayTestTile(this, "test100ModifyUserAddAccount"); + TestUtil.displayTestTitle(this, "test100ModifyUserAddAccount"); // GIVEN Task task = taskManager.createTaskInstance(TestTolerantAttributes.class.getName() + ".test100ModifyUserAddAccount"); @@ -128,7 +128,7 @@ public void test100ModifyUserAddAccount() throws Exception { @Test public void test101modifyAddAttributesIntolerantPattern() throws Exception{ - TestUtil.displayTestTile(this, "test101modifyAddAttributesIntolerantPattern"); + TestUtil.displayTestTitle(this, "test101modifyAddAttributesIntolerantPattern"); // GIVEN Task task = taskManager.createTaskInstance(TestTolerantAttributes.class.getName() + ".test101modifyAddAttributesIntolerantPattern"); @@ -176,7 +176,7 @@ public void test101modifyAddAttributesIntolerantPattern() throws Exception{ @Test public void test102modifyAddAttributeTolerantPattern() throws Exception{ - TestUtil.displayTestTile(this, "test102modifyAddAttributeTolerantPattern"); + TestUtil.displayTestTitle(this, "test102modifyAddAttributeTolerantPattern"); // GIVEN Task task = taskManager.createTaskInstance(TestTolerantAttributes.class.getName() + ".test102modifyAddAttributeTolerantPattern"); @@ -224,7 +224,7 @@ public void test102modifyAddAttributeTolerantPattern() throws Exception{ @Test public void test103modifyReplaceAttributeIntolerant() throws Exception{ - TestUtil.displayTestTile(this, "test103modifyReplaceAttributeIntolerant"); + TestUtil.displayTestTitle(this, "test103modifyReplaceAttributeIntolerant"); // GIVEN Task task = taskManager.createTaskInstance(TestTolerantAttributes.class.getName() + ".test103modifyReplaceAttributeIntolerant"); @@ -271,7 +271,7 @@ public void test103modifyReplaceAttributeIntolerant() throws Exception{ @Test public void test104modifyReplaceAttributeTolerantPattern() throws Exception{ - TestUtil.displayTestTile(this, "test104modifyReplaceAttributeTolerantPattern"); + TestUtil.displayTestTitle(this, "test104modifyReplaceAttributeTolerantPattern"); // GIVEN Task task = taskManager.createTaskInstance(TestTolerantAttributes.class.getName() + ".test104modifyReplaceAttributeTolerantPattern"); @@ -319,7 +319,7 @@ public void test104modifyReplaceAttributeTolerantPattern() throws Exception{ @Test public void test105modifyAddNonTolerantAttribute() throws Exception{ - TestUtil.displayTestTile(this, "test105modifyAddNonTolerantAttribute"); + TestUtil.displayTestTitle(this, "test105modifyAddNonTolerantAttribute"); // GIVEN Task task = taskManager.createTaskInstance(TestTolerantAttributes.class.getName() + ".test105modifyAddNonTolerantAttribute"); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTriggerTask.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTriggerTask.java index 06c283cd859..a4030cdba53 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTriggerTask.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTriggerTask.java @@ -70,7 +70,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100ImportScannerTask() throws Exception { final String TEST_NAME = "test100ImportScannerTask"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestTriggerTask.class.getName() + "." + TEST_NAME); @@ -104,7 +104,7 @@ public void test100ImportScannerTask() throws Exception { @Test public void test105NoTrigger() throws Exception { final String TEST_NAME = "test105NoTrigger"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestTriggerTask.class.getName() + "." + TEST_NAME); @@ -132,7 +132,7 @@ public void test105NoTrigger() throws Exception { @Test public void test110TriggerCalledAgain() throws Exception { final String TEST_NAME = "test110TriggerCalledAgain"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestTriggerTask.class.getName() + "." + TEST_NAME); @@ -163,7 +163,7 @@ public void test110TriggerCalledAgain() throws Exception { @Test public void test120TwoTriggers() throws Exception { final String TEST_NAME = "test120TwoTriggers"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestTriggerTask.class.getName() + "." + TEST_NAME); @@ -199,7 +199,7 @@ public void test120TwoTriggers() throws Exception { @Test public void test150NoTriggerAgain() throws Exception { final String TEST_NAME = "test115NoTriggerAgain"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestTriggerTask.class.getName() + "." + TEST_NAME); @@ -227,7 +227,7 @@ public void test150NoTriggerAgain() throws Exception { @Test public void test200TwoDistantTriggers() throws Exception { final String TEST_NAME = "test130TwoDistantTriggers"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestTriggerTask.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplate.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplate.java index 2e6e4ebbe08..ffd30977321 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplate.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplate.java @@ -134,7 +134,7 @@ protected int getNumberOfRoles() { @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -174,7 +174,7 @@ private void assertObjectTemplate(List defaultObj @Test public void test100ModifyUserGivenName() throws Exception { final String TEST_NAME = "test100ModifyUserGivenName"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -222,7 +222,7 @@ public void test100ModifyUserGivenName() throws Exception { @Test public void test101ModifyUserEmployeeTypePirate() throws Exception { final String TEST_NAME = "test101ModifyUserEmployeeTypePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -276,7 +276,7 @@ public void test101ModifyUserEmployeeTypePirate() throws Exception { @Test public void test102ModifyUserEmployeeTypeBuccaneer() throws Exception { final String TEST_NAME = "test102ModifyUserEmployeeTypeBuccaneer"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -315,7 +315,7 @@ public void test102ModifyUserEmployeeTypeBuccaneer() throws Exception { @Test public void test103ModifyUserEmployeeTypeBartender() throws Exception { final String TEST_NAME = "test103ModifyUserEmployeeTypeBartender"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -358,7 +358,7 @@ public void test103ModifyUserEmployeeTypeBartender() throws Exception { @Test public void test104ModifyUserCostCenter() throws Exception { final String TEST_NAME = "test104ModifyUserCostCenter"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -397,7 +397,7 @@ public void test104ModifyUserCostCenter() throws Exception { @Test public void test105ModifyUserTelephoneNumber() throws Exception { final String TEST_NAME = "test105ModifyUserTelephoneNumber"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -438,7 +438,7 @@ public void test105ModifyUserTelephoneNumber() throws Exception { @Test public void test106ModifyUserRemoveTelephoneNumber() throws Exception { final String TEST_NAME = "test106ModifyUserRemoveTelephoneNumber"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -479,7 +479,7 @@ public void test106ModifyUserRemoveTelephoneNumber() throws Exception { @Test public void test107ModifyUserSetTelephoneNumber() throws Exception { final String TEST_NAME = "test107ModifyUserSetTelephoneNumber"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -519,7 +519,7 @@ public void test107ModifyUserSetTelephoneNumber() throws Exception { @Test public void test120ReconcileUser() throws Exception { final String TEST_NAME = "test121ModifyUserReplaceLocality"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -562,7 +562,7 @@ public void test120ReconcileUser() throws Exception { @Test public void test121ModifyUserReplaceLocality() throws Exception { final String TEST_NAME = "test121ModifyUserReplaceLocality"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -601,7 +601,7 @@ public void test121ModifyUserReplaceLocality() throws Exception { @Test public void test140AssignDummy() throws Exception { final String TEST_NAME = "test140AssignDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -636,7 +636,7 @@ public void test140AssignDummy() throws Exception { @Test public void test149UnAssignDummy() throws Exception { final String TEST_NAME = "test149UnAssignDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -670,7 +670,7 @@ public void test149UnAssignDummy() throws Exception { @Test public void test150ModifyJackOrganizationalUnitRum() throws Exception { final String TEST_NAME = "test150ModifyJackOrganizationalUnitRum"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -706,7 +706,7 @@ public void test150ModifyJackOrganizationalUnitRum() throws Exception { @Test public void test151ModifyJackOrganizationalUnitOffense() throws Exception { final String TEST_NAME = "test151ModifyJackOrganizationalUnitOffense"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -742,7 +742,7 @@ public void test151ModifyJackOrganizationalUnitOffense() throws Exception { @Test public void test152ModifyJackOrganizationalUnitAddRum() throws Exception { final String TEST_NAME = "test152ModifyJackOrganizationalUnitAddRum"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -780,7 +780,7 @@ public void test152ModifyJackOrganizationalUnitAddRum() throws Exception { @Test public void test153ModifyJackOrganizationalUnitDeleteOffense() throws Exception { final String TEST_NAME = "test153ModifyJackOrganizationalUnitDeleteOffense"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -819,7 +819,7 @@ public void test153ModifyJackOrganizationalUnitDeleteOffense() throws Exception @Test public void test155ModifyJackOrganizationalUnitFD001() throws Exception { final String TEST_NAME = "test155ModifyJackOrganizationalUnitFD001"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -861,7 +861,7 @@ public void test155ModifyJackOrganizationalUnitFD001() throws Exception { @Test public void test156ReconcileJack() throws Exception { final String TEST_NAME = "test156ReconcileJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -902,7 +902,7 @@ public void test156ReconcileJack() throws Exception { @Test public void test157ModifyJackOrganizationalUnitFD0023() throws Exception { final String TEST_NAME = "test157ModifyJackOrganizationalUnitFD0023"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -945,7 +945,7 @@ public void test157ModifyJackOrganizationalUnitFD0023() throws Exception { @Test public void test159ModifyJackDeleteOrganizationalUnitFD002() throws Exception { final String TEST_NAME = "test159ModifyJackDeleteOrganizationalUnitFD002"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -988,7 +988,7 @@ public void test159ModifyJackDeleteOrganizationalUnitFD002() throws Exception { @Test public void test160ModifyUserGivenNameAgain() throws Exception { - TestUtil.displayTestTile(this, "test160ModifyUserGivenNameAgain"); + TestUtil.displayTestTitle(this, "test160ModifyUserGivenNameAgain"); // GIVEN Task task = taskManager.createTaskInstance(TestUserTemplate.class.getName() + ".test160ModifyUserGivenNameAgain"); @@ -1030,7 +1030,7 @@ public void test160ModifyUserGivenNameAgain() throws Exception { @Test public void test162ModifyUserGivenNameAgainPhantomChange() throws Exception { final String TEST_NAME = "test162ModifyUserGivenNameAgainPhantomChange"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1075,7 +1075,7 @@ public void test162ModifyUserGivenNameAgainPhantomChange() throws Exception { @Test public void test165ModifyUserGivenNameAgainAgain() throws Exception { final String TEST_NAME = "test165ModifyUserGivenNameAgainAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1125,7 +1125,7 @@ private void assertOnDemandOrgAssigned(String orgName, PrismObject use @Test public void test170ModifyUserGuybrushEmployeeTypeThief() throws Exception { final String TEST_NAME = "test170ModifyUserGuybrushEmployeeTypeThief"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1156,7 +1156,7 @@ public void test170ModifyUserGuybrushEmployeeTypeThief() throws Exception { @Test public void test172ModifyUserGuybrushHonorificPrefix() throws Exception { final String TEST_NAME = "test172ModifyUserGuybrushHonorificPrefix"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1188,7 +1188,7 @@ public void test172ModifyUserGuybrushHonorificPrefix() throws Exception { @Test public void test174ModifyUserGuybrushHonorificPrefixNone() throws Exception { final String TEST_NAME = "test174ModifyUserGuybrushHonorificPrefixNone"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1218,7 +1218,7 @@ public void test174ModifyUserGuybrushHonorificPrefixNone() throws Exception { @Test public void test180ModifyUserGuybrushEmployeeTypeMarooned() throws Exception { final String TEST_NAME = "test180ModifyUserGuybrushEmployeeTypeMarooned"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1247,7 +1247,7 @@ public void test180ModifyUserGuybrushEmployeeTypeMarooned() throws Exception { @Test public void test189ModifyUserGuybrushEmployeeTypeNone() throws Exception { final String TEST_NAME = "test189ModifyUserGuybrushEmployeeTypeNone"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1280,7 +1280,7 @@ public void test189ModifyUserGuybrushEmployeeTypeNone() throws Exception { @Test public void test190ModifyUserGuybrushOrganizationWhateveric() throws Exception { final String TEST_NAME = "test190ModifyUserGuybrushOrganizationWhateveric"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1314,7 +1314,7 @@ public void test190ModifyUserGuybrushOrganizationWhateveric() throws Exception { @Test public void test191ModifyUserGuybrushOrganizationAutomatic() throws Exception { final String TEST_NAME = "test191ModifyUserGuybrushOrganizationAutomatic"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1352,7 +1352,7 @@ public void test191ModifyUserGuybrushOrganizationAutomatic() throws Exception { @Test public void test192ModifyUserGuybrushOrganizationAddMixed() throws Exception { final String TEST_NAME = "test192ModifyUserGuybrushOrganizationAddMixed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1403,7 +1403,7 @@ public void test192ModifyUserGuybrushOrganizationAddMixed() throws Exception { @Test public void test193ModifyUserGuybrushOrganizationAddOutOfDomain() throws Exception { final String TEST_NAME = "test193ModifyUserGuybrushOrganizationAddOutOfDomain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1454,7 +1454,7 @@ public void test193ModifyUserGuybrushOrganizationAddOutOfDomain() throws Excepti @Test public void test194ModifyUserGuybrushOrganizationDeleteMixed() throws Exception { final String TEST_NAME = "test194ModifyUserGuybrushOrganizationDeleteMixed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1501,7 +1501,7 @@ public void test194ModifyUserGuybrushOrganizationDeleteMixed() throws Exception @Test public void test195ModifyUserGuybrushOrganizationDeleteOutOfDomain() throws Exception { final String TEST_NAME = "test195ModifyUserGuybrushOrganizationDeleteOutOfDomain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1545,7 +1545,7 @@ public void test195ModifyUserGuybrushOrganizationDeleteOutOfDomain() throws Exce @Test public void test196GuybrushAssignCaptain() throws Exception { final String TEST_NAME = "test196GuybrushAssignCaptain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1587,7 +1587,7 @@ public void test196GuybrushAssignCaptain() throws Exception { @Test public void test197ModifyGuybrushEmployeeTypePirate() throws Exception { final String TEST_NAME = "test197ModifyGuybrushEmployeeTypePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1626,7 +1626,7 @@ public void test197ModifyGuybrushEmployeeTypePirate() throws Exception { @Test public void test198AModifyUserGuybrushOrganizationAddInDomain() throws Exception { final String TEST_NAME = "test198AModifyUserGuybrushOrganizationAddInDomain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1676,7 +1676,7 @@ public void test198AModifyUserGuybrushOrganizationAddInDomain() throws Exception @Test public void test198BModifyUserGuybrushOrganizationDeleteMixed() throws Exception { final String TEST_NAME = "test198BModifyUserGuybrushOrganizationDeleteMixed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1722,7 +1722,7 @@ public void test198BModifyUserGuybrushOrganizationDeleteMixed() throws Exception @Test public void test199AGuyBrushModifyEmployeeTypeWannabe() throws Exception { final String TEST_NAME = "test199AGuyBrushModifyEmployeeTypeWannabe"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1764,7 +1764,7 @@ public void test199AGuyBrushModifyEmployeeTypeWannabe() throws Exception { @Test public void test199BGuyBrushUnassignCaptain() throws Exception { final String TEST_NAME = "test199BGuyBrushUnassignCaptain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1805,7 +1805,7 @@ public void test199BGuyBrushUnassignCaptain() throws Exception { @Test public void test199CModifyUserGuybrushOrganizationCleanup() throws Exception { final String TEST_NAME = "test199CModifyUserGuybrushOrganizationCleanup"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1836,7 +1836,7 @@ public void test199CModifyUserGuybrushOrganizationCleanup() throws Exception { @Test public void test200AddUserRapp() throws Exception { final String TEST_NAME = "test200AddUserRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1872,7 +1872,7 @@ public void test200AddUserRapp() throws Exception { @Test public void test201AddUserLargo() throws Exception { - TestUtil.displayTestTile(this, "test201AddUserLargo"); + TestUtil.displayTestTitle(this, "test201AddUserLargo"); // GIVEN Task task = taskManager.createTaskInstance(TestUserTemplate.class.getName() + ".test201AddUserLargo"); @@ -1919,7 +1919,7 @@ public void test201AddUserLargo() throws Exception { @Test public void test202AddUserMonkey() throws Exception { - TestUtil.displayTestTile(this, "test202AddUserMonkey"); + TestUtil.displayTestTitle(this, "test202AddUserMonkey"); // GIVEN Task task = taskManager.createTaskInstance(TestUserTemplate.class.getName() + ".test202AddUserMonkey"); @@ -1960,7 +1960,7 @@ public void test202AddUserMonkey() throws Exception { @Test public void test204AddUserHerman() throws Exception { final String TEST_NAME = "test204AddUserHerman"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1996,7 +1996,7 @@ public void test204AddUserHerman() throws Exception { @Test public void test220AssignRoleSailorToUserRapp() throws Exception { final String TEST_NAME = "test220AssignRoleSailorToUserRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2031,7 +2031,7 @@ public void test220AssignRoleSailorToUserRapp() throws Exception { @Test public void test229UnassignRoleSailorFromUserRapp() throws Exception { final String TEST_NAME = "test220AssignRoleSailorToUserRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2068,7 +2068,7 @@ public void test229UnassignRoleSailorFromUserRapp() throws Exception { @Test public void test230AssignRoleCaptainToUserRapp() throws Exception { final String TEST_NAME = "test230AssignRoleCaptainToUserRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2103,7 +2103,7 @@ public void test230AssignRoleCaptainToUserRapp() throws Exception { @Test public void test232ModifyUserRappCostCenter() throws Exception { final String TEST_NAME = "test232ModifyUserRappCostCenter"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2139,7 +2139,7 @@ public void test232ModifyUserRappCostCenter() throws Exception { @Test public void test239UnassignRoleCaptainFromUserRapp() throws Exception { final String TEST_NAME = "test239UnassignRoleCaptainFromUserRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2171,7 +2171,7 @@ public void test239UnassignRoleCaptainFromUserRapp() throws Exception { @Test public void test240ModifyUserRappLocalityScabb() throws Exception { final String TEST_NAME = "test240ModifyUserRappLocalityScabb"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2219,7 +2219,7 @@ public void test240ModifyUserRappLocalityScabb() throws Exception { @Test public void test242AssignRoleRastamanToUserRapp() throws Exception { final String TEST_NAME = "test242AssignRoleRastamanToUserRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2260,7 +2260,7 @@ public void test242AssignRoleRastamanToUserRapp() throws Exception { @Test public void test244ModifyUserRappLocalityCoffin() throws Exception { final String TEST_NAME = "test244ModifyUserRappLocalityCoffin"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2301,7 +2301,7 @@ public void test244ModifyUserRappLocalityCoffin() throws Exception { @Test public void test245ModifyUserRappLocalityUnderReconcile() throws Exception { final String TEST_NAME = "test245ModifyUserRappLocalityUnderReconcile"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2349,7 +2349,7 @@ public void test245ModifyUserRappLocalityUnderReconcile() throws Exception { @Test public void test246ModifyUserRappTimezoneMonkey() throws Exception { final String TEST_NAME = "test246ModifyUserRappTimezoneMonkey"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2392,7 +2392,7 @@ public void test246ModifyUserRappTimezoneMonkey() throws Exception { @Test public void test247ModifyUserRappLocaleMI() throws Exception { final String TEST_NAME = "test247ModifyUserRappLocaleMI"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2432,7 +2432,7 @@ public void test247ModifyUserRappLocaleMI() throws Exception { @Test public void test249UnassignRoleRastamanFromUserRapp() throws Exception { final String TEST_NAME = "test249UnassignRoleRastamanFromUserRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2472,7 +2472,7 @@ public void test249UnassignRoleRastamanFromUserRapp() throws Exception { @Test public void test300ImportStanFromEmeraldResource() throws Exception { final String TEST_NAME = "test300ImportStanFromEmeraldResource"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2517,7 +2517,7 @@ public void test300ImportStanFromEmeraldResource() throws Exception { @Test public void test302ModifyStanAccountAndReimport() throws Exception { final String TEST_NAME = "test302ModifyStanAccountAndReimport"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2556,7 +2556,7 @@ public void test302ModifyStanAccountAndReimport() throws Exception { @Test public void test800Kaboom() throws Exception { final String TEST_NAME = "test800Kaboom"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2582,7 +2582,7 @@ public void test800Kaboom() throws Exception { @Test public void test900DeleteUser() throws Exception { final String TEST_NAME = "test900DeleteUser"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2615,7 +2615,7 @@ public void test900DeleteUser() throws Exception { @Test public void test950CreateUserJackWithoutTemplate() throws Exception { final String TEST_NAME = "test950CreateUserJackWithoutTemplate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN setDefaultUserTemplate(null); @@ -2650,7 +2650,7 @@ public void test950CreateUserJackWithoutTemplate() throws Exception { @Test public void test952ModifyJackOrganizationalUnitFD004() throws Exception { final String TEST_NAME = "test952ModifyJackOrganizationalUnitFD004"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2682,7 +2682,7 @@ public void test952ModifyJackOrganizationalUnitFD004() throws Exception { @Test public void test960ReconcileUserJackWithTemplate() throws Exception { final String TEST_NAME = "test960ModifyUserJackWithTemplate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN setDefaultUserTemplate(USER_TEMPLATE_COMPLEX_OID); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplateWithRanges.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplateWithRanges.java index 55a06a610d6..bcbec45442b 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplateWithRanges.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplateWithRanges.java @@ -80,7 +80,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100RecomputeElaine() throws Exception { final String TEST_NAME = "test100RecomputeElaine"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestUserTemplateWithRanges.class.getName() + "." + TEST_NAME); @@ -106,7 +106,7 @@ public void test100RecomputeElaine() throws Exception { @Test public void test110ChangeManagerAndRecomputeElaine() throws Exception { final String TEST_NAME = "test110ChangeManagerAndRecomputeElaine"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestUserTemplateWithRanges.class.getName() + "." + TEST_NAME); @@ -134,7 +134,7 @@ public void test110ChangeManagerAndRecomputeElaine() throws Exception { @Test public void test120RestoreManagerAndRecomputeElaineAgain() throws Exception { final String TEST_NAME = "test120RestoreManagerAndRecomputeElaineAgain"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestUserTemplateWithRanges.class.getName() + "." + TEST_NAME); @@ -166,7 +166,7 @@ public void test120RestoreManagerAndRecomputeElaineAgain() throws Exception { @Test public void test140ChangeManagerAndRecomputeElaineAgain() throws Exception { final String TEST_NAME = "test140ChangeManagerAndRecomputeElaineAgain"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestUserTemplateWithRanges.class.getName() + "." + TEST_NAME); @@ -200,7 +200,7 @@ public void test140ChangeManagerAndRecomputeElaineAgain() throws Exception { @Test public void test200SimpleOrgUnitAddition() throws Exception { final String TEST_NAME = "test200SimpleOrgUnitAddition"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestUserTemplateWithRanges.class.getName() + "." + TEST_NAME); @@ -244,7 +244,7 @@ public void test200SimpleOrgUnitAddition() throws Exception { @Test public void test210RemoveUnit1() throws Exception { final String TEST_NAME = "test210RemoveUnit1"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestUserTemplateWithRanges.class.getName() + "." + TEST_NAME); @@ -285,7 +285,7 @@ public void test210RemoveUnit1() throws Exception { @Test public void test220RemoveUnit2AndNumber() throws Exception { final String TEST_NAME = "test220RemoveUnit2AndNumber"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestUserTemplateWithRanges.class.getName() + "." + TEST_NAME); @@ -326,7 +326,7 @@ public void test220RemoveUnit2AndNumber() throws Exception { @Test public void test230RestoreNumber() throws Exception { final String TEST_NAME = "test230RestoreNumber"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestUserTemplateWithRanges.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestVolatility.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestVolatility.java index 8da2dcd2dfa..f7179f6297d 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestVolatility.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestVolatility.java @@ -103,7 +103,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100ImportLiveSyncTaskDummyHr() throws Exception { final String TEST_NAME = "test100ImportLiveSyncTaskDummyHr"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestVolatility.class.getName() + "." + TEST_NAME); @@ -122,7 +122,7 @@ public void test100ImportLiveSyncTaskDummyHr() throws Exception { @Test public void test110AddDummyHrAccountMancomb() throws Exception { final String TEST_NAME = "test110AddDummyHrAccountMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestVolatility.class.getName() + "." + TEST_NAME); @@ -186,7 +186,7 @@ public void test110AddDummyHrAccountMancomb() throws Exception { @Test public void test120UpdateDummyHrAccountMancomb() throws Exception { final String TEST_NAME = "test120UpdateDummyHrAccountMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestVolatility.class.getName() + "." + TEST_NAME); @@ -252,7 +252,7 @@ public void test120UpdateDummyHrAccountMancomb() throws Exception { @Test public void test200ModifyGuybrushAssignAccount() throws Exception { final String TEST_NAME = "test200ModifyGuybrushAssignAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestVolatility.class.getName() + "." + TEST_NAME); @@ -305,7 +305,7 @@ public void test200ModifyGuybrushAssignAccount() throws Exception { @Test public void test300AddLargo() throws Exception { final String TEST_NAME = "test300AddLargo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestVolatility.class.getName() + "." + TEST_NAME); @@ -360,7 +360,7 @@ public void test300AddLargo() throws Exception { @Test public void test400AddHerman() throws Exception { final String TEST_NAME = "test400AddHerman"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestVolatility.class.getName() + "." + TEST_NAME); @@ -402,7 +402,7 @@ public void test400AddHerman() throws Exception { @Test public void test402ModifyHermanMonster() throws Exception { final String TEST_NAME = "test402ModifyHermanMonster"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestVolatility.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/gensync/TestEditSchema.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/gensync/TestEditSchema.java index 6e4663fc585..ee66f4128a0 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/gensync/TestEditSchema.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/gensync/TestEditSchema.java @@ -108,7 +108,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100LookupLanguagesGet() throws Exception { final String TEST_NAME="test100LookupLanguagesGet"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -136,7 +136,7 @@ public void test100LookupLanguagesGet() throws Exception { @Test public void test102LookupLanguagesGetExclude() throws Exception { final String TEST_NAME="test102LookupLanguagesGetExclude"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -167,7 +167,7 @@ public void test102LookupLanguagesGetExclude() throws Exception { @Test public void test110LookupLanguagesGetAll() throws Exception { final String TEST_NAME="test110LookupLanguagesGetAll"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -190,7 +190,7 @@ public void test110LookupLanguagesGetAll() throws Exception { @Test public void test120LookupLanguagesGetByKeyExact() throws Exception { final String TEST_NAME="test120LookupLanguagesGetByKeyExact"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -214,7 +214,7 @@ public void test120LookupLanguagesGetByKeyExact() throws Exception { @Test public void test121LookupLanguagesGetByKeyStartingWith() throws Exception { final String TEST_NAME="test121LookupLanguagesGetByKeyStartingWith"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -239,7 +239,7 @@ public void test121LookupLanguagesGetByKeyStartingWith() throws Exception { @Test public void test122LookupLanguagesGetByKeyContaining() throws Exception { final String TEST_NAME="test122LookupLanguagesGetByKeyContaining"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -263,7 +263,7 @@ public void test122LookupLanguagesGetByKeyContaining() throws Exception { @Test public void test123LookupLanguagesGetByKeyContainingWithPaging() throws Exception { final String TEST_NAME="test123LookupLanguagesGetByKeyContainingWithPaging"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -288,7 +288,7 @@ public void test123LookupLanguagesGetByKeyContainingWithPaging() throws Exceptio @Test public void test124LookupLanguagesGetByKeyContainingReturningNothing() throws Exception { final String TEST_NAME="test124LookupLanguagesGetByKeyContainingReturningNothing"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -319,7 +319,7 @@ public void test124LookupLanguagesGetByKeyContainingReturningNothing() throws Ex @Test public void test130LookupLanguagesGetByValueExact() throws Exception { final String TEST_NAME="test130LookupLanguagesGetByValueExact"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -347,7 +347,7 @@ public void test130LookupLanguagesGetByValueExact() throws Exception { @Test public void test131LookupLanguagesGetByLabelStartingWith() throws Exception { final String TEST_NAME="test131LookupLanguagesGetByLabelStartingWith"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -374,7 +374,7 @@ public void test131LookupLanguagesGetByLabelStartingWith() throws Exception { @Test public void test133LookupLanguagesGetByValueContainingWithPaging() throws Exception { final String TEST_NAME="test123LookupLanguagesGetByKeyContainingWithPaging"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -402,7 +402,7 @@ public void test133LookupLanguagesGetByValueContainingWithPaging() throws Except @Test(enabled = false) public void test140LookupLanguagesGetByIdExisting() throws Exception { final String TEST_NAME="test140LookupLanguagesGetByIdExisting"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -445,7 +445,7 @@ private void checkLookupResult(PrismObject lookup, String[]... @Test public void test150LookupLanguagesAddRowFull() throws Exception { final String TEST_NAME="test150LookupLanguagesAddRow"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -493,7 +493,7 @@ public void test150LookupLanguagesAddRowFull() throws Exception { @Test public void test152LookupLanguagesAddRowKeyLabel() throws Exception { final String TEST_NAME="test152LookupLanguagesAddRowKeyLabel"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -541,7 +541,7 @@ public void test152LookupLanguagesAddRowKeyLabel() throws Exception { @Test public void test154LookupLanguagesAddRowKeyValue() throws Exception { final String TEST_NAME="test154LookupLanguagesAddRowKeyValue"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -590,7 +590,7 @@ public void test154LookupLanguagesAddRowKeyValue() throws Exception { @Test public void test156LookupLanguagesAddRowExistingKey() throws Exception { final String TEST_NAME="test156LookupLanguagesAddRowExistingKey"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -651,7 +651,7 @@ public void test156LookupLanguagesAddRowExistingKey() throws Exception { @Test public void test162LookupLanguagesDeleteRowFullNoId() throws Exception { final String TEST_NAME="test162LookupLanguagesDeleteRowFullNoId"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -699,7 +699,7 @@ public void test162LookupLanguagesDeleteRowFullNoId() throws Exception { @Test public void test164LookupLanguagesDeleteRowFullId() throws Exception { final String TEST_NAME="test164LookupLanguagesDeleteRowFullId"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -747,7 +747,7 @@ public void test164LookupLanguagesDeleteRowFullId() throws Exception { @Test public void test166LookupLanguagesDeleteRowIdOnly() throws Exception { final String TEST_NAME="test166LookupLanguagesDeleteRowIdOnly"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -791,7 +791,7 @@ public void test166LookupLanguagesDeleteRowIdOnly() throws Exception { @Test public void test168LookupLanguagesDeleteRowByKey() throws Exception { final String TEST_NAME="test168LookupLanguagesDeleteRowByKey"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -834,7 +834,7 @@ public void test168LookupLanguagesDeleteRowByKey() throws Exception { @Test public void test170LookupLanguagesReplaceRows() throws Exception { final String TEST_NAME="test170LookupLanguagesReplaceRows"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -890,7 +890,7 @@ public void test170LookupLanguagesReplaceRows() throws Exception { @Test public void test180LookupLanguagesReplaceObject() throws Exception { final String TEST_NAME="test180LookupLanguagesReplaceObject"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -930,7 +930,7 @@ public void test180LookupLanguagesReplaceObject() throws Exception { @Test public void test182LookupLanguagesReimport() throws Exception { final String TEST_NAME="test182LookupLanguagesReimport"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -993,7 +993,7 @@ private PrismObject getLookupTableAll(String oid, Task task, Op @Test public void test200EditSchemaUser() throws Exception { final String TEST_NAME="test200EditSchemaUser"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -1061,7 +1061,7 @@ public void test200EditSchemaUser() throws Exception { @Test public void test210UserDefinition() throws Exception { final String TEST_NAME="test210UserDefinition"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -1135,7 +1135,7 @@ public void validate(PrismPropertyDefinition propDef, String name) throw @Test public void test211SchemaRegistryUntouched() throws Exception { final String TEST_NAME="test211SchemaRegistryUntouched"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); assertUntouchedUserDefinition(); assertSteadyResources(); @@ -1147,7 +1147,7 @@ public void test211SchemaRegistryUntouched() throws Exception { @Test public void test213ModifiedUserJack() throws Exception { final String TEST_NAME="test213ModifiedUserJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -1221,7 +1221,7 @@ public void validate(PrismPropertyDefinition propDef, String name) throw @Test public void test250EditSchemaRole() throws Exception { final String TEST_NAME="test250EditSchemaRole"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -1248,7 +1248,7 @@ public void test250EditSchemaRole() throws Exception { @Test public void test260EditShadowSchemaKindIntent() throws Exception { final String TEST_NAME="test260EditShadowSchemaKindIntent"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -1281,7 +1281,7 @@ public void test260EditShadowSchemaKindIntent() throws Exception { @Test public void test261EditShadowSchemaObjectclass() throws Exception { final String TEST_NAME="test261EditShadowSchemaObjectclass"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -1315,7 +1315,7 @@ public void test261EditShadowSchemaObjectclass() throws Exception { @Test public void test263EditShadowSchemaEmpty() throws Exception { final String TEST_NAME="test263EditShadowSchemaEmpty"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -1347,7 +1347,7 @@ public void test263EditShadowSchemaEmpty() throws Exception { @Test public void test265EditShadowSchemaNull() throws Exception { final String TEST_NAME="test265EditShadowSchemaNull"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestEditSchema.class.getName() + "." + TEST_NAME); @@ -1377,7 +1377,7 @@ public void test265EditShadowSchemaNull() throws Exception { @Test public void test300RoleTypes() throws Exception { final String TEST_NAME="test300RoleTypes"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); assertRoleTypes(getUser(USER_JACK_OID), "application","system","it"); } @@ -1389,7 +1389,7 @@ public void test300RoleTypes() throws Exception { @Test public void test800OtisEditSchemaUser() throws Exception { final String TEST_NAME="test800OtisEditSchemaUser"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN login(USER_OTIS_USERNAME); @@ -1459,7 +1459,7 @@ public void test800OtisEditSchemaUser() throws Exception { @Test public void test810OtisGetJack() throws Exception { final String TEST_NAME="test810OtisGetJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN login(USER_OTIS_USERNAME); @@ -1543,7 +1543,7 @@ public void validate(PrismPropertyDefinition propDef, String name) throw @Test public void test820OtisSearchUsers() throws Exception { final String TEST_NAME="test820OtisSearchUsers"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN login(USER_OTIS_USERNAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/gensync/TestRoleEntitlement.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/gensync/TestRoleEntitlement.java index 65e8578e2d2..7f0fb206820 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/gensync/TestRoleEntitlement.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/gensync/TestRoleEntitlement.java @@ -74,7 +74,7 @@ public class TestRoleEntitlement extends AbstractGenericSyncTest { @Test public void test050GetRolePirate() throws Exception { final String TEST_NAME = "test050GetRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -102,7 +102,7 @@ protected void assertRolePirate(PrismObject role) { @Test public void test100ModifyRoleAddEntitlement() throws Exception { final String TEST_NAME = "test100ModifyRoleAddEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -168,7 +168,7 @@ public void test100ModifyRoleAddEntitlement() throws Exception { @Test public void test101GetGroup() throws Exception { final String TEST_NAME = "test101GetGroup"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -198,7 +198,7 @@ public void test101GetGroup() throws Exception { @Test public void test102GetGroupNoFetch() throws Exception { final String TEST_NAME = "test102GetGroupNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -224,7 +224,7 @@ public void test102GetGroupNoFetch() throws Exception { @Test public void test103GetGroupRaw() throws Exception { final String TEST_NAME = "test103GetGroupRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -249,7 +249,7 @@ public void test103GetGroupRaw() throws Exception { @Test public void test108ModifyRoleAddEntitlementAgain() throws Exception { final String TEST_NAME = "test108ModifyRoleAddEntitlementAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -295,7 +295,7 @@ public void test108ModifyRoleAddEntitlementAgain() throws Exception { @Test public void test110GetRoleResolveEntitlement() throws Exception { final String TEST_NAME = "test110GetRoleResolveEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -323,7 +323,7 @@ public void test110GetRoleResolveEntitlement() throws Exception { @Test public void test111GetRoleResolveEntitlement() throws Exception { final String TEST_NAME = "test111GetRoleResolveEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -356,7 +356,7 @@ public void test111GetRoleResolveEntitlement() throws Exception { @Test public void test112GetRoleResolveEntitlementNoFetch() throws Exception { final String TEST_NAME = "test112GetRoleResolveEntitlementNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -388,7 +388,7 @@ public void test112GetRoleResolveEntitlementNoFetch() throws Exception { @Test public void test119ModifyRoleDeleteEntitlement() throws Exception { final String TEST_NAME = "test119ModifyRoleDeleteEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -445,7 +445,7 @@ public void test119ModifyRoleDeleteEntitlement() throws Exception { @Test public void test120AddEntitlement() throws Exception { final String TEST_NAME = "test120AddEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -500,7 +500,7 @@ public void test120AddEntitlement() throws Exception { @Test public void test121ModifyRoleLinkEntitlement() throws Exception { final String TEST_NAME = "test121ModifyRoleLinkEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -552,7 +552,7 @@ public void test121ModifyRoleLinkEntitlement() throws Exception { @Test public void test128ModifyRoleUnlinkEntitlement() throws Exception { final String TEST_NAME = "test128ModifyRoleUnlinkEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -604,7 +604,7 @@ public void test128ModifyRoleUnlinkEntitlement() throws Exception { @Test public void test129DeleteEntitlement() throws Exception { final String TEST_NAME = "test129DeleteEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -645,7 +645,7 @@ public void test129DeleteEntitlement() throws Exception { @Test public void test131ModifyRoleAssignEntitlement() throws Exception { final String TEST_NAME = "test131ModifyRoleAssignEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -707,7 +707,7 @@ public void test131ModifyRoleAssignEntitlement() throws Exception { @Test public void test132ModifyEntitlement() throws Exception { final String TEST_NAME = "test132ModifyEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -772,7 +772,7 @@ public void test132ModifyEntitlement() throws Exception { @Test public void test139ModifyRoleUnassignEntitlement() throws Exception { final String TEST_NAME = "test139ModifyRoleUnassignEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -822,7 +822,7 @@ public void test139ModifyRoleUnassignEntitlement() throws Exception { @Test public void test151ModifyRoleAssignEntitlementRelativeEnforcement() throws Exception { final String TEST_NAME = "test151ModifyRoleAssignEntitlementRelativeEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -883,7 +883,7 @@ public void test151ModifyRoleAssignEntitlementRelativeEnforcement() throws Excep @Test public void test158ModifyRoleUnassignEntitlementRelativeEnforcement() throws Exception { final String TEST_NAME = "test158ModifyRoleUnassignEntitlementRelativeEnforcement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestRoleEntitlement.class.getName() @@ -934,7 +934,7 @@ public void test158ModifyRoleUnassignEntitlementRelativeEnforcement() throws Exc @Test public void test160ModifyRolePropertyAndAssignEntitlement() throws Exception { final String TEST_NAME = "test160ModifyRolePropertyAndAssignEntitlement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -996,7 +996,7 @@ public void test160ModifyRolePropertyAndAssignEntitlement() throws Exception { @Test public void test161ModifyRole() throws Exception { final String TEST_NAME = "test161ModifyRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1053,7 +1053,7 @@ public void test161ModifyRole() throws Exception { @Test public void test180RenameRole() throws Exception { final String TEST_NAME = "test180RenameRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1116,7 +1116,7 @@ public void test180RenameRole() throws Exception { @Test public void test199DeleteRole() throws Exception { final String TEST_NAME = "test199DeleteRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1170,7 +1170,7 @@ public void test199DeleteRole() throws Exception { @Test public void test200AddRoleSwashbuckler() throws Exception { final String TEST_NAME = "test200AddRoleSwashbuckler"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/importer/AbstractImportTest.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/importer/AbstractImportTest.java index 36d1c7d2213..5ad2fe1bfce 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/importer/AbstractImportTest.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/importer/AbstractImportTest.java @@ -150,14 +150,14 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti */ @Test public void test000Integrity() { - TestUtil.displayTestTile(this,"test000Integrity"); + TestUtil.displayTestTitle(this,"test000Integrity"); assertNotNull(modelService); assertNotNull(repositoryService); } @Test public void test001ImportConnector() throws FileNotFoundException, ObjectNotFoundException, SchemaException { - TestUtil.displayTestTile(this,"test001ImportConnector"); + TestUtil.displayTestTitle(this,"test001ImportConnector"); // GIVEN Task task = taskManager.createTaskInstance(); OperationResult result = new OperationResult(AbstractImportTest.class.getName() + "test001ImportConnector"); @@ -197,7 +197,7 @@ public void test001ImportConnector() throws FileNotFoundException, ObjectNotFoun @Test public void test003ImportUsers() throws Exception { - TestUtil.displayTestTile(this,"test003ImportUsers"); + TestUtil.displayTestTitle(this,"test003ImportUsers"); // GIVEN Task task = taskManager.createTaskInstance(); OperationResult result = new OperationResult(AbstractImportTest.class.getName() + "test003ImportUsers"); @@ -258,7 +258,7 @@ public void test003ImportUsers() throws Exception { // Import the same thing again. Watch how it burns :-) @Test public void test004DuplicateImportUsers() throws Exception { - TestUtil.displayTestTile(this,"test004DuplicateImportUsers"); + TestUtil.displayTestTitle(this,"test004DuplicateImportUsers"); // GIVEN Task task = taskManager.createTaskInstance(); OperationResult result = new OperationResult(AbstractImportTest.class.getName() + "test004DuplicateImportUsers"); @@ -291,7 +291,7 @@ public void test004DuplicateImportUsers() throws Exception { // Import the same thing again, this time with overwrite option. This should go well. @Test public void test005ImportUsersWithOverwrite() throws Exception { - TestUtil.displayTestTile(this,"test005ImportUsersWithOverwrite"); + TestUtil.displayTestTitle(this,"test005ImportUsersWithOverwrite"); // GIVEN Task task = taskManager.createTaskInstance(); OperationResult result = new OperationResult(AbstractImportTest.class.getName() + "test005ImportUsersWithOverwrite"); @@ -355,7 +355,7 @@ public void test005ImportUsersWithOverwrite() throws Exception { // Import the same thing again, with overwrite and also while keeping OIDs @Test public void test006ImportUsersWithOverwriteKeepOid() throws Exception { - TestUtil.displayTestTile(this,"test006ImportUsersWithOverwriteKeepOid"); + TestUtil.displayTestTitle(this,"test006ImportUsersWithOverwriteKeepOid"); // GIVEN Task task = taskManager.createTaskInstance(); OperationResult result = new OperationResult(AbstractImportTest.class.getName() + "test005ImportUsersWithOverwrite"); @@ -417,7 +417,7 @@ public void test006ImportUsersWithOverwriteKeepOid() throws Exception { @Test public void test020ImportTask() throws Exception { final String TEST_NAME = "test020ImportTask"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(AbstractImportTest.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -462,7 +462,7 @@ public void test020ImportTask() throws Exception { @Test public void test030ImportResource() throws Exception { final String TEST_NAME = "test030ImportResource"; - TestUtil.displayTestTile(this,TEST_NAME); + TestUtil.displayTestTitle(this,TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(AbstractImportTest.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -513,7 +513,7 @@ public void test030ImportResource() throws Exception { @Test public void test031ReimportResource() throws Exception { final String TEST_NAME = "test031ReimportResource"; - TestUtil.displayTestTile(this,TEST_NAME); + TestUtil.displayTestTitle(this,TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(AbstractImportTest.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -568,7 +568,7 @@ public void test031ReimportResource() throws Exception { @Test public void test032ImportResourceOidAndFilter() throws Exception { final String TEST_NAME = "test032ImportResourceOidAndFilter"; - TestUtil.displayTestTile(this,TEST_NAME); + TestUtil.displayTestTitle(this,TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(AbstractImportTest.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -622,7 +622,7 @@ public void test032ImportResourceOidAndFilter() throws Exception { @Test public void test033ImportResourceDummyRuntime() throws Exception { final String TEST_NAME = "test033ImportResourceDummyRuntime"; - TestUtil.displayTestTile(this,TEST_NAME); + TestUtil.displayTestTitle(this,TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(AbstractImportTest.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -661,7 +661,7 @@ public void test033ImportResourceDummyRuntime() throws Exception { @Test public void test040ImportUserHermanNoEncryption() throws Exception { final String TEST_NAME = "test040ImportUserHermanNoEncryption"; - TestUtil.displayTestTile(this,TEST_NAME); + TestUtil.displayTestTitle(this,TEST_NAME); // GIVEN InternalsConfig.readEncryptionChecks = false; @@ -708,7 +708,7 @@ public void test040ImportUserHermanNoEncryption() throws Exception { @Test public void test100GoodRefImport() throws Exception { final String TEST_NAME = "test100GoodRefImport"; - TestUtil.displayTestTile(this,TEST_NAME); + TestUtil.displayTestTitle(this,TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(); OperationResult result = new OperationResult(AbstractImportTest.class.getName() + "." +TEST_NAME); @@ -740,7 +740,7 @@ public void test100GoodRefImport() throws Exception { @Test public void test200BadImport() throws FileNotFoundException, SchemaException, ObjectNotFoundException { - TestUtil.displayTestTile(this,"test200BadImport"); + TestUtil.displayTestTitle(this,"test200BadImport"); // GIVEN Task task = taskManager.createTaskInstance(); OperationResult result = new OperationResult(AbstractImportTest.class.getName() + "test001GoodImport"); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/AbstractManualResourceTest.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/AbstractManualResourceTest.java index 8668ff7d451..22619daf375 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/AbstractManualResourceTest.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/AbstractManualResourceTest.java @@ -280,7 +280,7 @@ protected boolean supportsBackingStore() { @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(AbstractManualResourceTest.class.getName() + "." + TEST_NAME); @@ -308,7 +308,7 @@ public void test000Sanity() throws Exception { @Test public void test003Connection() throws Exception { final String TEST_NAME = "test003Connection"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -361,7 +361,7 @@ public void test003Connection() throws Exception { @Test public void test004Configuration() throws Exception { final String TEST_NAME = "test004Configuration"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractManualResourceTest.class.getName() + "." + TEST_NAME); @@ -386,7 +386,7 @@ public void test004Configuration() throws Exception { @Test public void test005ParsedSchema() throws Exception { final String TEST_NAME = "test005ParsedSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractManualResourceTest.class.getName() + "." + TEST_NAME); @@ -436,7 +436,7 @@ protected int getNumberOfAccountAttributeDefinitions() { @Test public void test006Capabilities() throws Exception { final String TEST_NAME = "test006Capabilities"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractManualResourceTest.class.getName()+"."+TEST_NAME); @@ -478,7 +478,7 @@ public void test100AssignWillRoleOne() throws Exception { @Test public void test102GetAccountWillFuture() throws Exception { final String TEST_NAME = "test102GetAccountWillFuture"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -510,7 +510,7 @@ public void test102GetAccountWillFuture() throws Exception { @Test public void test104RecomputeWill() throws Exception { final String TEST_NAME = "test104RecomputeWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -556,7 +556,7 @@ public void test104RecomputeWill() throws Exception { @Test public void test106AddToBackingStoreAndGetAccountWill() throws Exception { final String TEST_NAME = "test106AddToBackingStoreAndGetAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -596,7 +596,7 @@ public void test106AddToBackingStoreAndGetAccountWill() throws Exception { @Test public void test108GetAccountWillFuture() throws Exception { final String TEST_NAME = "test108GetAccountWillFuture"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -640,7 +640,7 @@ public void test108GetAccountWillFuture() throws Exception { @Test public void test110CloseCaseAndRecomputeWill() throws Exception { final String TEST_NAME = "test110CloseCaseAndRecomputeWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -669,7 +669,7 @@ public void test110CloseCaseAndRecomputeWill() throws Exception { @Test public void test120RecomputeWillAfter5min() throws Exception { final String TEST_NAME = "test120RecomputeWillAfter5min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -708,7 +708,7 @@ public void test120RecomputeWillAfter5min() throws Exception { @Test public void test130RecomputeWillAfter25min() throws Exception { final String TEST_NAME = "test130RecomputeWillAfter25min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -737,7 +737,7 @@ public void test130RecomputeWillAfter25min() throws Exception { @Test public void test200ModifyUserWillFullname() throws Exception { final String TEST_NAME = "test200ModifyUserWillFullname"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -805,7 +805,7 @@ accountWillOid, new ItemPath(ShadowType.F_ATTRIBUTES, ATTR_FULLNAME_QNAME), pris @Test public void test202RecomputeWill() throws Exception { final String TEST_NAME = "test202RecomputeWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -863,7 +863,7 @@ public void test202RecomputeWill() throws Exception { @Test public void test204CloseCaseAndRecomputeWill() throws Exception { final String TEST_NAME = "test204CloseCaseAndRecomputeWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -936,7 +936,7 @@ public void test204CloseCaseAndRecomputeWill() throws Exception { @Test public void test210RecomputeWillAfter5min() throws Exception { final String TEST_NAME = "test210RecomputeWillAfter5min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -994,7 +994,7 @@ public void test210RecomputeWillAfter5min() throws Exception { @Test public void test212UpdateBackingStoreAndGetAccountWill() throws Exception { final String TEST_NAME = "test212UpdateBackingStoreAndGetAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1051,7 +1051,7 @@ public void test212UpdateBackingStoreAndGetAccountWill() throws Exception { @Test public void test220ModifyUserWillDisable() throws Exception { final String TEST_NAME = "test220ModifyUserWillDisable"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1125,7 +1125,7 @@ public void test220ModifyUserWillDisable() throws Exception { @Test public void test230ModifyAccountWillChangePasswordAndEnable() throws Exception { final String TEST_NAME = "test230ModifyAccountWillChangePasswordAndEnable"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1210,7 +1210,7 @@ public void test230ModifyAccountWillChangePasswordAndEnable() throws Exception { @Test public void test240CloseDisableCaseAndReadAccountWill() throws Exception { final String TEST_NAME = "test240CloseDisableCaseAndReadAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1297,7 +1297,7 @@ public void test240CloseDisableCaseAndReadAccountWill() throws Exception { @Test public void test250RecomputeWillAfter5min() throws Exception { final String TEST_NAME = "test250RecomputeWillAfter5min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1381,7 +1381,7 @@ public void test250RecomputeWillAfter5min() throws Exception { @Test public void test252UpdateBackingStoreAndGetAccountWill() throws Exception { final String TEST_NAME = "test252UpdateBackingStoreAndGetAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1438,7 +1438,7 @@ public void test252UpdateBackingStoreAndGetAccountWill() throws Exception { @Test public void test260ClosePasswordChangeCaseAndRecomputeWill() throws Exception { final String TEST_NAME = "test260ClosePasswordChangeCaseAndRecomputeWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1528,7 +1528,7 @@ public void test260ClosePasswordChangeCaseAndRecomputeWill() throws Exception { @Test public void test270RecomputeWillAfter10min() throws Exception { final String TEST_NAME = "test130RefreshAccountWillAfter10min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1614,7 +1614,7 @@ public void test270RecomputeWillAfter10min() throws Exception { @Test public void test272UpdateBackingStoreAndGetAccountWill() throws Exception { final String TEST_NAME = "test272UpdateBackingStoreAndGetAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1670,7 +1670,7 @@ public void test272UpdateBackingStoreAndGetAccountWill() throws Exception { @Test public void test280RecomputeWillAfter5min() throws Exception { final String TEST_NAME = "test280RecomputeWillAfter5min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1752,7 +1752,7 @@ public void test280RecomputeWillAfter5min() throws Exception { @Test public void test290RecomputeWillAfter5min() throws Exception { final String TEST_NAME = "test290RecomputeWillAfter5min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1811,7 +1811,7 @@ public void test290RecomputeWillAfter5min() throws Exception { @Test public void test300UnassignAccountWill() throws Exception { final String TEST_NAME = "test300UnassignAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1883,7 +1883,7 @@ public void test300UnassignAccountWill() throws Exception { @Test public void test302RecomputeWill() throws Exception { final String TEST_NAME = "test302RecomputeWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1951,7 +1951,7 @@ public void test302RecomputeWill() throws Exception { @Test public void test310CloseCaseAndRecomputeWill() throws Exception { final String TEST_NAME = "test310CloseCaseAndRecomputeWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2015,7 +2015,7 @@ protected void assertUnassignedShadow(PrismObject shadow, Activation @Test public void test320RecomputeWillAfter5min() throws Exception { final String TEST_NAME = "test320RecomputeWillAfter5min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2066,7 +2066,7 @@ public void test320RecomputeWillAfter5min() throws Exception { @Test public void test330UpdateBackingStoreAndRecomputeWill() throws Exception { final String TEST_NAME = "test330UpdateBackingStoreAndRecomputeWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2122,7 +2122,7 @@ public void test330UpdateBackingStoreAndRecomputeWill() throws Exception { @Test public void test340RecomputeWillAfter25min() throws Exception { final String TEST_NAME = "test340RecomputeWillAfter25min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2159,7 +2159,7 @@ protected void assertDeprovisionedTimedOutUser(PrismObject userAfter, @Test public void test349CleanUp() throws Exception { final String TEST_NAME = "test349CleanUp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); cleanupUser(TEST_NAME, userWillOid, USER_WILL_NAME, accountWillOid); } @@ -2185,7 +2185,7 @@ public void test500AssignWillRoleOne() throws Exception { @Test public void test510UnassignWillRoleOne() throws Exception { final String TEST_NAME = "test510UnassignWillRoleOne"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2261,7 +2261,7 @@ public void test510UnassignWillRoleOne() throws Exception { @Test public void test512ReconcileWill() throws Exception { final String TEST_NAME = "test512ReconcileWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2351,7 +2351,7 @@ protected void assertWillUnassignPendingOperation(PrismObject shadow @Test public void test515CloseCasesAndRecomputeWill() throws Exception { final String TEST_NAME = "test515CloseCasesAndRecomputeWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2418,7 +2418,7 @@ public void test515CloseCasesAndRecomputeWill() throws Exception { @Test public void test517RecomputeWillAfter35min() throws Exception { final String TEST_NAME = "test517RecomputeWillAfter35min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2452,7 +2452,7 @@ public void test517RecomputeWillAfter35min() throws Exception { @Test public void test519CleanUp() throws Exception { final String TEST_NAME = "test519CleanUp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2483,7 +2483,7 @@ public void test520AssignWillRoleOne() throws Exception { @Test public void test522AssignWillRoleTwoValidFrom() throws Exception { final String TEST_NAME = "test522AssignWillRoleTwoValidFrom"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2518,7 +2518,7 @@ public void test522AssignWillRoleTwoValidFrom() throws Exception { @Test public void test524TwoHoursForRoleTwo() throws Exception { final String TEST_NAME = "test524TwoHoursForRoleTwo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN clockForward("PT2H5M"); @@ -2583,7 +2583,7 @@ public void test524TwoHoursForRoleTwo() throws Exception { @Test public void test525CloseCasesAndRecomputeWill() throws Exception { final String TEST_NAME = "test515CloseCasesAndRecomputeWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2621,7 +2621,7 @@ public void test525CloseCasesAndRecomputeWill() throws Exception { @Test public void test526UnassignWillBothRoles() throws Exception { final String TEST_NAME = "test526UnassignWillBothRoles"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2681,7 +2681,7 @@ protected void assertTest526Deltas(PrismObject shadowRepo, Operation @Test public void test528CloseCaseAndRecomputeWill() throws Exception { final String TEST_NAME = "test528CloseCaseAndRecomputeWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2741,7 +2741,7 @@ protected void assertTest528Deltas(PrismObject shadowRepo, Operation @Test public void test529CleanUp() throws Exception { final String TEST_NAME = "test529CleanUp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2764,7 +2764,7 @@ public void test529CleanUp() throws Exception { @Test public void test800ImportShadowRefreshTask() throws Exception { final String TEST_NAME = "test800ImportShadowRefreshTask"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN // WHEN @@ -2799,7 +2799,7 @@ public void test810AssignAccountWill() throws Exception { @Test public void test820AssignAccountJack() throws Exception { final String TEST_NAME = "test820AssignAccountJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2835,7 +2835,7 @@ public void test820AssignAccountJack() throws Exception { @Test public void test830CloseCaseAndWaitForRefresh() throws Exception { final String TEST_NAME = "test830CloseCaseAndWaitForRefresh"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2863,7 +2863,7 @@ public void test830CloseCaseAndWaitForRefresh() throws Exception { @Test public void test840AddToBackingStoreAndGetAccountWill() throws Exception { final String TEST_NAME = "test840AddToBackingStoreAndGetAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2907,7 +2907,7 @@ public void test840AddToBackingStoreAndGetAccountWill() throws Exception { @Test public void test900ConcurrentConstructions() throws Exception { final String TEST_NAME = "test900ConcurrentConstructions"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2973,7 +2973,7 @@ protected void displayBackingStore() throws IOException { } private void assignWillRoleOne(final String TEST_NAME, String expectedFullName) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/TestSemiManual.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/TestSemiManual.java index cb042f70cf6..a3c4ada164a 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/TestSemiManual.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/TestSemiManual.java @@ -138,7 +138,7 @@ protected int getNumberOfAccountAttributeDefinitions() { @Test public void test700AssignAccountJackExisting() throws Exception { final String TEST_NAME = "test700AssignAccountJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -198,7 +198,7 @@ public void test700AssignAccountJackExisting() throws Exception { @Test public void test710UnassignAccountJack() throws Exception { final String TEST_NAME = "test710UnassignAccountJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -260,7 +260,7 @@ public void test710UnassignAccountJack() throws Exception { @Test public void test712CloseCaseAndRecomputeJack() throws Exception { final String TEST_NAME = "test712CloseCaseAndRecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -322,7 +322,7 @@ public void test712CloseCaseAndRecomputeJack() throws Exception { @Test public void test717RecomputeJackAfter30min() throws Exception { final String TEST_NAME = "test717RecomputeJackAfter30min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -352,7 +352,7 @@ public void test717RecomputeJackAfter30min() throws Exception { @Test public void test719CleanUp() throws Exception { final String TEST_NAME = "test719CleanUp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); cleanupUser(TEST_NAME, USER_JACK_OID, USER_JACK_USERNAME, accountJackOid); } diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestAssignmentErrors.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestAssignmentErrors.java index b4cd3a0d80d..8ed0764d905 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestAssignmentErrors.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestAssignmentErrors.java @@ -114,7 +114,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test010RefinedSchemaWhite() throws Exception { final String TEST_NAME = "test010RefinedSchemaWhite"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN // WHEN @@ -174,7 +174,7 @@ public void test010RefinedSchemaWhite() throws Exception { @Test public void test100UserJackAssignBlankAccount() throws Exception { final String TEST_NAME = "test100UserJackAssignBlankAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentErrors.class.getName() + "." + TEST_NAME); @@ -217,7 +217,7 @@ public void test100UserJackAssignBlankAccount() throws Exception { @Test public void test101AddUserCharlesAssignBlankAccount() throws Exception { final String TEST_NAME = "test101AddUserCharlesAssignBlankAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentErrors.class.getName() + "." + TEST_NAME); @@ -259,7 +259,7 @@ public void test101AddUserCharlesAssignBlankAccount() throws Exception { @Test public void test200UserLemonheadAssignAccountBrokenNetwork() throws Exception { final String TEST_NAME = "test200UserLemonheadAssignAccountBrokenNetwork"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentErrors.class.getName() + "." + TEST_NAME); @@ -337,7 +337,7 @@ public void test200UserLemonheadAssignAccountBrokenNetwork() throws Exception { @Test public void test210UserSharptoothAssignAccountBrokenGeneric() throws Exception { final String TEST_NAME = "test210UserSharptoothAssignAccountBrokenGeneric"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentErrors.class.getName() + "." + TEST_NAME); @@ -406,7 +406,7 @@ public void test210UserSharptoothAssignAccountBrokenGeneric() throws Exception { @Test public void test212UserSharptoothAssignAccountRecovery() throws Exception { final String TEST_NAME = "test212UserSharptoothAssignAccountRecovery"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentErrors.class.getName() + "." + TEST_NAME); @@ -456,7 +456,7 @@ public void test215UserSharptoothChangePasswordGenericError() throws Exception { } public void testUserSharptoothChangePasswordError(final String TEST_NAME, BreakMode breakMode, String oldPassword, String newPassword, OperationResultStatus expectedResultStatus) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestAssignmentErrors.class.getName() + "." + TEST_NAME); @@ -494,7 +494,7 @@ public void testUserSharptoothChangePasswordError(final String TEST_NAME, BreakM @Test public void test220UserAssignAccountDeletedShadowRecomputeSync() throws Exception { final String TEST_NAME = "test220UserAssignAccountDeletedShadowRecomputeSync"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); //GIVEN PrismObject user = setupUserAssignAccountDeletedShadowRecompute(TEST_NAME, RESOURCE_DUMMY_OID, null, @@ -550,7 +550,7 @@ public void test220UserAssignAccountDeletedShadowRecomputeSync() throws Exceptio @Test public void test222UserAssignAccountDeletedShadowRecomputeNoSync() throws Exception { final String TEST_NAME = "test222UserAssignAccountDeletedShadowRecomputeNoSync"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); //GIVEN PrismObject user = setupUserAssignAccountDeletedShadowRecompute(TEST_NAME, RESOURCE_DUMMY_RED_OID, RESOURCE_DUMMY_RED_NAME, @@ -604,7 +604,7 @@ public void test222UserAssignAccountDeletedShadowRecomputeNoSync() throws Except @Test public void test224UserAssignAccountDeletedShadowRecomputeReducedSync() throws Exception { final String TEST_NAME = "test224UserAssignAccountDeletedShadowRecomputeReducedSync"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); //GIVEN PrismObject user = setupUserAssignAccountDeletedShadowRecompute(TEST_NAME, diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestBrokenResources.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestBrokenResources.java index 906f55fd9cb..8e7e3954be2 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestBrokenResources.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestBrokenResources.java @@ -164,7 +164,7 @@ public void postInitSystem(Task initTask, OperationResult initResult) throws Exc @Test public void test010TestResourceBroken() throws Exception { final String TEST_NAME = "test010TestResourceBroken"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -181,7 +181,7 @@ public void test010TestResourceBroken() throws Exception { @Test public void test020GetResourceBroken() throws Exception { final String TEST_NAME = "test020GetResourceBroken"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -212,7 +212,7 @@ public void test030ListResources() throws Exception { @Test public void test100GetAccountMurray() throws Exception { final String TEST_NAME = "test100GetAccountMurray"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -239,7 +239,7 @@ public void test100GetAccountMurray() throws Exception { @Test public void test101GetAccountMurrayNoFetch() throws Exception { final String TEST_NAME = "test101GetAccountMurrayNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -261,7 +261,7 @@ public void test101GetAccountMurrayNoFetch() throws Exception { @Test public void test102GetAccountMurrayRaw() throws Exception { - TestUtil.displayTestTile(this, "test102GetAccountMurrayRaw"); + TestUtil.displayTestTitle(this, "test102GetAccountMurrayRaw"); // GIVEN Task task = taskManager.createTaskInstance(TestBrokenResources.class.getName() + ".test102GetAccountMurrayRaw"); @@ -284,7 +284,7 @@ public void test102GetAccountMurrayRaw() throws Exception { @Test public void test120SearchAccountByUsernameJack() throws Exception { - TestUtil.displayTestTile(this, "test120SearchAccountByUsernameJack"); + TestUtil.displayTestTitle(this, "test120SearchAccountByUsernameJack"); // GIVEN Task task = taskManager.createTaskInstance(TestBrokenResources.class.getName() + ".test120SearchAccountByUsernameJack"); @@ -309,7 +309,7 @@ public void test120SearchAccountByUsernameJack() throws Exception { @Test public void test210TestResourceNotFound() throws Exception { - TestUtil.displayTestTile(this, "test210TestResourceNotFound"); + TestUtil.displayTestTitle(this, "test210TestResourceNotFound"); // GIVEN Task task = taskManager.createTaskInstance(TestBrokenResources.class.getName() + ".test210TestResourceNotFound"); @@ -327,7 +327,7 @@ public void test210TestResourceNotFound() throws Exception { @Test public void test220GetResourceNotFound() throws Exception { final String TEST_NAME = "test220GetResourceNotFound"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestBrokenResources.class.getName() + "."+TEST_NAME); @@ -353,7 +353,7 @@ public void test220GetResourceNotFound() throws Exception { @Test public void test221GetResourceNotFoundResolveConnector() throws Exception { final String TEST_NAME = "test221GetResourceNotFoundResolveConnector"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestBrokenResources.class.getName() + "."+TEST_NAME); @@ -384,7 +384,7 @@ public void test221GetResourceNotFoundResolveConnector() throws Exception { @Test public void test310TestResourceNoJars() throws Exception { - TestUtil.displayTestTile(this, "test310TestResourceNoJars"); + TestUtil.displayTestTitle(this, "test310TestResourceNoJars"); // GIVEN Task task = taskManager.createTaskInstance(TestBrokenResources.class.getName() + ".test310TestResourceNoJars"); @@ -400,7 +400,7 @@ public void test310TestResourceNoJars() throws Exception { @Test public void test320GetResourceNoJars() throws Exception { final String TEST_NAME = "test320GetResourceNoJars"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -426,7 +426,7 @@ public void test320GetResourceNoJars() throws Exception { @Test public void test350AddResourceWrongConnectorOid() throws Exception { final String TEST_NAME = "test350AddResourceWrongConnectorOid"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -458,7 +458,7 @@ public void test350AddResourceWrongConnectorOid() throws Exception { @Test public void test352AddResourceWrongConnectorOidRaw() throws Exception { final String TEST_NAME = "test352AddResourceWrongConnectorOidRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -491,7 +491,7 @@ public void test352AddResourceWrongConnectorOidRaw() throws Exception { @Test public void test355AddResourceWrongConnectorOidRepo() throws Exception { final String TEST_NAME = "test355AddResourceWrongConnectorOidRepo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -510,7 +510,7 @@ public void test355AddResourceWrongConnectorOidRepo() throws Exception { @Test public void test358GetResourceWrongConnectorOid() throws Exception { final String TEST_NAME = "test358GetResourceWrongConnectorOid"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -536,7 +536,7 @@ public void test358GetResourceWrongConnectorOid() throws Exception { @Test public void test359DeleteResourceWrongConnectorOid() throws Exception { final String TEST_NAME = "test359DeleteResourceWrongConnectorOid"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -559,7 +559,7 @@ public void test359DeleteResourceWrongConnectorOid() throws Exception { @Test public void test360AddResourceNoConfiguration() throws Exception { final String TEST_NAME = "test360AddResourceNoConfiguration"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -583,7 +583,7 @@ public void test360AddResourceNoConfiguration() throws Exception { @Test public void test362GetResourceNoConfiguration() throws Exception { final String TEST_NAME = "test362GetResourceNoConfiguration"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -615,7 +615,7 @@ public void test368ListResources() throws Exception { @Test public void test369DeleteResourceNoConfiguration() throws Exception { final String TEST_NAME = "test369DeleteResourceNoConfiguration"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -644,7 +644,7 @@ public void test370ListResources() throws Exception { @Test public void test371ImportUnaccessibleResource() throws Exception { final String TEST_NAME = "test371ImportUnaccessibleResource"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -665,7 +665,7 @@ public void test371ImportUnaccessibleResource() throws Exception { @Test public void test372GetUnaccessibleResourceNoFetch() throws Exception { final String TEST_NAME = "test372GetUnaccessibleResourceNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -720,7 +720,7 @@ public void test375ListResources() throws Exception { } public void testListResources(final String TEST_NAME, int expectedNumber, Collection> options) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN (1) Task task = createTask(TEST_NAME); @@ -776,7 +776,7 @@ public boolean handle(PrismObject object, OperationResult parentRe @Test public void test377GetResourceNoConfiguration() throws Exception { final String TEST_NAME = "test377GetResourceNoConfiguration"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -826,7 +826,7 @@ public void test401AssignTwoResouresBroken() throws Exception { * the account on the good resource is created. */ private void testAssignTwoResoures(final String TEST_NAME, String badResourceOid) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -864,7 +864,7 @@ private void testAssignTwoResoures(final String TEST_NAME, String badResourceOid @Test public void test500AssignResourceBlack() throws Exception { final String TEST_NAME = "test500AssignResourceBlack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -902,7 +902,7 @@ public void test500AssignResourceBlack() throws Exception { @Test public void test502ModifyUserEmployeeNumberNone() throws Exception { final String TEST_NAME = "test502ModifyUserEmployeeNumberNone"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -935,7 +935,7 @@ public void test502ModifyUserEmployeeNumberNone() throws Exception { @Test public void test509UnassignResourceBlack() throws Exception { final String TEST_NAME = "test509UnassignResourceBlack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -968,7 +968,7 @@ public void test509UnassignResourceBlack() throws Exception { @Test public void test510AssignResourceBlackError() throws Exception { final String TEST_NAME = "test510AssignResourceBlackError"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1008,7 +1008,7 @@ public void test510AssignResourceBlackError() throws Exception { @Test public void test512ReconcileUser() throws Exception { final String TEST_NAME = "test512ReconcileUser"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1039,7 +1039,7 @@ public void test512ReconcileUser() throws Exception { @Test public void test514ModifyUserEmployeeNumberRuntime() throws Exception { final String TEST_NAME = "test514ModifyUserEmployeeNumberRuntime"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1072,7 +1072,7 @@ public void test514ModifyUserEmployeeNumberRuntime() throws Exception { @Test public void test518UnassignResourceBlack() throws Exception { final String TEST_NAME = "test518UnassignResourceBlack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1106,7 +1106,7 @@ public void test518UnassignResourceBlack() throws Exception { @Test public void test519ReconcileUser() throws Exception { final String TEST_NAME = "test519ReconcileUser"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1137,7 +1137,7 @@ public void test519ReconcileUser() throws Exception { @Test public void test520AssignResourceEbonyError() throws Exception { final String TEST_NAME = "test520AssignResourceEbonyError"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1178,7 +1178,7 @@ public void test520AssignResourceEbonyError() throws Exception { @Test public void test524ModifyUserEmployeeNumberRuntime() throws Exception { final String TEST_NAME = "test524ModifyUserEmployeeNumberRuntime"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1211,7 +1211,7 @@ public void test524ModifyUserEmployeeNumberRuntime() throws Exception { @Test public void test528UnassignResourceEbony() throws Exception { final String TEST_NAME = "test528UnassignResourceEbony"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestModelWebServiceNegative.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestModelWebServiceNegative.java index 5a25f2df944..211ae3bf2cc 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestModelWebServiceNegative.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestModelWebServiceNegative.java @@ -73,7 +73,7 @@ public class TestModelWebServiceNegative extends AbstractInitializedModelIntegra @Test public void test100ModifyAccountExplicitType() throws Exception { final String TEST_NAME = "test100ModifyUserAddAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelWebServiceNegative.class.getName() + "." + TEST_NAME); @@ -101,7 +101,7 @@ public void test100ModifyAccountExplicitType() throws Exception { @Test public void test110ModifyAccountImplicitType() throws Exception { final String TEST_NAME = "test110ModifyAccountImplicitType"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelWebServiceNegative.class.getName() + "." + TEST_NAME); @@ -126,7 +126,7 @@ public void test110ModifyAccountImplicitType() throws Exception { @Test public void test200ModifyAccountWrongExplicitType() throws Exception { final String TEST_NAME = "test200ModifyAccountWrongExplicitType"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestModelWebServiceNegative.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStruct.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStruct.java index 26d499aa5df..4cb7e737d39 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStruct.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStruct.java @@ -120,7 +120,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test010AddOrgStruct() throws Exception { final String TEST_NAME = "test010AddOrgStruct"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // Dummy, just to be overridden in subclasses addOrgStruct(); @@ -133,7 +133,7 @@ protected void addOrgStruct() throws Exception { @Test public void test051OrgStructSanity() throws Exception { final String TEST_NAME = "test051OrgStructSanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // WHEN assertMonkeyIslandOrgSanity(); @@ -142,7 +142,7 @@ public void test051OrgStructSanity() throws Exception { @Test public void test052RootOrgQuery() throws Exception { final String TEST_NAME = "test052RootOrgQuery"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -166,7 +166,7 @@ public void test052RootOrgQuery() throws Exception { @Test public void test101JackAssignScummBar() throws Exception { final String TEST_NAME = "test101JackAssignScummBar"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -191,7 +191,7 @@ public void test101JackAssignScummBar() throws Exception { @Test public void test102JackUnassignScummBar() throws Exception { final String TEST_NAME = "test102JackUnassignScummBar"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -215,7 +215,7 @@ public void test102JackUnassignScummBar() throws Exception { @Test public void test201JackAssignScummBarAndSaveElaine() throws Exception { final String TEST_NAME = "test201JackAssignScummBarAndSaveElaine"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -244,7 +244,7 @@ public void test201JackAssignScummBarAndSaveElaine() throws Exception { @Test public void test202JackAssignMinistryOfOffense() throws Exception { final String TEST_NAME = "test202JackAssignMinistryOfOffense"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -264,7 +264,7 @@ public void test202JackAssignMinistryOfOffense() throws Exception { @Test public void test207JackUnAssignScummBar() throws Exception { final String TEST_NAME = "test207JackUnAssignScummBar"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -284,7 +284,7 @@ public void test207JackUnAssignScummBar() throws Exception { @Test public void test208JackUnassignAll() throws Exception { final String TEST_NAME = "test208JackUnassignAll"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -309,7 +309,7 @@ public void test208JackUnassignAll() throws Exception { @Test public void test210JackAssignMinistryOfOffenseMember() throws Exception { final String TEST_NAME = "test210JackAssignMinistryOfOffenseMember"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -336,7 +336,7 @@ public void test210JackAssignMinistryOfOffenseMember() throws Exception { @Test public void test211JackAssignMinistryOfOffenseMinister() throws Exception { final String TEST_NAME = "test211JackAssignMinistryOfOffenseMinister"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -362,7 +362,7 @@ public void test211JackAssignMinistryOfOffenseMinister() throws Exception { @Test public void test212JackUnassignMinistryOfOffenseMember() throws Exception { final String TEST_NAME = "test212JackUnassignMinistryOfOffenseMember"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -385,7 +385,7 @@ public void test212JackUnassignMinistryOfOffenseMember() throws Exception { @Test public void test213JackUnassignMinistryOfOffenseManager() throws Exception { final String TEST_NAME = "test213JackUnassignMinistryOfOffenseManager"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -406,7 +406,7 @@ public void test213JackUnassignMinistryOfOffenseManager() throws Exception { @Test public void test220JackAssignMinistryOfOffenseMemberAgain() throws Exception { final String TEST_NAME = "test220JackAssignMinistryOfOffenseMemberAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -433,7 +433,7 @@ public void test220JackAssignMinistryOfOffenseMemberAgain() throws Exception { @Test public void test221JackAssignScummBarAndSaveElaine() throws Exception { final String TEST_NAME = "test221JackAssignScummBarAndSaveElaine"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -461,7 +461,7 @@ public void test221JackAssignScummBarAndSaveElaine() throws Exception { @Test public void test223JackChangeMinistryOfOffenseMemberToManager() throws Exception { final String TEST_NAME = "test221JackChangeMinistryOfOffenseMemberToManager"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -521,7 +521,7 @@ public void test223JackChangeMinistryOfOffenseMemberToManager() throws Exception @Test public void test230JackRecompute() throws Exception { final String TEST_NAME = "test230JackRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -548,7 +548,7 @@ public void test230JackRecompute() throws Exception { @Test public void test232JackDestroyRefsAndRecompute() throws Exception { final String TEST_NAME = "test232JackDestroyRefsAndRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -580,7 +580,7 @@ public void test232JackDestroyRefsAndRecompute() throws Exception { @Test public void test234JackDestroyRefsAndLightRecompute() throws Exception { final String TEST_NAME = "test234JackDestroyRefsAndLightRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -643,7 +643,7 @@ private Long findAssignmentIdForTarget(PrismObject user, String target @Test public void test300JackUnassignAllOrgs() throws Exception { final String TEST_NAME = "test300JackUnassignAllOrgs"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -675,7 +675,7 @@ public void test300JackUnassignAllOrgs() throws Exception { @Test public void test301JackAssignMinistryOfOffense() throws Exception { final String TEST_NAME = "test301JackAssignMinistryOfOffense"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -701,7 +701,7 @@ public void test301JackAssignMinistryOfOffense() throws Exception { @Test public void test305JackConflictZeroAndMinus() throws Exception { final String TEST_NAME = "test305JackConflictZeroAndMinus"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -732,7 +732,7 @@ public void test305JackConflictZeroAndMinus() throws Exception { @Test public void test307JackConflictPlusAndMinus() throws Exception { final String TEST_NAME = "test307JackConflictPlusAndMinus"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); executeConflictPlusAndMinus(TEST_NAME); } @@ -770,7 +770,7 @@ protected void executeConflictPlusAndMinus(String TEST_NAME) throws Exception { @Test public void test308JackUnassignRoleDefender() throws Exception { final String TEST_NAME = "test308JackUnassignRoleDefender"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -809,7 +809,7 @@ public void test308JackUnassignRoleDefender() throws Exception { @Test public void test309JackConflictPlusAndMinusAgain() throws Exception { final String TEST_NAME = "test309JackConflictPlusAndMinusAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); executeConflictPlusAndMinus(TEST_NAME); } @@ -820,7 +820,7 @@ public void test309JackConflictPlusAndMinusAgain() throws Exception { @Test public void test310JackConflictParentOrgRefAndAssignmentsAddOrg() throws Exception { final String TEST_NAME = "test310JackConflictParentOrgRefAndAssignmentsAddOrg"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -854,7 +854,7 @@ public void test310JackConflictParentOrgRefAndAssignmentsAddOrg() throws Excepti @Test public void test349DeleteJack() throws Exception { final String TEST_NAME = "test349DeleteJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); executeDeleteJack(TEST_NAME); } @@ -887,7 +887,7 @@ protected void executeDeleteJack(String TEST_NAME) throws ObjectAlreadyExistsExc @Test public void test350AddJackAsMinistryOfOffenseManager() throws Exception { final String TEST_NAME = "test350AddJackAsMinistryOfOffenseManager"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -937,7 +937,7 @@ public void test350AddJackAsMinistryOfOffenseManager() throws Exception { @Test public void test360ElaineAssignGovernor() throws Exception { final String TEST_NAME = "test360ElaineAssignGovernor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -974,7 +974,7 @@ public void test360ElaineAssignGovernor() throws Exception { @Test public void test362ElaineAssignGovernmentMember() throws Exception { final String TEST_NAME = "test362ElaineAssignGovernmentMember"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1012,7 +1012,7 @@ public void test362ElaineAssignGovernmentMember() throws Exception { @Test public void test365GuybrushAssignSwashbucklerMember() throws Exception { final String TEST_NAME = "test365GuybrushAssignSwashbucklerMember"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1056,7 +1056,7 @@ public void test365GuybrushAssignSwashbucklerMember() throws Exception { @Test public void test368GuybrushAssignSwashbucklerManager() throws Exception { final String TEST_NAME = "test368GuybrushAssignSwashbucklerManager"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1102,7 +1102,7 @@ public void test368GuybrushAssignSwashbucklerManager() throws Exception { @Test public void test370BarbossaAssignOffenseMember() throws Exception { final String TEST_NAME = "test370BarbossaAssignOffenseMember"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1153,7 +1153,7 @@ public void test370BarbossaAssignOffenseMember() throws Exception { @Test public void test372HermanAssignSwashbucklerMember() throws Exception { final String TEST_NAME = "test365GuybrushAssignSwashbucklerMember"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1213,7 +1213,7 @@ public void test372HermanAssignSwashbucklerMember() throws Exception { @Test public void test399DeleteJack() throws Exception { final String TEST_NAME = "test399DeleteJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); executeDeleteJack(TEST_NAME); } @@ -1224,7 +1224,7 @@ public void test399DeleteJack() throws Exception { @Test public void test400AddJackWithOrgUnit() throws Exception { final String TEST_NAME = "test400AddJackWithOrgUnit"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1253,7 +1253,7 @@ public void test400AddJackWithOrgUnit() throws Exception { @Test public void test402JackChangeMinistryOfOffenseMemberToManagerByAddingRemovingAssignment() throws Exception { final String TEST_NAME = "test402JackChangeMinistryOfOffenseMemberToManagerByAddingRemovingAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1288,7 +1288,7 @@ public void test402JackChangeMinistryOfOffenseMemberToManagerByAddingRemovingAss @Test public void test404JackChangeMinistryOfOffenseManagerToMemberByAddingRemovingAssignment() throws Exception { final String TEST_NAME = "test404JackChangeMinistryOfOffenseManagerToMemberByAddingRemovingAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1321,7 +1321,7 @@ public void test404JackChangeMinistryOfOffenseManagerToMemberByAddingRemovingAss @Test public void test409DeleteJack() throws Exception { final String TEST_NAME = "test409DeleteJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); executeDeleteJack(TEST_NAME); } @@ -1333,7 +1333,7 @@ public void test409DeleteJack() throws Exception { @Test public void test410AddJackWithOrgUnit() throws Exception { final String TEST_NAME = "test400AddJackWithOrgUnit"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1363,7 +1363,7 @@ public void test410AddJackWithOrgUnit() throws Exception { @Test public void test412JackChangeMinistryOfOffenseMemberToManagerByModifyingAssignment() throws Exception { final String TEST_NAME = "test412JackChangeMinistryOfOffenseMemberToManagerByModifyingAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1407,7 +1407,7 @@ public void test412JackChangeMinistryOfOffenseMemberToManagerByModifyingAssignme @Test public void test420JackAssignTempOrg() throws Exception { final String TEST_NAME = "test420JackAssignTempOrg"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1431,7 +1431,7 @@ public void test420JackAssignTempOrg() throws Exception { @Test public void test425JackUnassignDeletedOrg() throws Exception { final String TEST_NAME = "test425JackUnassignDeletedOrg"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1460,7 +1460,7 @@ public void test425JackUnassignDeletedOrg() throws Exception { @Test public void test430JackAssignMetaroleOffender() throws Exception { final String TEST_NAME = "test430JackAssignMetaroleOffender"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1495,7 +1495,7 @@ public void test430JackAssignMetaroleOffender() throws Exception { @Test public void test431JackAssignMetaroleOffenderAdmin() throws Exception { final String TEST_NAME = "test431JackAssignMetaroleOffenderAdmin"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1523,7 +1523,7 @@ public void test431JackAssignMetaroleOffenderAdmin() throws Exception { @Test public void test437JackUnassignOffender() throws Exception { final String TEST_NAME = "test437JackUnassignOffender"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1551,7 +1551,7 @@ public void test437JackUnassignOffender() throws Exception { @Test public void test438JackUnassignOffenderAdmin() throws Exception { final String TEST_NAME = "test438JackUnassignOffenderAdmin"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1578,7 +1578,7 @@ public void test438JackUnassignOffenderAdmin() throws Exception { @Test public void test439JackCleanup() throws Exception { final String TEST_NAME = "test439JackCleanup"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1604,7 +1604,7 @@ public void test439JackCleanup() throws Exception { @Test public void test440JackModifyEmployeeTypeRolePirate() throws Exception { final String TEST_NAME = "test440JackModifyEmployeeTypeRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1634,7 +1634,7 @@ public void test440JackModifyEmployeeTypeRolePirate() throws Exception { @Test public void test441JackModifyEmployeeTypeRoleCaptain() throws Exception { final String TEST_NAME = "test441JackModifyEmployeeTypeRoleCaptain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1661,7 +1661,7 @@ public void test441JackModifyEmployeeTypeRoleCaptain() throws Exception { @Test public void test443JackModifyEmployeeTypeRoleNotExist() throws Exception { final String TEST_NAME = "test443JackModifyEmployeeTypeRoleNotExist"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1689,7 +1689,7 @@ public void test443JackModifyEmployeeTypeRoleNotExist() throws Exception { @Test public void test449JackModifyEmployeeTypeNull() throws Exception { final String TEST_NAME = "test449JackModifyEmployeeTypeNull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1718,7 +1718,7 @@ public void test449JackModifyEmployeeTypeNull() throws Exception { @Test public void test799DeleteJack() throws Exception { final String TEST_NAME = "test799DeleteJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); executeDeleteJack(TEST_NAME); } diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStructCaribbean.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStructCaribbean.java index 9f91726d484..f4e75e06165 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStructCaribbean.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStructCaribbean.java @@ -86,7 +86,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100AddOrgCaribbean() throws Exception { final String TEST_NAME = "test100AddOrgCaribbean"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -122,7 +122,7 @@ public void test100AddOrgCaribbean() throws Exception { @Test public void test102RecomputeJamaica() throws Exception { final String TEST_NAME = "test102RecomputeJamaica"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -153,7 +153,7 @@ public void test102RecomputeJamaica() throws Exception { @Test public void test103ReconcileJamaica() throws Exception { final String TEST_NAME = "test103ReconcileJamaica"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -184,7 +184,7 @@ public void test103ReconcileJamaica() throws Exception { @Test public void test104RecomputeGovernor() throws Exception { final String TEST_NAME = "test104RecomputeGovernor"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -215,7 +215,7 @@ public void test104RecomputeGovernor() throws Exception { @Test public void test105ReconcileGovernor() throws Exception { final String TEST_NAME = "test105ReconcileGovernor"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -249,7 +249,7 @@ public void test105ReconcileGovernor() throws Exception { @Test public void test106RecomputeDoT() throws Exception { final String TEST_NAME = "test106RecomputeDoT"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -286,7 +286,7 @@ public void test106RecomputeDoT() throws Exception { @Test public void test107ReconcileDoT() throws Exception { final String TEST_NAME = "test107ReconcileDoT"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -326,7 +326,7 @@ public void test107ReconcileDoT() throws Exception { @Test public void test110RecomputeDoP() throws Exception { final String TEST_NAME = "test110RecomputeDoP"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -361,7 +361,7 @@ public void test110RecomputeDoP() throws Exception { @Test public void test115AssignJackToDoP() throws Exception { final String TEST_NAME = "test115AssignJackToDoP"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -412,7 +412,7 @@ public void test115AssignJackToDoP() throws Exception { @Test public void test120AssignBarbossaDoTManager() throws Exception { final String TEST_NAME = "test120AssignBarbossaDoTManager"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -450,7 +450,7 @@ public void test120AssignBarbossaDoTManager() throws Exception { @Test public void test130AssignGibbsAsJacksDeputy() throws Exception { final String TEST_NAME = "test130AssignGibbsAsJacksDeputy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -490,7 +490,7 @@ public void test130AssignGibbsAsJacksDeputy() throws Exception { @Test public void test140AssignPintelAsBarbossasDeputy() throws Exception { final String TEST_NAME = "test140AssignPintelAsBarbossasDeputy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStructCaribbean.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStructMeta.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStructMeta.java index d08b62ed27d..05b84a1307d 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStructMeta.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/orgstruct/TestOrgStructMeta.java @@ -148,7 +148,7 @@ protected void assertUserNoOrg(PrismObject user) throws Exception { @Test public void test800JackAssignScummBar() throws Exception { final String TEST_NAME = "test800JackAssignScummBar"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStruct.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -176,7 +176,7 @@ public void test800JackAssignScummBar() throws Exception { @Test public void test802JackAssignOrganized() throws Exception { final String TEST_NAME = "test802JackAssignOrganized"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStruct.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -205,7 +205,7 @@ public void test802JackAssignOrganized() throws Exception { @Test public void test804JackUnAssignOrganized() throws Exception { final String TEST_NAME = "test804JackUnAssignOrganized"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStruct.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -233,7 +233,7 @@ public void test804JackUnAssignOrganized() throws Exception { @Test public void test809JackUnassignScummBar() throws Exception { final String TEST_NAME = "test809JackUnassignScummBar"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStruct.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -260,7 +260,7 @@ public void test809JackUnassignScummBar() throws Exception { @Test public void test810JackAssignScummBarOrganized() throws Exception { final String TEST_NAME = "test810JackAssignScummBarOrganized"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStruct.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -295,7 +295,7 @@ public void test810JackAssignScummBarOrganized() throws Exception { @Test public void test890AddFictionalOrg() throws Exception { final String TEST_NAME = "test890AddFictionalOrg"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestOrgStruct.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/AbstractPasswordTest.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/AbstractPasswordTest.java index cc7da5bcd26..eb57a4e766f 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/AbstractPasswordTest.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/AbstractPasswordTest.java @@ -147,7 +147,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); AccountActivationNotifierType accountActivationNotifier = null; SystemConfigurationType systemConfig = getObject(SystemConfigurationType.class, SystemObjectsType.SYSTEM_CONFIGURATION.value()).asObjectable(); @@ -167,7 +167,7 @@ public void test000Sanity() throws Exception { @Test public void test010AddPasswordPolicy() throws Exception { final String TEST_NAME = "test010AddPasswordPolicy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -192,7 +192,7 @@ public void test010AddPasswordPolicy() throws Exception { @Test public void test050CheckJackPassword() throws Exception { final String TEST_NAME = "test050CheckJackPassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN, WHEN // this happens during test initialization when user-jack.xml is added @@ -213,7 +213,7 @@ public void test050CheckJackPassword() throws Exception { @Test public void test051ModifyUserJackPassword() throws Exception { final String TEST_NAME = "test051ModifyUserJackPassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -245,7 +245,7 @@ public void test051ModifyUserJackPassword() throws Exception { @Test public void test060CheckJackPasswordModelInteraction() throws Exception { final String TEST_NAME = "test060CheckJackPasswordModelInteraction"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); if (getPasswordStorageType() == CredentialsStorageTypeType.NONE) { // Nothing to check in this case @@ -279,7 +279,7 @@ public void test060CheckJackPasswordModelInteraction() throws Exception { @Test public void test070AddUserHerman() throws Exception { final String TEST_NAME = "test070AddUserHerman"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -312,7 +312,7 @@ public void test070AddUserHerman() throws Exception { @Test public void test100ModifyUserJackAssignAccount() throws Exception { final String TEST_NAME = "test100ModifyUserJackAssignAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -364,7 +364,7 @@ public void test100ModifyUserJackAssignAccount() throws Exception { @Test public void test110ModifyUserJackPassword() throws Exception { final String TEST_NAME = "test110ModifyUserJackPassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -414,7 +414,7 @@ public void test110ModifyUserJackPassword() throws Exception { @Test public void test111ModifyAccountJackPassword() throws Exception { final String TEST_NAME = "test111ModifyAccountJackPassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -449,7 +449,7 @@ public void test111ModifyAccountJackPassword() throws Exception { @Test public void test112ModifyJackPasswordUserAndAccount() throws Exception { final String TEST_NAME = "test112ModifyJackPasswordUserAndAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -499,7 +499,7 @@ public void test112ModifyJackPasswordUserAndAccount() throws Exception { @Test public void test120ModifyUserJackAssignAccountDummyRedAndUgly() throws Exception { final String TEST_NAME = "test120ModifyUserJackAssignAccountDummyRedAndUgly"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -550,7 +550,7 @@ public void test120ModifyUserJackAssignAccountDummyRedAndUgly() throws Exception @Test public void test121ModifyJackPasswordUserAndAccountRed() throws Exception { final String TEST_NAME = "test121ModifyJackPasswordUserAndAccountRed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -609,7 +609,7 @@ public void test121ModifyJackPasswordUserAndAccountRed() throws Exception { @Test public void test122ModifyAccountUglyJackPasswordBad() throws Exception { final String TEST_NAME = "test122ModifyAccountUglyJackPasswordBad"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); prepareTest(); // GIVEN @@ -640,7 +640,7 @@ public void test122ModifyAccountUglyJackPasswordBad() throws Exception { @Test public void test125ModifyJackEmployeeNumberBad() throws Exception { final String TEST_NAME = "test125ModifyJackEmployeeNumberBad"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -685,7 +685,7 @@ public void test125ModifyJackEmployeeNumberBad() throws Exception { @Test public void test128ModifyJackEmployeeNumberGood() throws Exception { final String TEST_NAME = "test128ModifyJackEmployeeNumberGood"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -722,7 +722,7 @@ public void test128ModifyJackEmployeeNumberGood() throws Exception { @Test public void test130ModifyUserJackAssignAccountDummyBlack() throws Exception { final String TEST_NAME = "test130ModifyUserJackAssignAccountDummyBlack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -764,7 +764,7 @@ public void test130ModifyUserJackAssignAccountDummyBlack() throws Exception { @Test public void test132ModifyAccountBlackJackPasswordBad() throws Exception { final String TEST_NAME = "test132ModifyAccountBlackJackPasswordBad"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(AbstractPasswordTest.class.getName() + "." + TEST_NAME); @@ -789,7 +789,7 @@ public void test132ModifyAccountBlackJackPasswordBad() throws Exception { @Test public void test139ModifyUserJackUnassignAccountDummyBlack() throws Exception { final String TEST_NAME = "test139ModifyUserJackUnassignAccountDummyBlack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -831,7 +831,7 @@ public void test139ModifyUserJackUnassignAccountDummyBlack() throws Exception { @Test public void test140ModifyUserJackAssignAccountDummyYellow() throws Exception { final String TEST_NAME = "test140ModifyUserJackAssignAccountDummyYellow"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -878,7 +878,7 @@ public void test140ModifyUserJackAssignAccountDummyYellow() throws Exception { @Test public void test142ModifyUserJackPasswordAA() throws Exception { final String TEST_NAME = "test142ModifyUserJackPasswordAA"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -928,7 +928,7 @@ public void test142ModifyUserJackPasswordAA() throws Exception { @Test public void test200ApplyPasswordPolicy() throws Exception { final String TEST_NAME = "test200ApplyPasswordPolicy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -956,7 +956,7 @@ public void test200ApplyPasswordPolicy() throws Exception { @Test public void test204UnassignAccountRed() throws Exception { final String TEST_NAME = "test204UnassignAccountRed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1010,7 +1010,7 @@ public void test204UnassignAccountRed() throws Exception { @Test public void test206ReconcileUserJack() throws Exception { final String TEST_NAME = "test206ReconcileUserJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1064,7 +1064,7 @@ public void test210ModifyUserJackPasswordGood() throws Exception { @Test public void test212ReconcileUserJack() throws Exception { final String TEST_NAME = "test212ReconcileUserJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1088,7 +1088,7 @@ public void test212ReconcileUserJack() throws Exception { @Test public void test214RecomputeUserJack() throws Exception { final String TEST_NAME = "test214RecomputeUserJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1122,7 +1122,7 @@ public void test220ModifyUserJackPasswordBadA() throws Exception { @Test public void test222ModifyUserJackPasswordBadContainer() throws Exception { final String TEST_NAME = "test222ModifyUserJackPasswordBadContainer"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1248,7 +1248,7 @@ public void test248ModifyUserJackPasswordGoodReuse() throws Exception { private void doTestModifyUserJackPasswordSuccessWithHistory(final String TEST_NAME, String newPassword, String... expectedPasswordHistory) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1276,7 +1276,7 @@ private void doTestModifyUserJackPasswordSuccessWithHistory(final String TEST_NA private void doTestModifyUserJackPasswordFailureWithHistory(final String TEST_NAME, String newPassword, String oldPassword, String... expectedPasswordHistory) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1332,7 +1332,7 @@ private void assertJackPasswordsWithHistory(String expectedCurrentPassword, Stri @Test public void test300TwoParentOrgRefs() throws Exception { final String TEST_NAME = "test300TwoParentOrgRefs"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1395,7 +1395,7 @@ public void test300TwoParentOrgRefs() throws Exception { @Test public void test310PreparePasswordStrengthTests() throws Exception { final String TEST_NAME = "test310PreparePasswordStrengthTests"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1452,7 +1452,7 @@ public void test310PreparePasswordStrengthTests() throws Exception { @Test public void test312ChangeUserPassword() throws Exception { final String TEST_NAME = "test312ChangeUserPassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1513,7 +1513,7 @@ public void test312ChangeUserPassword() throws Exception { @Test public void test314RemovePassword() throws Exception { final String TEST_NAME = "test314RemovePassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1560,7 +1560,7 @@ public void test314RemovePassword() throws Exception { @Test public void test316UserRecompute() throws Exception { final String TEST_NAME = "test316UserRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1610,7 +1610,7 @@ public void test316UserRecompute() throws Exception { @Test public void test318ChangeUserPassword() throws Exception { final String TEST_NAME = "test318ChangeUserPassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1655,7 +1655,7 @@ public void test318ChangeUserPassword() throws Exception { @Test public void test320ChangeEmployeeNumber() throws Exception { final String TEST_NAME = "test320ChangeEmployeeNumber"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1688,7 +1688,7 @@ public void test320ChangeEmployeeNumber() throws Exception { @Test public void test330RemoveEmployeeNumber() throws Exception { final String TEST_NAME = "test330RemoveEmployeeNumber"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1725,7 +1725,7 @@ public void test330RemoveEmployeeNumber() throws Exception { @Test public void test400AddUserRappWithAssignment() throws Exception { final String TEST_NAME = "test400AddUserRappWithAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1776,7 +1776,7 @@ public void test400AddUserRappWithAssignment() throws Exception { @Test public void test401UserRappRecompute() throws Exception { final String TEST_NAME = "test401UserRappRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1817,7 +1817,7 @@ public void test401UserRappRecompute() throws Exception { @Test public void test402AssignRappDummyRed() throws Exception { final String TEST_NAME = "test402AssignRappDummyRed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1881,7 +1881,7 @@ public void test402AssignRappDummyRed() throws Exception { @Test public void test403UserRappRecompute() throws Exception { final String TEST_NAME = "test403UserRappRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1943,7 +1943,7 @@ public void test403UserRappRecompute() throws Exception { @Test public void test404InitializeRappDummyRed() throws Exception { final String TEST_NAME = "test404InitializeRappDummyRed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2013,7 +2013,7 @@ public void test404InitializeRappDummyRed() throws Exception { @Test public void test405UserRappRecompute() throws Exception { final String TEST_NAME = "test405UserRappRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2076,7 +2076,7 @@ public void test405UserRappRecompute() throws Exception { @Test public void test410AssignRappDummyLifecycle() throws Exception { final String TEST_NAME = "test410AssignRappDummyLifecycle"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2123,7 +2123,7 @@ public void test410AssignRappDummyLifecycle() throws Exception { @Test public void test412InitializeRappDummyLifecycle() throws Exception { final String TEST_NAME = "test412InitializeRappDummyLifecycle"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2200,7 +2200,7 @@ public void test412InitializeRappDummyLifecycle() throws Exception { @Test public void test414UserRappRecompute() throws Exception { final String TEST_NAME = "test414UserRappRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2270,7 +2270,7 @@ public void test414UserRappRecompute() throws Exception { @Test public void test416UserRappEmployeeTypeWreck() throws Exception { final String TEST_NAME = "test416UserRappEmployeeTypeWreck"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2410,7 +2410,7 @@ private void assertShadowPasswordMetadata(PrismObject shadow, @Test public void test900ModifyUserElainePassword() throws Exception { final String TEST_NAME = "test900ModifyUserElainePassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2443,7 +2443,7 @@ public void test900ModifyUserElainePassword() throws Exception { @Test public void test902SetPasswordMinAge() throws Exception { final String TEST_NAME = "test900SetPasswordMinAge"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2475,7 +2475,7 @@ public void test902SetPasswordMinAge() throws Exception { @Test public void test904ModifyUserElainePasswordAgain() throws Exception { final String TEST_NAME = "test904ModifyUserElainePasswordAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2508,7 +2508,7 @@ public void test904ModifyUserElainePasswordAgain() throws Exception { @Test public void test906ModifyUserElainePasswordLater() throws Exception { final String TEST_NAME = "test906ModifyUserElainePasswordLater"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDefault.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDefault.java index 52d1c6c04a2..5f6f75d1b83 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDefault.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDefault.java @@ -74,7 +74,7 @@ protected void assertShadowLifecycle(PrismObject shadow, boolean foc @Test public void test202ReconcileUserJack() throws Exception { final String TEST_NAME = "test202ReconcileUserJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(AbstractPasswordTest.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDefaultHashing.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDefaultHashing.java index 26b3f30d1fc..5b47ffebcae 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDefaultHashing.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDefaultHashing.java @@ -80,7 +80,7 @@ protected void assertShadowLifecycle(PrismObject shadow, boolean foc @Test public void test202ReconcileUserJack() throws Exception { final String TEST_NAME = "test202ReconcileUserJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(AbstractPasswordTest.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDeprecated.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDeprecated.java index 872018c83af..fe99bdef348 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDeprecated.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/TestPasswordDeprecated.java @@ -98,7 +98,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test051ModifyUserJackPassword() throws Exception { final String TEST_NAME = "test051ModifyUserJackPassword"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractPasswordTest.class.getName() + "." + TEST_NAME); @@ -131,7 +131,7 @@ public void test051ModifyUserJackPassword() throws Exception { @Test public void test100ModifyUserJackAssignAccount() throws Exception { final String TEST_NAME = "test100ModifyUserJackAssignAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(AbstractPasswordTest.class.getName() + "." + TEST_NAME); @@ -166,7 +166,7 @@ public void test100ModifyUserJackAssignAccount() throws Exception { @Test public void test200ApplyPasswordPolicy() throws Exception { final String TEST_NAME = "test200ApplyPasswordPolicy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -202,7 +202,7 @@ public void test210ModifyUserJackPasswordGood() throws Exception { @Test public void test212ReconcileUserJack() throws Exception { final String TEST_NAME = "test212ReconcileUserJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -225,7 +225,7 @@ public void test212ReconcileUserJack() throws Exception { @Test public void test214RecomputeUserJack() throws Exception { final String TEST_NAME = "test214RecomputeUserJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -304,7 +304,7 @@ public void test248ModifyUserJackPasswordGoodReuse() throws Exception { private void doTestModifyUserJackPasswordSuccessWithHistory(final String TEST_NAME, String newPassword, String... expectedPasswordHistory) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -327,7 +327,7 @@ private void doTestModifyUserJackPasswordSuccessWithHistory(final String TEST_NA private void doTestModifyUserJackPasswordFailureWithHistory(final String TEST_NAME, String newPassword, String oldPassword, String... expectedPasswordHistory) throws Exception { - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestAssignmentValidity.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestAssignmentValidity.java index 0ce5482e656..b1bba7b433f 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestAssignmentValidity.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestAssignmentValidity.java @@ -63,7 +63,7 @@ public void initSystem(Task initTask, OperationResult initResult) @Test public void test100JackAssignRolePirateValidTo() throws Exception { final String TEST_NAME = "test100JackAssignRolePirateValidTo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -105,7 +105,7 @@ public void test100JackAssignRolePirateValidTo() throws Exception { @Test public void test102Forward15min() throws Exception { final String TEST_NAME = "test102Forward15min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -137,7 +137,7 @@ public void test102Forward15min() throws Exception { @Test public void test104JackAssignRolePirateAgain() throws Exception { final String TEST_NAME = "test104JackAssignRolePirateAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -173,7 +173,7 @@ public void test104JackAssignRolePirateAgain() throws Exception { @Test public void test106JackUnassignRolePirateValid() throws Exception { final String TEST_NAME = "test106JackUnassignRolePirateValid"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -212,7 +212,7 @@ public void test109JackUnassignAll() throws Exception { @Test public void test110JackAssignRolePirateValidToRaw() throws Exception { final String TEST_NAME = "test110JackAssignRolePirateValidToRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -252,7 +252,7 @@ public void test110JackAssignRolePirateValidToRaw() throws Exception { @Test public void test111RecomputeJack() throws Exception { final String TEST_NAME = "test111RecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -286,7 +286,7 @@ public void test111RecomputeJack() throws Exception { @Test public void test112Forward15min() throws Exception { final String TEST_NAME = "test102Forward15min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -318,7 +318,7 @@ public void test112Forward15min() throws Exception { @Test public void test114JackAssignRolePirateAgain() throws Exception { final String TEST_NAME = "test114JackAssignRolePirateAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -362,7 +362,7 @@ public void test119JackUnassignAll() throws Exception { @Test public void test120JackAssignRoleSailorValidTo() throws Exception { final String TEST_NAME = "test120JackAssignRoleSailorValidTo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -404,7 +404,7 @@ public void test120JackAssignRoleSailorValidTo() throws Exception { @Test public void test122Forward15min() throws Exception { final String TEST_NAME = "test122Forward15min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -436,7 +436,7 @@ public void test122Forward15min() throws Exception { @Test public void test124JackAssignRoleSailorAgain() throws Exception { final String TEST_NAME = "test124JackAssignRoleSailorAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -481,7 +481,7 @@ public void test129JackUnassignAll() throws Exception { @Test public void test130JackAssignRoleSailorValidToRaw() throws Exception { final String TEST_NAME = "test130JackAssignRoleSailorValidToRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -521,7 +521,7 @@ public void test130JackAssignRoleSailorValidToRaw() throws Exception { @Test public void test131RecomputeJack() throws Exception { final String TEST_NAME = "test131RecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -555,7 +555,7 @@ public void test131RecomputeJack() throws Exception { @Test public void test132Forward15min() throws Exception { final String TEST_NAME = "test132Forward15min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -587,7 +587,7 @@ public void test132Forward15min() throws Exception { @Test public void test134JackAssignRoleSailorAgain() throws Exception { final String TEST_NAME = "test134JackAssignRoleSailorAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -632,7 +632,7 @@ public void test139JackUnassignAll() throws Exception { @Test public void test140JackAssignRoleSailorValidToRaw() throws Exception { final String TEST_NAME = "test140JackAssignRoleSailorValidToRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -673,7 +673,7 @@ public void test140JackAssignRoleSailorValidToRaw() throws Exception { @Test public void test142Forward15min() throws Exception { final String TEST_NAME = "test142Forward15min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); @@ -702,7 +702,7 @@ public void test142Forward15min() throws Exception { @Test public void test144JackAssignRoleSailorAgain() throws Exception { final String TEST_NAME = "test144JackAssignRoleSailorAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -745,7 +745,7 @@ public void test149JackUnassignAll() throws Exception { @Test public void test150JackAssignRolePirate() throws Exception { final String TEST_NAME = "test150JackAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -781,7 +781,7 @@ public void test150JackAssignRolePirate() throws Exception { @Test public void test151JackAssignRoleSailorValidTo() throws Exception { final String TEST_NAME = "test151JackAssignRoleSailorValidTo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -823,7 +823,7 @@ public void test151JackAssignRoleSailorValidTo() throws Exception { @Test public void test153Forward15min() throws Exception { final String TEST_NAME = "test153Forward15min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -857,7 +857,7 @@ public void test153Forward15min() throws Exception { @Test public void test154JackAssignRoleSailorAgain() throws Exception { final String TEST_NAME = "test154JackAssignRoleSailorAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -896,7 +896,7 @@ public void test159JackUnassignAll() throws Exception { @Test public void test160JackAssignRolePirate() throws Exception { final String TEST_NAME = "test160JackAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -931,7 +931,7 @@ public void test160JackAssignRolePirate() throws Exception { @Test public void test161JackAssignRoleSailorValidToRaw() throws Exception { final String TEST_NAME = "test161JackAssignRoleSailorValidToRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -977,7 +977,7 @@ public void test161JackAssignRoleSailorValidToRaw() throws Exception { @Test public void test162RecomputeJack() throws Exception { final String TEST_NAME = "test162RecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1019,7 +1019,7 @@ public void test162RecomputeJack() throws Exception { @Test public void test163Forward15min() throws Exception { final String TEST_NAME = "test163Forward15min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1053,7 +1053,7 @@ public void test163Forward15min() throws Exception { @Test public void test164JackAssignRoleSailorAgain() throws Exception { final String TEST_NAME = "test164JackAssignRoleSailorAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1092,7 +1092,7 @@ public void test169JackUnassignAll() throws Exception { @Test public void test170JackAssignRolePirate() throws Exception { final String TEST_NAME = "test170JackAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1127,7 +1127,7 @@ public void test170JackAssignRolePirate() throws Exception { @Test public void test171JackAssignRoleWeakSingerValidTo() throws Exception { final String TEST_NAME = "test171JackAssignRoleWeakSingerValidTo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1169,7 +1169,7 @@ public void test171JackAssignRoleWeakSingerValidTo() throws Exception { @Test public void test173Forward15min() throws Exception { final String TEST_NAME = "test173Forward15min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1204,7 +1204,7 @@ public void test173Forward15min() throws Exception { @Test public void test174JackAssignRoleSingerAgain() throws Exception { final String TEST_NAME = "test174JackAssignRoleSingerAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1244,7 +1244,7 @@ public void test179JackUnassignAll() throws Exception { @Test public void test180JackAssignRoleSailorValidToRaw() throws Exception { final String TEST_NAME = "test180JackAssignRoleSailorValidToRaw"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1282,7 +1282,7 @@ public void test180JackAssignRoleSailorValidToRaw() throws Exception { @Test public void test182Forward15minAndAssignRaw() throws Exception { final String TEST_NAME = "test142Forward15min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1311,7 +1311,7 @@ public void test182Forward15minAndAssignRaw() throws Exception { @Test public void test184RecomputeJack() throws Exception { final String TEST_NAME = "test184RecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1400,7 +1400,7 @@ private void assertJackDummyPirateSingerAccount() throws Exception { } private void unassignAll(final String TEST_NAME) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestRbac.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestRbac.java index e9dcb7d7538..578d67c29de 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestRbac.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestRbac.java @@ -96,7 +96,7 @@ public void initSystem(Task initTask, OperationResult initResult) @Test public void test000SanityRolePirate() throws Exception { final String TEST_NAME = "test000SanityRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -115,7 +115,7 @@ public void test000SanityRolePirate() throws Exception { @Test public void test001SanityRoleProjectOmnimanager() throws Exception { final String TEST_NAME = "test001SanityRoleProjectOmnimanager"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -136,7 +136,7 @@ public void test001SanityRoleProjectOmnimanager() throws Exception { @Test public void test010SearchRequestableRoles() throws Exception { final String TEST_NAME = "test010SearchRequestableRoles"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -157,7 +157,7 @@ public void test010SearchRequestableRoles() throws Exception { @Test public void test101JackAssignRolePirate() throws Exception { final String TEST_NAME = "test101JackAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -208,7 +208,7 @@ protected ModelExecuteOptions getDefaultOptions() { @Test public void test102JackModifyUserLocality() throws Exception { final String TEST_NAME = "test102JackModifyUserLocality"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -250,7 +250,7 @@ public void test102JackModifyUserLocality() throws Exception { @Test public void test110UnAssignRolePirate() throws Exception { final String TEST_NAME = "test110UnAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -273,7 +273,7 @@ public void test110UnAssignRolePirate() throws Exception { @Test public void test120JackAssignRolePirateWhileAlreadyHasAccount() throws Exception { final String TEST_NAME = "test120JackAssignRolePirateWhileAlreadyHasAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -340,7 +340,7 @@ public void test120JackAssignRolePirateWhileAlreadyHasAccount() throws Exception @Test public void test121JackAssignAccountImplicitIntent() throws Exception { final String TEST_NAME = "test121JackAssignAccountImplicitIntent"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -374,7 +374,7 @@ public void test121JackAssignAccountImplicitIntent() throws Exception { @Test public void test122JackAssignAccountExplicitIntent() throws Exception { final String TEST_NAME = "test122JackAssignAccountExplicitIntent"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -408,7 +408,7 @@ public void test122JackAssignAccountExplicitIntent() throws Exception { @Test public void test127UnAssignAccountImplicitIntent() throws Exception { final String TEST_NAME = "test127UnAssignAccountImplicitIntent"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -437,7 +437,7 @@ public void test127UnAssignAccountImplicitIntent() throws Exception { @Test public void test128UnAssignAccountExplicitIntent() throws Exception { final String TEST_NAME = "test128UnAssignAccountExplicitIntent"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -466,7 +466,7 @@ public void test128UnAssignAccountExplicitIntent() throws Exception { @Test public void test129UnAssignRolePirate() throws Exception { final String TEST_NAME = "test129UnAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -489,7 +489,7 @@ public void test129UnAssignRolePirate() throws Exception { @Test public void test130JackAssignRolePirateWithSeaInAssignment() throws Exception { final String TEST_NAME = "test130JackAssignRolePirateWithSeaInAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -527,7 +527,7 @@ public void test130JackAssignRolePirateWithSeaInAssignment() throws Exception { @Test public void test132JackUnAssignRolePirateWithSeaInAssignment() throws Exception { final String TEST_NAME = "test132JackUnAssignRolePirateWithSeaInAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -560,7 +560,7 @@ public void test132JackUnAssignRolePirateWithSeaInAssignment() throws Exception @Test public void test134JackAssignRoleAdriaticPirate() throws Exception { final String TEST_NAME = "test134JackAssignRoleAdriaticPirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -594,7 +594,7 @@ public void test134JackAssignRoleAdriaticPirate() throws Exception { @Test public void test135PreviewChangesEmptyDelta() throws Exception { final String TEST_NAME = "test135PreviewChangesEmptyDelta"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -627,7 +627,7 @@ public void test135PreviewChangesEmptyDelta() throws Exception { @Test public void test136JackUnAssignRoleAdriaticPirate() throws Exception { final String TEST_NAME = "test136JackUnAssignRoleAdriaticPirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -654,7 +654,7 @@ public void test136JackUnAssignRoleAdriaticPirate() throws Exception { @Test public void test137JackAssignRoleAdriaticPirateWithSeaInAssignment() throws Exception { final String TEST_NAME = "test137JackAssignRoleAdriaticPirateWithSeaInAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -692,7 +692,7 @@ public void test137JackAssignRoleAdriaticPirateWithSeaInAssignment() throws Exce @Test public void test139JackUnAssignRoleAdriaticPirateWithSeaInAssignment() throws Exception { final String TEST_NAME = "test139JackUnAssignRoleAdriaticPirateWithSeaInAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -722,7 +722,7 @@ public void test139JackUnAssignRoleAdriaticPirateWithSeaInAssignment() throws Ex @Test public void test144JackAssignRoleBlackSeaPirate() throws Exception { final String TEST_NAME = "test144JackAssignRoleBlackSeaPirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -753,7 +753,7 @@ public void test144JackAssignRoleBlackSeaPirate() throws Exception { @Test public void test146JackUnAssignRoleBlackSeaPirate() throws Exception { final String TEST_NAME = "test146JackUnAssignRoleBlackSeaPirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -776,7 +776,7 @@ public void test146JackUnAssignRoleBlackSeaPirate() throws Exception { @Test public void test147JackAssignRoleBlackSeaPirateWithSeaInAssignment() throws Exception { final String TEST_NAME = "test147JackAssignRoleBlackSeaPirateWithSeaInAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -815,7 +815,7 @@ public void test147JackAssignRoleBlackSeaPirateWithSeaInAssignment() throws Exce @Test public void test149JackUnAssignRoleBlackSeaPirateWithSeaInAssignment() throws Exception { final String TEST_NAME = "test149JackUnAssignRoleBlackSeaPirateWithSeaInAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -845,7 +845,7 @@ public void test149JackUnAssignRoleBlackSeaPirateWithSeaInAssignment() throws Ex @Test public void test154JackAssignRoleIndianOceanPirate() throws Exception { final String TEST_NAME = "test154JackAssignRoleIndianOceanPirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -880,7 +880,7 @@ public void test154JackAssignRoleIndianOceanPirate() throws Exception { @Test public void test156JackUnAssignRoleIndianOceanPirate() throws Exception { final String TEST_NAME = "test156JackUnAssignRoleIndianOceanPirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -954,7 +954,7 @@ public void test169JackUnassignRolePirateComplicated() throws Exception { } public void testJackAssignRolePirateRelationNoPrivs(final String TEST_NAME, QName relation) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -997,7 +997,7 @@ private void assertJackAssignRolePirateRelationNoPrivs(QName relation) throws Ex } public void testJackUnassignRolePirateRelationNoPrivs(final String TEST_NAME, QName relation) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1032,7 +1032,7 @@ public void testJackUnassignRolePirateRelationNoPrivs(final String TEST_NAME, QN @Test public void test200ImportRoleAllTreasure() throws Exception { final String TEST_NAME = "test200ImportRoleAllTreasure"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1055,7 +1055,7 @@ public void test200ImportRoleAllTreasure() throws Exception { @Test public void test202JackAssignRoleAllTreasure() throws Exception { final String TEST_NAME = "test202JackAssignRoleAllTreasure"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1089,7 +1089,7 @@ public void test202JackAssignRoleAllTreasure() throws Exception { @Test public void test204AddGoldTreasureAndRecomputeJack() throws Exception { final String TEST_NAME = "test204AddGoldTreasureAndRecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1120,7 +1120,7 @@ public void test204AddGoldTreasureAndRecomputeJack() throws Exception { @Test public void test206JackAssignRoleAllLoot() throws Exception { final String TEST_NAME = "test206JackAssignRoleAllLoot"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1147,7 +1147,7 @@ public void test206JackAssignRoleAllLoot() throws Exception { @Test public void test208JackUnassignRoleAllLoot() throws Exception { final String TEST_NAME = "test208JackUnassignRoleAllLoot"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1173,7 +1173,7 @@ public void test208JackUnassignRoleAllLoot() throws Exception { @Test public void test209JackUnassignRoleAllTreasure() throws Exception { final String TEST_NAME = "test209JackUnassignRoleAllTreasure"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1197,7 +1197,7 @@ public void test209JackUnassignRoleAllTreasure() throws Exception { @Test(enabled=false) // MID-3966 public void test210JackAssignRoleAllYouCanGet() throws Exception { final String TEST_NAME = "test210JackAssignRoleAllYouCanGet"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1224,7 +1224,7 @@ public void test210JackAssignRoleAllYouCanGet() throws Exception { @Test(enabled=false) // MID-3966 public void test219JackUnassignRoleAllYouCanGet() throws Exception { final String TEST_NAME = "test219JackUnassignRoleAllYouCanGet"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1249,7 +1249,7 @@ public void test219JackUnassignRoleAllYouCanGet() throws Exception { @Test public void test501JackAssignRolePirate() throws Exception { final String TEST_NAME = "test501JackAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // IMPORTANT: Changing the assignment policy assumeAssignmentPolicy(AssignmentPolicyEnforcementType.POSITIVE); @@ -1286,7 +1286,7 @@ public void test501JackAssignRolePirate() throws Exception { @Test public void test502JackModifyUserLocality() throws Exception { final String TEST_NAME = "test502JackModifyUserLocality"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1326,7 +1326,7 @@ public void test502JackModifyUserLocality() throws Exception { @Test public void test510UnAssignRolePirate() throws Exception { final String TEST_NAME = "test510UnAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1355,7 +1355,7 @@ public void test510UnAssignRolePirate() throws Exception { @Test public void test511DeleteAccount() throws Exception { final String TEST_NAME = "test511DeleteAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1384,7 +1384,7 @@ public void test511DeleteAccount() throws Exception { @Test public void test520JackAssignRolePirate() throws Exception { final String TEST_NAME = "test520JackAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // IMPORTANT: Changing the assignment policy assumeAssignmentPolicy(AssignmentPolicyEnforcementType.POSITIVE); @@ -1417,7 +1417,7 @@ public void test520JackAssignRolePirate() throws Exception { @Test public void test521JackUnassignRolePirateDeleteAccount() throws Exception { final String TEST_NAME = "test521JackUnassignRolePirateDeleteAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // IMPORTANT: Changing the assignment policy assumeAssignmentPolicy(AssignmentPolicyEnforcementType.POSITIVE); @@ -1451,7 +1451,7 @@ public void test521JackUnassignRolePirateDeleteAccount() throws Exception { @Test public void test530JackAssignRoleCleric() throws Exception { final String TEST_NAME = "test530JackAssignRoleCleric"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1469,7 +1469,7 @@ public void test530JackAssignRoleCleric() throws Exception { @Test public void test532JackModifyAssignmentRoleCleric() throws Exception { final String TEST_NAME = "test532JackModifyAssignmentRoleCleric"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1506,7 +1506,7 @@ public void test532JackModifyAssignmentRoleCleric() throws Exception { @Test public void test539JackUnAssignRoleCleric() throws Exception { final String TEST_NAME = "test539JackUnAssignRoleCleric"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1543,7 +1543,7 @@ public void test539JackUnAssignRoleCleric() throws Exception { @Test public void test540JackAssignRoleWannabe() throws Exception { final String TEST_NAME = "test540JackAssignRoleWannabe"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1573,7 +1573,7 @@ public void test540JackAssignRoleWannabe() throws Exception { @Test public void test541JackRemoveHonorificSuffixWannabe() throws Exception { final String TEST_NAME = "test541JackRemoveHonorificSuffixWannabe"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1602,7 +1602,7 @@ public void test541JackRemoveHonorificSuffixWannabe() throws Exception { @Test public void test542JackModifyEmployeeTypeWannabe() throws Exception { final String TEST_NAME = "test542JackModifyEmployeeTypeWannabe"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1632,7 +1632,7 @@ public void test542JackModifyEmployeeTypeWannabe() throws Exception { @Test public void test543JackRemoveHonorificPrefixWannabe() throws Exception { final String TEST_NAME = "test543JackRemoveHonorificPrefixWannabe"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1661,7 +1661,7 @@ public void test543JackRemoveHonorificPrefixWannabe() throws Exception { @Test public void test544JackSetHonorificSuffixWannabe() throws Exception { final String TEST_NAME = "test544JackSetHonorificSuffixWannabe"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1693,7 +1693,7 @@ public void test544JackSetHonorificSuffixWannabe() throws Exception { @Test public void test545JackRestoreHonorificPrefixWannabe() throws Exception { final String TEST_NAME = "test545JackRestoreHonorificPrefixWannabe"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1724,7 +1724,7 @@ public void test545JackRestoreHonorificPrefixWannabe() throws Exception { @Test public void test549JackUnassignRoleWannabe() throws Exception { final String TEST_NAME = "test549JackUnassignRoleWannabe"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1750,7 +1750,7 @@ public void test549JackUnassignRoleWannabe() throws Exception { @Test public void test600JackAssignRoleJudge() throws Exception { final String TEST_NAME = "test600JackAssignRoleJudge"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1787,7 +1787,7 @@ public void test600JackAssignRoleJudge() throws Exception { @Test public void test602JackAssignRolePirate() throws Exception { final String TEST_NAME = "test602JackAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1822,7 +1822,7 @@ public void test602JackAssignRolePirate() throws Exception { @Test public void test605JackUnAssignRoleJudgeAssignRolePirate() throws Exception { final String TEST_NAME = "test605JackUnAssignRoleJudgeAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1860,7 +1860,7 @@ public void test605JackUnAssignRoleJudgeAssignRolePirate() throws Exception { @Test public void test609JackUnAssignRolePirate() throws Exception { final String TEST_NAME = "test609JackUnAssignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1881,7 +1881,7 @@ public void test609JackUnAssignRolePirate() throws Exception { @Test public void test610ElaineAssignRoleGovernor() throws Exception { final String TEST_NAME = "test610ElaineAssignRoleGovernor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1919,7 +1919,7 @@ public void test610ElaineAssignRoleGovernor() throws Exception { @Test public void test612JackAssignRoleGovernor() throws Exception { final String TEST_NAME = "test612JackAssignRoleGovernor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1956,7 +1956,7 @@ public void test613JackAssignRoleGovernorAsApprover() throws Exception { } final String TEST_NAME = "test613JackAssignRoleGovernorAsApprover"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -1990,7 +1990,7 @@ public void test613JackAssignRoleGovernorAsApprover() throws Exception { @Test public void test620LemonheadAssignRoleCanibal() throws Exception { final String TEST_NAME = "test620LemonheadAssignRoleCanibal"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -2022,7 +2022,7 @@ public void test620LemonheadAssignRoleCanibal() throws Exception { @Test public void test622SharptoothAssignRoleCanibal() throws Exception { final String TEST_NAME = "test622SharptoothAssignRoleCanibal"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -2054,7 +2054,7 @@ public void test622SharptoothAssignRoleCanibal() throws Exception { @Test public void test624RedskullAssignRoleCanibal() throws Exception { final String TEST_NAME = "test624RedskullAssignRoleCanibal"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -2086,7 +2086,7 @@ public void test624RedskullAssignRoleCanibal() throws Exception { @Test public void test625BignoseAssignRoleCanibal() throws Exception { final String TEST_NAME = "test625BignoseAssignRoleCanibal"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -2123,7 +2123,7 @@ public void test625BignoseAssignRoleCanibal() throws Exception { @Test public void test627SharptoothUnassignRoleCanibal() throws Exception { final String TEST_NAME = "test627SharptoothUnassignRoleCanibal"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -2150,7 +2150,7 @@ public void test627SharptoothUnassignRoleCanibal() throws Exception { @Test public void test628RedskullUnassignRoleCanibal() throws Exception { final String TEST_NAME = "test628RedskullUnassignRoleCanibal"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -2190,7 +2190,7 @@ public void test630RappAssignRoleCannibalAsOwner() throws Exception { } final String TEST_NAME = "test630RappAssignRoleCannibalAsOwner"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -2221,7 +2221,7 @@ public void test632RappUnassignRoleCannibalAsOwner() throws Exception { } final String TEST_NAME = "test632RappUnassignRoleCannibalAsOwner"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -2262,7 +2262,7 @@ public void test634BignoseAssignRoleCannibalAsOwner() throws Exception { } final String TEST_NAME = "test634BignoseAssignRoleCannibalAsOwner"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -2294,7 +2294,7 @@ public void test636BignoseUnassignRoleCannibalAsOwner() throws Exception { } final String TEST_NAME = "test636BignoseUnassignRoleCannibalAsOwner"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -2318,7 +2318,7 @@ public void test636BignoseUnassignRoleCannibalAsOwner() throws Exception { @Test public void test649ElaineUnassignRoleGovernor() throws Exception { final String TEST_NAME = "test649ElaineUnassignRoleGovernor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.RELATIVE); Task task = createTask(TEST_NAME); @@ -2348,7 +2348,7 @@ public void test649ElaineUnassignRoleGovernor() throws Exception { @Test public void test700JackAssignRoleJudge() throws Exception { final String TEST_NAME = "test700JackModifyJudgeRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2375,7 +2375,7 @@ public void test700JackAssignRoleJudge() throws Exception { @Test public void test701JackModifyJudgeDeleteConstructionRecompute() throws Exception { final String TEST_NAME = "test701JackModifyJudgeDeleteConstructionRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2406,7 +2406,7 @@ public void test701JackModifyJudgeDeleteConstructionRecompute() throws Exception @Test public void test702JackModifyJudgeAddInducementHonorabilityRecompute() throws Exception { final String TEST_NAME = "test702JackModifyJudgeAddInducementHonorabilityRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2442,7 +2442,7 @@ public void test702JackModifyJudgeAddInducementHonorabilityRecompute() throws Ex @Test public void test703JackModifyJudgeDeleteInducementHonorabilityRecompute() throws Exception { final String TEST_NAME = "test703JackModifyJudgeDeleteInducementHonorabilityRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2475,7 +2475,7 @@ public void test703JackModifyJudgeDeleteInducementHonorabilityRecompute() throws @Test public void test709JackUnAssignRoleJudge() throws Exception { final String TEST_NAME = "test709JackUnAssignRoleJudge"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2500,7 +2500,7 @@ public void test709JackUnAssignRoleJudge() throws Exception { @Test public void test710JackAssignRoleEmpty() throws Exception { final String TEST_NAME = "test710JackAssignRoleEmpty"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2526,7 +2526,7 @@ public void test710JackAssignRoleEmpty() throws Exception { @Test public void test712JackModifyEmptyRoleAddInducementPirateRecompute() throws Exception { final String TEST_NAME = "test712JackModifyEmptyRoleAddInducementPirateRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2559,7 +2559,7 @@ public void test712JackModifyEmptyRoleAddInducementPirateRecompute() throws Exce @Test public void test714JackModifyEmptyRoleDeleteInducementPirateRecompute() throws Exception { final String TEST_NAME = "test714JackModifyEmptyRoleDeleteInducementPirateRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2587,7 +2587,7 @@ public void test714JackModifyEmptyRoleDeleteInducementPirateRecompute() throws E @Test public void test719JackUnAssignRoleEmpty() throws Exception { final String TEST_NAME = "test719JackUnAssignRoleEmpty"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2612,7 +2612,7 @@ public void test719JackUnAssignRoleEmpty() throws Exception { @Test public void test720JackAssignRoleGovernorTenantRef() throws Exception { final String TEST_NAME = "test720JackAssignRoleGovernorTenantRef"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2644,7 +2644,7 @@ public void test720JackAssignRoleGovernorTenantRef() throws Exception { @Test public void test729JackUnassignRoleGovernorTenantRef() throws Exception { final String TEST_NAME = "test729JackUnassignRoleGovernorTenantRef"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2677,7 +2677,7 @@ public void test729JackUnassignRoleGovernorTenantRef() throws Exception { @Test public void test750JackAssignRoleOmnimanager() throws Exception { final String TEST_NAME = "test750JackAssignRoleOmnimanager"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2711,7 +2711,7 @@ public void test750JackAssignRoleOmnimanager() throws Exception { @Test public void test755AddProjectAndRecomputeJack() throws Exception { final String TEST_NAME = "test755AddProjectAndRecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2748,7 +2748,7 @@ public void test755AddProjectAndRecomputeJack() throws Exception { @Test public void test759JackUnassignRoleOmnimanager() throws Exception { final String TEST_NAME = "test759JackUnassignRoleOmnimanager"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2782,7 +2782,7 @@ public void test759JackUnassignRoleOmnimanager() throws Exception { @Test public void test760JackAssignRoleWeakGossiper() throws Exception { final String TEST_NAME = "test760JackAssignRoleWeakGossiper"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2818,7 +2818,7 @@ public void test760JackAssignRoleWeakGossiper() throws Exception { @Test public void test762JackRecompute() throws Exception { final String TEST_NAME = "test762JackRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2854,7 +2854,7 @@ public void test762JackRecompute() throws Exception { @Test public void test763JackReconcile() throws Exception { final String TEST_NAME = "test763JackReconcile"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2892,7 +2892,7 @@ public void test763JackReconcile() throws Exception { @Test public void test764JackAssignRoleSailor() throws Exception { final String TEST_NAME = "test764JackAssignRoleSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2932,7 +2932,7 @@ public void test764JackAssignRoleSailor() throws Exception { @Test public void test765JackRecompute() throws Exception { final String TEST_NAME = "test765JackRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -2971,7 +2971,7 @@ public void test765JackRecompute() throws Exception { @Test public void test766JackReconcile() throws Exception { final String TEST_NAME = "test766JackReconcile"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3012,7 +3012,7 @@ public void test766JackReconcile() throws Exception { @Test public void test767JackUnAssignRoleWeakGossiper() throws Exception { final String TEST_NAME = "test767JackUnAssignRoleWeakGossiper"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3050,7 +3050,7 @@ public void test767JackUnAssignRoleWeakGossiper() throws Exception { @Test public void test768JackRecompute() throws Exception { final String TEST_NAME = "test768JackRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3088,7 +3088,7 @@ public void test768JackRecompute() throws Exception { @Test public void test769JackUnAssignRoleSailor() throws Exception { final String TEST_NAME = "test762JackAssignRoleSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3123,7 +3123,7 @@ public void test769JackUnAssignRoleSailor() throws Exception { @Test public void test770JackAssignRoleSailor() throws Exception { final String TEST_NAME = "test770JackAssignRoleSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3163,7 +3163,7 @@ public void test770JackAssignRoleSailor() throws Exception { @Test public void test772JackAssignRoleGossiper() throws Exception { final String TEST_NAME = "test772JackAssignRoleGossiper"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3204,7 +3204,7 @@ public void test772JackAssignRoleGossiper() throws Exception { @Test public void test774JackUnAssignRoleSailor() throws Exception { final String TEST_NAME = "test774JackUnAssignRoleSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3239,7 +3239,7 @@ public void test774JackUnAssignRoleSailor() throws Exception { @Test public void test775JackUnAssignRoleGossiper() throws Exception { final String TEST_NAME = "test775JackUnAssignRoleGossiper"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3275,7 +3275,7 @@ public void test775JackUnAssignRoleGossiper() throws Exception { @Test public void test778JackAssignRoleGossiperAndSailor() throws Exception { final String TEST_NAME = "test778JackAssignRoleGossiperAndSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3322,7 +3322,7 @@ public void test778JackAssignRoleGossiperAndSailor() throws Exception { @Test public void test779JackUnassignRoleGossiperAndSailor() throws Exception { final String TEST_NAME = "test779JackUnassignRoleGossiperAndSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3363,7 +3363,7 @@ public void test779JackUnassignRoleGossiperAndSailor() throws Exception { @Test public void test780JackAssignRoleWeakSinger() throws Exception { final String TEST_NAME = "test780JackAssignRoleWeakSinger"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3401,7 +3401,7 @@ public void test780JackAssignRoleWeakSinger() throws Exception { @Test public void test781JackAssignRoleWeakGossiper() throws Exception { final String TEST_NAME = "test781JackAssignRoleWeakGossiper"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3439,7 +3439,7 @@ public void test781JackAssignRoleWeakGossiper() throws Exception { @Test public void test782JackAssignRoleSailor() throws Exception { final String TEST_NAME = "test782JackAssignRoleSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3482,7 +3482,7 @@ public void test782JackAssignRoleSailor() throws Exception { @Test public void test783JackUnassignRoleSailor() throws Exception { final String TEST_NAME = "test783JackUnassignRoleSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3517,7 +3517,7 @@ public void test783JackUnassignRoleSailor() throws Exception { @Test public void test784JackUnAssignRoleWeakSinger() throws Exception { final String TEST_NAME = "test784JackUnAssignRoleWeakSinger"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3554,7 +3554,7 @@ public void test784JackUnAssignRoleWeakSinger() throws Exception { @Test public void test785JackUnAssignRoleGossiper() throws Exception { final String TEST_NAME = "test785JackUnAssignRoleGossiper"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3589,7 +3589,7 @@ public void test785JackUnAssignRoleGossiper() throws Exception { @Test public void test786JackAssignRoleGossiperAndSinger() throws Exception { final String TEST_NAME = "test786JackAssignRoleGossiperAndSinger"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3631,7 +3631,7 @@ public void test786JackAssignRoleGossiperAndSinger() throws Exception { @Test public void test788JackUnassignRoleGossiperAndSinger() throws Exception { final String TEST_NAME = "test788JackUnassignRoleGossiperAndSinger"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3673,7 +3673,7 @@ public void test788JackUnassignRoleGossiperAndSinger() throws Exception { @Test public void test790JackAssignRoleWeakSinger() throws Exception { final String TEST_NAME = "test780JackAssignRoleWeakSinger"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3713,7 +3713,7 @@ public void test790JackAssignRoleWeakSinger() throws Exception { @Test public void test791JackSwitchRolesGossiperAndSinger() throws Exception { final String TEST_NAME = "test791JackSwitchRolesGossiperAndSinger"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3756,7 +3756,7 @@ public void test791JackSwitchRolesGossiperAndSinger() throws Exception { @Test public void test792JackAssignRoleSailor() throws Exception { final String TEST_NAME = "test792JackAssignRoleSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3801,7 +3801,7 @@ public void test792JackAssignRoleSailor() throws Exception { @Test public void test793JackSwitchRolesSingerAndGossiper() throws Exception { final String TEST_NAME = "test793JackSwitchRolesSingerAndGossiper"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3848,7 +3848,7 @@ public void test793JackSwitchRolesSingerAndGossiper() throws Exception { @Test public void test794JackSwitchRolesSailorAndGossiper() throws Exception { final String TEST_NAME = "test793JackSwitchRolesSingerAndGossiper"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3889,7 +3889,7 @@ public void test794JackSwitchRolesSailorAndGossiper() throws Exception { @Test public void test795JackSwitchRolesSingerAndSailor() throws Exception { final String TEST_NAME = "test795JackSwitchRolesSingerAndSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3936,7 +3936,7 @@ public void test795JackSwitchRolesSingerAndSailor() throws Exception { @Test public void test796JackSwitchRolesSailorAndGovernor() throws Exception { final String TEST_NAME = "test796JackSwitchRolesSailorAndGovernor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -3984,7 +3984,7 @@ public void test796JackSwitchRolesSailorAndGovernor() throws Exception { @Test public void test799JackUnassignGovernorAndWeakGossiper() throws Exception { final String TEST_NAME = "test799JackUnassignGovernorAndWeakGossiper"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4020,7 +4020,7 @@ public void test799JackUnassignGovernorAndWeakGossiper() throws Exception { @Test public void test800ModifyRoleImmutable() throws Exception { final String TEST_NAME = "test800ModifyRoleImmutable"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4051,7 +4051,7 @@ public void test800ModifyRoleImmutable() throws Exception { @Test public void test802AddGlobalImmutableRole() throws Exception { final String TEST_NAME = "test802AddGlobalImmutableRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4077,7 +4077,7 @@ public void test802AddGlobalImmutableRole() throws Exception { @Test public void test804ModifyRoleImmutableGlobalIdentifier() throws Exception { final String TEST_NAME = "test804ModifyRoleImmutableGlobalIdentifier"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4105,7 +4105,7 @@ public void test804ModifyRoleImmutableGlobalIdentifier() throws Exception { @Test public void test805ModifyRoleImmutableGlobalDescription() throws Exception { final String TEST_NAME = "test805ModifyRoleImmutableGlobalDescription"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4137,7 +4137,7 @@ public void test805ModifyRoleImmutableGlobalDescription() throws Exception { @Test public void test812AddGlobalImmutableDescriptionRole() throws Exception { final String TEST_NAME = "test812AddGlobalImmutableDescriptionRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4166,7 +4166,7 @@ public void test812AddGlobalImmutableDescriptionRole() throws Exception { @Test public void test814ModifyRoleImmutableDescriptionGlobalIdentifier() throws Exception { final String TEST_NAME = "test814ModifyRoleImmutableDescriptionGlobalIdentifier"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4191,7 +4191,7 @@ public void test814ModifyRoleImmutableDescriptionGlobalIdentifier() throws Excep @Test public void test815ModifyRoleImmutableGlobalDescription() throws Exception { final String TEST_NAME = "test815ModifyRoleImmutableGlobalDescription"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4218,7 +4218,7 @@ public void test815ModifyRoleImmutableGlobalDescription() throws Exception { @Test public void test826AddNonCreateableRole() throws Exception { final String TEST_NAME = "test826AddNonCreateableRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4250,7 +4250,7 @@ public void test826AddNonCreateableRole() throws Exception { @Test public void test827AddImmutableAssignRole() throws Exception { final String TEST_NAME = "test827AddImmutableAssignRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4283,7 +4283,7 @@ public void test827AddImmutableAssignRole() throws Exception { @Test public void test828ModifyUntouchableMetarole() throws Exception { final String TEST_NAME = "test828ModifyUntouchableMetarole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4306,7 +4306,7 @@ public void test828ModifyUntouchableMetarole() throws Exception { @Test public void test830ModifyRoleJudge() throws Exception { final String TEST_NAME = "test830ModifyRoleJudge"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4329,7 +4329,7 @@ public void test830ModifyRoleJudge() throws Exception { @Test public void test840AssignRoleNonAssignable() throws Exception { final String TEST_NAME = "test840AssignRoleNonAssignable"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4360,7 +4360,7 @@ public void test840AssignRoleNonAssignable() throws Exception { @Test public void test850JackAssignRoleBloodyFool() throws Exception { final String TEST_NAME = "test850JackAssignRoleBloodyFool"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4398,7 +4398,7 @@ public void test850JackAssignRoleBloodyFool() throws Exception { @Test public void test855JackModifyFoolMetaroleDeleteInducement() throws Exception { final String TEST_NAME = "test855JackModifyFoolMetaroleDeleteInducement"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4426,7 +4426,7 @@ public void test855JackModifyFoolMetaroleDeleteInducement() throws Exception { @Test public void test857JackReconcile() throws Exception { final String TEST_NAME = "test857JackReconcile"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); Task task = createTask(TEST_NAME); @@ -4467,7 +4467,7 @@ public void test857JackReconcile() throws Exception { @Test public void test870AssignRoleScreaming() throws Exception { final String TEST_NAME = "test870AssignRoleScreaming"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assumeAssignmentPolicy(AssignmentPolicyEnforcementType.FULL); notificationManager.setDisabled(false); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestSegregationOfDuties.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestSegregationOfDuties.java index 20d506e1182..6385e3b55f9 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestSegregationOfDuties.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestSegregationOfDuties.java @@ -174,7 +174,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test110SimpleExclusion1() throws Exception { final String TEST_NAME = "test110SimpleExclusion1"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -203,7 +203,7 @@ public void test110SimpleExclusion1() throws Exception { @Test public void test112SimpleExclusion1Deprecated() throws Exception { final String TEST_NAME = "test112SimpleExclusion1Deprecated"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -231,7 +231,7 @@ public void test112SimpleExclusion1Deprecated() throws Exception { @Test public void test120SimpleExclusion2() throws Exception { final String TEST_NAME = "test120SimpleExclusion2"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -258,7 +258,7 @@ public void test120SimpleExclusion2() throws Exception { @Test public void test122SimpleExclusion2Deprecated() throws Exception { final String TEST_NAME = "test122SimpleExclusion2Deprecated"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -282,7 +282,7 @@ public void test122SimpleExclusion2Deprecated() throws Exception { @Test public void test130SimpleExclusionBoth1() throws Exception { final String TEST_NAME = "test130SimpleExclusionBoth1"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -307,7 +307,7 @@ public void test130SimpleExclusionBoth1() throws Exception { @Test public void test132SimpleExclusionBoth1Deprecated() throws Exception { final String TEST_NAME = "test132SimpleExclusionBoth1Deprecated"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -332,7 +332,7 @@ public void test132SimpleExclusionBoth1Deprecated() throws Exception { @Test public void test140SimpleExclusionBoth2() throws Exception { final String TEST_NAME = "test140SimpleExclusionBoth2"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -357,7 +357,7 @@ public void test140SimpleExclusionBoth2() throws Exception { @Test public void test142SimpleExclusionBoth2Deprecated() throws Exception { final String TEST_NAME = "test142SimpleExclusionBoth2Deprecated"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -382,7 +382,7 @@ public void test142SimpleExclusionBoth2Deprecated() throws Exception { @Test public void test150SimpleExclusionBothBidirectional1() throws Exception { final String TEST_NAME = "test150SimpleExclusionBothBidirectional1"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -406,7 +406,7 @@ public void test150SimpleExclusionBothBidirectional1() throws Exception { @Test public void test160SimpleExclusionBothBidirectional2() throws Exception { final String TEST_NAME = "test160SimpleExclusionBothBidirectional2"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -430,7 +430,7 @@ public void test160SimpleExclusionBothBidirectional2() throws Exception { @Test public void test171SimpleExclusion1WithPolicyException() throws Exception { final String TEST_NAME = "test171SimpleExclusion1WithPolicyException"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -452,7 +452,7 @@ public void test171SimpleExclusion1WithPolicyException() throws Exception { @Test public void test172SimpleExclusion2WithPolicyException() throws Exception { final String TEST_NAME = "test172SimpleExclusion2WithPolicyException"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -474,7 +474,7 @@ public void test172SimpleExclusion2WithPolicyException() throws Exception { @Test public void test173SimpleExclusion3WithPolicyException() throws Exception { final String TEST_NAME = "test173SimpleExclusion3WithPolicyException"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -496,7 +496,7 @@ public void test173SimpleExclusion3WithPolicyException() throws Exception { @Test public void test174SimpleExclusion4WithPolicyException() throws Exception { final String TEST_NAME = "test174SimpleExclusion4WithPolicyException"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -523,7 +523,7 @@ public void test174SimpleExclusion4WithPolicyException() throws Exception { @Test public void test180JudgeExceptionalPirateAndThief() throws Exception { final String TEST_NAME = "test180JudgeExceptionalPirateAndThief"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -566,7 +566,7 @@ Consumer getJudgeExceptionBlock(String excludedRoleName) { @Test public void test200GuybrushAssignRoleGold() throws Exception { final String TEST_NAME = "test200GuybrushAssignRoleGold"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -600,7 +600,7 @@ public void test200GuybrushAssignRoleGold() throws Exception { @Test public void test202GuybrushAssignRoleSilver() throws Exception { final String TEST_NAME = "test202GuybrushAssignRoleSilver"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -635,7 +635,7 @@ public void test202GuybrushAssignRoleSilver() throws Exception { @Test public void test204GuybrushAssignRoleSailor() throws Exception { final String TEST_NAME = "test204GuybrushAssignRoleSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -671,7 +671,7 @@ public void test204GuybrushAssignRoleSailor() throws Exception { @Test public void test206GuybrushAssignRoleBronze() throws Exception { final String TEST_NAME = "test206GuybrushAssignRoleBronze"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -706,7 +706,7 @@ public void test206GuybrushAssignRoleBronze() throws Exception { @Test public void test208GuybrushUnassignRoleBronze() throws Exception { final String TEST_NAME = "test209GuybrushUnassignRoleSilver"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -739,7 +739,7 @@ public void test208GuybrushUnassignRoleBronze() throws Exception { @Test public void test209GuybrushUnassignRoleSailor() throws Exception { final String TEST_NAME = "test209GuybrushUnassignRoleSailor"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -767,7 +767,7 @@ public void test209GuybrushUnassignRoleSailor() throws Exception { @Test public void test210GuybrushAssignRoleRed() throws Exception { final String TEST_NAME = "test210GuybrushAssignRoleRed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -799,7 +799,7 @@ public void test210GuybrushAssignRoleRed() throws Exception { @Test public void test212GuybrushAssignRoleGreen() throws Exception { final String TEST_NAME = "test212GuybrushAssignRoleGreen"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -832,7 +832,7 @@ public void test212GuybrushAssignRoleGreen() throws Exception { @Test public void test214GuybrushAssignRoleColorNone() throws Exception { final String TEST_NAME = "test214GuybrushAssignRoleColorNone"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -863,7 +863,7 @@ public void test214GuybrushAssignRoleColorNone() throws Exception { @Test public void test216GuybrushAssignRoleBlue() throws Exception { final String TEST_NAME = "test216GuybrushAssignRoleBlue"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -893,7 +893,7 @@ public void test216GuybrushAssignRoleBlue() throws Exception { @Test public void test219GuybrushUnassignRoleBlue() throws Exception { final String TEST_NAME = "test219GuybrushUnassignRoleBlue"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -924,7 +924,7 @@ public void test219GuybrushUnassignRoleBlue() throws Exception { @Test public void test220GuybrushAssignRoleExecutiveOne() throws Exception { final String TEST_NAME = "test220GuybrushAssignRoleExecutiveOne"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -949,7 +949,7 @@ public void test220GuybrushAssignRoleExecutiveOne() throws Exception { @Test public void test222GuybrushAssignRoleControllingOne() throws Exception { final String TEST_NAME = "test222GuybrushAssignRoleControllingOne"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -968,7 +968,7 @@ public void test222GuybrushAssignRoleControllingOne() throws Exception { @Test public void test224GuybrushAssignRoleExecutiveTwo() throws Exception { final String TEST_NAME = "test224GuybrushAssignRoleExecutiveTwo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -994,7 +994,7 @@ public void test224GuybrushAssignRoleExecutiveTwo() throws Exception { @Test public void test225GuybrushAssignRoleControllingTwo() throws Exception { final String TEST_NAME = "test225GuybrushAssignRoleControllingTwo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1015,7 +1015,7 @@ public void test225GuybrushAssignRoleControllingTwo() throws Exception { @Test public void test226GuybrushUnassignRoleExecutiveOne() throws Exception { final String TEST_NAME = "test226GuybrushUnassignRoleExecutiveOne"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1040,7 +1040,7 @@ public void test226GuybrushUnassignRoleExecutiveOne() throws Exception { @Test public void test227GuybrushAssignRoleControllingOne() throws Exception { final String TEST_NAME = "test227GuybrushAssignRoleControllingOne"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1061,7 +1061,7 @@ public void test227GuybrushAssignRoleControllingOne() throws Exception { @Test public void test229GuybrushUnassignRoleExecutiveTwo() throws Exception { final String TEST_NAME = "test229GuybrushUnassignRoleExecutiveTwo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1089,7 +1089,7 @@ public void test229GuybrushUnassignRoleExecutiveTwo() throws Exception { @Test public void test230GuybrushAssignRoleControllingOne() throws Exception { final String TEST_NAME = "test230GuybrushAssignRoleControllingOne"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1114,7 +1114,7 @@ public void test230GuybrushAssignRoleControllingOne() throws Exception { @Test public void test232GuybrushAssignRoleExecutiveOne() throws Exception { final String TEST_NAME = "test232GuybrushAssignRoleExecutiveOne"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1133,7 +1133,7 @@ public void test232GuybrushAssignRoleExecutiveOne() throws Exception { @Test public void test239GuybrushUnassignRoleControllingOne() throws Exception { final String TEST_NAME = "test239GuybrushUnassignRoleControllingOne"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1158,7 +1158,7 @@ public void test239GuybrushUnassignRoleControllingOne() throws Exception { @Test public void test800ApplyGlobalPolicyRulesExclusion() throws Exception { final String TEST_NAME = "test800ApplyGlobalPolicyRulesExclusion"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1180,7 +1180,7 @@ public void test800ApplyGlobalPolicyRulesExclusion() throws Exception { @Test public void test810GuybrushAssignRoleCitizenSk() throws Exception { final String TEST_NAME = "test810GuybrushAssignRoleCitizenSk"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1202,7 +1202,7 @@ public void test810GuybrushAssignRoleCitizenSk() throws Exception { @Test public void test812GuybrushAssignRoleCitizenUs() throws Exception { final String TEST_NAME = "test812GuybrushAssignRoleCitizenUs"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1221,7 +1221,7 @@ public void test812GuybrushAssignRoleCitizenUs() throws Exception { @Test public void test814GuybrushAssignRoleEmpty() throws Exception { final String TEST_NAME = "test814GuybrushAssignRoleEmpty"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1244,7 +1244,7 @@ public void test814GuybrushAssignRoleEmpty() throws Exception { @Test public void test818GuybrushUnassignRoleCitizenSk() throws Exception { final String TEST_NAME = "test818GuybrushUnassignRoleCitizenSk"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1269,7 +1269,7 @@ public void test818GuybrushUnassignRoleCitizenSk() throws Exception { @Test public void test819GuybrushUnassignRoleEmpty() throws Exception { final String TEST_NAME = "test818GuybrushUnassignRoleCitizenSk"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1295,7 +1295,7 @@ public void test819GuybrushUnassignRoleEmpty() throws Exception { @Test public void test820GuybrushAssignRoleCriminal() throws Exception { final String TEST_NAME = "test820GuybrushAssignRoleCriminal"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1321,7 +1321,7 @@ public void test820GuybrushAssignRoleCriminal() throws Exception { @Test public void test822GuybrushAssignRoleMinister() throws Exception { final String TEST_NAME = "test822GuybrushAssignRoleMinister"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1346,7 +1346,7 @@ public void test822GuybrushAssignRoleMinister() throws Exception { @Test public void test826GuybrushUnassignRoleCriminal() throws Exception { final String TEST_NAME = "test826GuybrushUnassignRoleCriminal"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1369,7 +1369,7 @@ public void test826GuybrushUnassignRoleCriminal() throws Exception { @Test public void test829GuybrushUnassignRoleMinister() throws Exception { final String TEST_NAME = "test829GuybrushUnassignRoleMinister"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1392,7 +1392,7 @@ public void test829GuybrushUnassignRoleMinister() throws Exception { @Test public void test900ApplyGlobalPolicyRulesSoDApproval() throws Exception { final String TEST_NAME = "test900ApplyGlobalPolicyRulesSoDApproval"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1419,7 +1419,7 @@ public void test900ApplyGlobalPolicyRulesSoDApproval() throws Exception { @Test public void test920GuybrushAssignRoleCriminal() throws Exception { final String TEST_NAME = "test920GuybrushAssignRoleCriminal"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1449,7 +1449,7 @@ public void test920GuybrushAssignRoleCriminal() throws Exception { @Test public void test922GuybrushPreviewAssignRoleMinister() throws Exception { final String TEST_NAME = "test922GuybrushPreviewAssignRoleMinister"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1527,7 +1527,7 @@ private EvaluatedPolicyRule getEvaluatedPolicyRule(Collection T parseRealValue(File file) throws IOException, SchemaException { @Test public void test200SearchUser() throws Exception { final String TEST_NAME = "test200SearchUser"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -231,7 +231,7 @@ public void test200SearchUser() throws Exception { @Test public void test205SearchForResources() throws Exception { final String TEST_NAME = "test205SearchForResources"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -251,7 +251,7 @@ public void test205SearchForResources() throws Exception { @Test public void test206SearchForRoles() throws Exception { final String TEST_NAME = "test206SearchForRoles"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -271,7 +271,7 @@ public void test206SearchForRoles() throws Exception { @Test public void test210SearchForShadows() throws Exception { final String TEST_NAME = "test210SearchForShadows"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -292,7 +292,7 @@ public void test210SearchForShadows() throws Exception { @Test public void test215SearchForShadowsNoFetch() throws Exception { final String TEST_NAME = "test215SearchForShadowsNoFetch"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -313,7 +313,7 @@ public void test215SearchForShadowsNoFetch() throws Exception { @Test public void test220SearchForUsersAccounts() throws Exception { final String TEST_NAME = "test220SearchForUsersAccounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -334,7 +334,7 @@ public void test220SearchForUsersAccounts() throws Exception { @Test public void test225SearchForUsersAccountsNoFetch() throws Exception { final String TEST_NAME = "test225SearchForUsersAccountsNoFetch"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -355,7 +355,7 @@ public void test225SearchForUsersAccountsNoFetch() throws Exception { @Test public void test300DisableJack() throws Exception { final String TEST_NAME = "test300DisableJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -377,7 +377,7 @@ public void test300DisableJack() throws Exception { @Test public void test310EnableJack() throws Exception { final String TEST_NAME = "test310EnableJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -399,7 +399,7 @@ public void test310EnableJack() throws Exception { @Test public void test320DeleteAndAddJack() throws Exception { final String TEST_NAME = "test320DeleteAndAddJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -421,7 +421,7 @@ public void test320DeleteAndAddJack() throws Exception { @Test public void test330ModifyJack() throws Exception { final String TEST_NAME = "test330ModifyJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -443,7 +443,7 @@ public void test330ModifyJack() throws Exception { @Test public void test340ModifyJackBack() throws Exception { final String TEST_NAME = "test340ModifyJackBack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -465,7 +465,7 @@ public void test340ModifyJackBack() throws Exception { @Test public void test350RecomputeJack() throws Exception { final String TEST_NAME = "test350RecomputeJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -486,7 +486,7 @@ public void test350RecomputeJack() throws Exception { @Test public void test360AssignToJack() throws Exception { final String TEST_NAME = "test360AssignToJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -511,7 +511,7 @@ public void test360AssignToJack() throws Exception { @Test public void test370AssignToJackInBackground() throws Exception { final String TEST_NAME = "test370AssignToJackInBackground"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN OperationResult result = new OperationResult(DOT_CLASS + TEST_NAME); @@ -536,7 +536,7 @@ public void test370AssignToJackInBackground() throws Exception { @Test public void test380DisableJackInBackgroundSimple() throws Exception { final String TEST_NAME = "test380DisableJackInBackgroundSimple"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN OperationResult result = new OperationResult(DOT_CLASS + TEST_NAME); @@ -562,7 +562,7 @@ public void test380DisableJackInBackgroundSimple() throws Exception { @Test public void test400PurgeSchema() throws Exception { final String TEST_NAME = "test400PurgeSchema"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -597,7 +597,7 @@ public void test400PurgeSchema() throws Exception { @Test public void test410TestResource() throws Exception { final String TEST_NAME = "test410TestResource"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -620,7 +620,7 @@ public void test410TestResource() throws Exception { @Test public void test420NotificationAboutJack() throws Exception { final String TEST_NAME = "test420NotificationAboutJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -648,7 +648,7 @@ public void test420NotificationAboutJack() throws Exception { @Test public void test430NotificationAboutJackType2() throws Exception { final String TEST_NAME = "test430NotificationAboutJackType2"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -681,7 +681,7 @@ public void test430NotificationAboutJackType2() throws Exception { @Test public void test500ScriptingUsers() throws Exception { final String TEST_NAME = "test500ScriptingUsers"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -713,7 +713,7 @@ public void test500ScriptingUsers() throws Exception { @Test public void test510GeneratePasswords() throws Exception { final String TEST_NAME = "test510GeneratePasswords"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -755,7 +755,7 @@ public void test510GeneratePasswords() throws Exception { @Test public void test520GeneratePasswordsFullInput() throws Exception { final String TEST_NAME = "test520GeneratePasswordsFullInput"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(DOT_CLASS + TEST_NAME); @@ -781,7 +781,7 @@ public void test520GeneratePasswordsFullInput() throws Exception { @Test public void test530GeneratePasswordsReally() throws Exception { final String TEST_NAME = "test530GeneratePasswordsReally"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(DOT_CLASS + TEST_NAME); @@ -823,7 +823,7 @@ private void checkPassword(PipelineItem item, String userOid) @Test public void test540SearchUserResolveNamesForRoleMembershipRef() throws Exception { final String TEST_NAME = "test540SearchUserResolveNamesForRoleMembershipRef"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); @@ -849,7 +849,7 @@ public void test540SearchUserResolveNamesForRoleMembershipRef() throws Exception @Test public void test545SearchUserResolveRoleMembershipRef() throws Exception { final String TEST_NAME = "test545SearchUserResolveRoleMembershipRef"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(DOT_CLASS + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/AbstractSecurityTest.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/AbstractSecurityTest.java index d5e590f660c..312c73def2f 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/AbstractSecurityTest.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/AbstractSecurityTest.java @@ -454,7 +454,7 @@ protected int getNumberOfRoles() { @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); assertLoggedInUser(USER_ADMINISTRATOR_USERNAME); // WHEN diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityAdvanced.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityAdvanced.java index 019f4d42d63..86e6be30851 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityAdvanced.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityAdvanced.java @@ -72,7 +72,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100AutzJackPersonaManagement() throws Exception { final String TEST_NAME = "test100AutzJackPersonaManagement"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_PERSONA_MANAGEMENT_OID); @@ -99,7 +99,7 @@ public void test100AutzJackPersonaManagement() throws Exception { @Test public void test102AutzLechuckPersonaManagement() throws Exception { final String TEST_NAME = "test102AutzLechuckPersonaManagement"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_LECHUCK_OID); assignRole(USER_LECHUCK_OID, ROLE_PERSONA_MANAGEMENT_OID); @@ -127,7 +127,7 @@ public void test102AutzLechuckPersonaManagement() throws Exception { @Test public void test110AutzJackPersonaAdmin() throws Exception { final String TEST_NAME = "test110AutzJackAddPersonaAdmin"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_PERSONA_MANAGEMENT_OID); @@ -182,7 +182,7 @@ public void test110AutzJackPersonaAdmin() throws Exception { @Test public void test120AutzJackDelagator() throws Exception { final String TEST_NAME = "test120AutzJackDelagator"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_DELEGATOR_OID); @@ -294,7 +294,7 @@ public void test120AutzJackDelagator() throws Exception { @Test public void test150AutzJackApproverUnassignRoles() throws Exception { final String TEST_NAME = "test150AutzJackApproverUnassignRoles"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_APPROVER_UNASSIGN_ROLES_OID); @@ -339,7 +339,7 @@ public void test150AutzJackApproverUnassignRoles() throws Exception { @Test public void test151AutzJackApproverUnassignRolesAndRead() throws Exception { final String TEST_NAME = "test151AutzJackApproverUnassignRolesAndRead"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_APPROVER_UNASSIGN_ROLES_OID); @@ -383,7 +383,7 @@ public void test151AutzJackApproverUnassignRolesAndRead() throws Exception { @Test public void test154AutzJackApproverRead() throws Exception { final String TEST_NAME = "test154AutzJackApproverRead"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READ_BASIC_ITEMS_OID); @@ -449,7 +449,7 @@ public void test154AutzJackApproverRead() throws Exception { @Test public void test155AutzJackApproverSelf() throws Exception { final String TEST_NAME = "test155AutzJackApproverSelf"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_SELF_OID); @@ -507,7 +507,7 @@ public void test155AutzJackApproverSelf() throws Exception { @Test public void test157AutzJackReadRoleMembers() throws Exception { final String TEST_NAME = "test157AutzJackReadRoleMembers"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READ_ROLE_MEMBERS_OID); @@ -560,7 +560,7 @@ public void test157AutzJackReadRoleMembers() throws Exception { @Test public void test158AutzJackReadRoleMembersWrong() throws Exception { final String TEST_NAME = "test158AutzJackReadRoleMembersWrong"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READ_ROLE_MEMBERS_WRONG_OID); @@ -613,7 +613,7 @@ public void test158AutzJackReadRoleMembersWrong() throws Exception { @Test public void test159AutzJackReadRoleMembersNone() throws Exception { final String TEST_NAME = "test159AutzJackReadRoleMembersNone"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READ_ROLE_MEMBERS_NONE_OID); @@ -716,7 +716,7 @@ private void assert15xCommon() throws Exception { @Test public void test200AutzJackModifyOrgunit() throws Exception { final String TEST_NAME = "test200AutzJackModifyOrgunit"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READ_SELF_MODIFY_ORGUNIT_OID); @@ -777,7 +777,7 @@ public void test200AutzJackModifyOrgunit() throws Exception { @Test public void test202AutzJackModifyOrgunitAndAssignRole() throws Exception { final String TEST_NAME = "test202AutzJackModifyOrgunitAndAssignRole"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READ_SELF_MODIFY_ORGUNIT_OID); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityBasic.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityBasic.java index ecb3a1a92b9..a69ebe39f0d 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityBasic.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityBasic.java @@ -102,7 +102,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test200AutzJackNoRole() throws Exception { final String TEST_NAME = "test200AutzJackNoRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); PrismObject userJack = getUser(USER_JACK_OID); @@ -117,7 +117,7 @@ public void test200AutzJackNoRole() throws Exception { @Test public void test201AutzJackSuperuserRole() throws Exception { final String TEST_NAME = "test201AutzJackSuperuserRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_SUPERUSER_OID); @@ -133,7 +133,7 @@ public void test201AutzJackSuperuserRole() throws Exception { @Test public void test202AutzJackReadonlyRole() throws Exception { final String TEST_NAME = "test202AutzJackReadonlyRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READONLY_OID); @@ -158,7 +158,7 @@ public void test202AutzJackReadonlyRole() throws Exception { @Test public void test202rAutzJackReadonlyReqRole() throws Exception { final String TEST_NAME = "test202rAutzJackReadonlyReqRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READONLY_REQ_OID); @@ -181,7 +181,7 @@ public void test202rAutzJackReadonlyReqRole() throws Exception { @Test public void test202eAutzJackReadonlyExecRole() throws Exception { final String TEST_NAME = "test202eAutzJackReadonlyExecRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READONLY_EXEC_OID); @@ -201,7 +201,7 @@ public void test202eAutzJackReadonlyExecRole() throws Exception { @Test public void test202reAutzJackReadonlyReqExecRole() throws Exception { final String TEST_NAME = "test202reAutzJackReadonlyReqExecRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READONLY_OID); @@ -221,7 +221,7 @@ public void test202reAutzJackReadonlyReqExecRole() throws Exception { @Test public void test203AutzJackReadonlyDeepRole() throws Exception { final String TEST_NAME = "test203AutzJackReadonlyDeepRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READONLY_DEEP_OID); @@ -241,7 +241,7 @@ public void test203AutzJackReadonlyDeepRole() throws Exception { @Test public void test203eAutzJackReadonlyDeepExecRole() throws Exception { final String TEST_NAME = "test203eAutzJackReadonlyDeepExecRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READONLY_DEEP_OID); @@ -259,7 +259,7 @@ public void test203eAutzJackReadonlyDeepExecRole() throws Exception { @Test public void test204AutzJackSelfRole() throws Exception { final String TEST_NAME = "test204AutzJackSelfRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_SELF_OID); @@ -306,7 +306,7 @@ public void test204AutzJackSelfRole() throws Exception { @Test public void test205AutzJackObjectFilterModifyCaribbeanfRole() throws Exception { final String TEST_NAME = "test205AutzJackObjectFilterModifyCaribbeanfRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_OBJECT_FILTER_MODIFY_CARIBBEAN_OID); @@ -331,7 +331,7 @@ public void test205AutzJackObjectFilterModifyCaribbeanfRole() throws Exception { @Test public void test207AutzJackObjectFilterCaribbeanRole() throws Exception { final String TEST_NAME = "test207AutzJackObjectFilterCaribbeanfRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_OBJECT_FILTER_CARIBBEAN_OID); @@ -371,7 +371,7 @@ public void test207AutzJackObjectFilterCaribbeanRole() throws Exception { @Test public void test208AutzJackReadSomeRoles() throws Exception { final String TEST_NAME = "test208AutzJackReadSomeRoles"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_READ_SOME_ROLES_OID); @@ -410,7 +410,7 @@ public void test208AutzJackReadSomeRoles() throws Exception { @Test public void test210AutzJackPropReadAllModifySome() throws Exception { final String TEST_NAME = "test210AutzJackPropReadAllModifySome"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_PROP_READ_ALL_MODIFY_SOME_OID); @@ -445,7 +445,7 @@ public void test210AutzJackPropReadAllModifySome() throws Exception { @Test public void test211AutzJackPropReadAllModifySomeUser() throws Exception { final String TEST_NAME = "test211AutzJackPropReadAllModifySomeUser"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_PROP_READ_ALL_MODIFY_SOME_USER_OID); @@ -519,7 +519,7 @@ public void test215reAutzJackPropReadSomeModifySomeReqExec() throws Exception { @Test public void test216AutzJackPropReadSomeModifySomeUser() throws Exception { final String TEST_NAME = "test216AutzJackPropReadSomeModifySomeUser"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_PROP_READ_SOME_MODIFY_SOME_USER_OID); @@ -590,7 +590,7 @@ private void assertJackEditSchemaReadSomeModifySome(PrismObject userJa } public void testAutzJackPropReadSomeModifySome(final String TEST_NAME, String roleOid) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, roleOid); @@ -644,7 +644,7 @@ public void testAutzJackPropReadSomeModifySome(final String TEST_NAME, String ro @Test public void test218AutzJackPropReadSomeModifySomeExecAll() throws Exception { final String TEST_NAME = "test218AutzJackPropReadSomeModifySomeExecAll"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_PROP_READ_SOME_MODIFY_SOME_EXEC_ALL_OID); @@ -719,7 +719,7 @@ public void test218AutzJackPropReadSomeModifySomeExecAll() throws Exception { @Test public void test220AutzJackPropDenyModifySome() throws Exception { final String TEST_NAME = "test220AutzJackPropDenyModifySome"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_PROP_DENY_MODIFY_SOME_OID); @@ -784,7 +784,7 @@ public void test220AutzJackPropDenyModifySome() throws Exception { @Test public void test230AutzJackMasterMinistryOfRum() throws Exception { final String TEST_NAME = "test230AutzJackMasterMinistryOfRum"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_MASTER_MINISTRY_OF_RUM_OID); @@ -815,7 +815,7 @@ public void test230AutzJackMasterMinistryOfRum() throws Exception { @Test public void test232AutzJackReadOrgMinistryOfRum() throws Exception { final String TEST_NAME = "test232AutzJackReadOrgMinistryOfRum"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ORG_READ_ORGS_MINISTRY_OF_RUM_OID); @@ -847,7 +847,7 @@ public void test232AutzJackReadOrgMinistryOfRum() throws Exception { @Test public void test240AutzJackManagerFullControlNoOrg() throws Exception { final String TEST_NAME = "test240AutzJackManagerFullControlNoOrg"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -898,7 +898,7 @@ public void test240AutzJackManagerFullControlNoOrg() throws Exception { @Test public void test241AutzJackManagerFullControlMemberMinistryOfRum() throws Exception { final String TEST_NAME = "test241AutzJackManagerFullControlMemberMinistryOfRum"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -925,7 +925,7 @@ public void test241AutzJackManagerFullControlMemberMinistryOfRum() throws Except @Test public void test242AutzJackManagerFullControlManagerMinistryOfRum() throws Exception { final String TEST_NAME = "test242AutzJackManagerFullControlManagerMinistryOfRum"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -954,7 +954,7 @@ public void test242AutzJackManagerFullControlManagerMinistryOfRum() throws Excep @Test public void test243AutzJackManagerFullControlManagerMinistryOfRumAndDefense() throws Exception { final String TEST_NAME = "test243AutzJackManagerFullControlManagerMinistryOfRumAndDefense"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -984,7 +984,7 @@ public void test243AutzJackManagerFullControlManagerMinistryOfRumAndDefense() th @Test public void test245AutzJackManagerUserAdminMemberMinistryOfRum() throws Exception { final String TEST_NAME = "test245AutzJackManagerUserAdminMemberMinistryOfRum"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -1011,7 +1011,7 @@ public void test245AutzJackManagerUserAdminMemberMinistryOfRum() throws Exceptio @Test public void test246AutzJackManagerUserAdminManagerMinistryOfRum() throws Exception { final String TEST_NAME = "test246AutzJackManagerUserAdminManagerMinistryOfRum"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -1040,7 +1040,7 @@ public void test246AutzJackManagerUserAdminManagerMinistryOfRum() throws Excepti @Test public void test247AutzJackManagerUserAdminManagerMinistryOfRumAndDefense() throws Exception { final String TEST_NAME = "test243AutzJackManagerFullControlManagerMinistryOfRumAndDefense"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -1274,7 +1274,7 @@ private void assertJack24xManagerDefense(String TEST_NAME, boolean fullControl) @Test public void test250AutzJackSelfAccountsRead() throws Exception { final String TEST_NAME = "test250AutzJackSelfAccountsRead"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -1351,7 +1351,7 @@ public void test250AutzJackSelfAccountsRead() throws Exception { @Test public void test255AutzJackSelfAccountsReadWrite() throws Exception { final String TEST_NAME = "test255AutzJackSelfAccountsReadWrite"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_SELF_ACCOUNTS_READ_WRITE_OID); @@ -1414,7 +1414,7 @@ public void test255AutzJackSelfAccountsReadWrite() throws Exception { @Test public void test256AutzJackSelfAccountsPartialControl() throws Exception { final String TEST_NAME = "test256AutzJackSelfAccountsPartialControl"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_SELF_ACCOUNTS_PARTIAL_CONTROL_OID); @@ -1497,7 +1497,7 @@ public void test256AutzJackSelfAccountsPartialControl() throws Exception { @Test public void test258AutzJackSelfAccountsPartialControlPassword() throws Exception { final String TEST_NAME = "test258AutzJackSelfAccountsPartialControlPassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_SELF_ACCOUNTS_PARTIAL_CONTROL_PASSWORD_OID); @@ -1557,7 +1557,7 @@ public void test258AutzJackSelfAccountsPartialControlPassword() throws Exception @Test public void test260AutzJackObjectFilterLocationShadowRole() throws Exception { final String TEST_NAME = "test260AutzJackObjectFilterLocationShadowRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_FILTER_OBJECT_USER_LOCATION_SHADOWS_OID); @@ -1611,7 +1611,7 @@ public void test260AutzJackObjectFilterLocationShadowRole() throws Exception { @Test public void test261AutzAngelicaObjectFilterLocationCreateUserShadowRole() throws Exception { final String TEST_NAME = "test261AutzJackObjectFilterLocationCreateUserShadowRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -1643,7 +1643,7 @@ public void test261AutzAngelicaObjectFilterLocationCreateUserShadowRole() throws @Test public void test270AutzJackAssignApplicationRoles() throws Exception { final String TEST_NAME = "test270AutzJackAssignApplicationRoles"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ASSIGN_APPLICATION_ROLES_OID); @@ -1695,7 +1695,7 @@ public void test270AutzJackAssignApplicationRoles() throws Exception { @Test public void test272AutzJackAssignAnyRoles() throws Exception { final String TEST_NAME = "test272AutzJackAssignAnyRoles"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ASSIGN_ANY_ROLES_OID); @@ -1750,7 +1750,7 @@ public void test272AutzJackAssignAnyRoles() throws Exception { @Test public void test273AutzJackRedyAssignmentExceptionRules() throws Exception { final String TEST_NAME = "test273AutzJackRedyAssignmentExceptionRules"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ASSIGN_ANY_ROLES_OID); @@ -1804,7 +1804,7 @@ public void test273AutzJackRedyAssignmentExceptionRules() throws Exception { @Test public void test274AutzJackAssignNonApplicationRoles() throws Exception { final String TEST_NAME = "test274AutzJackAssignNonApplicationRoles"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ASSIGN_NON_APPLICATION_ROLES_OID); @@ -1851,7 +1851,7 @@ public void test274AutzJackAssignNonApplicationRoles() throws Exception { @Test public void test275aAutzJackAssignRequestableRoles() throws Exception { final String TEST_NAME = "test275aAutzJackAssignRequestableRoles"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ASSIGN_REQUESTABLE_ROLES_OID); @@ -1901,7 +1901,7 @@ public void test275aAutzJackAssignRequestableRoles() throws Exception { @Test(enabled=false) public void test275bAutzJackAssignRequestableOrgs() throws Exception { final String TEST_NAME = "test275bAutzJackAssignRequestableOrgs"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_END_USER_REQUESTABLE_ABSTACTROLES_OID); @@ -1945,7 +1945,7 @@ public void test275bAutzJackAssignRequestableOrgs() throws Exception { @Test public void test276AutzJackAssignRequestableRolesWithOrgRef() throws Exception { final String TEST_NAME = "test276AutzJackAssignRequestableRolesWithOrgRef"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ASSIGN_REQUESTABLE_ROLES_OID); @@ -1998,7 +1998,7 @@ public void test276AutzJackAssignRequestableRolesWithOrgRef() throws Exception { @Test public void test277AutzJackAssignRequestableRolesWithOrgRefSecondTime() throws Exception { final String TEST_NAME = "test277AutzJackAssignRequestableRolesWithOrgRefSecondTime"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ASSIGN_REQUESTABLE_ROLES_OID); @@ -2080,7 +2080,7 @@ public void test277AutzJackAssignRequestableRolesWithOrgRefSecondTime() throws E @Test public void test278AutzJackAssignRequestableRolesWithOrgRefTweakedDelta() throws Exception { final String TEST_NAME = "test278AutzJackAssignRequestableRolesWithOrgRefTweakedDelta"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ASSIGN_REQUESTABLE_ROLES_OID); @@ -2147,7 +2147,7 @@ public void test278AutzJackAssignRequestableRolesWithOrgRefTweakedDelta() throws @Test public void test279AutzJackAssignRequestableRolesWithTenantRef() throws Exception { final String TEST_NAME = "test279AutzJackAssignRequestableRolesWithTenantRef"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ASSIGN_REQUESTABLE_ROLES_OID); @@ -2202,7 +2202,7 @@ public void run(Task task, OperationResult result) throws Exception { @Test public void test280AutzJackEndUser() throws Exception { final String TEST_NAME = "test280AutzJackEndUser"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -2262,7 +2262,7 @@ public void test280AutzJackEndUser() throws Exception { @Test public void test281AutzJackEndUserSecondTime() throws Exception { final String TEST_NAME = "test281AutzJackEndUserSecondTime"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -2329,7 +2329,7 @@ private void assertCredentialsPolicy(PrismObject user) throws ObjectNo @Test public void test282AutzJackEndUserAndModify() throws Exception { final String TEST_NAME = "test282AutzJackEndUserAndModify"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -2364,7 +2364,7 @@ public void test282AutzJackEndUserAndModify() throws Exception { @Test public void test283AutzJackModifyAndEndUser() throws Exception { final String TEST_NAME = "test283AutzJackModifyAndEndUser"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -2399,7 +2399,7 @@ public void test283AutzJackModifyAndEndUser() throws Exception { @Test public void test290AutzJackRoleOwnerAssign() throws Exception { final String TEST_NAME = "test290AutzJackRoleOwnerAssign"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ROLE_OWNER_ASSIGN_OID); @@ -2455,7 +2455,7 @@ public void run(Task task, OperationResult result) throws Exception { @Test public void test292AutzJackRoleOwnerFullControl() throws Exception { final String TEST_NAME = "test292AutzJackRoleOwnerFullControl"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_ROLE_OWNER_FULL_CONTROL_OID); @@ -2529,7 +2529,7 @@ public void test292AutzJackRoleOwnerFullControl() throws Exception { @Test public void test295AutzJackAssignOrgRelation() throws Exception { final String TEST_NAME = "test295AutzJackAssignOrgRelation"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); @@ -2566,7 +2566,7 @@ public void test295AutzJackAssignOrgRelation() throws Exception { @Test public void test300AutzAnonymous() throws Exception { final String TEST_NAME = "test300AutzAnonymous"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); PrismObject userJack = getUser(USER_JACK_OID); @@ -2581,7 +2581,7 @@ public void test300AutzAnonymous() throws Exception { @Test public void test310AutzJackNoRolePrivileged() throws Exception { final String TEST_NAME = "test310AutzJackNoRolePrivileged"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); PrismObject userJack = getUser(USER_JACK_OID); @@ -2612,7 +2612,7 @@ public void test310AutzJackNoRolePrivileged() throws Exception { @Test public void test312AutzAnonymousPrivileged() throws Exception { final String TEST_NAME = "test312AutzAnonymousPrivileged"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); PrismObject userJack = getUser(USER_JACK_OID); @@ -2643,7 +2643,7 @@ public void test312AutzAnonymousPrivileged() throws Exception { @Test public void test313AutzAnonymousPrivilegedRestore() throws Exception { final String TEST_NAME = "test313AutzAnonymousPrivilegedRestore"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); PrismObject userJack = getUser(USER_JACK_OID); @@ -2666,7 +2666,7 @@ public void test313AutzAnonymousPrivilegedRestore() throws Exception { @Test public void test360AutzJackAuditorRole() throws Exception { final String TEST_NAME = "test360AutzJackAuditorRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_AUDITOR_OID); @@ -2691,7 +2691,7 @@ public void test360AutzJackAuditorRole() throws Exception { @Test public void test370AutzJackLimitedUserAdmin() throws Exception { final String TEST_NAME = "test370AutzJackLimitedUserAdmin"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_LIMITED_USER_ADMIN_OID); @@ -2719,7 +2719,7 @@ public void test370AutzJackLimitedUserAdmin() throws Exception { @Test public void test380AutzJackSelfTaskOwner() throws Exception { final String TEST_NAME = "test380AutzJackSelfTaskOwner"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN cleanupAutzTest(USER_JACK_OID); assignRole(USER_JACK_OID, ROLE_SELF_TASK_OWNER_OID); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityPrincipal.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityPrincipal.java index 7613dfd6c38..8b7b2cfe150 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityPrincipal.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityPrincipal.java @@ -51,7 +51,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test010GetUserAdministrator() throws Exception { final String TEST_NAME = "test010GetUserAdministrator"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); resetAuthentication(); // WHEN @@ -69,7 +69,7 @@ public void test010GetUserAdministrator() throws Exception { @Test public void test050GetUserJack() throws Exception { final String TEST_NAME = "test050GetUserJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); resetAuthentication(); // WHEN @@ -89,7 +89,7 @@ public void test050GetUserJack() throws Exception { @Test public void test051GetUserBarbossa() throws Exception { final String TEST_NAME = "test051GetUserBarbossa"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); resetAuthentication(); // WHEN @@ -112,7 +112,7 @@ public void test051GetUserBarbossa() throws Exception { @Test public void test052GetUserGuybrush() throws Exception { final String TEST_NAME = "test052GetUserGuybrush"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); resetAuthentication(); // WHEN @@ -134,7 +134,7 @@ public void test052GetUserGuybrush() throws Exception { @Test public void test060GuybrushConditionalRoleFalse() throws Exception { final String TEST_NAME = "test060GuybrushConditionalRoleFalse"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); login(USER_ADMINISTRATOR_USERNAME); assignRole(USER_GUYBRUSH_OID, ROLE_CONDITIONAL_OID); @@ -162,7 +162,7 @@ public void test060GuybrushConditionalRoleFalse() throws Exception { @Test public void test061GuybrushConditionalRoleTrue() throws Exception { final String TEST_NAME = "test061GuybrushConditionalRoleTrue"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); login(USER_ADMINISTRATOR_USERNAME); Task task = createTask(TEST_NAME); @@ -194,7 +194,7 @@ public void test061GuybrushConditionalRoleTrue() throws Exception { @Test public void test062GuybrushConditionalRoleUnassign() throws Exception { final String TEST_NAME = "test062GuybrushConditionalRoleUnassign"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); login(USER_ADMINISTRATOR_USERNAME); unassignRole(USER_GUYBRUSH_OID, ROLE_CONDITIONAL_OID); @@ -220,7 +220,7 @@ public void test062GuybrushConditionalRoleUnassign() throws Exception { @Test public void test100JackRolePirate() throws Exception { final String TEST_NAME = "test100JackRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN login(USER_ADMINISTRATOR_USERNAME); Task task = createTask(TEST_NAME); @@ -249,7 +249,7 @@ public void test100JackRolePirate() throws Exception { @Test public void test109JackUnassignRolePirate() throws Exception { final String TEST_NAME = "test109JackUnassignRolePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN login(USER_ADMINISTRATOR_USERNAME); Task task = createTask(TEST_NAME); @@ -275,7 +275,7 @@ public void test109JackUnassignRolePirate() throws Exception { @Test public void test110GuybrushRoleNicePirate() throws Exception { final String TEST_NAME = "test110GuybrushRoleNicePirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN login(USER_ADMINISTRATOR_USERNAME); Task task = createTask(TEST_NAME); @@ -300,7 +300,7 @@ public void test110GuybrushRoleNicePirate() throws Exception { @Test public void test111GuybrushRoleCaptain() throws Exception { final String TEST_NAME = "test111GuybrushRoleCaptain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN login(USER_ADMINISTRATOR_USERNAME); Task task = createTask(TEST_NAME); @@ -325,7 +325,7 @@ public void test111GuybrushRoleCaptain() throws Exception { @Test public void test119GuybrushUnassignRoles() throws Exception { final String TEST_NAME = "test119GuybrushUnassignRoles"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN login(USER_ADMINISTRATOR_USERNAME); Task task = createTask(TEST_NAME); @@ -353,7 +353,7 @@ public void test119GuybrushUnassignRoles() throws Exception { @Test public void test120JackRoleIndirectPirate() throws Exception { final String TEST_NAME = "test120JackRoleIndirectPirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN login(USER_ADMINISTRATOR_USERNAME); @@ -386,7 +386,7 @@ public void test120JackRoleIndirectPirate() throws Exception { @Test public void test122JackOrgIndirectPirate() throws Exception { final String TEST_NAME = "test122JackOrgIndirectPirate"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN login(USER_ADMINISTRATOR_USERNAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractInboundSyncTest.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractInboundSyncTest.java index 9acc1325934..1e687445b1f 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractInboundSyncTest.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractInboundSyncTest.java @@ -104,7 +104,7 @@ protected int getNumberOfExtraDummyUsers() { @Test public void test100ImportLiveSyncTaskDummyEmerald() throws Exception { final String TEST_NAME = "test100ImportLiveSyncTaskDummyEmerald"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); @@ -123,7 +123,7 @@ public void test100ImportLiveSyncTaskDummyEmerald() throws Exception { @Test public void test110AddDummyEmeraldAccountMancomb() throws Exception { final String TEST_NAME = "test110AddDummyEmeraldAccountMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); @@ -181,7 +181,7 @@ public void test110AddDummyEmeraldAccountMancomb() throws Exception { @Test public void test120ModifyDummyEmeraldAccountMancombSeepbad() throws Exception { final String TEST_NAME = "test120ModifyDummyEmeraldAccountMancombSeepbad"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); @@ -236,7 +236,7 @@ public void test120ModifyDummyEmeraldAccountMancombSeepbad() throws Exception { @Test public void test122ModifyDummyEmeraldAccountMancombSeepNULL() throws Exception { final String TEST_NAME = "test122ModifyDummyEmeraldAccountMancombSeepNULL"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); @@ -291,7 +291,7 @@ public void test122ModifyDummyEmeraldAccountMancombSeepNULL() throws Exception { @Test public void test124ModifyDummyEmeraldAccountMancombSeepevil() throws Exception { final String TEST_NAME = "test124ModifyDummyEmeraldAccountMancombSeepevil"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); @@ -346,7 +346,7 @@ public void test124ModifyDummyEmeraldAccountMancombSeepevil() throws Exception { @Test public void test126ModifyDummyEmeraldAccountMancombTitlePirate() throws Exception { final String TEST_NAME = "test126ModifyDummyEmeraldAccountMancombTitlePirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); @@ -402,7 +402,7 @@ public void test126ModifyDummyEmeraldAccountMancombTitlePirate() throws Exceptio @Test public void test127ModifyDummyEmeraldAccountMancombTitlePirateNull() throws Exception { final String TEST_NAME = "test127ModifyDummyEmeraldAccountMancombTitlePirateNull"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); @@ -458,7 +458,7 @@ public void test127ModifyDummyEmeraldAccountMancombTitlePirateNull() throws Exce @Test public void test129ModifyDummyEmeraldAccountMancombSeepgood() throws Exception { final String TEST_NAME = "test129ModifyDummyEmeraldAccountMancombSeepgood"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); @@ -523,7 +523,7 @@ public void test180NoChange() throws Exception { @Test public void test300AddDummyEmeraldAccountPosixUser() throws Exception { final String TEST_NAME = "test300AddDummyEmeraldAccountPosixUser"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); @@ -581,7 +581,7 @@ public void test300AddDummyEmeraldAccountPosixUser() throws Exception { @Test public void test310ModifyDummyEmeraldAccountPosixUserUidNumber() throws Exception { final String TEST_NAME = "test310ModifyDummyEmeraldAccountPosixUserUidNumber"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractObjTemplateSyncTest.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractObjTemplateSyncTest.java index a35a1d626a7..7c69510233d 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractObjTemplateSyncTest.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractObjTemplateSyncTest.java @@ -119,7 +119,7 @@ protected int getWaitTimeout() { @Test public void test100ImportLiveSyncTaskDummyByzantine() throws Exception { final String TEST_NAME = "test100ImportLiveSyncTaskDummyByzantine"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractObjTemplateSyncTest.class.getName() + "." + TEST_NAME); @@ -139,7 +139,7 @@ public void test100ImportLiveSyncTaskDummyByzantine() throws Exception { @Test public void test110AddDummyByzantineAccountMancomb() throws Exception { final String TEST_NAME = "test110AddDummyByzantineAccountMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractObjTemplateSyncTest.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractSynchronizationStoryTest.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractSynchronizationStoryTest.java index 92da83b698e..33c375b5f8d 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractSynchronizationStoryTest.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/AbstractSynchronizationStoryTest.java @@ -116,7 +116,7 @@ protected boolean isReconciliation() { @Test public void test100ImportLiveSyncTaskDummyGreen() throws Exception { final String TEST_NAME = "test100ImportLiveSyncTaskDummyGreen"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -135,7 +135,7 @@ public void test100ImportLiveSyncTaskDummyGreen() throws Exception { @Test public void test110AddDummyGreenAccountMancomb() throws Exception { final String TEST_NAME = "test110AddDummyGreenAccountMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -198,7 +198,7 @@ public void test110AddDummyGreenAccountMancomb() throws Exception { @Test public void test200ImportLiveSyncTaskDummyBlue() throws Exception { final String TEST_NAME = "test200ImportLiveSyncTaskDummyBlue"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -220,7 +220,7 @@ public void test200ImportLiveSyncTaskDummyBlue() throws Exception { @Test public void test210AddDummyGreenAccountWally() throws Exception { final String TEST_NAME = "test210AddDummyGreenAccountWally"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -270,7 +270,7 @@ public void test210AddDummyGreenAccountWally() throws Exception { @Test public void test220AddDummyBlueAccountWally() throws Exception { final String TEST_NAME = "test220AddDummyBlueAccountWally"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -331,7 +331,7 @@ public void test220AddDummyBlueAccountWally() throws Exception { @Test public void test315AddDummyBlueAccountMancomb() throws Exception { final String TEST_NAME = "test315AddDummyBlueAccountMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -388,7 +388,7 @@ public void test315AddDummyBlueAccountMancomb() throws Exception { @Test public void test350ImportLiveSyncTaskDummyDefault() throws Exception { final String TEST_NAME = "test350ImportLiveSyncTaskDummyDefault"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -416,7 +416,7 @@ public void test350ImportLiveSyncTaskDummyDefault() throws Exception { @Test public void test360ModifyUserAddDummyDefaultAccount() throws Exception { final String TEST_NAME = "test360ModifyUserAddDummyDefaultAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -528,7 +528,7 @@ public void test360ModifyUserAddDummyDefaultAccount() throws Exception { @Test public void test370ModifyDummyGreenAccountWally() throws Exception { final String TEST_NAME = "test370ModifyDummyGreenAccountWally"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -610,7 +610,7 @@ public void test370ModifyDummyGreenAccountWally() throws Exception { @Test public void test380ModifyUserWallyFullName() throws Exception { final String TEST_NAME = "test380ModifyUserWallyFullName"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -676,7 +676,7 @@ public void test380ModifyUserWallyFullName() throws Exception { @Test public void test382ModifyUserWallyLocality() throws Exception { final String TEST_NAME = "test382ModifyUserWallyLocality"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -753,7 +753,7 @@ public void test382ModifyUserWallyLocality() throws Exception { @Test public void test400DeleteDummyDefaultAccount() throws Exception { final String TEST_NAME = "test400DeleteDummyDefaultAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -815,7 +815,7 @@ public void test400DeleteDummyDefaultAccount() throws Exception { @Test public void test410DeleteDummyGreenAccount() throws Exception { final String TEST_NAME = "test410DeleteDummyGreenAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -902,7 +902,7 @@ public void test410DeleteDummyGreenAccount() throws Exception { @Test public void test510AddDummyGreenAccountWallyUserTemplate() throws Exception { final String TEST_NAME = "test510AddDummyGreenAccountWallyUserTemplate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -946,7 +946,7 @@ public void test510AddDummyGreenAccountWallyUserTemplate() throws Exception { @Test public void test600AddDummyGreenAccountCalypso() throws Exception { final String TEST_NAME = "test600AddDummyGreenAccountCalypso"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); @@ -992,7 +992,7 @@ public void test600AddDummyGreenAccountCalypso() throws Exception { @Test public void test700AddDummyGreenAccountXjojo() throws Exception { final String TEST_NAME = "test700AddDummyGreenAccountXjojo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractSynchronizationStoryTest.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestImportRecon.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestImportRecon.java index b6bd7bb8b7e..b0993d0428b 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestImportRecon.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestImportRecon.java @@ -315,7 +315,7 @@ protected File getDummyResourceAzureFile() { @Test public void test001SanityAzure() throws Exception { final String TEST_NAME = "test001SanityAzure"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); display("Dummy resource azure", dummyResourceAzure); @@ -334,7 +334,7 @@ public void test001SanityAzure() throws Exception { @Test public void test002SanityAzureRefined() throws Exception { final String TEST_NAME = "test002SanityAzureRefined"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // WHEN RefinedResourceSchema refinedSchemaAzure = RefinedResourceSchemaImpl.getRefinedSchema(resourceDummyAzureType, prismContext); @@ -351,7 +351,7 @@ public void test002SanityAzureRefined() throws Exception { @Test public void test100ImportStanFromResourceDummy() throws Exception { final String TEST_NAME = "test100ImportStanFromResourceDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -396,7 +396,7 @@ public void test100ImportStanFromResourceDummy() throws Exception { @Test public void test150ImportFromResourceDummy() throws Exception { final String TEST_NAME = "test150ImportFromResourceDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -462,7 +462,7 @@ public void test150ImportFromResourceDummy() throws Exception { @Test public void test155ImportFromResourceDummyAgain() throws Exception { final String TEST_NAME = "test155ImportFromResourceDummyAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -517,7 +517,7 @@ public void test155ImportFromResourceDummyAgain() throws Exception { @Test public void test160ImportFromResourceDummyLime() throws Exception { final String TEST_NAME = "test160ImportFromResourceDummyLime"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -586,7 +586,7 @@ public void test160ImportFromResourceDummyLime() throws Exception { @Test public void test162ImportFromResourceDummyLimeRappOrganizationScummBar() throws Exception { final String TEST_NAME = "test162ImportFromResourceDummyLimeRappOrganizationScummBar"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -665,7 +665,7 @@ public void test162ImportFromResourceDummyLimeRappOrganizationScummBar() throws @Test public void test164ImportFromResourceDummyLimeRappOrganizationNull() throws Exception { final String TEST_NAME = "test164ImportFromResourceDummyLimeRappOrganizationNull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -741,7 +741,7 @@ public void test164ImportFromResourceDummyLimeRappOrganizationNull() throws Exce @Test public void test200ReconcileDummy() throws Exception { final String TEST_NAME = "test200ReconcileDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -861,7 +861,7 @@ public void test200ReconcileDummy() throws Exception { @Test public void test210ReconcileDummyBroken() throws Exception { final String TEST_NAME = "test210ReconcileDummyBroken"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -933,7 +933,7 @@ public void test210ReconcileDummyBroken() throws Exception { @Test public void test219ReconcileDummyFixed() throws Exception { final String TEST_NAME = "test219ReconcileDummyFixed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1013,7 +1013,7 @@ public void test219ReconcileDummyFixed() throws Exception { @Test public void test220ReconcileDummyBrokenGuybrush() throws Exception { final String TEST_NAME = "test220ReconcileDummyBrokenGuybrush"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1088,7 +1088,7 @@ public void test220ReconcileDummyBrokenGuybrush() throws Exception { @Test public void test229ReconcileDummyFixed() throws Exception { final String TEST_NAME = "test229ReconcileDummyFixed"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1171,7 +1171,7 @@ public void test229ReconcileDummyFixed() throws Exception { @Test public void test230ReconcileDummyRename() throws Exception { final String TEST_NAME = "test230ReconcileDummyRename"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1294,7 +1294,7 @@ private void addReconScripts(Collection scripts, String @Test public void test300ReconcileDummyAzureAddAccountOtis() throws Exception { final String TEST_NAME = "test300ReconcileDummyAzureAddAccountOtis"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1359,7 +1359,7 @@ public void test300ReconcileDummyAzureAddAccountOtis() throws Exception { @Test public void test310ReconcileDummyAzureAgain() throws Exception { final String TEST_NAME = "test310ReconcileDummyAzureAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1426,7 +1426,7 @@ public void test310ReconcileDummyAzureAgain() throws Exception { @Test public void test320ReconcileDummyAzureDeleteOtis() throws Exception { final String TEST_NAME = "test320ReconcileDummyAzureDeleteOtis"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1496,7 +1496,7 @@ public void test320ReconcileDummyAzureDeleteOtis() throws Exception { @Test public void test330ReconcileDummyAzureAddAccountRapp() throws Exception { final String TEST_NAME = "test330ReconcileDummyAzureAddAccountRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1591,7 +1591,7 @@ public void test330ReconcileDummyAzureAddAccountRapp() throws Exception { @Test public void test332ModifyUserRappAndReconcileDummyAzure() throws Exception { final String TEST_NAME = "test332ModifyUserRappAndReconcileDummyAzure"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1674,7 +1674,7 @@ public void test332ModifyUserRappAndReconcileDummyAzure() throws Exception { @Test public void test334AssignRoleCorpseToRappAndReconcileDummyAzure() throws Exception { final String TEST_NAME = "test334AssignRoleCorpseToRappAndReconcileDummyAzure"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1743,7 +1743,7 @@ public void test334AssignRoleCorpseToRappAndReconcileDummyAzure() throws Excepti @Test public void test339ReconcileDummyAzureDeleteRapp() throws Exception { final String TEST_NAME = "test339ReconcileDummyAzureDeleteRapp"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1818,7 +1818,7 @@ public void test339ReconcileDummyAzureDeleteRapp() throws Exception { @Test public void test400ReconcileDummyLimeAddAccount() throws Exception { final String TEST_NAME = "test400ReconcileDummyLimeAddAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1872,7 +1872,7 @@ public void test400ReconcileDummyLimeAddAccount() throws Exception { @Test public void test401ReconcileDummyLimeKateOnlyEmpty() throws Exception { final String TEST_NAME = "test401ReconcileDummyLimeKateOnlyEmpty"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1922,7 +1922,7 @@ public void test401ReconcileDummyLimeKateOnlyEmpty() throws Exception { @Test public void test402ReconcileDummyLimeKateOnlyGrog() throws Exception { final String TEST_NAME = "test402ReconcileDummyLimeKateOnlyGrog"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1970,7 +1970,7 @@ public void test402ReconcileDummyLimeKateOnlyGrog() throws Exception { @Test public void test403ReconcileDummyLimeKateOnlyNoValue() throws Exception { final String TEST_NAME = "test403ReconcileDummyLimeKateOnlyNoValue"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2017,7 +2017,7 @@ public void test403ReconcileDummyLimeKateOnlyNoValue() throws Exception { @Test public void test404ReconcileDummyLimeKateOnlyRum() throws Exception { final String TEST_NAME = "test404ReconcileDummyLimeKateOnlyRum"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2065,7 +2065,7 @@ public void test404ReconcileDummyLimeKateOnlyRum() throws Exception { @Test public void test405ReconcileDummyLimeKateOnlyEmpty() throws Exception { final String TEST_NAME = "test405ReconcileDummyLimeKateOnlyEmpty"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2113,7 +2113,7 @@ public void test405ReconcileDummyLimeKateOnlyEmpty() throws Exception { @Test public void test406ReconcileDummyLimeKateOnlyEmptyAgain() throws Exception { final String TEST_NAME = "test406ReconcileDummyLimeKateOnlyEmptyAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2156,7 +2156,7 @@ public void test406ReconcileDummyLimeKateOnlyEmptyAgain() throws Exception { @Test public void test410ReconcileDummyLimeKatePassword() throws Exception { final String TEST_NAME = "test410ReconcileDummyLimeKatePassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2204,7 +2204,7 @@ public void test410ReconcileDummyLimeKatePassword() throws Exception { @Test public void test420ReconcileDummyLimeDeleteLinkedAccount() throws Exception { final String TEST_NAME = "test420ReconcileDummyLimeDeleteLinkedAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2258,7 +2258,7 @@ public void test420ReconcileDummyLimeDeleteLinkedAccount() throws Exception { @Test public void test500ImportTAugustusFromResourceDummy() throws Exception { final String TEST_NAME = "test500ImportTAugustusFromResourceDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2321,7 +2321,7 @@ public void test500ImportTAugustusFromResourceDummy() throws Exception { @Test public void test502ImportAugustusFromResourceDummy() throws Exception { final String TEST_NAME = "test502ImportAugustusFromResourceDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2388,7 +2388,7 @@ public void test502ImportAugustusFromResourceDummy() throws Exception { @Test public void test510ImportFromResourceDummy() throws Exception { final String TEST_NAME = "test510ImportFromResourceDummy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2478,7 +2478,7 @@ public void test510ImportFromResourceDummy() throws Exception { @Test public void test600SearchAllDummyAccounts() throws Exception { final String TEST_NAME = "test600SearchAllDummyAccounts"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2504,7 +2504,7 @@ public void test600SearchAllDummyAccounts() throws Exception { @Test public void test610SearchDummyAccountsNameSubstring() throws Exception { final String TEST_NAME = "test610SearchDummyAccountsNameSubstring"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2534,7 +2534,7 @@ public void test610SearchDummyAccountsNameSubstring() throws Exception { @Test public void test900DeleteDummyShadows() throws Exception { final String TEST_NAME = "test900DeleteDummyShadows"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2580,7 +2580,7 @@ public void test900DeleteDummyShadows() throws Exception { @Test public void test910DeleteDummyAccounts() throws Exception { final String TEST_NAME = "test910DeleteDummyAccounts"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestInboundLiveSyncTask.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestInboundLiveSyncTask.java index 6deefd5d8e7..89962626b8a 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestInboundLiveSyncTask.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestInboundLiveSyncTask.java @@ -70,7 +70,7 @@ protected String getSyncTaskOid(PrismObject resource) { @Override public void test199DeleteDummyEmeraldAccountMancomb() throws Exception { final String TEST_NAME = "test199DeleteDummyEmeraldAccountMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestInboundReconTask.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestInboundReconTask.java index 2ee68f2e652..9cd23a51918 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestInboundReconTask.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestInboundReconTask.java @@ -75,7 +75,7 @@ protected String getSyncTaskOid(PrismObject resource) { @Override public void test180NoChange() throws Exception { final String TEST_NAME = "test180NoChange"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); @@ -118,7 +118,7 @@ public void test180NoChange() throws Exception { @Override public void test199DeleteDummyEmeraldAccountMancomb() throws Exception { final String TEST_NAME = "test199DeleteDummyEmeraldAccountMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(AbstractInboundSyncTest.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestRecomputeTask.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestRecomputeTask.java index 4978f12729a..c4d6592aee5 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestRecomputeTask.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestRecomputeTask.java @@ -99,7 +99,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100RecomputeAll() throws Exception { final String TEST_NAME = "test100RecomputeAll"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -259,7 +259,7 @@ private void displayRoles(Task task, OperationResult result) throws ObjectNotFou @Test public void test110RecomputeSome() throws Exception { final String TEST_NAME = "test110RecomputeSome"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -318,7 +318,7 @@ public void test110RecomputeSome() throws Exception { @Test public void test120RecomputeByExpression() throws Exception { final String TEST_NAME = "test120RecomputeByExpression"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -377,7 +377,7 @@ public void test120RecomputeByExpression() throws Exception { @Test public void test130RecomputeLight() throws Exception { final String TEST_NAME = "test130RecomputeLight"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestUuid.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestUuid.java index 2a9b5b539ba..e5363a93c2a 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestUuid.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestUuid.java @@ -128,7 +128,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test200ReconcileDummyUuid() throws Exception { final String TEST_NAME = "test200ReconcileDummyUuid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestUuid.class.getName() + "." + TEST_NAME); @@ -178,7 +178,7 @@ public void test200ReconcileDummyUuid() throws Exception { @Test public void test210ReconcileDummyUuidAddAugustus() throws Exception { final String TEST_NAME = "test210ReconcileDummyUuidAddAugustus"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestUuid.class.getName() + "." + TEST_NAME); @@ -246,7 +246,7 @@ public void test210ReconcileDummyUuidAddAugustus() throws Exception { @Test public void test220ReconcileDummyUuidDeleteAddAugustus() throws Exception { final String TEST_NAME = "test220ReconcileDummyUuidDeleteAddAugustus"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestUuid.class.getName() + "." + TEST_NAME); @@ -327,7 +327,7 @@ public void test220ReconcileDummyUuidDeleteAddAugustus() throws Exception { @Test public void test230ReconcileDummyUuidDeleteAugustusAddAugustina() throws Exception { final String TEST_NAME = "test230ReconcileDummyUuidDeleteAugustusAddAugustina"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestUuid.class.getName() + "." + TEST_NAME); diff --git a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestValidityRecomputeTask.java b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestValidityRecomputeTask.java index fc73a74a3d6..5a45bb1a9e0 100644 --- a/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestValidityRecomputeTask.java +++ b/model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestValidityRecomputeTask.java @@ -98,7 +98,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100ImportValidityScannerTask() throws Exception { final String TEST_NAME = "test100ImportValidityScannerTask"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -135,7 +135,7 @@ public void test100ImportValidityScannerTask() throws Exception { @Test public void test110JackAssignJudgeDisabled() throws Exception { final String TEST_NAME = "test110JackAssignJudgeDisabled"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -150,7 +150,7 @@ public void test110JackAssignJudgeDisabled() throws Exception { @Test public void test111JackAssignJudgeNotYetValid() throws Exception { final String TEST_NAME = "test111JackAssignJudgeNotYetValid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -167,7 +167,7 @@ public void test111JackAssignJudgeNotYetValid() throws Exception { @Test public void test112JackAssignJudgeAfterValidity() throws Exception { final String TEST_NAME = "test112JackAssignJudgeAfterValidity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -184,7 +184,7 @@ public void test112JackAssignJudgeAfterValidity() throws Exception { @Test public void test115JackAssignJudgeEnabled() throws Exception { final String TEST_NAME = "test115JackAssignJudgeEnabled"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -199,7 +199,7 @@ public void test115JackAssignJudgeEnabled() throws Exception { @Test public void test115JackAssignJudgeValid() throws Exception { final String TEST_NAME = "test115JackAssignJudgeValid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -289,7 +289,7 @@ private void assert11xUserOk(PrismObject user) { @Test public void test120JackDisableAssignmentJudge() throws Exception { final String TEST_NAME = "test120JackDisableAssignmentJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -321,7 +321,7 @@ public void test120JackDisableAssignmentJudge() throws Exception { @Test public void test122JackReplaceNullAdministrativeStatusAssignmentJudge() throws Exception { final String TEST_NAME = "test122JackReplaceNullAdministrativeStatusAssignmentJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -346,7 +346,7 @@ public void test122JackReplaceNullAdministrativeStatusAssignmentJudge() throws E @Test public void test123JackDisableAssignmentJudge() throws Exception { final String TEST_NAME = "test123JackDisableAssignmentJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -371,7 +371,7 @@ public void test123JackDisableAssignmentJudge() throws Exception { @Test public void test124JackEnableAssignmentJudge() throws Exception { final String TEST_NAME = "test124JackEnableAssignmentJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -396,7 +396,7 @@ public void test124JackEnableAssignmentJudge() throws Exception { @Test public void test125JackDeleteAdministrativeStatusAssignmentJudge() throws Exception { final String TEST_NAME = "test125JackDeleteAdministrativeStatusAssignmentJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -426,7 +426,7 @@ public void test125JackDeleteAdministrativeStatusAssignmentJudge() throws Except @Test public void test126JackAddAdministrativeStatusAssignmentJudge() throws Exception { final String TEST_NAME = "test126JackAddAdministrativeStatusAssignmentJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -456,7 +456,7 @@ public void test126JackAddAdministrativeStatusAssignmentJudge() throws Exception @Test public void test127JackDeleteActivationAssignmentJudge() throws Exception { final String TEST_NAME = "test127JackDeleteActivationAssignmentJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -487,7 +487,7 @@ public void test127JackDeleteActivationAssignmentJudge() throws Exception { @Test public void test128JackAssignmentJudgeValidToSetInvalid() throws Exception { final String TEST_NAME = "test128JackAssignmentJudgeValidToSetInvalid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -520,7 +520,7 @@ public void test128JackAssignmentJudgeValidToSetInvalid() throws Exception { @Test public void test129JackAssignmentJudgeValidToSetValid() throws Exception { final String TEST_NAME = "test129JackAssignmentJudgeValidToSetValid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -567,7 +567,7 @@ private AssignmentType getJudgeAssignment(String userOid) throws ObjectNotFoundE @Test public void test130BarbossaAssignJudgeEnabled() throws Exception { final String TEST_NAME = "test130BarbossaAssignJudgeEnabled"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -613,7 +613,7 @@ public void test130BarbossaAssignJudgeEnabled() throws Exception { @Test public void test131BarbossaAssignSailorEnabled() throws Exception { final String TEST_NAME = "test131BarbossaAssignSailorEnabled"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -655,7 +655,7 @@ public void test131BarbossaAssignSailorEnabled() throws Exception { @Test public void test132BarbossaDisableAssignmentJudge() throws Exception { final String TEST_NAME = "test132BarbossaDisableAssignmentJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -696,7 +696,7 @@ public void test132BarbossaDisableAssignmentJudge() throws Exception { @Test public void test133BarbossaDisableAssignmentSailor() throws Exception { final String TEST_NAME = "test133BarbossaDisableAssignmentSailor"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -732,7 +732,7 @@ public void test133BarbossaDisableAssignmentSailor() throws Exception { @Test public void test134BarbossaEnableAssignmentJudge() throws Exception { final String TEST_NAME = "test134BarbossaEnableAssignmentJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -770,7 +770,7 @@ public void test134BarbossaEnableAssignmentJudge() throws Exception { @Test public void test135BarbossaEnableAssignmentSailor() throws Exception { final String TEST_NAME = "test135BarbossaEnableAssignmentSailor"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -808,7 +808,7 @@ public void test135BarbossaEnableAssignmentSailor() throws Exception { @Test public void test136BarbossaDisableBothAssignments() throws Exception { final String TEST_NAME = "test136BarbossaDisableBothAssignments"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -860,7 +860,7 @@ public void test136BarbossaDisableBothAssignments() throws Exception { @Test public void test137BarbossaEnableBothAssignments() throws Exception { final String TEST_NAME = "test137BarbossaEnableBothAssignments"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -921,7 +921,7 @@ public void test137BarbossaEnableBothAssignments() throws Exception { @Test public void test139BarbossaDisableBothAssignmentsUnassign() throws Exception { final String TEST_NAME = "test139BarbossaDisableBothAssignmentsUnassign"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1005,7 +1005,7 @@ public void test139BarbossaDisableBothAssignmentsUnassign() throws Exception { @Test public void test140BarbossaAssignRedJudgeEnabled() throws Exception { final String TEST_NAME = "test140BarbossaAssignRedJudgeEnabled"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1055,7 +1055,7 @@ public void test140BarbossaAssignRedJudgeEnabled() throws Exception { @Test public void test141BarbossaAssignRedSailorEnabled() throws Exception { final String TEST_NAME = "test141BarbossaAssignRedSailorEnabled"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1097,7 +1097,7 @@ public void test141BarbossaAssignRedSailorEnabled() throws Exception { @Test public void test142BarbossaDisableAssignmentRedJudge() throws Exception { final String TEST_NAME = "test142BarbossaDisableAssignmentRedJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1138,7 +1138,7 @@ public void test142BarbossaDisableAssignmentRedJudge() throws Exception { @Test public void test143BarbossaDisableAssignmentRedSailor() throws Exception { final String TEST_NAME = "test143BarbossaDisableAssignmentRedSailor"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1178,7 +1178,7 @@ public void test143BarbossaDisableAssignmentRedSailor() throws Exception { @Test public void test144BarbossaEnableAssignmentRedJudge() throws Exception { final String TEST_NAME = "test144BarbossaEnableAssignmentRedJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1216,7 +1216,7 @@ public void test144BarbossaEnableAssignmentRedJudge() throws Exception { @Test public void test145BarbossaEnableAssignmentRedSailor() throws Exception { final String TEST_NAME = "test145BarbossaEnableAssignmentRedSailor"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1254,7 +1254,7 @@ public void test145BarbossaEnableAssignmentRedSailor() throws Exception { @Test public void test146BarbossaDisableBothRedAssignments() throws Exception { final String TEST_NAME = "test146BarbossaDisableBothRedAssignments"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1310,7 +1310,7 @@ public void test146BarbossaDisableBothRedAssignments() throws Exception { @Test public void test147BarbossaEnableBothRedAssignments() throws Exception { final String TEST_NAME = "test147BarbossaEnableBothRedAssignments"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1371,7 +1371,7 @@ public void test147BarbossaEnableBothRedAssignments() throws Exception { @Test public void test149BarbossaDisableBothRedAssignmentsUnassign() throws Exception { final String TEST_NAME = "test149BarbossaDisableBothRedAssignmentsUnassign"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1458,7 +1458,7 @@ public void test149BarbossaDisableBothRedAssignmentsUnassign() throws Exception @Test public void test190HermanGoesInvalid() throws Exception { final String TEST_NAME = "test190HermanGoesInvalid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1495,7 +1495,7 @@ public void test190HermanGoesInvalid() throws Exception { @Test public void test200ImportTriggerScannerTask() throws Exception { final String TEST_NAME = "test200ImportTriggerScannerTask"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestTriggerTask.class.getName() + "." + TEST_NAME); @@ -1525,7 +1525,7 @@ public void test200ImportTriggerScannerTask() throws Exception { @Test public void test205AccountRedElaineDisable() throws Exception { final String TEST_NAME = "test205AccountRedElaineDisable"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestActivation.class.getName() + "." + TEST_NAME); @@ -1550,7 +1550,7 @@ public void test205AccountRedElaineDisable() throws Exception { @Test public void test210JackAssignAndUnassignAccountRed() throws Exception { final String TEST_NAME = "test210JackAssignAndUnassignAccountRed"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestMapping.class.getName() + "." + TEST_NAME); @@ -1608,7 +1608,7 @@ public void test210JackAssignAndUnassignAccountRed() throws Exception { @Test public void test215JackDummyAccountDeleteAfterMonth() throws Exception { final String TEST_NAME = "test215JackDummyAccountDeleteAfterMonth"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestMapping.class.getName() + "." + TEST_NAME); @@ -1633,7 +1633,7 @@ public void test215JackDummyAccountDeleteAfterMonth() throws Exception { @Test public void test220AddDrake() throws Exception { final String TEST_NAME = "test220AddDrake"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); XMLGregorianCalendar start = clock.currentTimeXMLGregorianCalendar(); display("Start", start); @@ -1699,7 +1699,7 @@ public void test220AddDrake() throws Exception { @Test public void test222Drake4DaysBeforeValidFrom() throws Exception { final String TEST_NAME = "test222Drake4DaysBeforeValidFrom"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); XMLGregorianCalendar start = (XMLGregorianCalendar) drakeValidFrom.clone(); start.add(XmlTypeConverter.createDuration(false, 0, 0, 4, 0, 0, 0)); @@ -1727,7 +1727,7 @@ public void test222Drake4DaysBeforeValidFrom() throws Exception { @Test public void test224Drake1DaysAfterValidFrom() throws Exception { final String TEST_NAME = "test224Drake1DaysAfterValidFrom"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); XMLGregorianCalendar start = (XMLGregorianCalendar) drakeValidFrom.clone(); start.add(XmlTypeConverter.createDuration(true, 0, 0, 1, 0, 0, 0)); @@ -1754,7 +1754,7 @@ public void test224Drake1DaysAfterValidFrom() throws Exception { @Test public void test226Drake1DayBeforeValidTo() throws Exception { final String TEST_NAME = "test226Drake1DayBeforeValidTo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); XMLGregorianCalendar start = (XMLGregorianCalendar) drakeValidTo.clone(); start.add(XmlTypeConverter.createDuration(false, 0, 0, 1, 0, 0, 0)); @@ -1781,7 +1781,7 @@ public void test226Drake1DayBeforeValidTo() throws Exception { @Test public void test228Drake1DayAfterValidTo() throws Exception { final String TEST_NAME = "test228Drake1DayAfterValidTo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); XMLGregorianCalendar start = (XMLGregorianCalendar) drakeValidTo.clone(); start.add(XmlTypeConverter.createDuration(true, 0, 0, 1, 0, 0, 0)); @@ -1809,7 +1809,7 @@ public void test228Drake1DayAfterValidTo() throws Exception { @Test public void test230Drake20DaysAfterValidTo() throws Exception { final String TEST_NAME = "test230Drake20DaysAfterValidTo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); XMLGregorianCalendar start = (XMLGregorianCalendar) drakeValidTo.clone(); start.add(XmlTypeConverter.createDuration(true, 0, 0, 20, 0, 0, 0)); @@ -1837,7 +1837,7 @@ public void test230Drake20DaysAfterValidTo() throws Exception { @Test public void test232Drake40DaysAfterValidTo() throws Exception { final String TEST_NAME = "test232Drake40DaysAfterValidTo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); XMLGregorianCalendar start = (XMLGregorianCalendar) drakeValidTo.clone(); start.add(XmlTypeConverter.createDuration(true, 0, 0, 40, 0, 0, 0)); @@ -1866,7 +1866,7 @@ public void test232Drake40DaysAfterValidTo() throws Exception { @Test public void test250CheckAccountRedElaine() throws Exception { final String TEST_NAME = "test250CheckAccountRedElaine"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN @@ -1885,7 +1885,7 @@ public void test250CheckAccountRedElaine() throws Exception { @Test public void test300HermanAssignJudgeNotYetValid() throws Exception { final String TEST_NAME = "test300HermanAssignJudgeNotYetValid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1913,7 +1913,7 @@ public void test300HermanAssignJudgeNotYetValid() throws Exception { @Test public void test310HermanAssignJudgeBecomesValid() throws Exception { final String TEST_NAME = "test310HermanAssignJudgeBecomesValid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); @@ -1936,7 +1936,7 @@ public void test310HermanAssignJudgeBecomesValid() throws Exception { @Test public void test315HermanAssignJudgeBecomesInValid() throws Exception { final String TEST_NAME = "test315HermanAssignJudgeBecomesInValid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TestValidityRecomputeTask.class.getName() + "." + TEST_NAME); diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/general/TestGeneralChangeProcessor.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/general/TestGeneralChangeProcessor.java index bc54ce8dbd7..0924a6afb21 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/general/TestGeneralChangeProcessor.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/general/TestGeneralChangeProcessor.java @@ -134,7 +134,7 @@ public void initSystem(Task initTask, OperationResult initResult) @Test public void test010AddRole1() throws Exception { - TestUtil.displayTestTile(this, "test010UserModifyAddRole"); + TestUtil.displayTestTitle(this, "test010UserModifyAddRole"); executeTest("test010UserModifyAddRole", USER_JACK_OID, 1, false, true, new ContextCreator() { @Override public LensContext createModelContext(OperationResult result) throws Exception { @@ -189,7 +189,7 @@ void assertsRootTaskFinishes(Task task, OperationResult result) throws Exception @Test public void test020AddAccountRejected() throws Exception { - TestUtil.displayTestTile(this, "test020AddAccountRejected"); + TestUtil.displayTestTitle(this, "test020AddAccountRejected"); enableDisableScenarios(false, true); @@ -289,7 +289,7 @@ protected void enableDisableScenarios(boolean... values) throws ObjectNotFoundEx @Test public void test030AddAccountApproved() throws Exception { - TestUtil.displayTestTile(this, "test030AddAccountApproved"); + TestUtil.displayTestTitle(this, "test030AddAccountApproved"); enableDisableScenarios(false, true); @@ -348,7 +348,7 @@ void assertsRootTaskFinishes(Task task, OperationResult result) throws Exception @Test public void test000LoadContext() throws Exception { final String TEST_NAME = "test000LoadContext"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestAddAssociationLegacy.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestAddAssociationLegacy.java index 9f983406a67..7908e4f4854 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestAddAssociationLegacy.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestAddAssociationLegacy.java @@ -88,7 +88,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti */ @Test public void test010AddJackToTesters() throws Exception { - TestUtil.displayTestTile(this, "test010AddJackToTesters"); + TestUtil.displayTestTitle(this, "test010AddJackToTesters"); executeTest("test010AddJackToTesters", USER_JACK_OID, new TestDetails() { @Override int subtaskCount() { @@ -164,7 +164,7 @@ boolean decideOnApproval(String executionId) throws Exception { */ @Test public void test020AddElisabethToTestersRejected() throws Exception { - TestUtil.displayTestTile(this, "test020AddElisabethToTestersRejected"); + TestUtil.displayTestTitle(this, "test020AddElisabethToTestersRejected"); executeTest("test020AddElisabethToTestersRejected", USER_ELISABETH_OID, new TestDetails() { @Override int subtaskCount() { @@ -241,7 +241,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test public void test100AddJackToGuests() throws Exception { final String TEST_NAME = "test100AddJackToGuests"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task modelTask = taskManager.createTaskInstance(TEST_NAME); OperationResult result = new OperationResult(TEST_NAME); diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestCreateModifyUserLegacy.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestCreateModifyUserLegacy.java index 79c134c054b..da237674a50 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestCreateModifyUserLegacy.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestCreateModifyUserLegacy.java @@ -60,7 +60,7 @@ public TestCreateModifyUserLegacy() throws JAXBException { */ @Test(enabled = true) public void test010CreateElisabeth() throws Exception { - TestUtil.displayTestTile(this, "test010CreateElisabeth"); + TestUtil.displayTestTitle(this, "test010CreateElisabeth"); executeTest("test010CreateElisabeth", USER_ELISABETH_OID, new TestDetails() { @Override int subtaskCount() { return 1; } @Override boolean immediate() { return false; } @@ -101,7 +101,7 @@ boolean decideOnApproval(String executionId) throws Exception { */ @Test(enabled = true) public void test020ModifyElisabethAssignRole3() throws Exception { - TestUtil.displayTestTile(this, "test020ModifyElisabethAssignRole3"); + TestUtil.displayTestTitle(this, "test020ModifyElisabethAssignRole3"); executeTest("test020ModifyElisabethAssignRole3", USER_ELISABETH_OID, new TestDetails() { @Override int subtaskCount() { return 1; } @Override boolean immediate() { return false; } diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestCreateOrgLegacy.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestCreateOrgLegacy.java index 7cd27b9ed44..2d3593d03dc 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestCreateOrgLegacy.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestCreateOrgLegacy.java @@ -60,7 +60,7 @@ public TestCreateOrgLegacy() throws JAXBException { */ @Test(enabled = true) public void test010CreateTest1Rejected() throws Exception { - TestUtil.displayTestTile(this, "test010CreateTest1Rejected"); + TestUtil.displayTestTitle(this, "test010CreateTest1Rejected"); executeTest("test010CreateTest1Rejected", ORG_TEST1_OID, new TestDetails() { @Override int subtaskCount() { @@ -115,7 +115,7 @@ boolean decideOnApproval(String executionId) throws Exception { */ @Test(enabled = true) public void test020CreateTest1Approved() throws Exception { - TestUtil.displayTestTile(this, "test020CreateTest1Approved"); + TestUtil.displayTestTitle(this, "test020CreateTest1Approved"); executeTest("test020CreateTest1Approved", ORG_TEST1_OID, new TestDetails() { @Override int subtaskCount() { return 1; } @Override boolean immediate() { return false; } diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestUserChangeApprovalLegacy.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestUserChangeApprovalLegacy.java index 1abeb68343e..fcb94dbcec0 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestUserChangeApprovalLegacy.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestUserChangeApprovalLegacy.java @@ -112,7 +112,7 @@ public TestUserChangeApprovalLegacy() throws JAXBException { */ @Test public void test010UserModifyAddRole() throws Exception { - TestUtil.displayTestTile(this, "test010UserModifyAddRole"); + TestUtil.displayTestTitle(this, "test010UserModifyAddRole"); login(userAdministrator); executeTest("test010UserModifyAddRole", USER_JACK_OID, new TestDetails() { @Override @@ -248,7 +248,7 @@ protected void assertWfContextAfterRootTaskFinishes(Task rootTask, List su @Test(enabled = true) public void test011UserModifyAddRoleChangeGivenName() throws Exception { - TestUtil.displayTestTile(this, "test011UserModifyAddRoleChangeGivenName"); + TestUtil.displayTestTitle(this, "test011UserModifyAddRoleChangeGivenName"); login(userAdministrator); executeTest("test011UserModifyAddRoleChangeGivenName", USER_JACK_OID, new TestDetails() { @@ -299,7 +299,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test(enabled = true) public void test012UserModifyAddRoleChangeGivenNameImmediate() throws Exception { - TestUtil.displayTestTile(this, "test012UserModifyAddRoleChangeGivenNameImmediate"); + TestUtil.displayTestTitle(this, "test012UserModifyAddRoleChangeGivenNameImmediate"); login(userAdministrator); executeTest("test012UserModifyAddRoleChangeGivenNameImmediate", USER_JACK_OID, new TestDetails() { @Override int subtaskCount() { return 2; } @@ -348,7 +348,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test(enabled = true) public void test020UserModifyAddThreeRoles() throws Exception { - TestUtil.displayTestTile(this, "test020UserModifyAddThreeRoles"); + TestUtil.displayTestTitle(this, "test020UserModifyAddThreeRoles"); login(userAdministrator); executeTest("test020UserModifyAddThreeRoles", USER_JACK_OID, new TestDetails() { @Override int subtaskCount() { return 2; } @@ -407,7 +407,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test(enabled = true) public void test021UserModifyAddThreeRolesImmediate() throws Exception { - TestUtil.displayTestTile(this, "test021UserModifyAddThreeRolesImmediate"); + TestUtil.displayTestTitle(this, "test021UserModifyAddThreeRolesImmediate"); login(userAdministrator); executeTest("test021UserModifyAddThreeRolesImmediate", USER_JACK_OID, new TestDetails() { @Override int subtaskCount() { return 3; } @@ -464,7 +464,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test(enabled = true) public void test030UserAdd() throws Exception { - TestUtil.displayTestTile(this, "test030UserAdd"); + TestUtil.displayTestTitle(this, "test030UserAdd"); login(userAdministrator); executeTest("test030UserAdd", null, new TestDetails() { @Override int subtaskCount() { return 2; } @@ -519,7 +519,7 @@ String getObjectOid(Task task, OperationResult result) throws SchemaException { @Test(enabled = true) public void test031UserAddImmediate() throws Exception { - TestUtil.displayTestTile(this, "test031UserAddImmediate"); + TestUtil.displayTestTitle(this, "test031UserAddImmediate"); login(userAdministrator); deleteUserFromModel("bill"); @@ -582,7 +582,7 @@ String getObjectOid(Task task, OperationResult result) throws SchemaException { @Test(enabled = true) public void test040UserModifyPasswordChangeBlocked() throws Exception { - TestUtil.displayTestTile(this, "test040UserModifyPasswordChangeBlocked"); + TestUtil.displayTestTitle(this, "test040UserModifyPasswordChangeBlocked"); login(userAdministrator); PrismObject jack = getUser(USER_JACK_OID); @@ -632,7 +632,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test(enabled = true) public void test041UserModifyPasswordChange() throws Exception { - TestUtil.displayTestTile(this, "test041UserModifyPasswordChange"); + TestUtil.displayTestTitle(this, "test041UserModifyPasswordChange"); login(userAdministrator); PrismObject jack = getUser(USER_JACK_OID); final ProtectedStringType originalPasswordValue = jack.asObjectable().getCredentials().getPassword().getValue(); @@ -680,7 +680,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test(enabled = true) public void test050UserModifyAddRoleAndPasswordChange() throws Exception { - TestUtil.displayTestTile(this, "test050UserModifyAddRoleAndPasswordChange"); + TestUtil.displayTestTitle(this, "test050UserModifyAddRoleAndPasswordChange"); login(userAdministrator); PrismObject jack = getUser(USER_JACK_OID); final ProtectedStringType originalPasswordValue = jack.asObjectable().getCredentials().getPassword().getValue(); @@ -737,7 +737,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test(enabled = true) public void test060UserModifyAddRoleAutoApproval() throws Exception { - TestUtil.displayTestTile(this, "test060UserModifyAddRoleAutoApproval"); + TestUtil.displayTestTitle(this, "test060UserModifyAddRoleAutoApproval"); login(userAdministrator); executeTest("test060UserModifyAddRoleAutoApproval", USER_JACK_OID, new TestDetails() { @Override int subtaskCount() { return 1; } @@ -778,7 +778,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test(enabled = true) public void test061UserModifyAddRoleAutoSkip() throws Exception { final String TEST_NAME = "test061UserModifyAddRoleAutoSkip"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = taskManager.createTaskInstance(TestUserChangeApprovalLegacy.class.getName() + "."+TEST_NAME); task.setOwner(userAdministrator); @@ -797,7 +797,7 @@ public void test061UserModifyAddRoleAutoSkip() throws Exception { @Test public void test062UserModifyAddRoleAutoApprovalFirstDecides() throws Exception { - TestUtil.displayTestTile(this, "test062UserModifyAddRoleAutoApprovalFirstDecides"); + TestUtil.displayTestTitle(this, "test062UserModifyAddRoleAutoApprovalFirstDecides"); login(userAdministrator); executeTest("test062UserModifyAddRoleAutoApprovalFirstDecides", USER_JACK_OID, new TestDetails() { @Override int subtaskCount() { return 1; } @@ -841,7 +841,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test public void test064UserModifyAddRoleNoApproversAllMustAgree() throws Exception { - TestUtil.displayTestTile(this, "test064UserModifyAddRoleNoApproversAllMustAgree"); + TestUtil.displayTestTitle(this, "test064UserModifyAddRoleNoApproversAllMustAgree"); login(userAdministrator); executeTest("test064UserModifyAddRoleNoApproversAllMustAgree", USER_JACK_OID, new TestDetails() { @Override int subtaskCount() { return 1; } @@ -885,7 +885,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test public void test065UserModifyAddRoleNoApproversFirstDecides() throws Exception { - TestUtil.displayTestTile(this, "test065UserModifyAddRoleNoApproversFirstDecides"); + TestUtil.displayTestTitle(this, "test065UserModifyAddRoleNoApproversFirstDecides"); login(userAdministrator); executeTest("test065UserModifyAddRoleNoApproversFirstDecides", USER_JACK_OID, new TestDetails() { @Override int subtaskCount() { return 1; } @@ -930,7 +930,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test(enabled = true) public void test070UserModifyAssignment() throws Exception { - TestUtil.displayTestTile(this, "test070UserModifyAssignment"); + TestUtil.displayTestTitle(this, "test070UserModifyAssignment"); login(userAdministrator); removeAllAssignments(USER_JACK_OID, new OperationResult("dummy")); assignRoleRaw(USER_JACK_OID, ROLE_R1_OID); @@ -1055,7 +1055,7 @@ private void assignRoleRaw(String userOid, String roleOid) throws SchemaExceptio */ @Test(enabled = true) public void test080UserModifyAddResource() throws Exception { - TestUtil.displayTestTile(this, "test080UserModifyAddResource"); + TestUtil.displayTestTitle(this, "test080UserModifyAddResource"); login(userAdministrator); executeTest("test080UserModifyAddResource", USER_JACK_OID, new TestDetails() { @Override int subtaskCount() { return 1; } @@ -1098,7 +1098,7 @@ boolean decideOnApproval(String executionId) throws Exception { */ @Test(enabled = true) public void test090UserModifyModifyResourceAssignmentValidity() throws Exception { - TestUtil.displayTestTile(this, "test090UserModifyModifyResourceAssignmentValidity"); + TestUtil.displayTestTitle(this, "test090UserModifyModifyResourceAssignmentValidity"); login(userAdministrator); final XMLGregorianCalendar validFrom = XmlTypeConverter.createXMLGregorianCalendar(2015, 2, 25, 10, 0, 0); @@ -1158,7 +1158,7 @@ boolean decideOnApproval(String executionId) throws Exception { @Test(enabled = true) public void test095UserModifyModifyResourceAssignmentConstruction() throws Exception { final String TEST_NAME = "test095UserModifyModifyResourceAssignmentConstruction"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); executeTest(TEST_NAME, USER_JACK_OID, new TestDetails() { diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/AbstractTestAssignmentApproval.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/AbstractTestAssignmentApproval.java index 2986526e5b5..7e8cce15dc1 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/AbstractTestAssignmentApproval.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/AbstractTestAssignmentApproval.java @@ -80,7 +80,7 @@ public abstract class AbstractTestAssignmentApproval extends AbstractWfTestPolic @Test public void test010AddRole1Assignment() throws Exception { final String TEST_NAME = "test010AddRole1Assignment"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); executeAssignRole1ToJack(TEST_NAME, false, false, null, null); @@ -92,7 +92,7 @@ public void test010AddRole1Assignment() throws Exception { @Test public void test020DeleteRole1Assignment() throws Exception { final String TEST_NAME = "test020DeleteRole1Assignment"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -119,7 +119,7 @@ public void test020DeleteRole1Assignment() throws Exception { @Test public void test030AddRole1AssignmentAgain() throws Exception { final String TEST_NAME = "test030AddRole1AssignmentAgain"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -134,7 +134,7 @@ public void test030AddRole1AssignmentAgain() throws Exception { @Test public void test040AddRole1AssignmentImmediate() throws Exception { final String TEST_NAME = "test040AddRole1AssignmentImmediate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid); @@ -150,7 +150,7 @@ public void test040AddRole1AssignmentImmediate() throws Exception { @Test public void test050AddRoles123AssignmentNNN() throws Exception { final String TEST_NAME = "test050AddRoles123AssignmentNNN"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid); @@ -163,7 +163,7 @@ public void test050AddRoles123AssignmentNNN() throws Exception { @Test public void test052AddRoles123AssignmentNNNImmediate() throws Exception { final String TEST_NAME = "test052AddRoles123AssignmentNNNImmediate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid); @@ -179,7 +179,7 @@ public void test052AddRoles123AssignmentNNNImmediate() throws Exception { @Test public void test060AddRoles123AssignmentYNN() throws Exception { final String TEST_NAME = "test060AddRoles123AssignmentYNN"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid); @@ -189,7 +189,7 @@ public void test060AddRoles123AssignmentYNN() throws Exception { @Test public void test062AddRoles123AssignmentYNNImmediate() throws Exception { final String TEST_NAME = "test062AddRoles123AssignmentYNNImmediate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid); @@ -205,7 +205,7 @@ public void test062AddRoles123AssignmentYNNImmediate() throws Exception { @Test public void test070AddRoles123AssignmentYYY() throws Exception { final String TEST_NAME = "test070AddRoles123AssignmentYYY"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid); @@ -215,7 +215,7 @@ public void test070AddRoles123AssignmentYYY() throws Exception { @Test public void test072AddRoles123AssignmentYYYImmediate() throws Exception { final String TEST_NAME = "test072AddRoles123AssignmentYYYImmediate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid); @@ -228,7 +228,7 @@ public void test072AddRoles123AssignmentYYYImmediate() throws Exception { @Test public void test130AddRole1aAssignmentWithDeputy() throws Exception { final String TEST_NAME = "test130AddRole1aAssignmentWithDeputy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -244,7 +244,7 @@ public void test130AddRole1aAssignmentWithDeputy() throws Exception { @Test public void test132AddRole1aAssignmentWithDeputyApprovedByDeputy1() throws Exception { final String TEST_NAME = "test132AddRole1aAssignmentWithDeputyApprovedByDeputy1"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid); @@ -254,7 +254,7 @@ public void test132AddRole1aAssignmentWithDeputyApprovedByDeputy1() throws Excep @Test(enabled = false) public void test150AddRole1ApproverAssignment() throws Exception { final String TEST_NAME = "test150AddRole1ApproverAssignment"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid); diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/global/TestAssignmentApprovalGlobal.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/global/TestAssignmentApprovalGlobal.java index 6bfe653cd6f..181b945076e 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/global/TestAssignmentApprovalGlobal.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/global/TestAssignmentApprovalGlobal.java @@ -74,7 +74,7 @@ protected String getRoleName(int number) { */ public void test300ApprovalAndEnforce() throws Exception { final String TEST_NAME = "test300ApprovalAndEnforce"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); task.setOwner(userAdministrator); diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/metarole/TestAssignmentsWithDifferentMetaroles.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/metarole/TestAssignmentsWithDifferentMetaroles.java index 30024be5e32..c7df9be5b48 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/metarole/TestAssignmentsWithDifferentMetaroles.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/metarole/TestAssignmentsWithDifferentMetaroles.java @@ -111,7 +111,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test102AddRoles123AssignmentYYYYDeputy() throws Exception { final String TEST_NAME = "test102AddRoles123AssignmentYYYYDeputy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -121,7 +121,7 @@ public void test102AddRoles123AssignmentYYYYDeputy() throws Exception { @Test public void test105AddRoles123AssignmentYYYYImmediate() throws Exception { final String TEST_NAME = "test105AddRoles123AssignmentYYYYImmediate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -131,7 +131,7 @@ public void test105AddRoles123AssignmentYYYYImmediate() throws Exception { @Test public void test110AddRoles123AssignmentNNNN() throws Exception { final String TEST_NAME = "test110AddRoles123AssignmentNNNN"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -141,7 +141,7 @@ public void test110AddRoles123AssignmentNNNN() throws Exception { @Test public void test115AddRoles123AssignmentNNNNImmediate() throws Exception { final String TEST_NAME = "test115AddRoles123AssignmentNNNNImmediate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -151,7 +151,7 @@ public void test115AddRoles123AssignmentNNNNImmediate() throws Exception { @Test public void test120AddRoles123AssignmentYNNN() throws Exception { final String TEST_NAME = "test120AddRoles123AssignmentYNNN"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -161,7 +161,7 @@ public void test120AddRoles123AssignmentYNNN() throws Exception { @Test public void test125AddRoles123AssignmentYNNNImmediate() throws Exception { final String TEST_NAME = "test125AddRoles123AssignmentYNNNImmediate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -171,7 +171,7 @@ public void test125AddRoles123AssignmentYNNNImmediate() throws Exception { @Test public void test130AddRoles123AssignmentYYYN() throws Exception { final String TEST_NAME = "test130AddRoles123AssignmentYYYN"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -181,7 +181,7 @@ public void test130AddRoles123AssignmentYYYN() throws Exception { @Test public void test132AddRoles123AssignmentYYYNDeputy() throws Exception { final String TEST_NAME = "test132AddRoles123AssignmentYYYNDeputy"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -191,7 +191,7 @@ public void test132AddRoles123AssignmentYYYNDeputy() throws Exception { @Test public void test135AddRoles123AssignmentYYYNImmediate() throws Exception { final String TEST_NAME = "test135AddRoles123AssignmentYYYNImmediate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -204,7 +204,7 @@ public void test135AddRoles123AssignmentYYYNImmediate() throws Exception { @Test public void test200AddRoles123AssignmentYYYY() throws Exception { final String TEST_NAME = "test200AddRoles012AssignmentYYYY"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid); @@ -214,7 +214,7 @@ public void test200AddRoles123AssignmentYYYY() throws Exception { @Test public void test210DeleteRoles123AssignmentN() throws Exception { final String TEST_NAME = "test210DeleteRoles123AssignmentN"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); executeUnassignRoles123ToJack(TEST_NAME, false, false, false, true); @@ -223,7 +223,7 @@ public void test210DeleteRoles123AssignmentN() throws Exception { @Test public void test212DeleteRoles123AssignmentNById() throws Exception { final String TEST_NAME = "test212DeleteRoles123AssignmentNById"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); executeUnassignRoles123ToJack(TEST_NAME, false, false, true, false); @@ -232,7 +232,7 @@ public void test212DeleteRoles123AssignmentNById() throws Exception { @Test public void test218DeleteRoles123AssignmentY() throws Exception { final String TEST_NAME = "test218DeleteRoles123AssignmentY"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); executeUnassignRoles123ToJack(TEST_NAME, false, true, false, false); @@ -241,7 +241,7 @@ public void test218DeleteRoles123AssignmentY() throws Exception { @Test public void test220AddRoles123AssignmentYYYY() throws Exception { final String TEST_NAME = "test220AddRoles012AssignmentYYYY"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -251,7 +251,7 @@ public void test220AddRoles123AssignmentYYYY() throws Exception { @Test public void test230DeleteRoles123AssignmentYById() throws Exception { final String TEST_NAME = "test230DeleteRoles123AssignmentYById"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); executeUnassignRoles123ToJack(TEST_NAME, false, true, true, true); @@ -263,7 +263,7 @@ public void test230DeleteRoles123AssignmentYById() throws Exception { @Test public void test300ApprovalAndEnforce() throws Exception { final String TEST_NAME = "test300ApprovalAndEnforce"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); task.setOwner(userAdministrator); @@ -285,7 +285,7 @@ public void test300ApprovalAndEnforce() throws Exception { @Test public void test400AddRoles123AssignmentPreview() throws Exception { final String TEST_NAME = "test400AddRoles123AssignmentPreview"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -295,7 +295,7 @@ public void test400AddRoles123AssignmentPreview() throws Exception { @Test public void test410AddRoles1234AssignmentPreview() throws Exception { final String TEST_NAME = "test410AddRoles1234AssignmentPreview"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); @@ -305,7 +305,7 @@ public void test410AddRoles1234AssignmentPreview() throws Exception { @Test public void test420AddRoles123AssignmentPreviewImmediate() throws Exception { final String TEST_NAME = "test420AddRoles123AssignmentPreviewImmediate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); unassignAllRoles(userJackOid, true); diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/lifecycle/AbstractTestLifecycle.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/lifecycle/AbstractTestLifecycle.java index 4b54e71d2ae..48f553c47fb 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/lifecycle/AbstractTestLifecycle.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/lifecycle/AbstractTestLifecycle.java @@ -77,7 +77,7 @@ protected boolean approveObjectAdd() { @Test public void test010CreateRolePirate() throws Exception { final String TEST_NAME = "test010CreateRolePirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -107,7 +107,7 @@ public void test010CreateRolePirate() throws Exception { @Test public void test100ModifyRolePirateDescription() throws Exception { final String TEST_NAME = "test100ModifyRolePirateDescription"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); ObjectDelta descriptionDelta = (ObjectDelta) DeltaBuilder.deltaFor(RoleType.class, prismContext) @@ -128,7 +128,7 @@ public void test100ModifyRolePirateDescription() throws Exception { @Test public void test200DeleteRolePirate() throws Exception { final String TEST_NAME = "test200DeleteRolePirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); ExpectedTask expectedTask = new ExpectedTask(null, "Deletion of pirate"); diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestActivitiQuery.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestActivitiQuery.java index ead887b80e4..1474721260c 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestActivitiQuery.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestActivitiQuery.java @@ -64,7 +64,7 @@ protected PrismObject getDefaultActor() { @Test public void test100SearchByMoreAssignees() throws Exception { final String TEST_NAME = "test100SearchByMoreAssignees"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -107,7 +107,7 @@ public void test100SearchByMoreAssignees() throws Exception { @Test public void test200TestQueryByTaskVariable() throws Exception { final String TEST_NAME = "test200TestQueryByTaskVariable"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); TaskService taskService = activitiEngine.getTaskService(); @@ -188,7 +188,7 @@ public void test200TestQueryByTaskVariable() throws Exception { @Test public void test210TestQueryByIdentityLink() throws Exception { final String TEST_NAME = "test210TestQueryByIdentityLink"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); TaskService taskService = activitiEngine.getTaskService(); @@ -282,7 +282,7 @@ private void assertNotFound(TaskQuery tq1, String desc) { @Test public void test300SearchByAssignee() throws Exception { final String TEST_NAME = "test210SearchByAssignee"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestDelegation.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestDelegation.java index 5e122a2cd7b..3ff64d4a280 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestDelegation.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestDelegation.java @@ -82,7 +82,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100CreateTask() throws Exception { final String TEST_NAME = "test100CreateTask"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); userLead1 = getUser(userLead1Oid); @@ -107,7 +107,7 @@ public void test100CreateTask() throws Exception { @Test public void test110DelegateToUser2Unauthorized() throws Exception { final String TEST_NAME = "test110DelegateToUser2Unauthorized"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userLead3); Task task = createTask(TEST_NAME); @@ -127,7 +127,7 @@ public void test110DelegateToUser2Unauthorized() throws Exception { @Test public void test120DelegateToUser2() throws Exception { final String TEST_NAME = "test120DelegateToUser2"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userLead1); Task task = createTask(TEST_NAME); @@ -170,7 +170,7 @@ private List getAssignees(org.activiti.engine.task.Task activitiTask) { @Test public void test130DelegateToUser3ByReplace() throws Exception { final String TEST_NAME = "test130DelegateToUser3ByReplace"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userLead1); Task task = createTask(TEST_NAME); @@ -207,7 +207,7 @@ public void test130DelegateToUser3ByReplace() throws Exception { @Test public void test140DelegateToNoneByReplace() throws Exception { final String TEST_NAME = "test140DelegateToNoneByReplace"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userLead3); Task task = createTask(TEST_NAME); diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestEscalation.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestEscalation.java index 865e8dbf84a..43f2ec419d4 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestEscalation.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestEscalation.java @@ -103,7 +103,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100CreateTask() throws Exception { final String TEST_NAME = "test100CreateTask"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -133,7 +133,7 @@ public void test100CreateTask() throws Exception { @Test public void test110Notify() throws Exception { final String TEST_NAME = "test110Notify"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -158,7 +158,7 @@ public void test110Notify() throws Exception { @Test public void test120Escalate() throws Exception { final String TEST_NAME = "test120Escalate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -183,7 +183,7 @@ public void test120Escalate() throws Exception { @Test public void test130Complete() throws Exception { final String TEST_NAME = "test130Complete"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -207,7 +207,7 @@ public void test130Complete() throws Exception { @Test public void test200CreateTaskE2() throws Exception { final String TEST_NAME = "test200CreateTaskE2"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -238,7 +238,7 @@ public void test200CreateTaskE2() throws Exception { @Test public void test210Escalate() throws Exception { final String TEST_NAME = "test210Escalate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -270,7 +270,7 @@ public void test210Escalate() throws Exception { @Test public void test220Reject() throws Exception { final String TEST_NAME = "test220Reject"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestMiscellaneous.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestMiscellaneous.java index 593dd715045..fcdb0506483 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestMiscellaneous.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestMiscellaneous.java @@ -59,7 +59,7 @@ protected PrismObject getDefaultActor() { @Test public void test100RequesterComment() throws Exception { final String TEST_NAME = "test100RequesterComment"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -119,7 +119,7 @@ public void test100RequesterComment() throws Exception { @Test public void test110RequestPrunedRole() throws Exception { final String TEST_NAME = "test110RequestPrunedRole"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -159,7 +159,7 @@ public void test110RequestPrunedRole() throws Exception { @Test public void test200GetRoleByTemplate() throws Exception { final String TEST_NAME = "test200GetRoleByTemplate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -183,7 +183,7 @@ public void test200GetRoleByTemplate() throws Exception { @Test public void test210GetRoleByTemplateAfterAssignments() throws Exception { final String TEST_NAME = "test210GetRoleByTemplateAfterAssignments"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -208,7 +208,7 @@ public void test210GetRoleByTemplateAfterAssignments() throws Exception { @Test public void test220GetRoleByFocusMappings() throws Exception { final String TEST_NAME = "test220GetRoleByFocusMappings"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -231,7 +231,7 @@ public void test220GetRoleByFocusMappings() throws Exception { @Test public void test250SkippingApprovals() throws Exception { final String TEST_NAME = "test250SkippingApprovals"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); diff --git a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/sod/AbstractTestSoD.java b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/sod/AbstractTestSoD.java index 20c994e6de1..b60e52b2820 100644 --- a/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/sod/AbstractTestSoD.java +++ b/model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/sod/AbstractTestSoD.java @@ -99,7 +99,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test010AssignRoleJudge() throws Exception { final String TEST_NAME = "test010AssignRoleJudge"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -119,7 +119,7 @@ public void test010AssignRoleJudge() throws Exception { @Test public void test020AssignRolePirate() throws Exception { final String TEST_NAME = "test020AssignRolePirate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); @@ -237,7 +237,7 @@ protected Boolean decideOnApproval(String executionId, org.activiti.engine.task. @Test public void test030AssignRoleRespectable() throws Exception { final String TEST_NAME = "test030AssignRoleRespectable"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); login(userAdministrator); Task task = createTask(TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestConnectorDiscovery.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestConnectorDiscovery.java index 0a7ccda29d3..66a91aab5c7 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestConnectorDiscovery.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestConnectorDiscovery.java @@ -69,7 +69,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test001Connectors() throws Exception { final String TEST_NAME = "test001Connectors"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TestConnectorDiscovery.class.getName() + "." + TEST_NAME); @@ -96,7 +96,7 @@ public void test001Connectors() throws Exception { @Test public void testListConnectors() throws Exception{ - TestUtil.displayTestTile("testListConnectors"); + TestUtil.displayTestTitle("testListConnectors"); OperationResult result = new OperationResult(TestConnectorDiscovery.class.getName() + ".listConnectorsTest"); @@ -117,7 +117,7 @@ public void testListConnectors() throws Exception{ @Test public void testSearchConnectorSimple() throws SchemaException{ final String TEST_NAME = "testSearchConnectorSimple"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TestConnectorDiscovery.class.getName() + "." + TEST_NAME); @@ -128,7 +128,7 @@ public void testSearchConnectorSimple() throws SchemaException{ @Test public void testSearchConnectorAnd() throws SchemaException{ - TestUtil.displayTestTile("testSearchConnectorAnd"); + TestUtil.displayTestTitle("testSearchConnectorAnd"); OperationResult result = new OperationResult(TestConnectorDiscovery.class.getName() + ".testSearchConnector"); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestConnectorManager.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestConnectorManager.java index 859fd308ac2..943ffbf322e 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestConnectorManager.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestConnectorManager.java @@ -73,7 +73,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100ListConnectorFactories() throws Exception { final String TEST_NAME = "test100ListConnectorFactories"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TestConnectorDiscovery.class.getName() + "." + TEST_NAME); @@ -104,7 +104,7 @@ public void test100ListConnectorFactories() throws Exception { @Test public void test110SelfTest() throws Exception { final String TEST_NAME = "test100ListConnectorFactories"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestConnectorDiscovery.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -122,7 +122,7 @@ public void test110SelfTest() throws Exception { @Test public void test120FrameworkVersion() throws Exception { final String TEST_NAME = "test120FrameworkVersion"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN String frameworkVersion = connectorManager.getFrameworkVersion(); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestDBTable.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestDBTable.java index 7d5e4829f96..313f2357f04 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestDBTable.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestDBTable.java @@ -126,7 +126,7 @@ public static void stopDb() throws Exception { @Test public void test000Integrity() throws ObjectNotFoundException, SchemaException { - TestUtil.displayTestTile("test000Integrity"); + TestUtil.displayTestTitle("test000Integrity"); OperationResult result = new OperationResult(TestDBTable.class.getName()+".test000Integrity"); @@ -140,7 +140,7 @@ public void test000Integrity() throws ObjectNotFoundException, SchemaException { @Test public void test001Connection() throws Exception { final String TEST_NAME = "test001Connection"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -165,7 +165,7 @@ public void test001Connection() throws Exception { @Test public void test002AddAccount() throws Exception { final String TEST_NAME = "test002AddAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDBTable.class.getName() + "." + TEST_NAME); @@ -215,7 +215,7 @@ public void test002AddAccount() throws Exception { @Test(enabled=false) public void test005GetAccount() throws Exception { final String TEST_NAME = "test005GetAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDBTable.class.getName() + "." + TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/csv/AbstractCsvTest.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/csv/AbstractCsvTest.java index d39993d3bf9..dd0653cc033 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/csv/AbstractCsvTest.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/csv/AbstractCsvTest.java @@ -139,7 +139,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Integrity() throws Exception { final String TEST_NAME = "test000Integrity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assertNotNull("Resource is null", resource); assertNotNull("ResourceType is null", resourceType); @@ -169,7 +169,7 @@ public void test000Integrity() throws Exception { @Test public void test003Connection() throws Exception { final String TEST_NAME = "test003Connection"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -219,7 +219,7 @@ public void test003Connection() throws Exception { @Test public void test004Configuration() throws Exception { final String TEST_NAME = "test004Configuration"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -243,7 +243,7 @@ public void test004Configuration() throws Exception { @Test public void test005ParsedSchema() throws Exception { final String TEST_NAME = "test005ParsedSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // THEN // The returned type should have the schema pre-parsed @@ -282,7 +282,7 @@ public void test005ParsedSchema() throws Exception { @Test public void test006Capabilities() throws Exception { final String TEST_NAME = "test006Capabilities"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDj.class.getName()+"."+TEST_NAME); @@ -327,7 +327,7 @@ private void assertScriptHost(ScriptCapabilityType capScript, ProvisioningScript @Test public void test100AddAccountJack() throws Exception { final String TEST_NAME = "test100AddAccountJack"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -346,7 +346,7 @@ public void test100AddAccountJack() throws Exception { @Test public void test110GetAccountJack() throws Exception { final String TEST_NAME = "test110GetAccountJack"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/AbstractBasicDummyTest.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/AbstractBasicDummyTest.java index fb263c2127b..fd33452b3a2 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/AbstractBasicDummyTest.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/AbstractBasicDummyTest.java @@ -160,7 +160,7 @@ public static void assertCleanShutdown() throws Exception { @Test public void test000Integrity() throws Exception { final String TEST_NAME = "test000Integrity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); display("Dummy resource instance", dummyResource.toString()); @@ -194,7 +194,7 @@ public void test000Integrity() throws Exception { @Test public void test010ListConnectors() throws Exception { final String TEST_NAME = "test010ListConnectors"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractBasicDummyTest.class.getName() + "." + TEST_NAME); @@ -245,7 +245,7 @@ public void test010ListConnectors() throws Exception { @Test public void test012ConnectorRediscovery() { final String TEST_NAME = "test012ConnectorRediscovery"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractBasicDummyTest.class.getName() + "." + TEST_NAME); @@ -266,7 +266,7 @@ public void test012ConnectorRediscovery() { @Test public void test015ListResourcesNoFetch() throws Exception { final String TEST_NAME = "test015ListResourcesNoFetch"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(AbstractBasicDummyTest.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -311,7 +311,7 @@ public void test015ListResourcesNoFetch() throws Exception { @Test public void test020Connection() throws Exception { final String TEST_NAME = "test020Connection"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -387,7 +387,7 @@ public void test020Connection() throws Exception { @Test public void test021Configuration() throws Exception { final String TEST_NAME = "test021Configuration"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractBasicDummyTest.class.getName() + "." + TEST_NAME); @@ -442,7 +442,7 @@ protected void assertConfigurationProperty(PrismProperty confProp) { @Test public void test022ParsedSchema() throws Exception { final String TEST_NAME = "test022ParsedSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN // THEN @@ -470,7 +470,7 @@ public void test022ParsedSchema() throws Exception { @Test public void test023RefinedSchema() throws Exception { final String TEST_NAME = "test023RefinedSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN // WHEN @@ -556,7 +556,7 @@ public void test023RefinedSchema() throws Exception { @Test public void test024ParsedSchemaAgain() throws Exception { final String TEST_NAME = "test024ParsedSchemaAgain"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN // THEN @@ -576,7 +576,7 @@ public void test024ParsedSchemaAgain() throws Exception { @Test public void test028Capabilities() throws Exception { final String TEST_NAME = "test028Capabilities"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractBasicDummyTest.class.getName() @@ -658,7 +658,7 @@ protected void assertNativeCredentialsCapability(CredentialsCapabilityType capCr @Test public void test029CapabilitiesRepo() throws Exception { final String TEST_NAME = "test029CapabilitiesRepo"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractBasicDummyTest.class.getName() @@ -718,7 +718,7 @@ public void test029CapabilitiesRepo() throws Exception { @Test public void test030ResourceAndConnectorCaching() throws Exception { - TestUtil.displayTestTile("test030ResourceAndConnectorCaching"); + TestUtil.displayTestTitle("test030ResourceAndConnectorCaching"); // GIVEN OperationResult result = new OperationResult(TestOpenDj.class.getName() @@ -798,7 +798,7 @@ public void test030ResourceAndConnectorCaching() throws Exception { @Test public void test031ResourceAndConnectorCachingForceFresh() throws Exception { - TestUtil.displayTestTile("test031ResourceAndConnectorCachingForceFresh"); + TestUtil.displayTestTitle("test031ResourceAndConnectorCachingForceFresh"); // GIVEN OperationResult result = new OperationResult(AbstractBasicDummyTest.class.getName() @@ -856,7 +856,7 @@ public void test031ResourceAndConnectorCachingForceFresh() throws Exception { @Test public void test040ApplyDefinitionShadow() throws Exception { final String TEST_NAME = "test040ApplyDefinitionShadow"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -882,7 +882,7 @@ public void test040ApplyDefinitionShadow() throws Exception { @Test public void test041ApplyDefinitionAddShadowDelta() throws Exception { final String TEST_NAME = "test041ApplyDefinitionAddShadowDelta"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -909,7 +909,7 @@ public void test041ApplyDefinitionAddShadowDelta() throws Exception { @Test public void test042ApplyDefinitionResource() throws Exception { final String TEST_NAME = "test042ApplyDefinitionResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -939,7 +939,7 @@ public void test042ApplyDefinitionResource() throws Exception { @Test public void test043ApplyDefinitionAddResourceDelta() throws Exception { final String TEST_NAME = "test043ApplyDefinitionAddResourceDelta"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -970,7 +970,7 @@ public void test043ApplyDefinitionAddResourceDelta() throws Exception { @Test public void test050SelfTest() throws Exception { final String TEST_NAME = "test050SelfTest"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -996,7 +996,7 @@ public void test050SelfTest() throws Exception { @Test public void test080TestAttributesToReturn() throws Exception { final String TEST_NAME = "test080TestAttributesToReturn"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(); @@ -1024,7 +1024,7 @@ public void test080TestAttributesToReturn() throws Exception { @Test public void test090ConnectorStatsAfterSomeUse() throws Exception { final String TEST_NAME = "test090ConnectorStatsAfterSomeUse"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1058,7 +1058,7 @@ public void test090ConnectorStatsAfterSomeUse() throws Exception { @Test public void test100AddAccountWill() throws Exception { final String TEST_NAME = "test100AddAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1185,7 +1185,7 @@ protected void checkRepoAccountShadowWill(PrismObject accountRepo, X @Test public void test102GetAccount() throws Exception { final String TEST_NAME = "test102GetAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractBasicDummyTest.class.getName() + "." + TEST_NAME); @@ -1226,7 +1226,7 @@ public void test102GetAccount() throws Exception { @Test public void test103GetAccountNoFetch() throws Exception { final String TEST_NAME="test103GetAccountNoFetch"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractBasicDummyTest.class.getName() + "."+TEST_NAME); @@ -1265,7 +1265,7 @@ public void test103GetAccountNoFetch() throws Exception { @Test public void test105ApplyDefinitionModifyDelta() throws Exception { final String TEST_NAME = "test105ApplyDefinitionModifyDelta"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1298,7 +1298,7 @@ public void test105ApplyDefinitionModifyDelta() throws Exception { @Test public void test106GetModifiedAccount() throws Exception { final String TEST_NAME = "test106GetModifiedAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractBasicDummyTest.class.getName() + "." + TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); @@ -1353,7 +1353,7 @@ public void test106GetModifiedAccount() throws Exception { @Test public void test999Shutdown() throws Exception { final String TEST_NAME = "test999Shutdown"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN provisioningService.shutdown(); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummy.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummy.java index 08e7920724b..58175c27d12 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummy.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummy.java @@ -181,7 +181,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test101AddAccountWithoutName() throws Exception { final String TEST_NAME = "test101AddAccountWithoutName"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task syncTask = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -253,7 +253,7 @@ public void test101AddAccountWithoutName() throws Exception { @Test public void test107AGetModifiedAccountFromCacheMax() throws Exception { final String TEST_NAME = "test107AGetModifiedAccountFromCacheMax"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); @@ -310,7 +310,7 @@ public void test107AGetModifiedAccountFromCacheMax() throws Exception { @Test public void test107BGetModifiedAccountFromCacheHighStaleness() throws Exception { final String TEST_NAME = "test107BGetModifiedAccountFromCacheHighStaleness"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); @@ -353,7 +353,7 @@ public void test107BGetModifiedAccountFromCacheHighStaleness() throws Exception @Test public void test108GetAccountLowStaleness() throws Exception { final String TEST_NAME = "test106GetModifiedAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); @@ -410,7 +410,7 @@ public void test108GetAccountLowStaleness() throws Exception { @Test public void test109ModifiedAccountCleanup() throws Exception { final String TEST_NAME = "test109ModifiedAccountCleanup"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -453,7 +453,7 @@ public void test109ModifiedAccountCleanup() throws Exception { @Test public void test110SeachIterative() throws Exception { final String TEST_NAME = "test110SeachIterative"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -574,7 +574,7 @@ public boolean handle(PrismObject object, OperationResult parentResu @Test public void test111SeachIterativeNoFetch() throws Exception { final String TEST_NAME = "test111SeachIterativeNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -634,7 +634,7 @@ public boolean handle(PrismObject shadow, OperationResult parentResu @Test public void test112SeachIterativeKindIntent() throws Exception { final String TEST_NAME = "test112SeachIterativeKindIntent"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -690,7 +690,7 @@ private int countProtected(List> shadows) @Test public void test113SearchAllShadowsInRepository() throws Exception { - TestUtil.displayTestTile("test113SearchAllShadowsInRepository"); + TestUtil.displayTestTitle("test113SearchAllShadowsInRepository"); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + ".test113SearchAllShadowsInRepository"); @@ -718,7 +718,7 @@ public void test113SearchAllShadowsInRepository() throws Exception { @Test public void test114SearchAllAccounts() throws Exception { final String TEST_NAME = "test114SearchAllAccounts"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -748,7 +748,7 @@ public void test114SearchAllAccounts() throws Exception { @Test public void test115CountAllAccounts() throws Exception { - TestUtil.displayTestTile("test115CountAllAccounts"); + TestUtil.displayTestTitle("test115CountAllAccounts"); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + ".test115countAllShadows"); @@ -774,7 +774,7 @@ public void test115CountAllAccounts() throws Exception { @Test public void test116SearchNullQueryResource() throws Exception { final String TEST_NAME = "test116SearchNullQueryResource"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -798,7 +798,7 @@ public void test116SearchNullQueryResource() throws Exception { @Test public void test117CountNullQueryResource() throws Exception { - TestUtil.displayTestTile("test117CountNullQueryResource"); + TestUtil.displayTestTitle("test117CountNullQueryResource"); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + ".test117CountNullQueryResource"); @@ -827,7 +827,7 @@ public void test117CountNullQueryResource() throws Exception { @Test public void test118SearchAllAccountsLongStaleness() throws Exception { final String TEST_NAME = "test118SearchAllAccountsLongStaleness"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -875,7 +875,7 @@ public void test118SearchAllAccountsLongStaleness() throws Exception { @Test public void test119SearchAllAccountsMaxStaleness() throws Exception { final String TEST_NAME = "test119SearchAllAccountsMaxStaleness"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -921,7 +921,7 @@ public void test119SearchAllAccountsMaxStaleness() throws Exception { @Test public void test123ModifyObjectReplace() throws Exception { final String TEST_NAME = "test123ModifyObjectReplace"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -954,7 +954,7 @@ public void test123ModifyObjectReplace() throws Exception { @Test public void test124ModifyObjectAddPirate() throws Exception { - TestUtil.displayTestTile("test124ModifyObjectAddPirate"); + TestUtil.displayTestTitle("test124ModifyObjectAddPirate"); Task syncTask = taskManager.createTaskInstance(TestDummy.class.getName() + ".test124ModifyObjectAddPirate"); @@ -990,7 +990,7 @@ public void test124ModifyObjectAddPirate() throws Exception { @Test public void test125ModifyObjectAddCaptain() throws Exception { - TestUtil.displayTestTile("test125ModifyObjectAddCaptain"); + TestUtil.displayTestTitle("test125ModifyObjectAddCaptain"); Task syncTask = taskManager.createTaskInstance(TestDummy.class.getName() + ".test125ModifyObjectAddCaptain"); @@ -1026,7 +1026,7 @@ public void test125ModifyObjectAddCaptain() throws Exception { @Test public void test126ModifyObjectDeletePirate() throws Exception { - TestUtil.displayTestTile("test126ModifyObjectDeletePirate"); + TestUtil.displayTestTitle("test126ModifyObjectDeletePirate"); Task syncTask = taskManager.createTaskInstance(TestDummy.class.getName() + ".test126ModifyObjectDeletePirate"); @@ -1065,7 +1065,7 @@ public void test126ModifyObjectDeletePirate() throws Exception { @Test public void test127ModifyObjectAddCaptainAgain() throws Exception { final String TEST_NAME = "test127ModifyObjectAddCaptainAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1102,7 +1102,7 @@ public void test127ModifyObjectAddCaptainAgain() throws Exception { @Test public void test128NullAttributeValue() throws Exception { final String TEST_NAME = "test128NullAttributeValue"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1132,7 +1132,7 @@ public void test128NullAttributeValue() throws Exception { @Test public void test131AddScript() throws Exception { final String TEST_NAME = "test131AddScript"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1188,7 +1188,7 @@ public void test131AddScript() throws Exception { @Test public void test132ModifyScript() throws Exception { final String TEST_NAME = "test132ModifyScript"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1237,7 +1237,7 @@ public void test132ModifyScript() throws Exception { @Test public void test133ModifyScriptNoExec() throws Exception { final String TEST_NAME = "test133ModifyScriptNoExec"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1279,7 +1279,7 @@ public void test133ModifyScriptNoExec() throws Exception { @Test public void test134DeleteScript() throws Exception { final String TEST_NAME = "test134DeleteScript"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1316,7 +1316,7 @@ public void test134DeleteScript() throws Exception { @Test public void test135ExecuteScript() throws Exception { final String TEST_NAME = "test135ExecuteScript"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1347,7 +1347,7 @@ public void test135ExecuteScript() throws Exception { @Test public void test150DisableAccount() throws Exception { final String TEST_NAME = "test150DisableAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1392,7 +1392,7 @@ public void test150DisableAccount() throws Exception { @Test public void test151SearchDisabledAccounts() throws Exception { final String TEST_NAME = "test151SearchDisabledAccounts"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1425,7 +1425,7 @@ public void test151SearchDisabledAccounts() throws Exception { @Test public void test152ActivationStatusUndefinedAccount() throws Exception { final String TEST_NAME = "test152ActivationStatusUndefinedAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1472,7 +1472,7 @@ public void test152ActivationStatusUndefinedAccount() throws Exception { @Test public void test154EnableAccount() throws Exception { final String TEST_NAME = "test154EnableAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1516,7 +1516,7 @@ public void test154EnableAccount() throws Exception { @Test public void test155SearchDisabledAccounts() throws Exception { final String TEST_NAME = "test155SearchDisabledAccounts"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1547,7 +1547,7 @@ public void test155SearchDisabledAccounts() throws Exception { @Test public void test156SetValidFrom() throws Exception { final String TEST_NAME = "test156SetValidFrom"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1594,7 +1594,7 @@ public void test156SetValidFrom() throws Exception { @Test public void test157SetValidTo() throws Exception { final String TEST_NAME = "test157SetValidTo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1642,7 +1642,7 @@ public void test157SetValidTo() throws Exception { @Test public void test158DeleteValidToValidFrom() throws Exception { final String TEST_NAME = "test158DeleteValidToValidFrom"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1696,7 +1696,7 @@ public void test158DeleteValidToValidFrom() throws Exception { @Test public void test159GetLockedoutAccount() throws Exception { final String TEST_NAME = "test159GetLockedoutAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -1737,7 +1737,7 @@ public void test159GetLockedoutAccount() throws Exception { @Test public void test160SearchLockedAccounts() throws Exception { final String TEST_NAME = "test160SearchLockedAccounts"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1770,7 +1770,7 @@ public void test160SearchLockedAccounts() throws Exception { @Test public void test162UnlockAccount() throws Exception { final String TEST_NAME = "test162UnlockAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1816,7 +1816,7 @@ public void test162UnlockAccount() throws Exception { @Test public void test163GetAccount() throws Exception { final String TEST_NAME = "test163GetAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -1857,7 +1857,7 @@ public void test163GetAccount() throws Exception { @Test public void test163SearchLockedAccounts() throws Exception { final String TEST_NAME = "test163SearchLockedAccounts"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -1887,7 +1887,7 @@ public void test163SearchLockedAccounts() throws Exception { @Test public void test170SearchNull() throws Exception { final String TEST_NAME = "test170SearchNull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); testSeachIterative(TEST_NAME, null, null, true, true, false, "meathook", "daemon", transformNameFromResource("morgan"), transformNameFromResource("Will")); } @@ -1895,7 +1895,7 @@ public void test170SearchNull() throws Exception { @Test public void test171SearchShipSeaMonkey() throws Exception { final String TEST_NAME = "test171SearchShipSeaMonkey"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); testSeachIterativeSingleAttrFilter(TEST_NAME, DummyResourceContoller.DUMMY_ACCOUNT_ATTRIBUTE_SHIP_NAME, "Sea Monkey", null, true, "meathook"); @@ -1905,7 +1905,7 @@ public void test171SearchShipSeaMonkey() throws Exception { @Test(enabled=false) public void test172SearchShipNull() throws Exception { final String TEST_NAME = "test172SearchShipNull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); testSeachIterativeSingleAttrFilter(TEST_NAME, DummyResourceContoller.DUMMY_ACCOUNT_ATTRIBUTE_SHIP_NAME, null, null, true, "daemon", "Will"); @@ -1914,7 +1914,7 @@ public void test172SearchShipNull() throws Exception { @Test public void test173SearchWeaponCutlass() throws Exception { final String TEST_NAME = "test173SearchWeaponCutlass"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // Make sure there is an account on resource that the provisioning has // never seen before, so there is no shadow @@ -1936,7 +1936,7 @@ public void test173SearchWeaponCutlass() throws Exception { @Test public void test175SearchUidExact() throws Exception { final String TEST_NAME = "test175SearchUidExact"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); dummyResource.setDisableNameHintChecks(true); testSeachIterativeSingleAttrFilter(TEST_NAME, SchemaConstants.ICFS_UID, willIcfUid, null, true, @@ -1947,7 +1947,7 @@ public void test175SearchUidExact() throws Exception { @Test public void test176SearchUidExactNoFetch() throws Exception { final String TEST_NAME = "test176SearchUidExactNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); testSeachIterativeSingleAttrFilter(TEST_NAME, SchemaConstants.ICFS_UID, willIcfUid, GetOperationOptions.createNoFetch(), false, transformNameFromResource("Will")); @@ -1956,7 +1956,7 @@ public void test176SearchUidExactNoFetch() throws Exception { @Test public void test177SearchIcfNameRepoized() throws Exception { final String TEST_NAME = "test177SearchIcfNameRepoized"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); testSeachIterativeSingleAttrFilter(TEST_NAME, SchemaConstants.ICFS_NAME, getWillRepoIcfName(), null, true, transformNameFromResource(ACCOUNT_WILL_USERNAME)); @@ -1965,7 +1965,7 @@ SchemaConstants.ICFS_NAME, getWillRepoIcfName(), null, true, @Test public void test180SearchIcfNameRepoizedNoFetch() throws Exception { final String TEST_NAME = "test180SearchIcfNameRepoizedNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); testSeachIterativeSingleAttrFilter(TEST_NAME, SchemaConstants.ICFS_NAME, getWillRepoIcfName(), GetOperationOptions.createNoFetch(), false, transformNameFromResource(ACCOUNT_WILL_USERNAME)); @@ -1974,7 +1974,7 @@ public void test180SearchIcfNameRepoizedNoFetch() throws Exception { @Test public void test181SearchIcfNameExact() throws Exception { final String TEST_NAME = "test181SearchIcfNameExact"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); testSeachIterativeSingleAttrFilter(TEST_NAME, SchemaConstants.ICFS_NAME, transformNameFromResource(ACCOUNT_WILL_USERNAME), null, true, transformNameFromResource(ACCOUNT_WILL_USERNAME)); @@ -1983,7 +1983,7 @@ SchemaConstants.ICFS_NAME, transformNameFromResource(ACCOUNT_WILL_USERNAME), nul @Test public void test182SearchIcfNameExactNoFetch() throws Exception { final String TEST_NAME = "test182SearchIcfNameExactNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); testSeachIterativeSingleAttrFilter(TEST_NAME, SchemaConstants.ICFS_NAME, transformNameFromResource(ACCOUNT_WILL_USERNAME), GetOperationOptions.createNoFetch(), false, transformNameFromResource(ACCOUNT_WILL_USERNAME)); @@ -1993,7 +1993,7 @@ public void test182SearchIcfNameExactNoFetch() throws Exception { @Test public void test183SearchIcfNameAndUidExactNoFetch() throws Exception { final String TEST_NAME = "test183SearchIcfNameAndUidExactNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); testSeachIterativeAlternativeAttrFilter(TEST_NAME, SchemaConstants.ICFS_NAME, transformNameFromResource(ACCOUNT_WILL_USERNAME), SchemaConstants.ICFS_UID, willIcfUid, GetOperationOptions.createNoFetch(), false, @@ -2004,7 +2004,7 @@ public void test183SearchIcfNameAndUidExactNoFetch() throws Exception { @Test public void test190SearchNone() throws Exception { final String TEST_NAME = "test190SearchNone"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); ObjectFilter attrFilter = NoneFilter.createNone(); testSeachIterative(TEST_NAME, attrFilter, null, true, true, false); } @@ -2017,7 +2017,7 @@ public void test190SearchNone() throws Exception { @Test public void test195SearchOnAndOffResource() throws Exception { final String TEST_NAME = "test195SearchOnAndOffResource"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -2059,7 +2059,7 @@ public boolean handle(PrismObject object, OperationResult parentResu @Test public void test196SearchOnAndOffResourceNoFetch() throws Exception { final String TEST_NAME = "test196SearchOnAndOffResourceNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -2220,7 +2220,7 @@ public boolean handle(PrismObject shadow, OperationResult parentResu @Test public void test200AddGroup() throws Exception { final String TEST_NAME = "test200AddGroup"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -2285,7 +2285,7 @@ public void test200AddGroup() throws Exception { @Test public void test202GetGroup() throws Exception { final String TEST_NAME = "test202GetGroup"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -2328,7 +2328,7 @@ private void checkGroupPirates(PrismObject shadow, OperationResult r @Test public void test203GetGroupNoFetch() throws Exception { final String TEST_NAME="test203GetGroupNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "."+TEST_NAME); @@ -2363,7 +2363,7 @@ public void test203GetGroupNoFetch() throws Exception { @Test public void test205ModifyGroupReplace() throws Exception { final String TEST_NAME = "test205ModifyGroupReplace"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -2405,7 +2405,7 @@ public void test205ModifyGroupReplace() throws Exception { @Test public void test210AddPrivilege() throws Exception { final String TEST_NAME = "test210AddPrivilege"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -2461,7 +2461,7 @@ public void test210AddPrivilege() throws Exception { @Test public void test212GetPriv() throws Exception { final String TEST_NAME = "test212GetPriv"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -2500,7 +2500,7 @@ private void checkPrivPillage(PrismObject shadow, OperationResult re @Test public void test214AddPrivilegeBargain() throws Exception { final String TEST_NAME = "test214AddPrivilegeBargain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -2574,7 +2574,7 @@ private void checkPrivBargain(PrismObject shadow, OperationResult re @Test public void test220EntitleAccountWillPirates() throws Exception { final String TEST_NAME = "test220EntitleAccountWillPirates"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -2620,7 +2620,7 @@ public void test220EntitleAccountWillPirates() throws Exception { @Test public void test221GetPirateWill() throws Exception { final String TEST_NAME = "test221GetPirateWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -2653,7 +2653,7 @@ public void test221GetPirateWill() throws Exception { @Test public void test222EntitleAccountWillPillage() throws Exception { final String TEST_NAME = "test222EntitleAccountWillPillage"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2709,7 +2709,7 @@ public void test222EntitleAccountWillPillage() throws Exception { @Test public void test223EntitleAccountWillBargain() throws Exception { final String TEST_NAME = "test223EntitleAccountWillBargain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2758,7 +2758,7 @@ public void test223EntitleAccountWillBargain() throws Exception { @Test public void test224GetPillagingPirateWill() throws Exception { final String TEST_NAME = "test224GetPillagingPirateWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2811,7 +2811,7 @@ public void test224GetPillagingPirateWill() throws Exception { @Test public void test225GetFoolishPirateWill() throws Exception { final String TEST_NAME = "test225GetFoolishPirateWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2882,7 +2882,7 @@ public void test225GetFoolishPirateWill() throws Exception { @Test public void test226WillNonsensePrivilege() throws Exception { final String TEST_NAME = "test226WillNonsensePrivilege"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2946,7 +2946,7 @@ public void test226WillNonsensePrivilege() throws Exception { @Test public void test230DetitleAccountWillPirates() throws Exception { final String TEST_NAME = "test230DetitleAccountWillPirates"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -3008,7 +3008,7 @@ public void test230DetitleAccountWillPirates() throws Exception { @Test public void test232DetitleAccountWillPillage() throws Exception { final String TEST_NAME = "test232DetitleAccountWillPillage"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -3057,7 +3057,7 @@ public void test232DetitleAccountWillPillage() throws Exception { @Test public void test234DetitleAccountWillBargain() throws Exception { final String TEST_NAME = "test234DetitleAccountWillBargain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -3104,7 +3104,7 @@ public void test234DetitleAccountWillBargain() throws Exception { @Test public void test260AddAccountLeChuck() throws Exception { final String TEST_NAME = "test260AddAccountLeChuck"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -3189,7 +3189,7 @@ public void test260AddAccountLeChuck() throws Exception { @Test public void test265DeleteAccountLeChuck() throws Exception { final String TEST_NAME = "test265DeleteAccountLeChuck"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -3240,7 +3240,7 @@ public void test265DeleteAccountLeChuck() throws Exception { @Test public void test298DeletePrivPillage() throws Exception { final String TEST_NAME = "test298DeletePrivPillage"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -3280,7 +3280,7 @@ public void test298DeletePrivPillage() throws Exception { @Test public void test299DeleteGroupPirates() throws Exception { final String TEST_NAME = "test299DeleteGroupPirates"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -3320,7 +3320,7 @@ public void test299DeleteGroupPirates() throws Exception { @Test public void test300AccountRename() throws Exception { final String TEST_NAME = "test300AccountRename"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -3373,14 +3373,14 @@ public void test300AccountRename() throws Exception { @Test public void test500AddProtectedAccount() throws Exception { final String TEST_NAME = "test500AddProtectedAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); testAddProtectedAccount(TEST_NAME, ACCOUNT_DAVIEJONES_USERNAME); } @Test public void test501GetProtectedAccountShadow() throws Exception { final String TEST_NAME = "test501GetProtectedAccountShadow"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -3404,7 +3404,7 @@ public void test501GetProtectedAccountShadow() throws Exception { @Test public void test502ModifyProtectedAccountShadowAttributes() throws Exception { final String TEST_NAME = "test502ModifyProtectedAccountShadowAttributes"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -3446,7 +3446,7 @@ public void test502ModifyProtectedAccountShadowAttributes() throws Exception { @Test public void test503ModifyProtectedAccountShadowProperty() throws Exception { final String TEST_NAME = "test503ModifyProtectedAccountShadowProperty"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -3475,7 +3475,7 @@ public void test503ModifyProtectedAccountShadowProperty() throws Exception { @Test public void test509DeleteProtectedAccountShadow() throws Exception { final String TEST_NAME = "test509DeleteProtectedAccountShadow"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -3504,7 +3504,7 @@ public void test509DeleteProtectedAccountShadow() throws Exception { @Test public void test510AddProtectedAccounts() throws Exception { final String TEST_NAME = "test510AddProtectedAccounts"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN testAddProtectedAccount(TEST_NAME, "Xavier"); testAddProtectedAccount(TEST_NAME, "Xenophobia"); @@ -3517,7 +3517,7 @@ public void test510AddProtectedAccounts() throws Exception { @Test public void test511AddProtectedAccountCaseIgnore() throws Exception { final String TEST_NAME = "test511AddProtectedAccountCaseIgnore"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN testAddAccount(TEST_NAME, "xaxa"); testAddAccount(TEST_NAME, "somebody-ADM"); @@ -3591,7 +3591,7 @@ private void testAddAccount(final String TEST_NAME, String username) throws Sche @Test public void test600AddAccountAlreadyExist() throws Exception { final String TEST_NAME = "test600AddAccountAlreadyExist"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -3636,7 +3636,7 @@ public void test600AddAccountAlreadyExist() throws Exception { @Test public void test800LiveSyncInit() throws Exception { final String TEST_NAME = "test800LiveSyncInit"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); syncTokenTask = taskManager.createTaskInstance(TestDummy.class.getName() + ".syncTask"); dummyResource.setSyncStyle(DummySyncStyle.DUMB); @@ -3671,7 +3671,7 @@ public void test800LiveSyncInit() throws Exception { @Test public void test801LiveSyncAddBlackbeard() throws Exception { final String TEST_NAME = "test801LiveSyncAddBlackbeard"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -3740,7 +3740,7 @@ public void test801LiveSyncAddBlackbeard() throws Exception { @Test public void test802LiveSyncModifyBlackbeard() throws Exception { final String TEST_NAME = "test802LiveSyncModifyBlackbeard"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -3900,7 +3900,7 @@ public void test849LiveSyncDeleteDrakeSmartAny() throws Exception { } public void testLiveSyncAddDrake(final String TEST_NAME, DummySyncStyle syncStyle, QName objectClass) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -3977,7 +3977,7 @@ public void testLiveSyncAddDrake(final String TEST_NAME, DummySyncStyle syncStyl } public void testLiveSyncModifyDrake(final String TEST_NAME, DummySyncStyle syncStyle, QName objectClass) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -4035,7 +4035,7 @@ public void testLiveSyncModifyDrake(final String TEST_NAME, DummySyncStyle syncS } public void testLiveSyncAddCorsairs(final String TEST_NAME, DummySyncStyle syncStyle, QName objectClass, boolean expectReaction) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -4111,7 +4111,7 @@ public void testLiveSyncAddCorsairs(final String TEST_NAME, DummySyncStyle syncS } public void testLiveSyncDeleteCorsairs(final String TEST_NAME, DummySyncStyle syncStyle, QName objectClass, boolean expectReaction) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -4190,7 +4190,7 @@ public void testLiveSyncDeleteCorsairs(final String TEST_NAME, DummySyncStyle sy } public void testLiveSyncDeleteDrake(final String TEST_NAME, DummySyncStyle syncStyle, QName objectClass) throws Exception { - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -4251,7 +4251,7 @@ public void testLiveSyncDeleteDrake(final String TEST_NAME, DummySyncStyle syncS @Test public void test890LiveSyncModifyProtectedAccount() throws Exception { final String TEST_NAME = "test890LiveSyncModifyProtectedAccount"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task syncTask = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); OperationResult result = syncTask.getResult(); @@ -4286,7 +4286,7 @@ public void test890LiveSyncModifyProtectedAccount() throws Exception { @Test public void test901FailResourceNotFound() throws Exception { final String TEST_NAME = "test901FailResourceNotFound"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaching.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaching.java index fea1ef0dede..de703916ad8 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaching.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaching.java @@ -88,7 +88,7 @@ protected File getResourceDummyFilename() { @Override public void test107AGetModifiedAccountFromCacheMax() throws Exception { final String TEST_NAME = "test107AGetModifiedAccountFromCacheMax"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); @@ -156,7 +156,7 @@ public void test107AGetModifiedAccountFromCacheMax() throws Exception { @Override public void test107BGetModifiedAccountFromCacheHighStaleness() throws Exception { final String TEST_NAME = "test107BGetModifiedAccountFromCacheHighStaleness"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); rememberCounter(InternalCounters.SHADOW_FETCH_OPERATION_COUNT); @@ -224,7 +224,7 @@ public void test107BGetModifiedAccountFromCacheHighStaleness() throws Exception @Override public void test119SearchAllAccountsMaxStaleness() throws Exception { final String TEST_NAME = "test119SearchAllAccountsMaxStaleness"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaseIgnore.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaseIgnore.java index 6e190e826c6..03d13b5b359 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaseIgnore.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaseIgnore.java @@ -100,7 +100,7 @@ protected boolean isAvoidDuplicateValues() { @Test public void test175SearchUidCase() throws Exception { final String TEST_NAME = "test175SearchUidCase"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); testSeachIterativeSingleAttrFilter(TEST_NAME, SchemaConstants.ICFS_UID, "wIlL", null, true, transformNameFromResource("Will")); @@ -109,7 +109,7 @@ public void test175SearchUidCase() throws Exception { @Test public void test176SearchUidCaseNoFetch() throws Exception { final String TEST_NAME = "test176SearchUidCaseNoFetch"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); testSeachIterativeSingleAttrFilter(TEST_NAME, SchemaConstants.ICFS_UID, "wIlL", GetOperationOptions.createNoFetch(), false, transformNameFromResource("Will")); @@ -121,7 +121,7 @@ public void test176SearchUidCaseNoFetch() throws Exception { @Test public void test280EntitleAccountWillPiratesAlreadyThere() throws Exception { final String TEST_NAME = "test280EntitleAccountWillPiratesAlreadyThere"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -162,7 +162,7 @@ public void test280EntitleAccountWillPiratesAlreadyThere() throws Exception { @Test public void test282DetitleAccountWillPirates() throws Exception { final String TEST_NAME = "test282DetitleAccountWillPirates"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -203,7 +203,7 @@ public void test282DetitleAccountWillPirates() throws Exception { @Test public void test285EntitleAccountWillPiratesAlreadyThereCaseIgnore() throws Exception { final String TEST_NAME = "test285EntitleAccountWillPiratesAlreadyThereCaseIgnore"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -244,7 +244,7 @@ public void test285EntitleAccountWillPiratesAlreadyThereCaseIgnore() throws Exce @Test public void test289DetitleAccountWillPirates() throws Exception { final String TEST_NAME = "test289DetitleAccountWillPirates"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -284,7 +284,7 @@ public void test289DetitleAccountWillPirates() throws Exception { @Test public void test511AddProtectedAccountCaseIgnore() throws Exception { final String TEST_NAME = "test511AddProtectedAccountCaseIgnore"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN testAddProtectedAccount(TEST_NAME, "xaxa"); testAddProtectedAccount(TEST_NAME, "somebody-ADM"); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyExtra.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyExtra.java index a8d6e070ff0..1e548757604 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyExtra.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyExtra.java @@ -116,7 +116,7 @@ protected void assertNativeCredentialsCapability(CredentialsCapabilityType capCr @Test public void test400AddAccountElizabeth() throws Exception { final String TEST_NAME = "test400AddAccountElizabeth"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -166,7 +166,7 @@ public void test400AddAccountElizabeth() throws Exception { @Test public void test410AssociateCrewWillElizabeth() throws Exception { final String TEST_NAME = "test410AssociateCrewWillElizabeth"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -212,7 +212,7 @@ public void test410AssociateCrewWillElizabeth() throws Exception { @Test public void test419DisassociateCrewWillElizabeth() throws Exception { final String TEST_NAME = "test419DisassociateCrewWillElizabeth"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -257,7 +257,7 @@ public void test419DisassociateCrewWillElizabeth() throws Exception { @Test public void test499DeleteAccountElizabeth() throws Exception { final String TEST_NAME = "test499DeleteAccountElizabeth"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyHacks.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyHacks.java index f6070778084..35541c3aedc 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyHacks.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyHacks.java @@ -137,7 +137,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test003Connection() throws Exception { final String TEST_NAME = "test003Connection"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyLegacy.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyLegacy.java index 8721cad1e29..95a0f72d342 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyLegacy.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyLegacy.java @@ -109,7 +109,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100NativeIntegrity() throws Exception { final String TEST_NAME = "test100NativeIntegrity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); display("Dummy resource instance", dummyResourceNative.toString()); @@ -126,7 +126,7 @@ public void test100NativeIntegrity() throws Exception { @Test public void test103NativeTestResource() throws Exception { final String TEST_NAME = "test103NativeTestResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -166,7 +166,7 @@ public void test103NativeTestResource() throws Exception { @Test public void test105NativeParsedSchema() throws Exception { final String TEST_NAME = "test105NativeParsedSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummyLegacy.class.getName() + "." + TEST_NAME); @@ -195,7 +195,7 @@ public void test105NativeParsedSchema() throws Exception { @Test public void test200LegacyIntegrity() throws Exception { final String TEST_NAME = "test200LegacyIntegrity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); display("Dummy resource instance", dummyResourceLegacy.toString()); @@ -212,7 +212,7 @@ public void test200LegacyIntegrity() throws Exception { @Test public void test203LegacyTestResource() throws Exception { final String TEST_NAME = "test203LegacyTestResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -252,7 +252,7 @@ public void test203LegacyTestResource() throws Exception { @Test public void test205LegacyParsedSchema() throws Exception { final String TEST_NAME = "test205LegacyParsedSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummyLegacy.class.getName() + "." + TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNegative.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNegative.java index 2248302ecd6..53e7f1102b3 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNegative.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNegative.java @@ -84,7 +84,7 @@ public void test113GetResourceBrokenSchemaRuntime() throws Exception { } public void testGetResourceBrokenSchema(BreakMode breakMode, String testName) throws Exception { - TestUtil.displayTestTile(testName); + TestUtil.displayTestTitle(testName); // GIVEN OperationResult result = new OperationResult(TestDummyNegative.class.getName() + "."+testName); @@ -121,7 +121,7 @@ public void testGetResourceBrokenSchema(BreakMode breakMode, String testName) th @Test public void test190GetResource() throws Exception { final String TEST_NAME = "test190GetResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -143,7 +143,7 @@ public void test190GetResource() throws Exception { @Test public void test200AddAccountNullAttributes() throws Exception { final String TEST_NAME = "test200AddAccountNullAttributes"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -174,7 +174,7 @@ public void test200AddAccountNullAttributes() throws Exception { @Test public void test201AddAccountEmptyAttributes() throws Exception { - TestUtil.displayTestTile("test201AddAccountEmptyAttributes"); + TestUtil.displayTestTitle("test201AddAccountEmptyAttributes"); // GIVEN Task task = taskManager.createTaskInstance(TestDummyNegative.class.getName() + ".test201AddAccountEmptyAttributes"); @@ -205,7 +205,7 @@ public void test201AddAccountEmptyAttributes() throws Exception { @Test public void test210AddAccountNoObjectclass() throws Exception { - TestUtil.displayTestTile("test210AddAccountNoObjectclass"); + TestUtil.displayTestTitle("test210AddAccountNoObjectclass"); // GIVEN Task task = taskManager.createTaskInstance(TestDummyNegative.class.getName() + ".test210AddAccountNoObjectclass"); @@ -239,7 +239,7 @@ public void test210AddAccountNoObjectclass() throws Exception { @Test public void test220AddAccountNoResourceRef() throws Exception { final String TEST_NAME = "test220AddAccountNoResourceRef"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummyNegative.class.getName() + "." + TEST_NAME); @@ -271,7 +271,7 @@ public void test220AddAccountNoResourceRef() throws Exception { @Test public void test221DeleteAccountResourceNotFound() throws Exception { final String TEST_NAME = "test221DeleteAccountResourceNotFound"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummyNegative.class.getName() + "." + TEST_NAME); @@ -308,7 +308,7 @@ public void test221DeleteAccountResourceNotFound() throws Exception { @Test public void test230GetAccountDeletedShadow() throws Exception { final String TEST_NAME = "test230GetAccountDeletedShadow"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummyNegative.class.getName() + "." + TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNoActivation.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNoActivation.java index db1e14c673d..fc833571513 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNoActivation.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNoActivation.java @@ -82,7 +82,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Override public void test150DisableAccount() throws Exception { final String TEST_NAME = "test150DisableAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -129,7 +129,7 @@ public void test151SearchDisabledAccounts() throws Exception { @Override public void test152ActivationStatusUndefinedAccount() throws Exception { final String TEST_NAME = "test152ActivationStatusUndefinedAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -173,7 +173,7 @@ public void test152ActivationStatusUndefinedAccount() throws Exception { @Override public void test154EnableAccount() throws Exception { final String TEST_NAME = "test154EnableAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -222,7 +222,7 @@ public void test155SearchDisabledAccounts() throws Exception { @Override public void test156SetValidFrom() throws Exception { final String TEST_NAME = "test156SetValidFrom"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -268,7 +268,7 @@ public void test156SetValidFrom() throws Exception { @Override public void test157SetValidTo() throws Exception { final String TEST_NAME = "test157SetValidTo"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -313,7 +313,7 @@ public void test157SetValidTo() throws Exception { @Override public void test158DeleteValidToValidFrom() throws Exception { final String TEST_NAME = "test158DeleteValidToValidFrom"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -376,7 +376,7 @@ public void test160SearchLockedAccounts() throws Exception { @Override public void test162UnlockAccount() throws Exception { final String TEST_NAME = "test162UnlockAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyPrioritiesAndReadReplace.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyPrioritiesAndReadReplace.java index 4a9245ba15e..c929010a972 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyPrioritiesAndReadReplace.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyPrioritiesAndReadReplace.java @@ -108,7 +108,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100AddAccount() throws Exception { final String TEST_NAME = "test100AddAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -191,7 +191,7 @@ public void test100AddAccount() throws Exception { @Test public void test123ModifyObjectReplace() throws Exception { final String TEST_NAME = "test123ModifyObjectReplace"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummyPrioritiesAndReadReplace.class.getName() + "." + TEST_NAME); @@ -280,7 +280,7 @@ private Collection parseUpdatedAttributes(String attributes) { @Test public void test150ModifyObjectAddDelete() throws Exception { final String TEST_NAME = "test150ModifyObjectAddDelete"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummyPrioritiesAndReadReplace.class.getName() + "." + TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyResourceAndSchemaCaching.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyResourceAndSchemaCaching.java index 510e5248156..67d54522318 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyResourceAndSchemaCaching.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyResourceAndSchemaCaching.java @@ -79,7 +79,7 @@ public class TestDummyResourceAndSchemaCaching extends AbstractDummyTest { @Test public void test010GetResource() throws Exception { final String TEST_NAME = "test010GetResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummyResourceAndSchemaCaching.class.getName() + "." + TEST_NAME); @@ -142,7 +142,7 @@ public void test010GetResource() throws Exception { @Test public void test011GetResourceAgain() throws Exception { final String TEST_NAME = "test011GetResourceAgain"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummyResourceAndSchemaCaching.class.getName() + "." + TEST_NAME); @@ -212,7 +212,7 @@ public void test011GetResourceAgain() throws Exception { @Test public void test012AddAccountGetResource() throws Exception { final String TEST_NAME = "test012AddAccountGetResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummyResourceAndSchemaCaching.class.getName() + "." + TEST_NAME); @@ -260,7 +260,7 @@ public void test012AddAccountGetResource() throws Exception { @Test public void test020ModifyAndGetResource() throws Exception { final String TEST_NAME = "test020ModifyAndGetResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummyResourceAndSchemaCaching.class.getName() + "." + TEST_NAME); @@ -321,7 +321,7 @@ public void test020ModifyAndGetResource() throws Exception { @Test public void test022GetAccountGetResource() throws Exception { final String TEST_NAME = "test012AddAccountGetResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummyResourceAndSchemaCaching.class.getName() + "." + TEST_NAME); @@ -371,7 +371,7 @@ public void test022GetAccountGetResource() throws Exception { @Test public void test023ModifyRepoAndGetResource() throws Exception { final String TEST_NAME = "test023ModifyRepoAndGetResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummyResourceAndSchemaCaching.class.getName() + "." + TEST_NAME); @@ -432,7 +432,7 @@ public void test023ModifyRepoAndGetResource() throws Exception { @Test public void test030ModifyConnectorConfigAndGetResource() throws Exception { final String TEST_NAME = "test030ModifyConnectorConfigAndGetResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummyResourceAndSchemaCaching.class.getName() + "." + TEST_NAME); @@ -464,7 +464,7 @@ public void test030ModifyConnectorConfigAndGetResource() throws Exception { @Test public void test031ModifyConnectorConfigRepoAndGetResource() throws Exception { final String TEST_NAME = "test031ModifyConnectorConfigRepoAndGetResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummyResourceAndSchemaCaching.class.getName() + "." + TEST_NAME); @@ -489,7 +489,7 @@ public void test031ModifyConnectorConfigRepoAndGetResource() throws Exception { @Test public void test900DeleteResource() throws Exception { final String TEST_NAME = "test900DeleteResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestDummyResourceAndSchemaCaching.class.getName() + "." + TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummySchemaless.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummySchemaless.java index 9a39a472136..bf860537335 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummySchemaless.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummySchemaless.java @@ -146,7 +146,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Integrity() throws Exception { final String TEST_NAME = "test000Integrity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); display("Dummy resource instance", dummyResourceSchemaless.toString()); @@ -179,7 +179,7 @@ public void test000Integrity() throws Exception { @Test public void test003ConnectionSchemaless() throws Exception { final String TEST_NAME = "test003ConnectionSchemaless"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -221,7 +221,7 @@ public void test003ConnectionSchemaless() throws Exception { @Test public void test005ParsedSchemaSchemaless() throws Exception { final String TEST_NAME = "test005ParsedSchemaSchemaless"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummySchemaless.class.getName() + "." + TEST_NAME); @@ -240,7 +240,7 @@ public void test005ParsedSchemaSchemaless() throws Exception { @Test public void test006GetObjectSchemaless() throws Exception { final String TEST_NAME = "test006GetObjectSchemaless"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummySchemaless.class.getName() + "." + TEST_NAME); @@ -261,7 +261,7 @@ public void test006GetObjectSchemaless() throws Exception { @Test public void test103ConnectionStaticSchema() throws Exception { final String TEST_NAME = "test103ConnectionStaticSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -302,7 +302,7 @@ public void test103ConnectionStaticSchema() throws Exception { @Test public void test105ParsedSchemaStaticSchema() throws Exception { final String TEST_NAME = "test105ParsedSchemaStaticSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummySchemaless.class.getName() + "." + TEST_NAME); @@ -322,7 +322,7 @@ public void test105ParsedSchemaStaticSchema() throws Exception { @Test public void test106GetObjectStaticSchema() throws Exception { final String TEST_NAME = "test106GetObjectStaticSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummySchemaless.class.getName() + "." + TEST_NAME); @@ -343,7 +343,7 @@ public void test106GetObjectStaticSchema() throws Exception { @Test public void test107Capabilities() throws Exception { final String TEST_NAME = "test107Capabilities"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -400,7 +400,7 @@ public void test107Capabilities() throws Exception { @Test public void test200AddAccount() throws Exception { final String TEST_NAME = "test200AddAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummySecurity.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummySecurity.java index 9b94c8e3ea9..adfc7b30859 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummySecurity.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummySecurity.java @@ -70,7 +70,7 @@ public class TestDummySecurity extends AbstractDummyTest { @Test public void test100AddAccountDrink() throws Exception { final String TEST_NAME = "test100AddAccountDrink"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task syncTask = taskManager.createTaskInstance(TestDummySecurity.class.getName() + "." + TEST_NAME); @@ -109,7 +109,7 @@ private void setAttribute(PrismObject account, String attrName, @Test public void test199AddAccount() throws Exception { final String TEST_NAME = "test199AddAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task syncTask = taskManager.createTaskInstance(TestDummySecurity.class.getName() + "." + TEST_NAME); @@ -139,7 +139,7 @@ public void test199AddAccount() throws Exception { @Test public void test200ModifyAccountDrink() throws Exception { final String TEST_NAME = "test200ModifyAccountDrink"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -173,7 +173,7 @@ public void test200ModifyAccountDrink() throws Exception { @Test public void test201ModifyAccountGossip() throws Exception { final String TEST_NAME = "test201ModifyAccountGossip"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -207,7 +207,7 @@ public void test201ModifyAccountGossip() throws Exception { @Test public void test210ModifyAccountQuote() throws Exception { final String TEST_NAME = "test210ModifyAccountQuote"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestDummy.class.getName() + "." + TEST_NAME); @@ -238,7 +238,7 @@ public void test210ModifyAccountQuote() throws Exception { @Test public void test300GetAccount() throws Exception { final String TEST_NAME = "test300GetAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); @@ -263,7 +263,7 @@ public void test300GetAccount() throws Exception { @Test public void test310SearchAllShadows() throws Exception { final String TEST_NAME = "test310SearchAllShadows"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestDummy.class.getName() + "." + TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyUuidNonUniqueName.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyUuidNonUniqueName.java index 12cabe6df01..318036e67ea 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyUuidNonUniqueName.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyUuidNonUniqueName.java @@ -96,7 +96,7 @@ protected boolean isNameUnique() { @Test public void test770AddAccountFettuciniAlfredo() throws Exception { final String TEST_NAME = "test770AddAccountFettuciniAlfredo"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); addFettucini(TEST_NAME, ACCOUNT_FETTUCINI_ALFREDO_FILE, ACCOUNT_FETTUCINI_ALFREDO_OID, ACCOUNT_FETTUCINI_ALFREDO_FULLNAME); searchFettucini(1); } @@ -104,7 +104,7 @@ public void test770AddAccountFettuciniAlfredo() throws Exception { @Test public void test772AddAccountFettuciniBill() throws Exception { final String TEST_NAME = "test772AddAccountFettuciniBill"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); addFettucini(TEST_NAME, ACCOUNT_FETTUCINI_BILL_FILE, ACCOUNT_FETTUCINI_BILL_OID, ACCOUNT_FETTUCINI_BILL_FULLNAME); searchFettucini(2); } @@ -115,7 +115,7 @@ public void test772AddAccountFettuciniBill() throws Exception { @Test public void test774AddAccountFettuciniCarlo() throws Exception { final String TEST_NAME = "test774AddAccountFettuciniCarlo"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); dummyResourceCtl.addAccount(ACCOUNT_FETTUCINI_NAME, ACCOUNT_FETTUCINI_CARLO_FULLNAME); searchFettucini(3); } diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/manual/AbstractManualResourceTest.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/manual/AbstractManualResourceTest.java index ac6d81b069d..aa8ded7cc0a 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/manual/AbstractManualResourceTest.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/manual/AbstractManualResourceTest.java @@ -191,7 +191,7 @@ protected boolean supportsBackingStore() { @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); assertNotNull("Resource is null", resource); assertNotNull("ResourceType is null", resourceType); @@ -216,7 +216,7 @@ public void test000Sanity() throws Exception { @Test public void test003Connection() throws Exception { final String TEST_NAME = "test003Connection"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -269,7 +269,7 @@ public void test003Connection() throws Exception { @Test public void test004Configuration() throws Exception { final String TEST_NAME = "test004Configuration"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractManualResourceTest.class.getName() + "." + TEST_NAME); @@ -294,7 +294,7 @@ public void test004Configuration() throws Exception { @Test public void test005ParsedSchema() throws Exception { final String TEST_NAME = "test005ParsedSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(AbstractManualResourceTest.class.getName() + "." + TEST_NAME); @@ -344,7 +344,7 @@ protected int getNumberOfAccountAttributeDefinitions() { @Test public void test006Capabilities() throws Exception { final String TEST_NAME = "test006Capabilities"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDj.class.getName()+"."+TEST_NAME); @@ -381,7 +381,7 @@ public void test006Capabilities() throws Exception { @Test public void test100AddAccountWill() throws Exception { final String TEST_NAME = "test100AddAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -445,7 +445,7 @@ public void test100AddAccountWill() throws Exception { @Test public void test102GetAccountWillFuture() throws Exception { final String TEST_NAME = "test102GetAccountWillFuture"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -480,7 +480,7 @@ public void test102GetAccountWillFuture() throws Exception { @Test public void test104RefreshAccountWill() throws Exception { final String TEST_NAME = "test104RefreshAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -535,7 +535,7 @@ protected void backingStoreAddWill() throws IOException { @Test public void test106AddToBackingStoreAndGetAccountWill() throws Exception { final String TEST_NAME = "test106AddToBackingStoreAndGetAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -577,7 +577,7 @@ public void test106AddToBackingStoreAndGetAccountWill() throws Exception { @Test public void test108GetAccountWillFuture() throws Exception { final String TEST_NAME = "test108GetAccountWillFuture"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -621,7 +621,7 @@ public void test108GetAccountWillFuture() throws Exception { @Test public void test109GetAccountWillFutureNoFetch() throws Exception { final String TEST_NAME = "test109GetAccountWillFutureNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -661,7 +661,7 @@ public void test109GetAccountWillFutureNoFetch() throws Exception { @Test public void test110CloseCaseAndRefreshAccountWill() throws Exception { final String TEST_NAME = "test110CloseCaseAndRefreshAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -724,7 +724,7 @@ public void test110CloseCaseAndRefreshAccountWill() throws Exception { @Test public void test120RefreshAccountWillAfter5min() throws Exception { final String TEST_NAME = "test120RefreshAccountWillAfter5min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -771,7 +771,7 @@ public void test120RefreshAccountWillAfter5min() throws Exception { @Test public void test130RefreshAccountWillAfter25min() throws Exception { final String TEST_NAME = "test130RefreshAccountWillAfter25min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -808,7 +808,7 @@ public void test130RefreshAccountWillAfter25min() throws Exception { @Test public void test200ModifyAccountWillFullname() throws Exception { final String TEST_NAME = "test200ModifyAccountWillFullname"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -881,7 +881,7 @@ ACCOUNT_WILL_OID, new ItemPath(ShadowType.F_ATTRIBUTES, ATTR_FULLNAME_QNAME), pr @Test public void test202RefreshAccountWill() throws Exception { final String TEST_NAME = "test202RefreshAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -946,7 +946,7 @@ public void test202RefreshAccountWill() throws Exception { @Test public void test204CloseCaseAndRefreshAccountWill() throws Exception { final String TEST_NAME = "test204CloseCaseAndRefreshAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1028,7 +1028,7 @@ public void test204CloseCaseAndRefreshAccountWill() throws Exception { @Test public void test210RefreshAccountWillAfter5min() throws Exception { final String TEST_NAME = "test210RefreshAccountWillAfter5min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1097,7 +1097,7 @@ protected void backingStoreUpdateWill(String newFullName, ActivationStatusType n @Test public void test212UpdateBackingStoreAndGetAccountWill() throws Exception { final String TEST_NAME = "test212UpdateBackingStoreAndGetAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1162,7 +1162,7 @@ public void test212UpdateBackingStoreAndGetAccountWill() throws Exception { @Test public void test220ModifyAccountWillDisable() throws Exception { final String TEST_NAME = "test220ModifyAccountWillDisable"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1246,7 +1246,7 @@ public void test220ModifyAccountWillDisable() throws Exception { @Test public void test230ModifyAccountWillChangePasswordAndEnable() throws Exception { final String TEST_NAME = "test230ModifyAccountWillChangePasswordAndEnable"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1336,7 +1336,7 @@ public void test230ModifyAccountWillChangePasswordAndEnable() throws Exception { @Test public void test240CloseDisableCaseAndReadAccountWill() throws Exception { final String TEST_NAME = "test240CloseDisableCaseAndReadAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1430,7 +1430,7 @@ public void test240CloseDisableCaseAndReadAccountWill() throws Exception { @Test public void test250RefreshAccountWillAfter5min() throws Exception { final String TEST_NAME = "test250RefreshAccountWillAfter5min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1518,7 +1518,7 @@ public void test250RefreshAccountWillAfter5min() throws Exception { @Test public void test252UpdateBackingStoreAndGetAccountWill() throws Exception { final String TEST_NAME = "test252UpdateBackingStoreAndGetAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1584,7 +1584,7 @@ public void test252UpdateBackingStoreAndGetAccountWill() throws Exception { @Test public void test260ClosePasswordChangeCaseAndRefreshAccountWill() throws Exception { final String TEST_NAME = "test260ClosePasswordChangeCaseAndRefreshAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1683,7 +1683,7 @@ public void test260ClosePasswordChangeCaseAndRefreshAccountWill() throws Excepti @Test public void test270RefreshAccountWillAfter10min() throws Exception { final String TEST_NAME = "test130RefreshAccountWillAfter10min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1773,7 +1773,7 @@ public void test270RefreshAccountWillAfter10min() throws Exception { @Test public void test272UpdateBackingStoreAndGetAccountWill() throws Exception { final String TEST_NAME = "test272UpdateBackingStoreAndGetAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1838,7 +1838,7 @@ public void test272UpdateBackingStoreAndGetAccountWill() throws Exception { @Test public void test280RefreshAccountWillAfter5min() throws Exception { final String TEST_NAME = "test132RefreshAccountWillAfter10min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1927,7 +1927,7 @@ public void test280RefreshAccountWillAfter5min() throws Exception { @Test public void test290RefreshAccountWillAfter5min() throws Exception { final String TEST_NAME = "test134RefreshAccountWillAfter5min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1993,7 +1993,7 @@ public void test290RefreshAccountWillAfter5min() throws Exception { @Test public void test300DeleteAccountWill() throws Exception { final String TEST_NAME = "test300DeleteAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2063,7 +2063,7 @@ public void test300DeleteAccountWill() throws Exception { @Test public void test302GetAccountWillFuture() throws Exception { final String TEST_NAME = "test302GetAccountWillFuture"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2089,7 +2089,7 @@ public void test302GetAccountWillFuture() throws Exception { @Test public void test303GetAccountWillFutureNoFetch() throws Exception { final String TEST_NAME = "test303GetAccountWillFutureNoFetch"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2122,7 +2122,7 @@ public void test303GetAccountWillFutureNoFetch() throws Exception { @Test public void test310CloseCaseAndRefreshAccountWill() throws Exception { final String TEST_NAME = "test310CloseCaseAndRefreshAccountWill"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2189,7 +2189,7 @@ public void test310CloseCaseAndRefreshAccountWill() throws Exception { @Test public void test320RefreshAccountWillAfter5min() throws Exception { final String TEST_NAME = "test320RefreshAccountWillAfter5min"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDj.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDj.java index a0efc5bec35..16d23f28de8 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDj.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDj.java @@ -209,7 +209,7 @@ public static void stopLdap() throws Exception { @Test public void test003Connection() throws Exception { final String TEST_NAME = "test003Connection"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -260,7 +260,7 @@ public void test003Connection() throws Exception { @Test public void test004ResourceAndConnectorCaching() throws Exception { final String TEST_NAME = "test004ResourceAndConnectorCaching"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -304,7 +304,7 @@ public void test004ResourceAndConnectorCaching() throws Exception { @Test public void test005Capabilities() throws Exception { final String TEST_NAME = "test005Capabilities"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -378,7 +378,7 @@ protected void assertPasswordCapability(PasswordCapabilityType capPassword) { @Test public void test006Schema() throws Exception { final String TEST_NAME = "test006RefinedSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN // WHEN @@ -545,7 +545,7 @@ public void test006Schema() throws Exception { @Test public void test007RefinedSchema() throws Exception { final String TEST_NAME = "test007RefinedSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN // WHEN @@ -662,7 +662,7 @@ public void test007RefinedSchema() throws Exception { @Test public void test020ListResourceObjects() throws Exception { final String TEST_NAME = "test020ListResourceObjects"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -683,7 +683,7 @@ public void test020ListResourceObjects() throws Exception { @Test public void test110GetObject() throws Exception { final String TEST_NAME = "test110GetObject"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -763,7 +763,7 @@ protected void assertShadowPassword(ShadowType provisioningShadow) throws Except @Test public void test111GetObjectNotFoundRepo() throws Exception { final String TEST_NAME = "test111GetObjectNotFoundRepo"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -798,7 +798,7 @@ public void test111GetObjectNotFoundRepo() throws Exception { @Test public void test112GetObjectNotFoundResource() throws Exception { final String TEST_NAME = "test112GetObjectNotFoundResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -838,7 +838,7 @@ public void test112GetObjectNotFoundResource() throws Exception { @Test public void test120AddAccountWill() throws Exception { final String TEST_NAME = "test120AddAccountWill"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -866,7 +866,7 @@ public void test120AddAccountWill() throws Exception { @Test public void test121RenameAccountWillOnResource() throws Exception{ String TEST_NAME = "test121RenameAccountWillOnResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -897,7 +897,7 @@ public void test121RenameAccountWillOnResource() throws Exception{ @Test public void test125AddObjectNull() throws Exception { final String TEST_NAME = "test125AddObjectNull"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -920,7 +920,7 @@ public void test125AddObjectNull() throws Exception { @Test public void test130AddDeleteAccountSparrow() throws Exception { final String TEST_NAME = "test130AddDeleteAccountSparrow"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -966,7 +966,7 @@ public void test130AddDeleteAccountSparrow() throws Exception { @Test public void test140AddAndModifyAccountJack() throws Exception { final String TEST_NAME = "test140AddAndModifyAccountJack"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1037,7 +1037,7 @@ public void test140AddAndModifyAccountJack() throws Exception { @Test public void test145ModifyAccountJackJpegPhoto() throws Exception { final String TEST_NAME = "test145ModifyAccountJackJpegPhoto"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1095,7 +1095,7 @@ public void test145ModifyAccountJackJpegPhoto() throws Exception { @Test public void test147ModifyAccountJackGivenNameDuplicit() throws Exception { final String TEST_NAME = "test147ModifyAccountJackGivenNameDuplicit"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1147,7 +1147,7 @@ public void test147ModifyAccountJackGivenNameDuplicit() throws Exception { @Test public void test150ChangePassword() throws Exception { final String TEST_NAME = "test150ChangePassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1202,7 +1202,7 @@ public void test150ChangePassword() throws Exception { @Test public void test151AddObjectWithPassword() throws Exception { final String TEST_NAME = "test151AddObjectWithPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1251,7 +1251,7 @@ public void test151AddObjectWithPassword() throws Exception { @Test public void test160SearchAccountsIterative() throws Exception { final String TEST_NAME = "test160SearchAccountsIterative"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1327,7 +1327,7 @@ public boolean handle(PrismObject object, OperationResult parentResu @Test public void test170DisableAccount() throws Exception{ final String TEST_NAME = "test170DisableAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1386,7 +1386,7 @@ public void test170DisableAccount() throws Exception{ @Test public void test175AddDisabledAccount() throws Exception { final String TEST_NAME = "test175AddDisabledAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1438,7 +1438,7 @@ public void test175AddDisabledAccount() throws Exception { @Test public void test176AddEnabledAccount() throws Exception { final String TEST_NAME = "test176AddEnabledAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1476,7 +1476,7 @@ public void test176AddEnabledAccount() throws Exception { @Test public void test180GetUnlockedAccount() throws Exception { final String TEST_NAME = "test180GetUnlockedAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1496,7 +1496,7 @@ public void test180GetUnlockedAccount() throws Exception { @Test public void test182GetLockedAccount() throws Exception { final String TEST_NAME = "test182GetLockedAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1523,7 +1523,7 @@ public void test182GetLockedAccount() throws Exception { @Test public void test184UnlockAccount() throws Exception{ final String TEST_NAME = "test184UnlockAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1563,7 +1563,7 @@ public void test184UnlockAccount() throws Exception{ @Test public void test200SearchObjectsIterative() throws Exception { final String TEST_NAME = "test200SearchObjectsIterative"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1606,7 +1606,7 @@ public boolean handle(PrismObject object, OperationResult parentResu @Test public void test201SearchObjects() throws Exception { final String TEST_NAME = "test201SearchObjects"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1640,7 +1640,7 @@ public void test201SearchObjects() throws Exception { @Test public void test202SearchObjectsCompexFilter() throws Exception { final String TEST_NAME = "test202SearchObjectsCompexFilter"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1677,7 +1677,7 @@ public void test202SearchObjectsCompexFilter() throws Exception { @Test public void test203SearchObjectsByDnExists() throws Exception { final String TEST_NAME = "test203SearchObjectsByDnExists"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1719,7 +1719,7 @@ public void test203SearchObjectsByDnExists() throws Exception { @Test public void test205SearchObjectsByDnNotExists() throws Exception { final String TEST_NAME = "test205SearchObjectsByDnNotExists"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1754,7 +1754,7 @@ public void test205SearchObjectsByDnNotExists() throws Exception { @Test public void test230SearchObjectsPagedNoOffset() throws Exception { final String TEST_NAME = "test230SearchObjectsPagedNoOffset"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1788,7 +1788,7 @@ public void test230SearchObjectsPagedNoOffset() throws Exception { @Test public void test231SearchObjectsPagedOffsetZero() throws Exception { final String TEST_NAME = "test231SearchObjectsPagedOffsetZero"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1822,7 +1822,7 @@ public void test231SearchObjectsPagedOffsetZero() throws Exception { @Test public void test232SearchObjectsPagedOffset() throws Exception { final String TEST_NAME = "test232SearchObjectsPagedOffset"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1856,7 +1856,7 @@ public void test232SearchObjectsPagedOffset() throws Exception { @Test public void test233SearchObjectsPagedNoOffsetSortSn() throws Exception { final String TEST_NAME = "test233SearchObjectsPagedNoOffsetSortSn"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1892,7 +1892,7 @@ public void test233SearchObjectsPagedNoOffsetSortSn() throws Exception { @Test public void test234SearchObjectsPagedOffsetSortSn() throws Exception { final String TEST_NAME = "test234SearchObjectsPagedOffsetSortSn"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1941,7 +1941,7 @@ private void assertSearchResults(List> searchResults, St @Test public void test250CountObjects() throws Exception { final String TEST_NAME = "test250CountObjects"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1965,7 +1965,7 @@ public void test250CountObjects() throws Exception { @Test public void test300AddObjectObjectAlreadyExistResource() throws Exception { final String TEST_NAME = "test300AddObjectObjectAlreadyExistResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1994,7 +1994,7 @@ public void test300AddObjectObjectAlreadyExistResource() throws Exception { @Test public void test310AddObjectNoSn() throws Exception { final String TEST_NAME = "test310AddObjectNoSn"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2026,7 +2026,7 @@ public void test310AddObjectNoSn() throws Exception { @Test public void test320AddAccountPosix() throws Exception { final String TEST_NAME = "test320AddAccountPosix"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2078,7 +2078,7 @@ public void test320AddAccountPosix() throws Exception { @Test public void test322ModifyAccountPosix() throws Exception { final String TEST_NAME = "test322ModifyAccountPosix"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2124,7 +2124,7 @@ public void test322ModifyAccountPosix() throws Exception { @Test public void test329DeleteAccountPosix() throws Exception { final String TEST_NAME = "test329DeleteAccountPosix"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2162,7 +2162,7 @@ public void test329DeleteAccountPosix() throws Exception { @Test public void test330SearchForPosixAccount() throws Exception { final String TEST_NAME = "test330SearchForPosixAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2207,7 +2207,7 @@ public void test330SearchForPosixAccount() throws Exception { @Test public void test400AddGroupSwashbucklers() throws Exception { final String TEST_NAME = "test400AddGroupSwashbucklers"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2250,7 +2250,7 @@ public void test400AddGroupSwashbucklers() throws Exception { @Test public void test402AddAccountMorganWithAssociation() throws Exception { final String TEST_NAME = "test402AddAccountMorganWithAssociation"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2298,7 +2298,7 @@ public void test402AddAccountMorganWithAssociation() throws Exception { @Test public void test405GetGroupSwashbucklers() throws Exception { final String TEST_NAME = "test405GetGroupSwashbucklers"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2331,7 +2331,7 @@ public void test405GetGroupSwashbucklers() throws Exception { @Test public void test410CreateLdapGroupAndSearchGroups() throws Exception { final String TEST_NAME = "test410CreateLdapGroupAndSearchGroups"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2365,7 +2365,7 @@ public void test410CreateLdapGroupAndSearchGroups() throws Exception { @Test public void test412CreateLdapGroupWithMemberAndGet() throws Exception { final String TEST_NAME = "test412CreateLdapGroupWithMemberAndGet"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2404,7 +2404,7 @@ public void test412CreateLdapGroupWithMemberAndGet() throws Exception { @Test public void test414AddGroupCorsairsAssociateUser() throws Exception { final String TEST_NAME = "test414AddGroupCorsairsAssociateUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2432,7 +2432,7 @@ public void test414AddGroupCorsairsAssociateUser() throws Exception { @Test public void test416AssociateUserToCorsairs() throws Exception { final String TEST_NAME = "test416AssociateUserToCorsairs"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2461,7 +2461,7 @@ public void test416AssociateUserToCorsairs() throws Exception { @Test public void test418GetMorgan() throws Exception { final String TEST_NAME = "test418GetMorgan"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2489,7 +2489,7 @@ public void test418GetMorgan() throws Exception { @Test public void test429DeleteAccountMorgan() throws Exception { final String TEST_NAME = "test429DeleteAccountMorgan"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2530,7 +2530,7 @@ public void test429DeleteAccountMorgan() throws Exception { @Test public void test450ListGroupsObjectclass() throws Exception { final String TEST_NAME = "test450ListGroupsObjectclass"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2557,7 +2557,7 @@ public void test450ListGroupsObjectclass() throws Exception { @Test public void test452ListLdapGroupsKindIntent() throws Exception { final String TEST_NAME = "test452ListLdapGroupsKindIntent"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2584,7 +2584,7 @@ public void test452ListLdapGroupsKindIntent() throws Exception { @Test public void test454ListSpecialGroupsKindIntent() throws Exception { final String TEST_NAME = "test454ListSpecialGroupsKindIntent"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2613,7 +2613,7 @@ public void test454ListSpecialGroupsKindIntent() throws Exception { @Test public void test456AddGroupSpecialists() throws Exception { final String TEST_NAME = "test456AddGroupSpecialists"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2656,7 +2656,7 @@ public void test456AddGroupSpecialists() throws Exception { @Test public void test457ListLdapGroupsKindIntent() throws Exception { final String TEST_NAME = "test457ListLdapGroupsKindIntent"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2683,7 +2683,7 @@ public void test457ListLdapGroupsKindIntent() throws Exception { @Test public void test458ListSpecialGroupsKindIntent() throws Exception { final String TEST_NAME = "test458ListSpecialGroupsKindIntent"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2718,7 +2718,7 @@ public void test458ListSpecialGroupsKindIntent() throws Exception { @Test public void test460ListOrganizationalUnitPeopleKindIntent() throws Exception { final String TEST_NAME = "test460ListOrganizationalUnitPeopleKindIntent"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2823,7 +2823,7 @@ public void test704ConfiguredCapabilityNoUpdate() throws Exception{ @Test public void test710AddResourceOpenDjBadCredentials() throws Exception { final String TEST_NAME = "test710AddResourceOpenDjBadCredentials"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2845,7 +2845,7 @@ public void test710AddResourceOpenDjBadCredentials() throws Exception { @Test public void test713ConnectionBadCredentials() throws Exception { final String TEST_NAME = "test713ConnectionBadCredentials"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2867,7 +2867,7 @@ public void test713ConnectionBadCredentials() throws Exception { @Test public void test720AddResourceOpenDjBadBindDn() throws Exception { final String TEST_NAME = "test720AddResourceOpenDjBadBindDn"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -2889,7 +2889,7 @@ public void test720AddResourceOpenDjBadBindDn() throws Exception { @Test public void test723ConnectionBadBindDn() throws Exception { final String TEST_NAME = "test723ConnectionBadBindDn"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDjNegative.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDjNegative.java index 56de99cbe75..7b3307ab6c9 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDjNegative.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDjNegative.java @@ -115,7 +115,7 @@ public static void stoptLdap() throws Exception { @Test public void test003Connection() throws Exception { final String TEST_NAME = "test003Connection"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -150,7 +150,7 @@ public void test003Connection() throws Exception { @Test public void test004ResourceAndConnectorCaching() throws Exception { - TestUtil.displayTestTile("test004ResourceAndConnectorCaching"); + TestUtil.displayTestTitle("test004ResourceAndConnectorCaching"); OperationResult result = new OperationResult(TestOpenDjNegative.class.getName()+".test004ResourceAndConnectorCaching"); @@ -198,7 +198,7 @@ public void test004ResourceAndConnectorCaching() throws Exception { @Test public void test110GetObjectNoShadow() throws Exception { final String TEST_NAME = "test110GetObjectNoShadow"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -225,7 +225,7 @@ public void test110GetObjectNoShadow() throws Exception { @Test public void test111GetObjectShadow() throws Exception { final String TEST_NAME = "test111GetObjectShadow"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -248,7 +248,7 @@ public void test111GetObjectShadow() throws Exception { @Test public void test120ListResourceObjects() throws Exception { final String TEST_NAME = "test120ListResourceObjects"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -272,7 +272,7 @@ public void test120ListResourceObjects() throws Exception { public void test121SearchAccounts() throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException, Exception { final String TEST_NAME = "test121SearchAccounts"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -302,7 +302,7 @@ public void test121SearchAccounts() throws SchemaException, ObjectNotFoundExcept public void test122SearchAccountsIterative() throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException, Exception { final String TEST_NAME = "test122SearchAccountsIterative"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -338,7 +338,7 @@ public boolean handle(PrismObject prismObject, OperationResult paren @Test public void test130AddAccountWill() throws Exception { final String TEST_NAME = "test130AddAccountWill"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -365,7 +365,7 @@ public void test130AddAccountWill() throws Exception { @Test public void test140AddDeleteAccountSparrow() throws Exception { final String TEST_NAME = "test140AddDeleteAccountSparrow"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -388,7 +388,7 @@ public void test140AddDeleteAccountSparrow() throws Exception { @Test public void test150ModifyObject() throws Exception { final String TEST_NAME = "test150ModifyObject"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -415,7 +415,7 @@ public void test150ModifyObject() throws Exception { @Test public void test190Synchronize() throws Exception { final String TEST_NAME = "test190Synhronize"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -448,7 +448,7 @@ public void test190Synchronize() throws Exception { @Test public void test500ReplaceResource() throws Exception { final String TEST_NAME = "test500ReplaceResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -473,7 +473,7 @@ public void test500ReplaceResource() throws Exception { @Test public void test510GetObjectNoShadow() throws Exception { final String TEST_NAME = "test510GetObjectNoShadow"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -501,7 +501,7 @@ public void test510GetObjectNoShadow() throws Exception { @Test public void test511GetObjectShadow() throws Exception { final String TEST_NAME = "test511GetObjectShadow"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -529,7 +529,7 @@ public void test511GetObjectShadow() throws Exception { @Test public void test520ListResourceObjects() throws Exception { final String TEST_NAME = "test520ListResourceObjects"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -553,7 +553,7 @@ public void test520ListResourceObjects() throws Exception { public void test521SearchAccounts() throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException, Exception { final String TEST_NAME = "test521SearchAccounts"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -582,7 +582,7 @@ public void test521SearchAccounts() throws SchemaException, ObjectNotFoundExcept public void test522SearchAccountsIterative() throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException, Exception { final String TEST_NAME = "test522SearchAccountsIterative"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -619,7 +619,7 @@ public boolean handle(PrismObject prismObject, OperationResult paren @Test public void test530AddAccountWill() throws Exception { final String TEST_NAME = "test530AddAccountWill"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -661,7 +661,7 @@ public void test530AddAccountWill() throws Exception { @Test public void test540DeleteObject() throws Exception { final String TEST_NAME = "test540DeleteObject"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -696,7 +696,7 @@ public void test540DeleteObject() throws Exception { @Test public void test550ModifyObject() throws Exception { final String TEST_NAME = "test150ModifyObject"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestOpenDjNegative.class.getName() + "." + TEST_NAME); @@ -736,7 +736,7 @@ public void test550ModifyObject() throws Exception { @Test public void test590Synchronize() throws Exception { final String TEST_NAME = "test590Synhronize"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestOpenDjNegative.class.getName() + "." + TEST_NAME); diff --git a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestSynchronization.java b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestSynchronization.java index 7148ae4e82b..b3d7bfcf0ab 100644 --- a/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestSynchronization.java +++ b/provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestSynchronization.java @@ -112,7 +112,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test010Sanity() throws Exception { final String TEST_NAME = "test010Sanity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); final OperationResult result = new OperationResult(TestSynchronization.class.getName() + "." + TEST_NAME); @@ -139,7 +139,7 @@ public void test010Sanity() throws Exception { @Test public void test100SyncAddWill() throws Exception { final String TEST_NAME = "test100SyncAddWill"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); final OperationResult result = new OperationResult(TestSynchronization.class.getName() + "." + TEST_NAME); @@ -188,7 +188,7 @@ public void test100SyncAddWill() throws Exception { @Test public void test500SyncAddProtected() throws Exception { final String TEST_NAME = "test500SyncAddProtected"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); final OperationResult result = new OperationResult(TestSynchronization.class.getName() + "." + TEST_NAME); diff --git a/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummy.java b/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummy.java index 43857d85c85..3ceaf7a970b 100644 --- a/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummy.java +++ b/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummy.java @@ -93,7 +93,7 @@ public class TestUcfDummy extends AbstractUcfDummyTest { @Test public void test000PrismContextSanity() throws Exception { final String TEST_NAME = "test000PrismContextSanity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); SchemaRegistry schemaRegistry = PrismTestUtil.getPrismContext().getSchemaRegistry(); PrismSchema schemaIcfc = schemaRegistry.findSchemaByNamespace(SchemaConstants.NS_ICF_CONFIGURATION); @@ -109,7 +109,7 @@ public void test000PrismContextSanity() throws Exception { @Test public void test001ResourceSanity() throws Exception { final String TEST_NAME = "test001ResourceSanity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); display("Resource", resource); @@ -142,7 +142,7 @@ public void test001ResourceSanity() throws Exception { @Test public void test002ConnectorSchema() throws Exception { final String TEST_NAME = "test002ConnectorSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismSchema connectorSchema = connectorFactory.generateConnectorConfigurationSchema(connectorType); IntegrationTestTools.assertConnectorSchemaSanity(connectorSchema, "generated", true); @@ -167,7 +167,7 @@ public void test002ConnectorSchema() throws Exception { @Test public void test010ListConnectors() throws Exception { final String TEST_NAME = "test010ListConnectors"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TestUcfDummy.class+"."+TEST_NAME); Set connectors = connectorFactory.listConnectors(null, result); @@ -193,7 +193,7 @@ public void test010ListConnectors() throws Exception { @Test public void test020CreateConfiguredConnector() throws Exception { final String TEST_NAME = "test020CreateConfiguredConnector"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); cc = connectorFactory.createConnectorInstance(connectorType, ResourceTypeUtil.getResourceNamespace(resourceType), "test connector"); @@ -213,7 +213,7 @@ public void test020CreateConfiguredConnector() throws Exception { @Test public void test022ConnectorStatsConfigured() throws Exception { final String TEST_NAME = "test022ConnectorStatsConfigured"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN ConnectorOperationalStatus operationalStatus = cc.getOperationalStatus(); @@ -236,7 +236,7 @@ public void test022ConnectorStatsConfigured() throws Exception { @Test public void test030ResourceSchema() throws Exception { final String TEST_NAME = "test030ResourceSchema"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TestUcfDummy.class + "." + TEST_NAME); @@ -273,7 +273,7 @@ public void test030ResourceSchema() throws Exception { @Test public void test031ResourceSchemaAccountObjectClass() throws Exception { final String TEST_NAME = "test031ResourceSchemaAccountObjectClass"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TestUcfDummy.class + "." + TEST_NAME); @@ -302,7 +302,7 @@ public void test031ResourceSchemaAccountObjectClass() throws Exception { @Test public void test033ConnectorStatsInitialized() throws Exception { final String TEST_NAME = "test033ConnectorStatsInitialized"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // WHEN ConnectorOperationalStatus operationalStatus = cc.getOperationalStatus(); @@ -325,7 +325,7 @@ public void test033ConnectorStatsInitialized() throws Exception { @Test public void test040AddAccount() throws Exception { final String TEST_NAME = "test040AddAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(this.getClass().getName() + "." + TEST_NAME); @@ -355,7 +355,7 @@ public void test040AddAccount() throws Exception { @Test public void test050Search() throws Exception { final String TEST_NAME = "test050Search"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN final ObjectClassComplexTypeDefinition accountDefinition = resourceSchema.findDefaultObjectClassDefinition(ShadowKindType.ACCOUNT); @@ -394,7 +394,7 @@ private void checkUcfShadow(PrismObject shadow, ObjectClassComplexTy @Test public void test100FetchEmptyChanges() throws Exception { final String TEST_NAME = "test100FetchEmptyChanges"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(this.getClass().getName() + "." + TEST_NAME); ObjectClassComplexTypeDefinition accountDefinition = resourceSchema.findDefaultObjectClassDefinition(ShadowKindType.ACCOUNT); @@ -421,7 +421,7 @@ public void test100FetchEmptyChanges() throws Exception { @Test public void test101FetchAddChange() throws Exception { final String TEST_NAME = "test101FetchAddChange"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(this.getClass().getName() + "." + TEST_NAME); ObjectClassComplexTypeDefinition accountDefinition = resourceSchema.findDefaultObjectClassDefinition(ShadowKindType.ACCOUNT); @@ -455,7 +455,7 @@ public void test101FetchAddChange() throws Exception { @Test public void test500SelfTest() throws Exception { final String TEST_NAME = "test500SelfTest"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN OperationResult testResult = new OperationResult(TestUcfDummy.class + "." + TEST_NAME); diff --git a/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummyMulti.java b/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummyMulti.java index 801519258e9..d67ffcad001 100644 --- a/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummyMulti.java +++ b/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummyMulti.java @@ -70,7 +70,7 @@ public class TestUcfDummyMulti extends AbstractUcfDummyTest { @Test public void test000PrismContextSanity() throws Exception { final String TEST_NAME = "test000PrismContextSanity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); SchemaRegistry schemaRegistry = PrismTestUtil.getPrismContext().getSchemaRegistry(); PrismSchema schemaIcfc = schemaRegistry.findSchemaByNamespace(SchemaConstants.NS_ICF_CONFIGURATION); @@ -86,7 +86,7 @@ public void test000PrismContextSanity() throws Exception { @Test public void test020CreateConfiguredConnector() throws Exception { final String TEST_NAME = "test020CreateConfiguredConnector"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); cc = connectorFactory.createConnectorInstance(connectorType, ResourceTypeUtil.getResourceNamespace(resourceType), "test connector"); @@ -109,7 +109,7 @@ public void test020CreateConfiguredConnector() throws Exception { @Test public void test100AddAccount() throws Exception { final String TEST_NAME = "test100AddAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(this.getClass().getName() + "." + TEST_NAME); @@ -139,7 +139,7 @@ public void test100AddAccount() throws Exception { @Test public void test110SearchNonBlocking() throws Exception { final String TEST_NAME = "test100SearchNonBlocking"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN final ObjectClassComplexTypeDefinition accountDefinition = resourceSchema.findDefaultObjectClassDefinition(ShadowKindType.ACCOUNT); @@ -175,7 +175,7 @@ public boolean handle(PrismObject shadow) { @Test public void test200BlockingSearch() throws Exception { final String TEST_NAME = "test200BlockingSearch"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN final OperationResult result = new OperationResult(this.getClass().getName() + "." + TEST_NAME); @@ -244,7 +244,7 @@ public void run() { @Test public void test210TwoBlockingSearches() throws Exception { final String TEST_NAME = "test210TwoBlockingSearches"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN diff --git a/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfOpenDj.java b/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfOpenDj.java index 807498de012..f82628a5dd5 100644 --- a/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfOpenDj.java +++ b/provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfOpenDj.java @@ -141,7 +141,7 @@ public static void stopLdap() throws Exception { @BeforeMethod public void initUcf() throws Exception { - TestUtil.displayTestTile("initUcf"); + TestUtil.displayTestTitle("initUcf"); // Resource PrismObject resource = PrismTestUtil.parseObject(RESOURCE_OPENDJ_FILE); @@ -183,7 +183,7 @@ public void shutdownUcf() throws Exception { @Test public void test010ConnectorSchemaSanity() throws Exception { final String TEST_NAME = "test010ConnectorSchemaSanity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); IntegrationTestTools.assertConnectorSchemaSanity(connectorSchema, "LDAP connector", true); @@ -211,7 +211,7 @@ public void test010ConnectorSchemaSanity() throws Exception { @Test public void test020ResourceSchemaSanity() throws Exception { final String TEST_NAME = "test020ResourceSchemaSanity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); QName objectClassQname = new QName(ResourceTypeUtil.getResourceNamespace(resourceType), OpenDJController.OBJECT_CLASS_INETORGPERSON_NAME); ObjectClassComplexTypeDefinition accountDefinition = resourceSchema.findObjectClassDefinition(objectClassQname); @@ -300,7 +300,7 @@ private String getEntryUuid(Collection> identifiers) { @Test public void test100AddDeleteObject() throws Exception { final String TEST_NAME = "test100AddDeleteObject"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(this.getClass().getName() + "." + TEST_NAME); @@ -335,7 +335,7 @@ public void test100AddDeleteObject() throws Exception { @Test public void test110ChangeModifyObject() throws Exception { final String TEST_NAME = "test110ChangeModifyObject"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(this.getClass().getName() + "." + TEST_NAME); @@ -380,7 +380,7 @@ public void test110ChangeModifyObject() throws Exception { @Test public void test200FetchChanges() throws Exception { final String TEST_NAME = "test200FetchChanges"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); OperationResult result = new OperationResult(this.getClass().getName() + "." + TEST_NAME); ObjectClassComplexTypeDefinition accountDefinition = resourceSchema.findObjectClassDefinition(OpenDJController.OBJECT_CLASS_INETORGPERSON_NAME); @@ -462,7 +462,7 @@ private PropertyModificationOperation createActivationChange(ActivationStatusTyp @Test public void test300TestConnection() throws Exception { final String TEST_NAME = "test300TestConnection"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN OperationResult result = new OperationResult(TEST_NAME); @@ -489,7 +489,7 @@ public void test300TestConnection() throws Exception { @Test public void test310TestConnectionNegative() throws Exception { final String TEST_NAME = "test310TestConnectionNegative"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN OperationResult result = new OperationResult(TEST_NAME); @@ -523,7 +523,7 @@ public void test310TestConnectionNegative() throws Exception { @Test public void test400FetchResourceSchema() throws Exception { final String TEST_NAME = "test400FetchResourceSchema"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN // WHEN @@ -573,7 +573,7 @@ public void test400FetchResourceSchema() throws Exception { @Test public void test410Capabilities() throws Exception { final String TEST_NAME = "test410Capabilities"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN OperationResult result = new OperationResult(TEST_NAME); @@ -597,7 +597,7 @@ public void test410Capabilities() throws Exception { @Test public void test500FetchObject() throws Exception { final String TEST_NAME = "test500FetchObject"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN ResourceAttributeContainer resourceObject = createResourceObject( @@ -632,7 +632,7 @@ public void test500FetchObject() throws Exception { @Test public void test510Search() throws Exception { final String TEST_NAME = "test510Search"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN ObjectClassComplexTypeDefinition accountDefinition = resourceSchema.findObjectClassDefinition(OpenDJController.OBJECT_CLASS_INETORGPERSON_NAME); @@ -658,7 +658,7 @@ public boolean handle(PrismObject object) { @Test public void test600CreateAccountWithPassword() throws Exception { final String TEST_NAME = "test600CreateAccountWithPassword"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN ResourceAttributeContainer resourceObject = createResourceObject( "uid=lechuck,ou=people,dc=example,dc=com", "Ghost Pirate LeChuck", "LeChuck"); @@ -699,7 +699,7 @@ public void test600CreateAccountWithPassword() throws Exception { @Test public void test610ChangePassword() throws Exception { final String TEST_NAME = "test610ChangePassword"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN ResourceAttributeContainer resourceObject = createResourceObject( "uid=drake,ou=People,dc=example,dc=com", "Sir Francis Drake", "Drake"); diff --git a/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ModifyTest.java b/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ModifyTest.java index 7c6b18a2a46..d59a5335486 100644 --- a/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ModifyTest.java +++ b/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ModifyTest.java @@ -99,7 +99,7 @@ protected RepoModifyOptions getModifyOptions() { @Test(expectedExceptions = SystemException.class, enabled = false) public void test010ModifyWithExistingName() throws Exception { final String TEST_NAME = "test010ModifyWithExistingName"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult("MODIFY"); @@ -130,7 +130,7 @@ public void test010ModifyWithExistingName() throws Exception { @Test(expectedExceptions = ObjectNotFoundException.class, enabled = false) public void test020ModifyNotExistingUser() throws Exception { final String TEST_NAME = "test020ModifyNotExistingUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); ObjectModificationType modification = PrismTestUtil.parseAtomicValue( new File(TEST_DIR, "change-add.xml"), @@ -146,7 +146,7 @@ public void test020ModifyNotExistingUser() throws Exception { @Test(enabled = false) // MID-3483 public void test030ModifyUserOnNonExistingAccountTest() throws Exception { final String TEST_NAME = "test030ModifyUserOnNonExistingAccountTest"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult("MODIFY"); @@ -182,7 +182,7 @@ public void test030ModifyUserOnNonExistingAccountTest() throws Exception { @Test(enabled=false) // MID-3483 public void test031ModifyUserOnExistingAccountTest() throws Exception { final String TEST_NAME = "test031ModifyUserOnExistingAccountTest"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TEST_NAME); @@ -221,7 +221,7 @@ public void test031ModifyUserOnExistingAccountTest() throws Exception { @Test public void test032ModifyTaskObjectRef() throws Exception { final String TEST_NAME = "test032ModifyTaskObjectRef"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TEST_NAME); File taskFile = new File(TEST_DIR, "task.xml"); @@ -314,7 +314,7 @@ private void checkReference(String taskOid) { @Test public void test100ModifyUserAddRole() throws Exception { final String TEST_NAME = "test100ModifyUserAddRole"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult parentResult = new OperationResult("Modify user -> add roles"); String userToModifyOid = "f65963e3-9d47-4b18-aaf3-bfc98bdfa000"; @@ -356,7 +356,7 @@ public void test100ModifyUserAddRole() throws Exception { @Test public void test110ModifyDeleteObjectChangeFromAccount() throws Exception { final String TEST_NAME = "test110ModifyDeleteObjectChangeFromAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult parentResult = new OperationResult("testModifyDeleteObjectChnageFromAccount"); PrismObject accShadow = prismContext.parseObject(new File(TEST_DIR + "/account-delete-object-change.xml")); @@ -389,7 +389,7 @@ public void test110ModifyDeleteObjectChangeFromAccount() throws Exception { @Test(enabled = false) // MID-3484 public void test120ModifyAccountMetadata() throws Exception { final String TEST_NAME = "test120ModifyAccountMetadata"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult parentResult = new OperationResult(TEST_NAME); @@ -493,7 +493,7 @@ public void test120ModifyAccountMetadata() throws Exception { @Test public void test130ExtensionModify() throws Exception { final String TEST_NAME = "test130ExtensionModify"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); final QName QNAME_LOOT = new QName("http://example.com/p", "loot"); @@ -532,7 +532,7 @@ public void test130ExtensionModify() throws Exception { @Test public void test140ModifyAccountSynchronizationSituation() throws Exception { final String TEST_NAME = "test140ModifyAccountSynchronizationSituation"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult("testModifyAccountSynchronizationSituation"); @@ -594,7 +594,7 @@ public void test140ModifyAccountSynchronizationSituation() throws Exception { @Test public void test150ModifyRoleAddInducements() throws Exception { final String TEST_NAME = "test150ModifyRoleAddInducements"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TEST_NAME); diff --git a/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ModifyUser.java b/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ModifyUser.java index 6aaf943eed1..e6bc7c948a7 100644 --- a/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ModifyUser.java +++ b/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ModifyUser.java @@ -78,7 +78,7 @@ public void test010Add() throws Exception { @Test public void test020ModifyUser() throws Exception { final String TEST_NAME = "test020ModifyUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TEST_NAME); @@ -105,7 +105,7 @@ public void test020ModifyUser() throws Exception { @Test public void test021ModifyUserNoEmpNum() throws Exception { final String TEST_NAME = "test021ModifyUserNoEmpNum"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TEST_NAME); @@ -132,7 +132,7 @@ public void test021ModifyUserNoEmpNum() throws Exception { @Test public void test022ModifyUserEmptyEmpNum() throws Exception { final String TEST_NAME = "test022ModifyUserEmptyEmpNum"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TEST_NAME); diff --git a/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/OrgStructTest.java b/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/OrgStructTest.java index e467ee7bb5b..ee80014aaba 100644 --- a/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/OrgStructTest.java +++ b/repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/OrgStructTest.java @@ -598,7 +598,7 @@ public void test009modifyOrgStructRemoveUser() throws Exception { @Test public void test011OrgFilter() throws Exception { final String TEST_NAME = "test011OrgFilter"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult opResult = new OperationResult(TEST_NAME); ObjectQuery query = QueryBuilder.queryFor(ObjectType.class, prismContext) @@ -616,7 +616,7 @@ public void test011OrgFilter() throws Exception { @Test public void test100ParentOrgRefFilterNullRelation() throws Exception { final String TEST_NAME = "test100ParentOrgRefFilterNullRelation"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult opResult = new OperationResult(TEST_NAME); ObjectQuery query = QueryBuilder.queryFor(ObjectType.class, prismContext) @@ -633,7 +633,7 @@ public void test100ParentOrgRefFilterNullRelation() throws Exception { @Test public void test101ParentOrgRefFilterManagerRelation() throws Exception { final String TEST_NAME = "test101ParentOrgRefFilterManagerRelation"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult opResult = new OperationResult(TEST_NAME); PrismReferenceValue refVal = new PrismReferenceValue(ORG_F001_OID); @@ -652,7 +652,7 @@ public void test101ParentOrgRefFilterManagerRelation() throws Exception { @Test public void test102ParentOrgRefFilterAnyRelation() throws Exception { final String TEST_NAME = "test102ParentOrgRefFilterAnyRelation"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult opResult = new OperationResult(TEST_NAME); PrismReferenceValue refVal = new PrismReferenceValue(ORG_F001_OID); diff --git a/repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java b/repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java index f53a3bae8ea..e28bf90fb99 100644 --- a/repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java +++ b/repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java @@ -1579,8 +1579,8 @@ protected PrismObject parseObject(File file) throws Sc return prismContext.parseObject(file); } - protected void displayTestTile(String testName) { - TestUtil.displayTestTile(this, testName); + protected void displayTestTitle(String testName) { + TestUtil.displayTestTitle(this, testName); } protected void displayWhen(String testName) { diff --git a/repo/security-api/src/main/java/com/evolveum/midpoint/security/api/AuthorizationConstants.java b/repo/security-api/src/main/java/com/evolveum/midpoint/security/api/AuthorizationConstants.java index 6d043a69eb0..f799f47ea3b 100644 --- a/repo/security-api/src/main/java/com/evolveum/midpoint/security/api/AuthorizationConstants.java +++ b/repo/security-api/src/main/java/com/evolveum/midpoint/security/api/AuthorizationConstants.java @@ -304,6 +304,9 @@ public class AuthorizationConstants { public static final QName AUTZ_UI_SELF_CREDENTIALS_QNAME = new QName(NS_AUTHORIZATION_UI, "selfCredentials"); public static final String AUTZ_UI_SELF_CREDENTIALS_URL = NS_AUTHORIZATION_UI + "#selfCredentials"; + public static final QName AUTZ_UI_SELF_CONSENTS_QNAME = new QName(NS_AUTHORIZATION_UI, "selfConsents"); + public static final String AUTZ_UI_SELF_CONSENTS_URL = NS_AUTHORIZATION_UI + "#selfConsents"; + public static final QName AUTZ_UI_SELF_PROFILE_QNAME = new QName(NS_AUTHORIZATION_UI, "selfProfile"); public static final String AUTZ_UI_SELF_PROFILE_URL = NS_AUTHORIZATION_UI + "#selfProfile"; diff --git a/repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/TestEmpty.java b/repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/TestEmpty.java index 5ed2a02227a..bb1e7b12afc 100644 --- a/repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/TestEmpty.java +++ b/repo/security-impl/src/test/java/com/evolveum/midpoint/security/impl/TestEmpty.java @@ -85,7 +85,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // TODO } @@ -93,7 +93,7 @@ public void test000Sanity() throws Exception { @Test public void test020UserProfileServiceMockUsername() throws Exception { final String TEST_NAME = "test020UserProfileServiceMockUsername"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); MidPointPrincipal principal = userProfileService.getPrincipal(USER_JACK_USERNAME); assertPrincipalJack(principal); diff --git a/samples/samples-test/src/test/java/com/evolveum/midpoint/samples/test/TestSampleImport.java b/samples/samples-test/src/test/java/com/evolveum/midpoint/samples/test/TestSampleImport.java index 74e57f44e8f..c8216d11474 100644 --- a/samples/samples-test/src/test/java/com/evolveum/midpoint/samples/test/TestSampleImport.java +++ b/samples/samples-test/src/test/java/com/evolveum/midpoint/samples/test/TestSampleImport.java @@ -106,7 +106,7 @@ public void importOpenDJAdvanced() throws FileNotFoundException, SchemaException // } public void importSample(File sampleFile, Class type, String objectName) throws FileNotFoundException, SchemaException { - TestUtil.displayTestTile(this, "Import sample "+sampleFile.getPath()); + TestUtil.displayTestTitle(this, "Import sample "+sampleFile.getPath()); // GIVEN Task task = taskManager.createTaskInstance(); OperationResult result = new OperationResult(TestSampleImport.class.getName() + ".importSample"); diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/Abstract389DsDnTest.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/Abstract389DsDnTest.java index 362fe80d898..b6b7b27fe57 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/Abstract389DsDnTest.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/Abstract389DsDnTest.java @@ -62,7 +62,7 @@ protected boolean isUsingGroupShortcutAttribute() { @Test public void test025SchemaDn() throws Exception { final String TEST_NAME = "test025SchemaDn"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); ResourceAttributeDefinition dnDef = accountObjectClassDefinition.findAttributeDefinition("dn"); display("DN defintion", dnDef); diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapCookedTest.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapCookedTest.java index e8f650127ca..fc47c565639 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapCookedTest.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapCookedTest.java @@ -38,7 +38,7 @@ public abstract class AbstractAdLdapCookedTest extends AbstractAdLdapTest { @Test public void test050Capabilities() throws Exception { final String TEST_NAME = "test050Capabilities"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Collection nativeCapabilitiesCollection = ResourceTypeUtil.getNativeCapabilitiesCollection(resourceType); display("Native capabilities", nativeCapabilitiesCollection); diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapMultidomainTest.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapMultidomainTest.java index e4a2463ca48..32f2f2d5a4a 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapMultidomainTest.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapMultidomainTest.java @@ -309,7 +309,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assertLdapPassword(ACCOUNT_JACK_SAM_ACCOUNT_NAME, ACCOUNT_JACK_FULL_NAME, ACCOUNT_JACK_PASSWORD); cleanupDelete(toAccountDn(USER_BARBOSSA_USERNAME, USER_BARBOSSA_FULL_NAME)); @@ -330,7 +330,7 @@ public void test000Sanity() throws Exception { @Override public void test020Schema() throws Exception { final String TEST_NAME = "test020Schema"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // IntegrationTestTools.displayXml("Resource XML", resource); accountObjectClassDefinition = AdUtils.assertAdResourceSchema(resource, getAccountObjectClass(), prismContext); @@ -346,7 +346,7 @@ public void test020Schema() throws Exception { @Test public void test100SeachJackBySamAccountName() throws Exception { final String TEST_NAME = "test100SeachJackBySamAccountName"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -390,7 +390,7 @@ public void test100SeachJackBySamAccountName() throws Exception { @Test public void test101SeachJackByDn() throws Exception { final String TEST_NAME = "test101SeachJackByDn"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -437,7 +437,7 @@ public void test101SeachJackByDn() throws Exception { @Test public void test102SeachNotExistByDn() throws Exception { final String TEST_NAME = "test102SeachNotExistByDn"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -469,7 +469,7 @@ public void test102SeachNotExistByDn() throws Exception { @Test public void test105SeachPiratesByCn() throws Exception { final String TEST_NAME = "test105SeachPiratesByCn"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -509,7 +509,7 @@ public void test105SeachPiratesByCn() throws Exception { @Test public void test110GetJack() throws Exception { final String TEST_NAME = "test110GetJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -552,7 +552,7 @@ public void test110GetJack() throws Exception { @Test public void test150SeachAllAccounts() throws Exception { final String TEST_NAME = "test150SeachAllAccounts"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -585,7 +585,7 @@ public void test150SeachAllAccounts() throws Exception { @Test public void test152SeachFirst2Accounts() throws Exception { final String TEST_NAME = "test152SeachFirst2Accounts"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -779,7 +779,7 @@ public void test152SeachFirst2Accounts() throws Exception { @Test public void test200AssignAccountBarbossa() throws Exception { final String TEST_NAME = "test200AssignAccountBarbossa"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -831,7 +831,7 @@ public void test200AssignAccountBarbossa() throws Exception { @Test public void test210ModifyAccountBarbossaTitle() throws Exception { final String TEST_NAME = "test210ModifyAccountBarbossaTitle"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -867,7 +867,7 @@ public void test210ModifyAccountBarbossaTitle() throws Exception { @Test public void test212ModifyAccountBarbossaShowInAdvancedViewOnlyTrue() throws Exception { final String TEST_NAME = "test212ModifyAccountBarbossaShowInAdvancedViewOnlyTrue"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -905,7 +905,7 @@ public void test212ModifyAccountBarbossaShowInAdvancedViewOnlyTrue() throws Exce @Test public void test213ModifyUserBarbossaShowInAdvancedViewOnlyFalse() throws Exception { final String TEST_NAME = "test213ModifyUserBarbossaShowInAdvancedViewOnlyFalse"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -943,7 +943,7 @@ public void test213ModifyUserBarbossaShowInAdvancedViewOnlyFalse() throws Except @Test public void test220ModifyUserBarbossaPassword() throws Exception { final String TEST_NAME = "test220ModifyUserBarbossaPassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -970,7 +970,7 @@ public void test220ModifyUserBarbossaPassword() throws Exception { @Test public void test230DisableUserBarbossa() throws Exception { final String TEST_NAME = "test230DisableUserBarbossa"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -995,7 +995,7 @@ public void test230DisableUserBarbossa() throws Exception { @Test public void test232ReconcileBarbossa() throws Exception { final String TEST_NAME = "test232ReconcileBarbossa"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1018,7 +1018,7 @@ public void test232ReconcileBarbossa() throws Exception { @Test public void test236EnableUserBarbossa() throws Exception { final String TEST_NAME = "test236EnableUserBarbossa"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1045,7 +1045,7 @@ public void test236EnableUserBarbossa() throws Exception { @Test public void test237ReconcileBarbossa() throws Exception { final String TEST_NAME = "test237ReconcileBarbossa"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1070,7 +1070,7 @@ public void test237ReconcileBarbossa() throws Exception { @Test public void test238DisableUserBarbossaRawAndReconcile() throws Exception { final String TEST_NAME = "test238DisableUserBarbossaRawAndReconcile"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1098,7 +1098,7 @@ public void test238DisableUserBarbossaRawAndReconcile() throws Exception { @Test public void test239EnableUserBarbossaRawAndReconcile() throws Exception { final String TEST_NAME = "test239EnableUserBarbossaRawAndReconcile"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1171,7 +1171,7 @@ private void assertBarbossaDisabled() throws Exception { @Test public void test250AssignGuybrushPirates() throws Exception { final String TEST_NAME = "test250AssignGuybrushPirates"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1209,7 +1209,7 @@ public void test250AssignGuybrushPirates() throws Exception { @Test public void test255ModifyUserGuybrushPassword() throws Exception { final String TEST_NAME = "test255ModifyUserGuybrushPassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1245,7 +1245,7 @@ public void test255ModifyUserGuybrushPassword() throws Exception { @Test public void test260EnableGyubrush() throws Exception { final String TEST_NAME = "test260EnableGyubrush"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1284,7 +1284,7 @@ public void test260EnableGyubrush() throws Exception { @Test public void test270AssignAccountToEmptyhead() throws Exception { final String TEST_NAME = "test270AssignAccountToEmptyhead"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1315,7 +1315,7 @@ public void test270AssignAccountToEmptyhead() throws Exception { @Test public void test295TestConnection() throws Exception { final String TEST_NAME = "test295TestConnection"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1336,7 +1336,7 @@ public void test295TestConnection() throws Exception { @Test public void test300AssignBarbossaPirates() throws Exception { final String TEST_NAME = "test300AssignBarbossaPirates"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1370,7 +1370,7 @@ public void test300AssignBarbossaPirates() throws Exception { @Test public void test390ModifyUserBarbossaRename() throws Exception { final String TEST_NAME = "test390ModifyUserBarbossaRename"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1415,7 +1415,7 @@ public void test390ModifyUserBarbossaRename() throws Exception { @Test public void test395UnAssignBarbossaPirates() throws Exception { final String TEST_NAME = "test395UnAssignBarbossaPirates"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // TODO: do this on another account. There is a bad interference with rename. @@ -1451,7 +1451,7 @@ public void test395UnAssignBarbossaPirates() throws Exception { @Test public void test399UnAssignAccountBarbossa() throws Exception { final String TEST_NAME = "test399UnAssignAccountBarbossa"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1478,7 +1478,7 @@ public void test399UnAssignAccountBarbossa() throws Exception { @Test public void test500AddOrgMeleeIsland() throws Exception { final String TEST_NAME = "test500AddOrgMeleeIsland"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1524,7 +1524,7 @@ public void test500AddOrgMeleeIsland() throws Exception { @Test public void test510AssignGuybrushMeleeIsland() throws Exception { final String TEST_NAME = "test510AssignGuybrushMeleeIsland"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1559,7 +1559,7 @@ public void test510AssignGuybrushMeleeIsland() throws Exception { @Test public void test515AddOrgGroupMeleeIslandPirates() throws Exception { final String TEST_NAME = "test515AddOrgGroupMeleeIslandPirates"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1614,7 +1614,7 @@ public void test515AddOrgGroupMeleeIslandPirates() throws Exception { @Test public void test520RenameMeleeIsland() throws Exception { final String TEST_NAME = "test520RenameMeleeIsland"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1674,7 +1674,7 @@ public void test520RenameMeleeIsland() throws Exception { @Test public void test522ModifyMeleeIslandPirates() throws Exception { final String TEST_NAME = "test522GetMeleeIslandPirates"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1703,7 +1703,7 @@ public void test522ModifyMeleeIslandPirates() throws Exception { @Test public void test524GetMeleeIslandPirates() throws Exception { final String TEST_NAME = "test524GetMeleeIslandPirates"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1734,7 +1734,7 @@ public void test524GetMeleeIslandPirates() throws Exception { @Test public void test595DeleteOrgGroupMeleeIslandPirates() throws Exception { final String TEST_NAME = "test595DeleteOrgGroupMeleeIslandPirates"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1760,7 +1760,7 @@ public void test595DeleteOrgGroupMeleeIslandPirates() throws Exception { @Test public void test599DeleteOrgMeleeIsland() throws Exception { final String TEST_NAME = "test599DeleteOrgMeleeIsland"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1789,7 +1789,7 @@ public void test599DeleteOrgMeleeIsland() throws Exception { @Test public void test600AssignAccountSubman() throws Exception { final String TEST_NAME = "test600AssignAccountSubman"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1843,7 +1843,7 @@ public void test600AssignAccountSubman() throws Exception { @Test public void test610ModifyUserSubmanTitle() throws Exception { final String TEST_NAME = "test610ModifyUserSubmanTitle"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1874,7 +1874,7 @@ public void test610ModifyUserSubmanTitle() throws Exception { @Test public void test620ModifyUserSubmanPassword() throws Exception { final String TEST_NAME = "test620ModifyUserSubmanPassword"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1909,7 +1909,7 @@ public void test620ModifyUserSubmanPassword() throws Exception { @Test public void test630DisableUserSubman() throws Exception { final String TEST_NAME = "test630DisableUserSubman"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1951,7 +1951,7 @@ public void test630DisableUserSubman() throws Exception { @Test public void test639EnableUserSubman() throws Exception { final String TEST_NAME = "test639EnableUserBarbossa"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1984,7 +1984,7 @@ public void test639EnableUserSubman() throws Exception { @Test public void test690ModifyUserSubmanRename() throws Exception { final String TEST_NAME = "test690ModifyUserSubmanRename"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2026,7 +2026,7 @@ public void test690ModifyUserSubmanRename() throws Exception { @Test public void test699UnAssignAccountSubdog() throws Exception { final String TEST_NAME = "test699UnAssignAccountSubdog"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2059,7 +2059,7 @@ public void test699UnAssignAccountSubdog() throws Exception { @Test public void test700AssignAccountSubmarineAndModify() throws Exception { final String TEST_NAME = "test700AssignAccountSubmarineAndModify"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -2106,7 +2106,7 @@ public void test700AssignAccountSubmarineAndModify() throws Exception { @Test public void test809UnAssignAccountSubmarine() throws Exception { final String TEST_NAME = "test809UnAssignAccountSubmarine"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapRawTest.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapRawTest.java index 8cadc46b212..01e31aceec2 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapRawTest.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapRawTest.java @@ -41,7 +41,7 @@ public abstract class AbstractAdLdapRawTest extends AbstractAdLdapTest { @Test public void test050Capabilities() throws Exception { final String TEST_NAME = "test050Capabilities"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Collection nativeCapabilitiesCollection = ResourceTypeUtil.getNativeCapabilitiesCollection(resourceType); display("Native capabilities", nativeCapabilitiesCollection); diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapTest.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapTest.java index 50021675fdd..75cd1d07646 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapTest.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdLdapTest.java @@ -246,7 +246,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Override public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); super.test000Sanity(); assertLdapPassword(ACCOUNT_JACK_SAM_ACCOUNT_NAME, ACCOUNT_JACK_FULL_NAME, ACCOUNT_JACK_PASSWORD); @@ -261,7 +261,7 @@ public void test000Sanity() throws Exception { @Override public void test020Schema() throws Exception { final String TEST_NAME = "test020Schema"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); accountObjectClassDefinition = AdUtils.assertAdResourceSchema(resource, getAccountObjectClass(), prismContext); @@ -273,7 +273,7 @@ public void test020Schema() throws Exception { @Test public void test100SeachJackBySamAccountName() throws Exception { final String TEST_NAME = "test100SeachJackBySamAccountName"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -313,7 +313,7 @@ public void test100SeachJackBySamAccountName() throws Exception { @Test public void test105SeachPiratesByCn() throws Exception { final String TEST_NAME = "test105SeachPiratesByCn"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -353,7 +353,7 @@ public void test105SeachPiratesByCn() throws Exception { @Test public void test110GetJack() throws Exception { final String TEST_NAME = "test110GetJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -395,7 +395,7 @@ public void test110GetJack() throws Exception { @Test public void test150SeachAllAccounts() throws Exception { final String TEST_NAME = "test150SeachAllAccounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -428,7 +428,7 @@ public void test150SeachAllAccounts() throws Exception { @Test public void test152SeachFirst2Accounts() throws Exception { final String TEST_NAME = "test152SeachFirst2Accounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -459,7 +459,7 @@ public void test152SeachFirst2Accounts() throws Exception { @Test public void test154SeachFirst11Accounts() throws Exception { final String TEST_NAME = "test154SeachFirst11Accounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -487,7 +487,7 @@ public void test154SeachFirst11Accounts() throws Exception { @Test public void test162SeachFirst2AccountsOffset0() throws Exception { final String TEST_NAME = "test162SeachFirst2AccountsOffset0"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -521,7 +521,7 @@ public void test162SeachFirst2AccountsOffset0() throws Exception { @Test public void test172Search2AccountsOffset1() throws Exception { final String TEST_NAME = "test172Search2AccountsOffset1"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -553,7 +553,7 @@ public void test172Search2AccountsOffset1() throws Exception { @Test public void test174SeachFirst11AccountsOffset2() throws Exception { final String TEST_NAME = "test174SeachFirst11AccountsOffset2"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -591,7 +591,7 @@ public void test174SeachFirst11AccountsOffset2() throws Exception { @Test public void test182Search2AccountsOffset1SortCn() throws Exception { final String TEST_NAME = "test182Search2AccountsOffset1SortCn"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -622,7 +622,7 @@ public void test182Search2AccountsOffset1SortCn() throws Exception { @Test public void test200AssignAccountBarbossa() throws Exception { final String TEST_NAME = "test200AssignAccountBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -672,7 +672,7 @@ public void test200AssignAccountBarbossa() throws Exception { @Test public void test210ModifyAccountBarbossaTitle() throws Exception { final String TEST_NAME = "test210ModifyAccountBarbossaTitle"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -708,7 +708,7 @@ public void test210ModifyAccountBarbossaTitle() throws Exception { @Test public void test212ModifyAccountBarbossaShowInAdvancedViewOnlyTrue() throws Exception { final String TEST_NAME = "test212ModifyAccountBarbossaShowInAdvancedViewOnlyTrue"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -747,7 +747,7 @@ public void test212ModifyAccountBarbossaShowInAdvancedViewOnlyTrue() throws Exce @Test public void test213ModifyUserBarbossaShowInAdvancedViewOnlyFalse() throws Exception { final String TEST_NAME = "test213ModifyUserBarbossaShowInAdvancedViewOnlyFalse"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -786,7 +786,7 @@ public void test213ModifyUserBarbossaShowInAdvancedViewOnlyFalse() throws Except @Test public void test220ModifyUserBarbossaPassword() throws Exception { final String TEST_NAME = "test220ModifyUserBarbossaPassword"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -821,7 +821,7 @@ public void test220ModifyUserBarbossaPassword() throws Exception { @Test public void test230DisableUserBarbossa() throws Exception { final String TEST_NAME = "test230DisableUserBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -863,7 +863,7 @@ public void test230DisableUserBarbossa() throws Exception { @Test public void test239EnableUserBarbossa() throws Exception { final String TEST_NAME = "test239EnableUserBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -899,7 +899,7 @@ public void test239EnableUserBarbossa() throws Exception { @Test public void test250AssignGuybrushPirates() throws Exception { final String TEST_NAME = "test250AssignGuybrushPirates"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -938,7 +938,7 @@ public void test250AssignGuybrushPirates() throws Exception { @Test public void test255ModifyUserGuybrushPassword() throws Exception { final String TEST_NAME = "test255ModifyUserGuybrushPassword"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -974,7 +974,7 @@ public void test255ModifyUserGuybrushPassword() throws Exception { @Test public void test260EnableGyubrush() throws Exception { final String TEST_NAME = "test260EnableGyubrush"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1009,7 +1009,7 @@ public void test260EnableGyubrush() throws Exception { @Test public void test300AssignBarbossaPirates() throws Exception { final String TEST_NAME = "test300AssignBarbossaPirates"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1043,7 +1043,7 @@ public void test300AssignBarbossaPirates() throws Exception { @Test public void test390ModifyUserBarbossaRename() throws Exception { final String TEST_NAME = "test390ModifyUserBarbossaRename"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1088,7 +1088,7 @@ public void test390ModifyUserBarbossaRename() throws Exception { @Test public void test395UnAssignBarbossaPirates() throws Exception { final String TEST_NAME = "test395UnAssignBarbossaPirates"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // TODO: do this on another account. There is a bad interference with rename. @@ -1124,7 +1124,7 @@ public void test395UnAssignBarbossaPirates() throws Exception { @Test public void test399UnAssignAccountBarbossa() throws Exception { final String TEST_NAME = "test399UnAssignAccountBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1151,7 +1151,7 @@ public void test399UnAssignAccountBarbossa() throws Exception { @Test public void test500AddOrgMeleeIsland() throws Exception { final String TEST_NAME = "test500AddOrgMeleeIsland"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1190,7 +1190,7 @@ public void test500AddOrgMeleeIsland() throws Exception { @Test public void test510AssignGuybrushMeleeIsland() throws Exception { final String TEST_NAME = "test510AssignGuybrushMeleeIsland"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdTest.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdTest.java index 45e8d7a9230..268e9b477b2 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdTest.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractAdTest.java @@ -208,7 +208,7 @@ public void test000Sanity() throws Exception { @Test public void test001ConnectorHostDiscovery() throws Exception { final String TEST_NAME = "test001ConnectorHostDiscovery"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -236,7 +236,7 @@ public void test001ConnectorHostDiscovery() throws Exception { @Test public void test002ImportResource() throws Exception { final String TEST_NAME = "test002ImportResource"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -255,7 +255,7 @@ public void test002ImportResource() throws Exception { @Test public void test020Schema() throws Exception { final String TEST_NAME = "test020Schema"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN ResourceSchema resourceSchema = RefinedResourceSchema.getResourceSchema(resource, prismContext); @@ -285,7 +285,7 @@ public void test020Schema() throws Exception { @Test public void test050Capabilities() throws Exception { final String TEST_NAME = "test050Capabilities"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Collection nativeCapabilitiesCollection = ResourceTypeUtil.getNativeCapabilitiesCollection(resourceType); display("Native capabilities", nativeCapabilitiesCollection); diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractEDirTest.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractEDirTest.java index adab26725b1..8ca1b4b257b 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractEDirTest.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractEDirTest.java @@ -199,7 +199,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); assertLdapPassword(ACCOUNT_JACK_UID, ACCOUNT_JACK_PASSWORD); assertEDirGroupMember(ACCOUNT_JACK_UID, GROUP_PIRATES_NAME); @@ -213,7 +213,7 @@ public void test000Sanity() throws Exception { @Test public void test050Capabilities() throws Exception { final String TEST_NAME = "test050Capabilities"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Collection nativeCapabilitiesCollection = ResourceTypeUtil.getNativeCapabilitiesCollection(resourceType); display("Native capabilities", nativeCapabilitiesCollection); @@ -227,7 +227,7 @@ public void test050Capabilities() throws Exception { @Test public void test100SeachJackByLdapUid() throws Exception { final String TEST_NAME = "test100SeachJackByLdapUid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -267,7 +267,7 @@ public void test100SeachJackByLdapUid() throws Exception { @Test public void test105SeachPiratesByCn() throws Exception { final String TEST_NAME = "test105SeachPiratesByCn"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -305,7 +305,7 @@ public void test105SeachPiratesByCn() throws Exception { @Test public void test110GetJack() throws Exception { final String TEST_NAME = "test110GetJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -338,7 +338,7 @@ public void test110GetJack() throws Exception { @Test public void test120JackLockout() throws Exception { final String TEST_NAME = "test120JackLockout"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -387,7 +387,7 @@ public void test120JackLockout() throws Exception { @Test public void test150SeachAllAccounts() throws Exception { final String TEST_NAME = "test150SeachAllAccounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -409,7 +409,7 @@ public void test150SeachAllAccounts() throws Exception { @Test public void test190SeachLockedAccounts() throws Exception { final String TEST_NAME = "test190SeachLockedAccounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -438,7 +438,7 @@ public void test190SeachLockedAccounts() throws Exception { @Test public void test200AssignAccountBarbossa() throws Exception { final String TEST_NAME = "test200AssignAccountBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -483,7 +483,7 @@ public void test200AssignAccountBarbossa() throws Exception { @Test public void test210ModifyAccountBarbossaTitle() throws Exception { final String TEST_NAME = "test210ModifyAccountBarbossaTitle"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -516,7 +516,7 @@ public void test210ModifyAccountBarbossaTitle() throws Exception { @Test public void test220ModifyUserBarbossaPassword() throws Exception { final String TEST_NAME = "test220ModifyUserBarbossaPassword"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -548,7 +548,7 @@ public void test220ModifyUserBarbossaPassword() throws Exception { @Test public void test230DisableBarbossa() throws Exception { final String TEST_NAME = "test230DisableBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -579,7 +579,7 @@ public void test230DisableBarbossa() throws Exception { @Test public void test239EnableBarbossa() throws Exception { final String TEST_NAME = "test239EnableBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -613,7 +613,7 @@ public void test239EnableBarbossa() throws Exception { @Test public void test240ModifyAccountBarbossaPasswordAllowChangeFalse() throws Exception { final String TEST_NAME = "test240ModifyAccountBarbossaPasswordAllowChangeFalse"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -654,7 +654,7 @@ public void test240ModifyAccountBarbossaPasswordAllowChangeFalse() throws Except @Test public void test250AssignGuybrushPirates() throws Exception { final String TEST_NAME = "test250AssignGuybrushPirates"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -691,7 +691,7 @@ public void test250AssignGuybrushPirates() throws Exception { @Test public void test260EnableGyubrush() throws Exception { final String TEST_NAME = "test260EnableGyubrush"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -724,7 +724,7 @@ public void test260EnableGyubrush() throws Exception { @Test public void test300AssignBarbossaPirates() throws Exception { final String TEST_NAME = "test300AssignBarbossaPirates"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -757,7 +757,7 @@ public void test300AssignBarbossaPirates() throws Exception { @Test public void test390ModifyUserBarbossaRename() throws Exception { final String TEST_NAME = "test390ModifyUserBarbossaRename"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -792,7 +792,7 @@ public void test390ModifyUserBarbossaRename() throws Exception { @Test public void test500AddOrgMeleeIsland() throws Exception { final String TEST_NAME = "test500AddOrgMeleeIsland"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -829,7 +829,7 @@ public void test500AddOrgMeleeIsland() throws Exception { @Test public void test510AssignGuybrushMeleeIsland() throws Exception { final String TEST_NAME = "test510AssignGuybrushMeleeIsland"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -859,7 +859,7 @@ public void test510AssignGuybrushMeleeIsland() throws Exception { @Test public void test520RenameOrgMeleeIsland() throws Exception { final String TEST_NAME = "test520RenameOrgMeleeIsland"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -886,7 +886,7 @@ public void test520RenameOrgMeleeIsland() throws Exception { @Test public void test800JackLockoutExpires() throws Exception { final String TEST_NAME = "test800JackLockoutExpires"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -934,7 +934,7 @@ public void test800JackLockoutExpires() throws Exception { @Test public void test810SeachLockedAccounts() throws Exception { final String TEST_NAME = "test810SeachLockedAccounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -952,7 +952,7 @@ public void test810SeachLockedAccounts() throws Exception { @Test public void test820JackLockoutAndUnlock() throws Exception { final String TEST_NAME = "test820JackLockoutAndUnlock"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1015,7 +1015,7 @@ public void test820JackLockoutAndUnlock() throws Exception { @Test public void test890UnAssignBarbossaPirates() throws Exception { final String TEST_NAME = "test890UnAssignBarbossaPirates"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // TODO: do this on another account. There is a bad interference with rename. @@ -1050,7 +1050,7 @@ public void test890UnAssignBarbossaPirates() throws Exception { @Test public void test899UnAssignAccountBarbossa() throws Exception { final String TEST_NAME = "test899UnAssignAccountBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapConnTest.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapConnTest.java index 17613ecd54e..c6073dd0191 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapConnTest.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapConnTest.java @@ -204,7 +204,7 @@ public void test000Sanity() throws Exception { @Test public void test100SeachAccount0ByLdapUid() throws Exception { final String TEST_NAME = "test100SeachAccount0ByLdapUid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -241,7 +241,7 @@ public void test100SeachAccount0ByLdapUid() throws Exception { @Test public void test150SeachAllAccounts() throws Exception { final String TEST_NAME = "test150SeachAllAccounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -268,7 +268,7 @@ public void test150SeachAllAccounts() throws Exception { @Test public void test152SeachFirst50Accounts() throws Exception { final String TEST_NAME = "test152SeachFirst50Accounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -299,7 +299,7 @@ public void test152SeachFirst50Accounts() throws Exception { @Test public void test154SeachFirst222Accounts() throws Exception { final String TEST_NAME = "test154SeachFirst222Accounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -330,7 +330,7 @@ public void test154SeachFirst222Accounts() throws Exception { @Test public void test156SeachThroughEnd() throws Exception { final String TEST_NAME = "test156SeachBeyondEnd"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -362,7 +362,7 @@ public void test156SeachThroughEnd() throws Exception { @Test public void test158SeachBeyondEnd() throws Exception { final String TEST_NAME = "test158SeachBeyondEnd"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -397,7 +397,7 @@ public void test158SeachBeyondEnd() throws Exception { @Test public void test162SeachFirst50AccountsOffset0() throws Exception { final String TEST_NAME = "test152SeachFirst50Accounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -431,7 +431,7 @@ public void test162SeachFirst50AccountsOffset0() throws Exception { @Test public void test172Search50AccountsOffset20() throws Exception { final String TEST_NAME = "test172Search50AccountsOffset20"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -463,7 +463,7 @@ public void test172Search50AccountsOffset20() throws Exception { @Test public void test174SeachFirst222AccountsOffset20() throws Exception { final String TEST_NAME = "test174SeachFirst222AccountsOffset20"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -495,7 +495,7 @@ public void test174SeachFirst222AccountsOffset20() throws Exception { @Test public void test182Search50AccountsOffset20SortUid() throws Exception { final String TEST_NAME = "test182Search50AccountsOffset20SortUid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -531,7 +531,7 @@ public void test182Search50AccountsOffset20SortUid() throws Exception { @Test public void test184SearchFirst222AccountsOffset20SortUid() throws Exception { final String TEST_NAME = "test184SeachFirst222AccountsOffset20SortUid"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -566,7 +566,7 @@ public void test184SearchFirst222AccountsOffset20SortUid() throws Exception { @Test public void test190SeachAllAccountsSizelimit() throws Exception { final String TEST_NAME = "test190SeachAllAccountsSizelimit"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -596,7 +596,7 @@ public void test190SeachAllAccountsSizelimit() throws Exception { @Test public void test195SearchInferno() throws Exception { final String TEST_NAME = "test195SearchInferno"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -643,7 +643,7 @@ public boolean handle(PrismObject object, OperationResult parentResu @Test public void test200AssignAccountToBarbossa() throws Exception { final String TEST_NAME = "test200AssignAccountToBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -691,7 +691,7 @@ public void test200AssignAccountToBarbossa() throws Exception { @Test public void test210ModifyAccountBarbossaReplaceTitle() throws Exception { final String TEST_NAME = "test210ModifyAccountBarbossaReplaceTitle"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -730,7 +730,7 @@ public void test210ModifyAccountBarbossaReplaceTitle() throws Exception { @Test public void test212ModifyAccountBarbossaAddTitleDuplicate() throws Exception { final String TEST_NAME = "test212ModifyAccountBarbossaAddTitleDuplicate"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -769,7 +769,7 @@ public void test212ModifyAccountBarbossaAddTitleDuplicate() throws Exception { @Test public void test213ModifyAccountBarbossaAddTitleDuplicateCapitalized() throws Exception { final String TEST_NAME = "test213ModifyAccountBarbossaAddTitleDuplicateCapitalized"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -804,7 +804,7 @@ public void test213ModifyAccountBarbossaAddTitleDuplicateCapitalized() throws Ex @Test public void test220ModifyUserBarbossaPassword() throws Exception { final String TEST_NAME = "test220ModifyUserBarbossaPassword"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -838,7 +838,7 @@ public void test220ModifyUserBarbossaPassword() throws Exception { @Test public void test230ModifyUserBarbossaEmployeeType() throws Exception { final String TEST_NAME = "test230ModifyUserBarbossaEmployeeType"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -866,7 +866,7 @@ public void test230ModifyUserBarbossaEmployeeType() throws Exception { @Test public void test232ModifyUserBarbossaEmployeeTypeAgain() throws Exception { final String TEST_NAME = "test232ModifyUserBarbossaEmployeeTypeAgain"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -894,7 +894,7 @@ public void test232ModifyUserBarbossaEmployeeTypeAgain() throws Exception { @Test public void test234ModifyUserBarbossaEmployeeTypeAgainCapitalized() throws Exception { final String TEST_NAME = "test234ModifyUserBarbossaEmployeeTypeAgainCapitalized"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -922,7 +922,7 @@ public void test234ModifyUserBarbossaEmployeeTypeAgainCapitalized() throws Excep @Test public void test290ModifyUserBarbossaRename() throws Exception { final String TEST_NAME = "test290ModifyUserBarbossaRename"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -966,7 +966,7 @@ public void test290ModifyUserBarbossaRename() throws Exception { @Test public void test292ModifyUserBarbossaRenameCapitalized() throws Exception { final String TEST_NAME = "test292ModifyUserBarbossaRenameCapitalized"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1011,7 +1011,7 @@ public void test292ModifyUserBarbossaRenameCapitalized() throws Exception { @Test public void test299UnAssignAccountBarbossa() throws Exception { final String TEST_NAME = "test299UnAssignAccountBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1041,7 +1041,7 @@ public void test299UnAssignAccountBarbossa() throws Exception { @Test public void test300AssignRoleEvilToLechuck() throws Exception { final String TEST_NAME = "test300AssignRoleEvilToLechuck"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1083,7 +1083,7 @@ public void test300AssignRoleEvilToLechuck() throws Exception { @Test public void test302AssignRoleUndeadToLechuck() throws Exception { final String TEST_NAME = "test302AssignRoleUndeadToLechuck"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1122,7 +1122,7 @@ public void test302AssignRoleUndeadToLechuck() throws Exception { @Test public void test306UnassignRoleEvilFromLechuck() throws Exception { final String TEST_NAME = "test306UnassignRoleEvilFromLechuck"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1161,7 +1161,7 @@ public void test306UnassignRoleEvilFromLechuck() throws Exception { @Test public void test309UnassignRoleUndeadFromLechuck() throws Exception { final String TEST_NAME = "test309UnassignRoleUndeadFromLechuck"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1197,7 +1197,7 @@ public void test309UnassignRoleUndeadFromLechuck() throws Exception { @Test public void test310SeachGroupEvilByCn() throws Exception { final String TEST_NAME = "test310SeachGroupEvilByCn"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1236,7 +1236,7 @@ public void test310SeachGroupEvilByCn() throws Exception { @Test public void test312AssignRoleEvilToBarbossa() throws Exception { final String TEST_NAME = "test312AssignRoleEvilToBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1285,7 +1285,7 @@ public void test312AssignRoleEvilToBarbossa() throws Exception { @Test public void test314ModifyUserBarbossaRenameBack() throws Exception { final String TEST_NAME = "test314ModifyUserBarbossaRenameBack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -1341,7 +1341,7 @@ public void test314ModifyUserBarbossaRenameBack() throws Exception { @Test public void test320AddEvilUserLargo() throws Exception { final String TEST_NAME = "test320AddEvilUserLargo"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapSynchronizationTest.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapSynchronizationTest.java index 57509466ec6..53830923be2 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapSynchronizationTest.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapSynchronizationTest.java @@ -177,7 +177,7 @@ protected void assertAdditionalCapabilities(List nativeCapabilities) { @Test public void test800ImportSyncTask() throws Exception { final String TEST_NAME = "test800ImportSyncTask"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -204,7 +204,7 @@ public void test800ImportSyncTask() throws Exception { @Test public void test801SyncAddAccountHt() throws Exception { final String TEST_NAME = "test801SyncAddAccountHt"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -237,7 +237,7 @@ public void test801SyncAddAccountHt() throws Exception { @Test public void test802ModifyAccountHt() throws Exception { final String TEST_NAME = "test802ModifyAccountHt"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -272,7 +272,7 @@ public void test802ModifyAccountHt() throws Exception { @Test public void test810SyncAddGroupMonkeys() throws Exception { final String TEST_NAME = "test810SyncAddGroupMonkeys"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -308,7 +308,7 @@ public void test810SyncAddGroupMonkeys() throws Exception { @Test public void test817RenameAccount() throws Exception { final String TEST_NAME = "test817RenameAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -360,7 +360,7 @@ protected void doAdditionalRenameModifications(LdapNetworkConnection connection) @Test public void test818DeleteAccountHtm() throws Exception { final String TEST_NAME = "test818DeleteAccountHtm"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -400,7 +400,7 @@ public void test818DeleteAccountHtm() throws Exception { @Test public void test819DeleteSyncTask() throws Exception { final String TEST_NAME = "test819DeleteSyncTask"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -421,7 +421,7 @@ public void test819DeleteSyncTask() throws Exception { @Test public void test820ImportSyncTaskInetOrgPerson() throws Exception { final String TEST_NAME = "test820ImportSyncTaskInetOrgPerson"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -451,7 +451,7 @@ public void test820ImportSyncTaskInetOrgPerson() throws Exception { @Test public void test821SyncAddAccountHt() throws Exception { final String TEST_NAME = "test821SyncAddAccountHt"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -483,7 +483,7 @@ public void test821SyncAddAccountHt() throws Exception { @Test public void test822ModifyAccountHt() throws Exception { final String TEST_NAME = "test822ModifyAccountHt"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -520,7 +520,7 @@ public void test822ModifyAccountHt() throws Exception { @Test public void test830AddGroupFools() throws Exception { final String TEST_NAME = "test830AddGroupFools"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -549,7 +549,7 @@ public void test830AddGroupFools() throws Exception { @Test public void test837RenameAccount() throws Exception { final String TEST_NAME = "test837RenameAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -595,7 +595,7 @@ public void test837RenameAccount() throws Exception { @Test public void test838DeleteAccountHtm() throws Exception { final String TEST_NAME = "test838DeleteAccountHtm"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); @@ -632,7 +632,7 @@ public void test838DeleteAccountHtm() throws Exception { @Test public void test839DeleteSyncTask() throws Exception { final String TEST_NAME = "test839DeleteSyncTask"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapTest.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapTest.java index 68ccd4f0792..047995bba32 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapTest.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapTest.java @@ -384,7 +384,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test010Connection() throws Exception { final String TEST_NAME = "test010Connection"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); @@ -404,7 +404,7 @@ public void test010Connection() throws Exception { @Test public void test020Schema() throws Exception { final String TEST_NAME = "test020Schema"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); ResourceSchema resourceSchema = RefinedResourceSchema.getResourceSchema(resource, prismContext); display("Resource schema", resourceSchema); @@ -440,7 +440,7 @@ public void test020Schema() throws Exception { @Test public void test030Capabilities() throws Exception { final String TEST_NAME = "test030Capabilities"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); CapabilitiesType capabilities = resourceType.getCapabilities(); display("Resource capabilities", capabilities); diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/TestOpenDjUnsafe.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/TestOpenDjUnsafe.java index 0dc58a63eeb..e2ef918e309 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/TestOpenDjUnsafe.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/TestOpenDjUnsafe.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2016 Evolveum + * Copyright (c) 2016-2017 Evolveum * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,7 +25,7 @@ /** * Almost same sa TestOpenDj, but there is unsafeNameHint setting and maybe - * some other possibly risky connector settings. + * some other possibly risky and alternative connector settings. * * @author semancik */ diff --git a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/TestOpenLdap.java b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/TestOpenLdap.java index 226396bb169..ad0eb3c19b1 100644 --- a/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/TestOpenLdap.java +++ b/testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/TestOpenLdap.java @@ -185,7 +185,7 @@ protected void assertStepSyncToken(String syncTaskOid, int step, long tsStart, l @Test public void test700CheckBarbossaLockoutStatus() throws Exception { final String TEST_NAME = "test700CheckBarbossaLockoutStatus"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // WHEN TestUtil.displayWhen(TEST_NAME); @@ -208,7 +208,7 @@ public void test700CheckBarbossaLockoutStatus() throws Exception { @Test public void test702LockOutBarbossa() throws Exception { final String TEST_NAME = "test702LockOutBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Entry entry = getLdapAccountByUid(USER_BARBOSSA_USERNAME); display("LDAP Entry before", entry); @@ -244,7 +244,7 @@ public void test702LockOutBarbossa() throws Exception { @Test public void test705UnlockBarbossaAccount() throws Exception { final String TEST_NAME = "test705UnlockBarbossaAccount"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(this.getClass().getName() + "." + TEST_NAME); diff --git a/testing/conntest/src/test/resources/opendj/resource-unsafe.xml b/testing/conntest/src/test/resources/opendj/resource-unsafe.xml index cc327eaf23c..b1636807374 100644 --- a/testing/conntest/src/test/resources/opendj/resource-unsafe.xml +++ b/testing/conntest/src/test/resources/opendj/resource-unsafe.xml @@ -53,6 +53,7 @@ isMemberOf createTimestamp true + true false diff --git a/testing/consistency-mechanism/src/test/java/com/evolveum/midpoint/testing/consistency/ConsistencyTest.java b/testing/consistency-mechanism/src/test/java/com/evolveum/midpoint/testing/consistency/ConsistencyTest.java index 1cba2fb3b93..75ff7ba72f4 100644 --- a/testing/consistency-mechanism/src/test/java/com/evolveum/midpoint/testing/consistency/ConsistencyTest.java +++ b/testing/consistency-mechanism/src/test/java/com/evolveum/midpoint/testing/consistency/ConsistencyTest.java @@ -362,7 +362,7 @@ public static void stopResources() throws Exception { @Test public void test000Integrity() throws Exception { final String TEST_NAME = "test000Integrity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assertNotNull(modelWeb); assertNotNull(modelService); assertNotNull(repositoryService); @@ -403,7 +403,7 @@ public void test000Integrity() throws Exception { @Test public void test001TestConnectionOpenDJ() throws Exception { final String TEST_NAME = "test001TestConnectionOpenDJ"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(); // GIVEN @@ -492,7 +492,7 @@ public void test100AddUser() throws Exception { @Test public void test110PrepareOpenDjWithAccounts() throws Exception { final String TEST_NAME = "test110PrepareOpenDjWithAccounts"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult parentResult = new OperationResult(TEST_NAME); ShadowType jackeAccount = unmarshallValueFromFile(REQUEST_ADD_ACCOUNT_JACKIE, @@ -591,7 +591,7 @@ public void test110PrepareOpenDjWithAccounts() throws Exception { assertNotNull("No 'enabled' in the shadow", modelShadow.getActivation().getAdministrativeStatus()); assertEquals("The account is not enabled in the shadow", ActivationStatusType.ENABLED, modelShadow.getActivation().getAdministrativeStatus()); - TestUtil.displayTestTile("test013prepareOpenDjWithAccounts - add second account"); + TestUtil.displayTestTitle("test013prepareOpenDjWithAccounts - add second account"); OperationResult secondResult = new OperationResult( "test013prepareOpenDjWithAccounts - add second account"); @@ -607,7 +607,7 @@ public void test110PrepareOpenDjWithAccounts() throws Exception { @Test public void test120AddAccountAlreadyExistLinked() throws Exception { final String TEST_NAME = "test120AddAccountAlreadyExistLinked"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(); // GIVEN OperationResult parentResult = new OperationResult("Add account already exist linked"); @@ -635,7 +635,7 @@ public void test120AddAccountAlreadyExistLinked() throws Exception { @Test public void test122AddAccountAlreadyExistUnlinked() throws Exception { final String TEST_NAME = "test122AddAccountAlreadyExistUnlinked"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult parentResult = new OperationResult("Add account already exist unlinked."); @@ -684,7 +684,7 @@ public void test122AddAccountAlreadyExistUnlinked() throws Exception { @Test public void test124AddAccountDirectAlreadyExists() throws Exception { final String TEST_NAME = "test124AddAccountDirectAlreadyExists"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult parentResult = new OperationResult(TEST_NAME); Task task = taskManager.createTaskInstance(); @@ -814,7 +814,7 @@ public void test124AddAccountDirectAlreadyExists() throws Exception { @Test public void test130DeleteObjectNotFound() throws Exception { final String TEST_NAME = "test130DeleteObjectNotFound"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult parentResult = new OperationResult(TEST_NAME); repoAddShadowFromFile(ACCOUNT_GUYBRUSH_FILE, parentResult); @@ -848,7 +848,7 @@ public void test130DeleteObjectNotFound() throws Exception { @Test public void test140ModifyObjectNotFound() throws Exception { final String TEST_NAME = "test140ModifyObjectNotFound"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult result = new OperationResult(TEST_NAME); repoAddShadowFromFile(ACCOUNT_GUYBRUSH_FILE, result); @@ -882,7 +882,7 @@ public void test140ModifyObjectNotFound() throws Exception { @Test public void test142ModifyObjectNotFoundAssignedAccount() throws Exception { final String TEST_NAME = "test142ModifyObjectNotFoundAssignedAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult parentResult = new OperationResult(TEST_NAME); @@ -924,7 +924,7 @@ public void test142ModifyObjectNotFoundAssignedAccount() throws Exception { @Test public void test144GetObjectNotFoundAssignedAccount() throws Exception { final String TEST_NAME = "test144GetObjectNotFoundAssignedAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult parentResult = new OperationResult(TEST_NAME); @@ -954,7 +954,7 @@ public void test144GetObjectNotFoundAssignedAccount() throws Exception { @Test public void test150RecomputeUserAccountNotFound() throws Exception { final String TEST_NAME = "test150RecomputeUserAccountNotFound"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TEST_NAME); @@ -1004,7 +1004,7 @@ public void test150RecomputeUserAccountNotFound() throws Exception { @Test public void test152RecomputeUserAccountAndShadowNotFound() throws Exception { final String TEST_NAME = "test152RecomputeUserAccountAndShadowNotFound"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TEST_NAME); @@ -1041,7 +1041,7 @@ public void test152RecomputeUserAccountAndShadowNotFound() throws Exception { @Test public void test159DeleteUSerGuybrush() throws Exception { final String TEST_NAME = "test159DeleteUSerGuybrush"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TEST_NAME); @@ -1072,7 +1072,7 @@ public void test159DeleteUSerGuybrush() throws Exception { @Test public void test200StopOpenDj() throws Exception { final String TEST_NAME = "test200StopOpenDj"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); openDJController.stop(); assertEquals("Resource is running", false, EmbeddedUtils.isRunning()); @@ -1081,7 +1081,7 @@ public void test200StopOpenDj() throws Exception { @Test public void test210AddObjectCommunicationProblem() throws Exception { final String TEST_NAME = "test210AddObjectCommunicationProblem"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeStopped(); @@ -1108,7 +1108,7 @@ public void test210AddObjectCommunicationProblem() throws Exception { @Test public void test212AddModifyObjectCommunicationProblem() throws Exception { final String TEST_NAME = "test212AddModifyObjectCommunicationProblem"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeStopped(); @@ -1129,7 +1129,7 @@ public void test212AddModifyObjectCommunicationProblem() throws Exception { @Test public void test214ModifyObjectCommunicationProblem() throws Exception { final String TEST_NAME = "test214ModifyObjectCommunicationProblem"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeStopped(); @@ -1151,7 +1151,7 @@ public void test214ModifyObjectCommunicationProblem() throws Exception { @Test public void test220DeleteObjectCommunicationProblem() throws Exception { final String TEST_NAME = "test220DeleteObjectCommunicationProblem"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeStopped(); @@ -1176,7 +1176,7 @@ public void test220DeleteObjectCommunicationProblem() throws Exception { @Test public void test230GetAccountCommunicationProblem() throws Exception { final String TEST_NAME = "test230GetAccountCommunicationProblem"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeStopped(); @@ -1191,7 +1191,7 @@ public void test230GetAccountCommunicationProblem() throws Exception { @Test public void test240AddObjectCommunicationProblemAlreadyExists() throws Exception{ final String TEST_NAME = "test240AddObjectCommunicationProblemAlreadyExists"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeRunning(); @@ -1229,7 +1229,7 @@ public void test240AddObjectCommunicationProblemAlreadyExists() throws Exception @Test public void test250ModifyObjectTwoTimesCommunicationProblem() throws Exception { final String TEST_NAME = "test250ModifyObjectTwoTimesCommunicationProblem"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeStopped(); @@ -1302,7 +1302,7 @@ public void test250ModifyObjectTwoTimesCommunicationProblem() throws Exception { @Test public void test260GetDiscoveryAddCommunicationProblem() throws Exception { final String TEST_NAME = "test260GetDiscoveryAddCommunicationProblem"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeStopped(); @@ -1343,7 +1343,7 @@ public void test260GetDiscoveryAddCommunicationProblem() throws Exception { @Test public void test262GetDiscoveryModifyCommunicationProblem() throws Exception { final String TEST_NAME = "test262GetDiscoveryModifyCommunicationProblem"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeRunning(); @@ -1384,7 +1384,7 @@ public void test262GetDiscoveryModifyCommunicationProblem() throws Exception { @Test public void test264GetDiscoveryModifyUserPasswordCommunicationProblem() throws Exception { final String TEST_NAME = "test264GetDiscoveryModifyUserPasswordCommunicationProblem"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeStopped(); @@ -1423,7 +1423,7 @@ public void test264GetDiscoveryModifyUserPasswordCommunicationProblem() throws E @Test public void test265ModifyUserPasswordCommunicationProblemRecon() throws Exception { final String TEST_NAME = "test265ModifyUserPasswordCommunicationProblemRecon"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeStopped(); @@ -1470,7 +1470,7 @@ public void test265ModifyUserPasswordCommunicationProblemRecon() throws Exceptio @Test public void test270ModifyDiscoveryAddCommunicationProblem() throws Exception { final String TEST_NAME = "test270ModifyDiscoveryAddCommunicationProblem"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeStopped(); @@ -1529,7 +1529,7 @@ public void test270ModifyDiscoveryAddCommunicationProblem() throws Exception { @Test public void test280ModifyObjectCommunicationProblemWeakMapping() throws Exception{ final String TEST_NAME = "test280ModifyObjectCommunicationProblemWeakMapping"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeRunning(); @@ -1568,7 +1568,7 @@ public void test280ModifyObjectCommunicationProblemWeakMapping() throws Exceptio @Test public void test282ModifyObjectCommunicationProblemWeakAndStrongMapping() throws Exception { final String TEST_NAME = "test282ModifyObjectCommunicationProblemWeakAndStrongMapping"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeRunning(); @@ -1612,7 +1612,7 @@ public void test282ModifyObjectCommunicationProblemWeakAndStrongMapping() throws @Test public void test283GetObjectNoFetchShadowAndRecompute() throws Exception { final String TEST_NAME = "test283GetObjectNoFetchShadowAndRecompute"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeRunning(); @@ -1649,7 +1649,7 @@ public void test283GetObjectNoFetchShadowAndRecompute() throws Exception { @Test public void test284ModifyObjectAssignToGroupCommunicationProblem() throws Exception { final String TEST_NAME = "test284ModifyObjectAssignToGroupCommunicationProblem"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(); OperationResult parentResult = new OperationResult(TEST_NAME); // GIVEN @@ -1703,7 +1703,7 @@ public void test284ModifyObjectAssignToGroupCommunicationProblem() throws Except @Test(enabled = false) public void test400GetDiscoveryAddCommunicationProblemAlreadyExists() throws Exception{ final String TEST_NAME = "test400GetDiscoveryAddCommunicationProblemAlreadyExists"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeStopped(); @@ -1750,7 +1750,7 @@ public void test400GetDiscoveryAddCommunicationProblemAlreadyExists() throws Exc @Test public void test500AddUserMorganWithAssignment() throws Exception { final String TEST_NAME = "test500AddUserMorganWithAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeRunning(); @@ -1804,7 +1804,7 @@ public void test500AddUserMorganWithAssignment() throws Exception { @Test public void test501AddUserChuckWithAssignment() throws Exception { final String TEST_NAME = "test501AddUserChuckWithAssignment"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeRunning(); @@ -1865,7 +1865,7 @@ public void test501AddUserChuckWithAssignment() throws Exception { @Test public void test502AssignAccountToHerman() throws Exception { final String TEST_NAME = "test502AssignAccountToHerman"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeRunning(); @@ -1923,7 +1923,7 @@ public void test502AssignAccountToHerman() throws Exception { @Test public void test510UnlinkAndUnassignAccountMorgan() throws Exception { final String TEST_NAME = "test510UnlinkAndUnassignAccountMorgan"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeRunning(); @@ -1993,7 +1993,7 @@ public void test510UnlinkAndUnassignAccountMorgan() throws Exception { @Test public void test511AssignAccountMorgan() throws Exception { final String TEST_NAME = "test511AssignAccountMorgan"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN openDJController.assumeRunning(); @@ -2065,7 +2065,7 @@ public void test511AssignAccountMorgan() throws Exception { @Test public void test600DeleteUserAlice() throws Exception { String TEST_NAME = "test600DeleteUserAlice"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); openDJController.assumeRunning(); Task task = taskManager.createTaskInstance(TEST_NAME); @@ -2088,7 +2088,7 @@ public void test600DeleteUserAlice() throws Exception { @Test public void test601GetDiscoveryModifyCommunicationProblemDirectAccount() throws Exception { String TEST_NAME = "test601GetDiscoveryModifyCommunicationProblemDirectAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); openDJController.assumeRunning(); OperationResult parentResult = new OperationResult(TEST_NAME); @@ -2135,7 +2135,7 @@ public void test601GetDiscoveryModifyCommunicationProblemDirectAccount() throws @Test public void test800Reconciliation() throws Exception { final String TEST_NAME = "test800Reconciliation"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); openDJController.assumeRunning(); @@ -2211,7 +2211,7 @@ public void test800Reconciliation() throws Exception { @Test public void test801TestReconciliationRename() throws Exception { final String TEST_NAME = "test801TestReconciliationRename"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); openDJController.assumeRunning(); Task task = createTask(TEST_NAME); diff --git a/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestGenericSynchronization.java b/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestGenericSynchronization.java index 2e793d7fa19..b0cf2eeec6a 100644 --- a/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestGenericSynchronization.java +++ b/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestGenericSynchronization.java @@ -214,7 +214,7 @@ private Entry createOrgEntry(String ou, String suffix) throws IOException, LDIFE @Test public void test100TreeImport() throws Exception { final String TEST_NAME = "test100TreeImport"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestLdap.class.getName() + "." + TEST_NAME); task.setOwner(getUser(USER_ADMINISTRATOR_OID)); @@ -242,7 +242,7 @@ public void test100TreeImport() throws Exception { @Test public void test200MoveRootChild() throws Exception { final String TEST_NAME = "test200MoveRootChild"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); //todo move one child of one root to root position } diff --git a/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdap.java b/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdap.java index 98df1b1bb1c..3196294c34e 100644 --- a/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdap.java +++ b/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdap.java @@ -219,7 +219,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); assertUsers(NUM_INITIAL_USERS); } @@ -231,7 +231,7 @@ public void test000Sanity() throws Exception { @Test public void test200AssignRolePiratesToBarbossa() throws Exception { final String TEST_NAME = "test200AssignRolePiratesToBarbossa"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestLdap.class.getName() + "." + TEST_NAME); @@ -259,7 +259,7 @@ public void test200AssignRolePiratesToBarbossa() throws Exception { @Test public void test202AssignLdapAccountToGuybrush() throws Exception { final String TEST_NAME = "test202AssignLdapAccountToGuybrush"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestLdap.class.getName() + "." + TEST_NAME); @@ -318,7 +318,7 @@ public void test202AssignLdapAccountToGuybrush() throws Exception { @Test public void test204AssignRolePiratesToGuybrush() throws Exception { final String TEST_NAME = "test204AssignRolePiratesToGuybrush"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestLdap.class.getName() + "." + TEST_NAME); @@ -349,7 +349,7 @@ public void test204AssignRolePiratesToGuybrush() throws Exception { @Test public void test400RenameLeChuckConflicting() throws Exception { final String TEST_NAME = "test400RenameLeChuckConflicting"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestLdap.class.getName() + "." + TEST_NAME); @@ -387,7 +387,7 @@ public void test400RenameLeChuckConflicting() throws Exception { @Test public void test800BigLdapSearch() throws Exception { final String TEST_NAME = "test800BigLdapSearch"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN @@ -432,7 +432,7 @@ public boolean handle(PrismObject shadow, OperationResult parentResu @Test public void test810BigImport() throws Exception { final String TEST_NAME = "test810BigImport"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN @@ -468,7 +468,7 @@ public void test810BigImport() throws Exception { @Test public void test820BigReconciliation() throws Exception { final String TEST_NAME = "test820BigReconciliation"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN @@ -506,7 +506,7 @@ public void test820BigReconciliation() throws Exception { @Test public void test900DeleteShadows() throws Exception { final String TEST_NAME = "test900DeleteShadows"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN @@ -556,7 +556,7 @@ public void test900DeleteShadows() throws Exception { @Test public void test910DeleteAccounts() throws Exception { final String TEST_NAME = "test910DeleteAccounts"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestLdap.class.getName() + "." + TEST_NAME); diff --git a/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdapComplex.java b/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdapComplex.java index 8225d4cd4ff..7e1d4487e8b 100644 --- a/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdapComplex.java +++ b/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdapComplex.java @@ -158,7 +158,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100BigImport() throws Exception { final String TEST_NAME = "test100BigImport"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN @@ -201,7 +201,7 @@ private void assertUser(String name, Task task, OperationResult result) throws c @Test(enabled = false) public void test120BigReconciliation() throws Exception { final String TEST_NAME = "test120BigReconciliation"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN diff --git a/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdapUniversity.java b/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdapUniversity.java index fc288adcca6..360af877652 100644 --- a/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdapUniversity.java +++ b/testing/longtest/src/test/java/com/evolveum/midpoint/testing/longtest/TestLdapUniversity.java @@ -139,7 +139,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test100BigImportWithLinking() throws Exception { final String TEST_NAME = "test100BigImportWithLinking"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN @@ -212,7 +212,7 @@ private void assertUser(String name, Task task, OperationResult result) throws c @Test public void test120BigReconciliation() throws Exception { final String TEST_NAME = "test120BigReconciliation"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN diff --git a/testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestAbstractRestService.java b/testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestAbstractRestService.java index 126a1b45477..59fef74cb8a 100644 --- a/testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestAbstractRestService.java +++ b/testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestAbstractRestService.java @@ -15,7 +15,7 @@ */ package com.evolveum.midpoint.testing.rest; -import static com.evolveum.midpoint.test.util.TestUtil.displayTestTile; +import static com.evolveum.midpoint.test.util.TestUtil.displayTestTitle; import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertNotNull; import static org.testng.AssertJUnit.assertTrue; @@ -128,7 +128,7 @@ public TestAbstractRestService() { @Test public void test001GetUserAdministrator() { final String TEST_NAME = "test001GetUserAdministrator"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -152,7 +152,7 @@ public void test001GetUserAdministrator() { @Test public void test002GetNonExistingUser() { final String TEST_NAME = "test002GetNonExistingUser"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/12345"); @@ -177,7 +177,7 @@ public void test002GetNonExistingUser() { @Test public void test003GetNoAuthHeaders() { final String TEST_NAME = "test003GetNoAuthHeaders"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(null, null); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -198,7 +198,7 @@ public void test003GetNoAuthHeaders() { @Test public void test004GetAuthBadUsernameNullPassword() { final String TEST_NAME = "test004GetAuthBadUsernameNullPassword"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient("NoSUCHuser", null); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -219,7 +219,7 @@ public void test004GetAuthBadUsernameNullPassword() { @Test public void test005GetAuthBadUsernameEmptyPassword() { final String TEST_NAME = "test005GetAuthBadUsernameEmptyPassword"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient("NoSUCHuser", ""); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -240,7 +240,7 @@ public void test005GetAuthBadUsernameEmptyPassword() { @Test public void test006GetAuthBadUsernameBadPassword() { final String TEST_NAME = "test006GetAuthBadUsernameBadPassword"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient("NoSUCHuser", "NoSuchPassword"); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -261,7 +261,7 @@ public void test006GetAuthBadUsernameBadPassword() { @Test public void test007GetAuthNoPassword() { final String TEST_NAME = "test007GetAuthNoPassword"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_ADMINISTRATOR_USERNAME, null); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -282,7 +282,7 @@ public void test007GetAuthNoPassword() { @Test public void test016GetAuthBadPassword() { final String TEST_NAME = "test016GetAuthBadPassword"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_ADMINISTRATOR_USERNAME, "forgot"); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -303,7 +303,7 @@ public void test016GetAuthBadPassword() { @Test public void test017GetUnauthorizedUser() { final String TEST_NAME = "test017GetUnauthorizedUser"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_NOBODY_USERNAME, USER_NOBODY_PASSWORD); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -324,7 +324,7 @@ public void test017GetUnauthorizedUser() { @Test public void test018GetUserAdministratorByCyclops() { final String TEST_NAME = "test018GetUserAdministratorByCyclops"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_CYCLOPS_USERNAME, USER_CYCLOPS_PASSWORD); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -345,7 +345,7 @@ public void test018GetUserAdministratorByCyclops() { @Test public void test019GetUserAdministratorBySomebody() { final String TEST_NAME = "test019GetUserAdministratorBySomebody"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_SOMEBODY_USERNAME, USER_SOMEBODY_PASSWORD); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -371,7 +371,7 @@ public void test019GetUserAdministratorBySomebody() { @Test public void test102AddUserTemplate() throws Exception { final String TEST_NAME = "test102AddUserTemplate"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/objectTemplates/"); @@ -395,7 +395,7 @@ public void test102AddUserTemplate() throws Exception { @Test public void test103AddUserBadTargetCollection() throws Exception { final String TEST_NAME = "test103AddUserBadTargetCollection"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/objectTemplates"); @@ -422,7 +422,7 @@ public void test103AddUserBadTargetCollection() throws Exception { @Test public void test104AddAccountRawResourceDoesNotExist() throws Exception { final String TEST_NAME = "test104AddAccountRaw"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/shadows"); @@ -463,7 +463,7 @@ public void test104AddAccountRawResourceDoesNotExist() throws Exception { @Test public void test120AddRoleAdder() throws Exception { final String TEST_NAME = "test120AddRoleAdder"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/roles"); @@ -486,7 +486,7 @@ public void test120AddRoleAdder() throws Exception { @Test public void test121AddUserDarthAdder() throws Exception { final String TEST_NAME = "test121AddUserDarthAdder"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users"); @@ -510,7 +510,7 @@ public void test121AddUserDarthAdder() throws Exception { @Test public void test122AddRoleModifierAsDarthAdder() throws Exception { final String TEST_NAME = "test122AddRoleModifierAsDarthAdder"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_DARTHADDER_USERNAME, USER_DARTHADDER_PASSWORD); client.path("/roles"); @@ -533,7 +533,7 @@ public void test122AddRoleModifierAsDarthAdder() throws Exception { @Test public void test123DarthAdderAssignModifierHimself() throws Exception { final String TEST_NAME = "test123DarthAdderAssignModifierHimself"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_DARTHADDER_USERNAME, USER_DARTHADDER_PASSWORD); client.path("/users/"+USER_DARTHADDER_OID); @@ -560,7 +560,7 @@ public void test123DarthAdderAssignModifierHimself() throws Exception { @Test public void test124DarthAdderAssignModifierByAdministrator() throws Exception { final String TEST_NAME = "test124DarthAdderAssignModifierByAdministrator"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/"+USER_DARTHADDER_OID); @@ -587,7 +587,7 @@ public void test124DarthAdderAssignModifierByAdministrator() throws Exception { @Test public void test130DarthAdderDisableHimself() throws Exception { final String TEST_NAME = "test130DarthAdderDisableHimself"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_DARTHADDER_USERNAME, USER_DARTHADDER_PASSWORD); client.path("/users/"+USER_DARTHADDER_OID); @@ -614,7 +614,7 @@ public void test130DarthAdderDisableHimself() throws Exception { @Test public void test131GetUserAdministratorByDarthAdder() { final String TEST_NAME = "test131GetUserAdministratorByDarthAdder"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_DARTHADDER_USERNAME, USER_DARTHADDER_PASSWORD); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -636,7 +636,7 @@ public void test131GetUserAdministratorByDarthAdder() { @Test public void test132DarthAdderEnableByAdministrator() throws Exception { final String TEST_NAME = "test132DarthAdderEnableByAdministrator"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/"+USER_DARTHADDER_OID); @@ -663,7 +663,7 @@ public void test132DarthAdderEnableByAdministrator() throws Exception { @Test public void test133GetUserAdministratorByDarthAdder() { final String TEST_NAME = "test133GetUserAdministratorByDarthAdder"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_DARTHADDER_USERNAME, USER_DARTHADDER_PASSWORD); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -687,7 +687,7 @@ public void test133GetUserAdministratorByDarthAdder() { @Test public void test135AddUserNopasswordAsDarthAdder() throws Exception { final String TEST_NAME = "test135AddUserNopasswordAsDarthAdder"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_DARTHADDER_USERNAME, USER_DARTHADDER_PASSWORD); client.path("/users"); @@ -710,7 +710,7 @@ public void test135AddUserNopasswordAsDarthAdder() throws Exception { @Test public void test140GetUserAdministratorByNopassword() { final String TEST_NAME = "test140GetUserAdministratorByNopassword"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_NOPASSWORD_USERNAME, null); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -732,7 +732,7 @@ public void test140GetUserAdministratorByNopassword() { @Test public void test141GetUserAdministratorByNopasswordBadPassword() { final String TEST_NAME = "test140GetUserAdministratorByNopassword"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_NOPASSWORD_USERNAME, "bad"); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -754,7 +754,7 @@ public void test141GetUserAdministratorByNopasswordBadPassword() { @Test public void test200searchAllUsers() { final String TEST_NAME = "test200searchAllUsers"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/search"); @@ -779,7 +779,7 @@ public void test200searchAllUsers() { @Test public void test401AddUserTemplateOverwrite() throws Exception { final String TEST_NAME = "test401AddUserTemplateOverwrite"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/objectTemplates"); @@ -811,7 +811,7 @@ public void test401AddUserTemplateOverwrite() throws Exception { @Test public void test501generateValue() throws Exception { final String TEST_NAME = "test501generateValue"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID + "/generate"); @@ -837,7 +837,7 @@ public void test501generateValue() throws Exception { @Test public void test502generateValueBadPath() throws Exception { final String TEST_NAME = "test502generateValueBadPath"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID + "/generate"); @@ -861,7 +861,7 @@ public void test502generateValueBadPath() throws Exception { @Test public void test503generateValueExecute() throws Exception { final String TEST_NAME = "test503generateValueExecute"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID + "/generate"); @@ -889,7 +889,7 @@ public void test503generateValueExecute() throws Exception { @Test public void test504checkGeneratedValue() throws Exception { final String TEST_NAME = "test503generateValueExecute"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID ); @@ -912,7 +912,7 @@ public void test504checkGeneratedValue() throws Exception { @Test public void test505generatePasswordExecute() throws Exception { final String TEST_NAME = "test505generatePasswordExecute"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID + "/generate"); @@ -940,7 +940,7 @@ public void test505generatePasswordExecute() throws Exception { @Test public void test506generateHonorificPrefixNameExecute() throws Exception { final String TEST_NAME = "test506generateHonorificPrefixNameExecute"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID + "/generate"); @@ -980,7 +980,7 @@ private OperationResult traceResponse(Response response){ @Test public void test510validateValueExplicit() throws Exception { final String TEST_NAME = "test510validateValueExplicit"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID + "/validate"); @@ -1005,7 +1005,7 @@ public void test510validateValueExplicit() throws Exception { @Test public void test511validateValueExplicitConflict() throws Exception { final String TEST_NAME = "test511validateValueExplicitConflict"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID + "/validate"); @@ -1032,7 +1032,7 @@ public void test511validateValueExplicitConflict() throws Exception { @Test public void test512validateValueImplicitSingle() throws Exception { final String TEST_NAME = "test512validateValueImplicitSingle"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID + "/validate"); @@ -1058,7 +1058,7 @@ public void test512validateValueImplicitSingle() throws Exception { @Test public void test513validateValueImplicitMulti() throws Exception { final String TEST_NAME = "test513validateValueImplicitMulti"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID + "/validate"); @@ -1083,7 +1083,7 @@ public void test513validateValueImplicitMulti() throws Exception { @Test public void test514validateValueImplicitMultiConflict() throws Exception { final String TEST_NAME = "test514validateValueImplicitMultiConflict"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID + "/validate"); @@ -1109,7 +1109,7 @@ public void test514validateValueImplicitMultiConflict() throws Exception { @Test public void test515validateValueImplicitPassword() throws Exception { final String TEST_NAME = "test515validateValueImplicitPassword"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID + "/validate"); @@ -1135,7 +1135,7 @@ public void test515validateValueImplicitPassword() throws Exception { @Test public void test600modifySecurityQuestionAnswer() throws Exception { final String TEST_NAME = "test600modifySecurityQuestionAnswer"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID); @@ -1183,7 +1183,7 @@ public void test600modifySecurityQuestionAnswer() throws Exception { @Test public void test601modifyPasswordForceChange() throws Exception { final String TEST_NAME = "test601modifyPasswordForceChange"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(); client.path("/users/" + USER_DARTHADDER_OID); diff --git a/testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestRestServiceProxyAuthentication.java b/testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestRestServiceProxyAuthentication.java index cbc55cb0a16..13506fb22ef 100644 --- a/testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestRestServiceProxyAuthentication.java +++ b/testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestRestServiceProxyAuthentication.java @@ -16,7 +16,7 @@ package com.evolveum.midpoint.testing.rest; -import static com.evolveum.midpoint.test.util.TestUtil.displayTestTile; +import static com.evolveum.midpoint.test.util.TestUtil.displayTestTitle; import static org.testng.AssertJUnit.assertNotNull; import java.io.File; @@ -80,7 +80,7 @@ public void startServer() throws Exception { @Test public void test001getUserSelfBySomebody() { final String TEST_NAME = "test001getUserSelfBySomebody"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_SOMEBODY_OID); client.path("/self/"); @@ -104,7 +104,7 @@ public void test001getUserSelfBySomebody() { @Test public void test002getUserSelfByEgoist() { final String TEST_NAME = "test002getUserSelfByEgoist"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_EGOIST_OID); client.path("/self/"); @@ -132,7 +132,7 @@ public void test002getUserSelfByEgoist() { @Test public void test003getUserAdministratorByEgoist() { final String TEST_NAME = "test003getUserAdministratorByEgoist"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_EGOIST_OID); client.path("/users/" + SystemObjectsType.USER_ADMINISTRATOR.value()); @@ -156,7 +156,7 @@ public void test003getUserAdministratorByEgoist() { @Test public void test004getUserSelfByHead() { final String TEST_NAME = "test004getUserSelfByHead"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(null); client.path("/self"); @@ -184,7 +184,7 @@ public void test004getUserSelfByHead() { @Test public void test005getUserSelfByProxyHead() { final String TEST_NAME = "test005getUserSelfByProxyHead"; - displayTestTile(this, TEST_NAME); + displayTestTitle(this, TEST_NAME); WebClient client = prepareClient(USER_HEAD_OID); client.path("/self"); diff --git a/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java b/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java index 32280416be0..b2c7289e4b8 100644 --- a/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java +++ b/testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java @@ -411,7 +411,7 @@ public static void stopResources() throws Exception { @Test public void test000Integrity() throws Exception { final String TEST_NAME = "test000Integrity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); assertNotNull(modelWeb); assertNotNull(modelService); assertNotNull(repositoryService); @@ -454,7 +454,7 @@ public void test000Integrity() throws Exception { @Test public void test001SelfTests() throws Exception { final String TEST_NAME = "test001SelfTests"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestSanity.class.getName()+"."+TEST_NAME); @@ -484,7 +484,7 @@ public void test001SelfTests() throws Exception { @Test public void test001TestConnectionOpenDJ() throws Exception { final String TEST_NAME = "test001TestConnectionOpenDJ"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN try{ @@ -660,7 +660,7 @@ private void checkOpenResourceConfiguration(PrismObject resource, @Test public void test002AddDerbyResource() throws Exception { final String TEST_NAME = "test002AddDerbyResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResult result = new OperationResult(TestSanity.class.getName() + "." + TEST_NAME); @@ -768,7 +768,7 @@ private void checkDerbyConfiguration(PrismObject resource, String */ @Test public void test003TestConnectionDerby() throws Exception { - TestUtil.displayTestTile("test003TestConnectionDerby"); + TestUtil.displayTestTitle("test003TestConnectionDerby"); // GIVEN @@ -817,7 +817,7 @@ public void test003TestConnectionDerby() throws Exception { @Test public void test004Capabilities() throws ObjectNotFoundException, CommunicationException, SchemaException, FaultMessage { - TestUtil.displayTestTile("test004Capabilities"); + TestUtil.displayTestTitle("test004Capabilities"); // GIVEN @@ -877,7 +877,7 @@ public void test004Capabilities() throws ObjectNotFoundException, CommunicationE @Test public void test005resolveConnectorRef() throws Exception{ - TestUtil.displayTestTile("test005resolveConnectorRef"); + TestUtil.displayTestTitle("test005resolveConnectorRef"); PrismObject resource = PrismTestUtil.parseObject(new File(RESOURCE_DUMMY_FILENAME)); @@ -899,7 +899,7 @@ public void test005resolveConnectorRef() throws Exception{ @Test public void test006reimportResourceDummy() throws Exception{ - TestUtil.displayTestTile("test006reimportResourceDummy"); + TestUtil.displayTestTitle("test006reimportResourceDummy"); //get object from repo (with version set and try to add it - it should be re-added, without error) OperationResult repoResult = new OperationResult("getObject"); @@ -955,7 +955,7 @@ public void test006reimportResourceDummy() throws Exception{ @Test public void test010AddUser() throws Exception { final String TEST_NAME = "test010AddUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN checkRepoOpenDjResource(); @@ -1007,7 +1007,7 @@ public void test010AddUser() throws Exception { @Test public void test013AddOpenDjAccountToUser() throws Exception { final String TEST_NAME = "test013AddOpenDjAccountToUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); try{ // GIVEN checkRepoOpenDjResource(); @@ -1145,7 +1145,7 @@ private OperationResultType modifyObjectViaModelWS(ObjectDeltaType objectChange) @Test public void test014AddDerbyAccountToUser() throws IOException, JAXBException, FaultMessage, ObjectNotFoundException, SchemaException, DirectoryException, SQLException { - TestUtil.displayTestTile("test014AddDerbyAccountToUser"); + TestUtil.displayTestTitle("test014AddDerbyAccountToUser"); // GIVEN @@ -1255,7 +1255,7 @@ public void test014AddDerbyAccountToUser() throws IOException, JAXBException, Fa @Test public void test015AccountOwner() throws FaultMessage, ObjectNotFoundException, SchemaException, JAXBException { - TestUtil.displayTestTile("test015AccountOwner"); + TestUtil.displayTestTitle("test015AccountOwner"); // GIVEN checkRepoOpenDjResource(); @@ -1281,7 +1281,7 @@ public void test015AccountOwner() throws FaultMessage, ObjectNotFoundException, @Test public void test016ProvisioningSearchAccountsIterative() throws Exception { - TestUtil.displayTestTile("test016ProvisioningSearchAccountsIterative"); + TestUtil.displayTestTitle("test016ProvisioningSearchAccountsIterative"); // GIVEN OperationResult result = new OperationResult(TestSanity.class.getName() + ".test016ProvisioningSearchAccountsIterative"); @@ -1344,7 +1344,7 @@ public boolean handle(PrismObject prismObject, OperationResult paren @Test public void test020ModifyUser() throws Exception { final String TEST_NAME = "test020ModifyUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assertNoRepoCache(); @@ -1442,7 +1442,7 @@ private Entry assertOpenDJAccountJack(Entry entry, String uid, String givenName) @Test public void test022ChangeUserPassword() throws Exception { final String TEST_NAME = "test022ChangeUserPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDeltaType objectChange = unmarshallValueFromFile( @@ -1464,7 +1464,7 @@ public void test022ChangeUserPassword() throws Exception { @Test public void test023ChangeUserPasswordJAXB() throws Exception { final String TEST_NAME = "test023ChangeUserPasswordJAXB"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN final String NEW_PASSWORD = "abandonSHIP"; @@ -1557,7 +1557,7 @@ public void test028ModifyAccountDjExplicitType() throws Exception { } public void testModifyAccountDjRoomNumber(final String TEST_NAME, File reqFile, String expectedVal) throws Exception { - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assertNoRepoCache(); @@ -1594,7 +1594,7 @@ public void testModifyAccountDjRoomNumber(final String TEST_NAME, File reqFile, @Test public void test029ModifyAccountDjBadPath() throws Exception { final String TEST_NAME = "test029ModifyAccountDjBadPath"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assertNoRepoCache(); @@ -1643,7 +1643,7 @@ public void test029ModifyAccountDjBadPath() throws Exception { @Test public void test030DisableUser() throws Exception { final String TEST_NAME = "test030DisableUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDeltaType objectChange = unmarshallValueFromFile( @@ -1756,7 +1756,7 @@ public void test030DisableUser() throws Exception { @Test public void test031EnableUser() throws Exception { final String TEST_NAME = "test031EnableUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN ObjectDeltaType objectChange = unmarshallValueFromFile( @@ -1859,7 +1859,7 @@ public void test031EnableUser() throws Exception { @Test public void test040UnlinkDerbyAccountFromUser() throws FileNotFoundException, JAXBException, FaultMessage, ObjectNotFoundException, SchemaException, DirectoryException, SQLException { - TestUtil.displayTestTile("test040UnlinkDerbyAccountFromUser"); + TestUtil.displayTestTitle("test040UnlinkDerbyAccountFromUser"); // GIVEN @@ -1910,7 +1910,7 @@ public void test040UnlinkDerbyAccountFromUser() throws FileNotFoundException, JA @Test public void test041DeleteDerbyAccount() throws FileNotFoundException, JAXBException, FaultMessage, ObjectNotFoundException, SchemaException, DirectoryException, SQLException { - TestUtil.displayTestTile("test041DeleteDerbyAccount"); + TestUtil.displayTestTitle("test041DeleteDerbyAccount"); // GIVEN @@ -1960,7 +1960,7 @@ private OperationResultType deleteObjectViaModelWS(QName typeQName, String oid) @Test public void test047RenameUser() throws Exception { final String TEST_NAME = "test047RenameUser"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assertNoRepoCache(); @@ -2025,7 +2025,7 @@ public void test047RenameUser() throws Exception { @Test public void test048ModifyUserRemoveGivenName() throws Exception { final String TEST_NAME = "test048ModifyUserRemoveGivenName"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assertNoRepoCache(); @@ -2086,7 +2086,7 @@ public void test048ModifyUserRemoveGivenName() throws Exception { */ @Test public void test049DeleteUser() throws SchemaException, FaultMessage, DirectoryException, JAXBException { - TestUtil.displayTestTile("test049DeleteUser"); + TestUtil.displayTestTitle("test049DeleteUser"); // GIVEN assertNoRepoCache(); @@ -2131,7 +2131,7 @@ public void test049DeleteUser() throws SchemaException, FaultMessage, DirectoryE @Test public void test100AssignRolePirate() throws Exception { final String TEST_NAME = "test100AssignRolePirate"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN @@ -2227,7 +2227,7 @@ public void test100AssignRolePirate() throws Exception { @Test public void test101AccountOwnerAfterRole() throws Exception { final String TEST_NAME = "test101AccountOwnerAfterRole"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN @@ -2254,7 +2254,7 @@ public void test101AccountOwnerAfterRole() throws Exception { @Test public void test102AssignRoleCaptain() throws Exception { final String TEST_NAME = "test102AssignRoleCaptain"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN @@ -2336,7 +2336,7 @@ public void test102AssignRoleCaptain() throws Exception { @Test public void test103AssignRoleCaptainAgain() throws Exception { final String TEST_NAME = "test103AssignRoleCaptainAgain"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN @@ -2415,7 +2415,7 @@ public void test103AssignRoleCaptainAgain() throws Exception { @Test public void test105ModifyAccount() throws Exception { final String TEST_NAME = "test105ModifyAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN @@ -2500,7 +2500,7 @@ public void test105ModifyAccount() throws Exception { @Test public void test104AssignRoleJudge() throws Exception { final String TEST_NAME = "test104AssignRoleJudge"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN @@ -2545,7 +2545,7 @@ public void test104AssignRoleJudge() throws Exception { @Test public void test107UnassignRolePirate() throws Exception { final String TEST_NAME = "test107UnassignRolePirate"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN @@ -2628,7 +2628,7 @@ public void test107UnassignRolePirate() throws Exception { @Test public void test108UnassignRoleCaptain() throws Exception { final String TEST_NAME = "test108UnassignRoleCaptain"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN @@ -2716,7 +2716,7 @@ public void test108UnassignRoleCaptain() throws Exception { @Test public void test109UnassignRoleCaptainAgain() throws Exception { final String TEST_NAME = "test109UnassignRoleCaptainAgain"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN @@ -2783,7 +2783,7 @@ public void test109UnassignRoleCaptainAgain() throws Exception { @Test public void test300LiveSyncInit() throws Exception { final String TEST_NAME = "test300LiveSyncInit"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // Now it is the right time to add task definition to the repository // We don't want it there any sooner, as it may interfere with the // previous tests @@ -2887,7 +2887,7 @@ public void timeout() { @Test public void test301LiveSyncCreate() throws Exception { final String TEST_NAME = "test301LiveSyncCreate"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // Sync task should be running (tested in previous test), so just create // new LDAP object. @@ -2926,7 +2926,7 @@ public void test301LiveSyncCreate() throws Exception { @Test public void test302LiveSyncModify() throws Exception { final String TEST_NAME = "test302LiveSyncModify"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); final OperationResult result = new OperationResult(TestSanity.class.getName() + "." + TEST_NAME); @@ -2959,7 +2959,7 @@ public void test302LiveSyncModify() throws Exception { @Test public void test303LiveSyncLink() throws Exception { final String TEST_NAME = "test303LiveSyncLink"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN assertNoRepoCache(); @@ -3021,7 +3021,7 @@ public void test303LiveSyncLink() throws Exception { @Test public void test304LiveSyncCreateNoLocation() throws Exception { final String TEST_NAME = "test304LiveSyncCreateNoLocation"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // Sync task should be running (tested in previous test), so just create // new LDAP object. @@ -3095,7 +3095,7 @@ private Object findSyncTokenObject(Task syncCycle) { @Test public void test399LiveSyncCleanup() throws Exception { final String TEST_NAME = "test399LiveSyncCleanup"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); final OperationResult result = new OperationResult(TestSanity.class.getName() + "." + TEST_NAME); @@ -3107,7 +3107,7 @@ public void test399LiveSyncCleanup() throws Exception { @Test public void test400ImportFromResource() throws Exception { final String TEST_NAME = "test400ImportFromResource"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN checkAllShadows(); assertNoRepoCache(); @@ -3324,7 +3324,7 @@ private String getUserLocality(UserType user){ @Test public void test420RecomputeUsers() throws Exception { final String TEST_NAME = "test420RecomputeUsers"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN final OperationResult result = new OperationResult(TestSanity.class.getName() @@ -3467,7 +3467,7 @@ public void timeout() { @Test public void test440ReconcileResourceOpenDj() throws Exception { final String TEST_NAME = "test440ReconcileResourceOpenDj"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN final OperationResult result = new OperationResult(TestSanity.class.getName() @@ -3686,7 +3686,7 @@ public void timeout() { @Test public void test480ListResources() throws Exception { final String TEST_NAME = "test480ListResources"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); // GIVEN OperationResultType result = new OperationResultType(); Holder resultHolder = new Holder(result); @@ -3712,7 +3712,7 @@ public void test480ListResources() throws Exception { @Test public void test485ListResourcesWithBrokenResource() throws Exception { - TestUtil.displayTestTile("test485ListResourcesWithBrokenResource"); + TestUtil.displayTestTitle("test485ListResourcesWithBrokenResource"); // GIVEN Task task = taskManager.createTaskInstance(TestSanity.class.getName() + ".test410ListResourcesWithBrokenResource"); @@ -3747,7 +3747,7 @@ public void test485ListResourcesWithBrokenResource() throws Exception { @Test public void test500NotifyChangeCreateAccount() throws Exception{ final String TEST_NAME = "test500NotifyChangeCreateAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); Entry ldifEntry = openDJController.addEntryFromLdifFile(LDIF_ANGELIKA_FILENAME); display("Entry from LDIF", ldifEntry); @@ -3814,7 +3814,7 @@ public void test500NotifyChangeCreateAccount() throws Exception{ @Test public void test501NotifyChangeModifyAccount() throws Exception{ final String TEST_NAME = "test501NotifyChangeModifyAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); OperationResult parentResult = new OperationResult(TEST_NAME); PrismObject userAngelika = findUserByUsername(ANGELIKA_NAME); @@ -3871,7 +3871,7 @@ public void test501NotifyChangeModifyAccount() throws Exception{ @Test public void test502NotifyChangeModifyAccountPassword() throws Exception{ final String TEST_NAME = "test502NotifyChangeModifyAccountPassword"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject userAngelika = findUserByUsername(ANGELIKA_NAME); assertNotNull("User with the name angelika must exist.", userAngelika); @@ -3928,7 +3928,7 @@ public void test502NotifyChangeModifyAccountPassword() throws Exception{ @Test public void test503NotifyChangeDeleteAccount() throws Exception{ final String TEST_NAME = "test503NotifyChangeDeleteAccount"; - TestUtil.displayTestTile(TEST_NAME); + TestUtil.displayTestTitle(TEST_NAME); PrismObject userAngelika = findUserByUsername(ANGELIKA_NAME); assertNotNull("User with the name angelika must exist.", userAngelika); diff --git a/testing/story/pom.xml b/testing/story/pom.xml index bd484d3235f..372ab98dde3 100644 --- a/testing/story/pom.xml +++ b/testing/story/pom.xml @@ -219,11 +219,6 @@ connector-csv test - - com.evolveum.polygon - connector-ldap-legacy - test - com.evolveum.polygon connector-databasetable diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestDependencyRename.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestDependencyRename.java index 514109d8cf5..bf29360678f 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestDependencyRename.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestDependencyRename.java @@ -147,7 +147,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult testResultHr = modelService.testResource(RESOURCE_DUMMY_PHONEBOOK_OID, task); @@ -162,7 +162,7 @@ public void test000Sanity() throws Exception { @Test public void test100AddUserHerman() throws Exception { final String TEST_NAME = "test100AddUserHerman"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -193,7 +193,7 @@ public void test100AddUserHerman() throws Exception { @Test public void test110HermanAssignRoleBasic() throws Exception { final String TEST_NAME = "test110HermanAssignRoleBasic"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -228,7 +228,7 @@ public void test110HermanAssignRoleBasic() throws Exception { @Test public void test112HermanRename() throws Exception { final String TEST_NAME = "test112HermanRename"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -263,7 +263,7 @@ public void test112HermanRename() throws Exception { @Test public void test120AddUserCapsizeWithBasicRole() throws Exception { final String TEST_NAME = "test120AddUserCapsizeWithBasicRole"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestEntertainment.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestEntertainment.java index 2e20b55b882..43b21c29c5f 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestEntertainment.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestEntertainment.java @@ -97,7 +97,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -119,7 +119,7 @@ public void test000Sanity() throws Exception { @Test public void test001AddParentOrg() throws Exception { final String TEST_NAME = "test001AddParentOrg"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -151,7 +151,7 @@ public void test001AddParentOrg() throws Exception { @Test public void test002AddChildOrg() throws Exception { final String TEST_NAME = "test002AddChildOrg"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestLdapDependency.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestLdapDependency.java index 8fce46f0678..6b4ea470f5e 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestLdapDependency.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestLdapDependency.java @@ -176,7 +176,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult testResultOpenDj = modelService.testResource(RESOURCE_OPENDJ_OID, task); @@ -189,7 +189,7 @@ public void test000Sanity() throws Exception { @Test public void test100AddOrgIT() throws Exception { final String TEST_NAME = "test100AddOrgIT"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestLdapDependency.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -218,7 +218,7 @@ public void test100AddOrgIT() throws Exception { @Test public void test150AssignFunctionalRoleToITOrg() throws Exception { final String TEST_NAME = "test150AssignFunctionalRoleToITOrg"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestLdapDependency.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -249,7 +249,7 @@ public void test150AssignFunctionalRoleToITOrg() throws Exception { @Test public void test170UnassignFunctionalRoleFromITOrg() throws Exception { final String TEST_NAME = "test170UnassignFunctionalRoleFromITOrg"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestLdapDependency.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -281,7 +281,7 @@ public void test170UnassignFunctionalRoleFromITOrg() throws Exception { @Test public void test200AddOrgHR() throws Exception { final String TEST_NAME = "test200AddOrgHR"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestLdapDependency.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -310,7 +310,7 @@ public void test200AddOrgHR() throws Exception { @Test public void test250AssignFunctionalAndVipRoleToHROrg() throws Exception { final String TEST_NAME = "test250AssignFunctionalAndVipRoleToHROrg"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestLdapDependency.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -344,7 +344,7 @@ public void test250AssignFunctionalAndVipRoleToHROrg() throws Exception { @Test public void test270UnassignVipRoleFromHROrg() throws Exception { final String TEST_NAME = "test270UnassignVipRoleFromHROrg"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestLdapDependency.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -378,7 +378,7 @@ public void test270UnassignVipRoleFromHROrg() throws Exception { @Test public void test280AssignVipAndSuperVipRoleToHROrg() throws Exception { final String TEST_NAME = "test280AssignVipAndSuperVipRoleToHROrg"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestLdapDependency.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -413,7 +413,7 @@ public void test280AssignVipAndSuperVipRoleToHROrg() throws Exception { @Test public void test290UnassignVipRoleFromHROrg() throws Exception { final String TEST_NAME = "test290UnassignVipRoleFromHROrg"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestLdapDependency.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestMachineIntelligence.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestMachineIntelligence.java index 1c638cc993b..451d5a8075f 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestMachineIntelligence.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestMachineIntelligence.java @@ -125,7 +125,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); Object[] newRealValue = { sourceFilePath }; @@ -156,7 +156,7 @@ public void test000Sanity() throws Exception { @Test public void test010importActiveUserRUR() throws Exception { final String TEST_NAME = "test010importActiveUserRUR"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -189,7 +189,7 @@ public void test010importActiveUserRUR() throws Exception { @Test public void test011importInactiveUserChappie() throws Exception { final String TEST_NAME = "test020ResourceOpenDjGet"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestNullAttribute.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestNullAttribute.java index 06e61b54575..da2c83841c3 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestNullAttribute.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestNullAttribute.java @@ -176,7 +176,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult testResult = modelService.testResource(RESOURCE_DUMMY_OID, task); @@ -193,7 +193,7 @@ public void test000Sanity() throws Exception { @Test public void test010UserSmackAssignAccountOnlyRole() throws Exception { final String TEST_NAME = "test010UserSmackAssignAccountOnlyRole"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestNullAttribute.class.getName() + "." + TEST_NAME); @@ -239,7 +239,7 @@ public void test010UserSmackAssignAccountOnlyRole() throws Exception { @Test public void test020UserSmackSetAttribute() throws Exception { final String TEST_NAME = "test020UserSmackSetAttribute"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestNullAttribute.class.getName() + "." + TEST_NAME); @@ -294,7 +294,7 @@ public void test020UserSmackSetAttribute() throws Exception { @Test // MID-3325 public void test030UserSmackRemoveAttribute() throws Exception { final String TEST_NAME = "test030UserSmackRemoveAttribute"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestNullAttribute.class.getName() + "." + TEST_NAME); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestOrgSync.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestOrgSync.java index 035d6db47d8..c6e859ee966 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestOrgSync.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestOrgSync.java @@ -310,7 +310,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult testResultHr = modelService.testResource(RESOURCE_DUMMY_HR_OID, task); @@ -332,7 +332,7 @@ public void test000Sanity() throws Exception { @Test public void test100AddHrAccountHerman() throws Exception { final String TEST_NAME = "test100AddHrAccountHerman"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_HERMAN_USERNAME); @@ -372,7 +372,7 @@ public void test100AddHrAccountHerman() throws Exception { @Test public void test105AddHrAccountLemonhead() throws Exception { final String TEST_NAME = "test105AddHrAccountLemonhead"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_LEMONHEAD_USERNAME); @@ -417,7 +417,7 @@ public void test105AddHrAccountLemonhead() throws Exception { @Test public void test106AddHrAccountSharptooth() throws Exception { final String TEST_NAME = "test106AddHrAccountSharptooth"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_SHARPTOOTH_USERNAME); @@ -461,7 +461,7 @@ public void test106AddHrAccountSharptooth() throws Exception { @Test public void test107AddHrAccountRedskull() throws Exception { final String TEST_NAME = "test107AddHrAccountRedskull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_REDSKULL_USERNAME); @@ -504,7 +504,7 @@ public void test107AddHrAccountRedskull() throws Exception { @Test public void test108RedskullGoesVegeratian() throws Exception { final String TEST_NAME = "test108RedskullGoesVegeratian"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount account = dummyResourceHr.getAccountByUsername(ACCOUNT_REDSKULL_USERNAME); @@ -545,7 +545,7 @@ public void test108RedskullGoesVegeratian() throws Exception { @Test public void test109HrDeleteRedskull() throws Exception { final String TEST_NAME = "test109HrDeleteRedskull"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); // WHEN @@ -575,7 +575,7 @@ public void test109HrDeleteRedskull() throws Exception { @Test public void test110AddHrAccountGuybrush() throws Exception { final String TEST_NAME = "test110AddHrAccountGuybrush"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_GUYBRUSH_USERNAME); @@ -621,7 +621,7 @@ public void test110AddHrAccountGuybrush() throws Exception { @Test public void test115AddHrAccountMancomb() throws Exception { final String TEST_NAME = "test115AddHrAccountMancomb"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_MANCOMB_USERNAME); @@ -668,7 +668,7 @@ public void test115AddHrAccountMancomb() throws Exception { @Test public void test117AddHrAccountCobb() throws Exception { final String TEST_NAME = "test117AddHrAccountCobb"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_COBB_USERNAME); @@ -715,7 +715,7 @@ public void test117AddHrAccountCobb() throws Exception { @Test public void test130AddHrAccountLargo() throws Exception { final String TEST_NAME = "test130AddHrAccountLargo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_LARGO_USERNAME); @@ -768,7 +768,7 @@ public void test130AddHrAccountLargo() throws Exception { @Test public void test140AddHrAccountWally() throws Exception { final String TEST_NAME = "test140AddHrAccountWally"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_WALLY_USERNAME); @@ -812,7 +812,7 @@ public void test140AddHrAccountWally() throws Exception { @Test public void test142AddHrAccountAugustus() throws Exception { final String TEST_NAME = "test142AddHrAccountAugustus"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_AUGUSTUS_USERNAME); @@ -856,7 +856,7 @@ public void test142AddHrAccountAugustus() throws Exception { @Test public void test185AddHrAccountStan() throws Exception { final String TEST_NAME = "test185AddHrAccountStan"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_STAN_USERNAME); @@ -902,7 +902,7 @@ public void test185AddHrAccountStan() throws Exception { @Test public void test186AddHrAccountCapsize() throws Exception { final String TEST_NAME = "test186AddHrAccountCapsize"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_CAPSIZE_USERNAME); @@ -948,7 +948,7 @@ public void test186AddHrAccountCapsize() throws Exception { @Test public void test187AddHrAccountRogersSr() throws Exception { final String TEST_NAME = "test187AddHrAccountRogersSr"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_ROGERSSR_USERNAME); @@ -995,7 +995,7 @@ public void test187AddHrAccountRogersSr() throws Exception { @Test public void test190AddHrAccountTeleke() throws Exception { final String TEST_NAME = "test190AddHrAccountTeleke"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_TELEKE_USERNAME); @@ -1038,7 +1038,7 @@ public void test190AddHrAccountTeleke() throws Exception { @Test public void test500ReconcileOpenDJDefault() throws Exception { final String TEST_NAME = "test500ReconcileOpenDJDefault"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1083,7 +1083,7 @@ public void test500ReconcileOpenDJDefault() throws Exception { @Test public void test502ReconcileOpenDJDefaultAgain() throws Exception { final String TEST_NAME = "test502ReconcileOpenDJDefaultAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1120,7 +1120,7 @@ public void test502ReconcileOpenDJDefaultAgain() throws Exception { @Test public void test510ReconcileOpenDJLdapGroup() throws Exception { final String TEST_NAME = "test510ReconcileOpenDJLdapGroup"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // GIVEN Task task = createTask(TEST_NAME); @@ -1164,7 +1164,7 @@ public void test510ReconcileOpenDJLdapGroup() throws Exception { @Test public void test550ReconcileOpenDJAfterMembershipChange() throws Exception { final String TEST_NAME = "test550ReconcileOpenDJAfterMembershipChange"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); // We manually remove Lemonhead from R_canibalism group // And check whether reconciliation re-adds him again diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestPlentyOfAssignments.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestPlentyOfAssignments.java index fb9e75ea63d..875a353c052 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestPlentyOfAssignments.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestPlentyOfAssignments.java @@ -178,7 +178,7 @@ private String formatGroupName(int num) { @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assertObjects(RoleType.class, NUMBER_OF_GENERATED_EMPTY_ROLES + NUMBER_OF_GENERATED_DUMMY_ROLES + NUMBER_OF_ORDINARY_ROLES); @@ -189,7 +189,7 @@ public void test000Sanity() throws Exception { @Test public void test100AddCheese() throws Exception { final String TEST_NAME = "test100AddCheese"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -233,7 +233,7 @@ public void test100AddCheese() throws Exception { @Test public void test110RecomputeCheese() throws Exception { final String TEST_NAME = "test110RecomputeCheese"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -275,7 +275,7 @@ public void test110RecomputeCheese() throws Exception { @Test public void test120CheesePreviewChanges() throws Exception { final String TEST_NAME = "test120CheesePreviewChanges"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -344,7 +344,7 @@ private void assertCheeseRoleMembershipRef(PrismObject cheese) { @Test public void test200DummyGroups() throws Exception { final String TEST_NAME = "test200DummyGroups"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -419,7 +419,7 @@ public void test200DummyGroups() throws Exception { @Test public void test210AddBob() throws Exception { final String TEST_NAME = "test210AddBob"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -469,7 +469,7 @@ public void test210AddBob() throws Exception { @Test public void test212RecomputeBob() throws Exception { final String TEST_NAME = "test212RecomputeBob"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -514,7 +514,7 @@ public void test212RecomputeBob() throws Exception { @Test public void test2124ReconcileBob() throws Exception { final String TEST_NAME = "test212RecomputeBob"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -577,7 +577,7 @@ private void assertBobDummy(int expectedBottlesOfRum) throws Exception { @Test public void test220AddAlice() throws Exception { final String TEST_NAME = "test220AddAlice"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -627,7 +627,7 @@ public void test220AddAlice() throws Exception { @Test public void test222RecomputeAlice() throws Exception { final String TEST_NAME = "test222RecomputeAlice"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -672,7 +672,7 @@ public void test222RecomputeAlice() throws Exception { @Test public void test224ReconcileAlice() throws Exception { final String TEST_NAME = "test224ReconcileAlice"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestRetirement.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestRetirement.java index 97a64296d77..79dc877dfa8 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestRetirement.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestRetirement.java @@ -173,7 +173,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult testResultOpenDj = modelService.testResource(RESOURCE_OPENDJ_OID, task); @@ -186,7 +186,7 @@ public void test000Sanity() throws Exception { @Test public void test050AddOrgRetired() throws Exception { final String TEST_NAME = "test050AddOrgRetired"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRetirement.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -225,7 +225,7 @@ public void test050AddOrgRetired() throws Exception { @Test public void test100AddOrgRoyulaCarpathia() throws Exception { final String TEST_NAME = "test100AddOrgRoyulaCarpathia"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRetirement.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -254,7 +254,7 @@ public void test100AddOrgRoyulaCarpathia() throws Exception { @Test public void test110AddUserTeleke() throws Exception { final String TEST_NAME = "test110AddUserTeleke"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRetirement.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -285,7 +285,7 @@ public void test110AddUserTeleke() throws Exception { @Test public void test200AddOrgCortuvHrad() throws Exception { final String TEST_NAME = "test200AddOrgCortuvHrad"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRetirement.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -315,7 +315,7 @@ public void test200AddOrgCortuvHrad() throws Exception { @Test public void test210AddUserGorc() throws Exception { final String TEST_NAME = "test210AddUserGorc"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRetirement.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -342,7 +342,7 @@ public void test210AddUserGorc() throws Exception { @Test public void test220AddOrgVysneVlkodlaky() throws Exception { final String TEST_NAME = "test220AddOrgVysneVlkodlaky"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRetirement.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -372,7 +372,7 @@ public void test220AddOrgVysneVlkodlaky() throws Exception { @Test public void test230AddUserViljaDezi() throws Exception { final String TEST_NAME = "test230AddUserViljaDezi"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRetirement.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -398,7 +398,7 @@ public void test230AddUserViljaDezi() throws Exception { @Test public void test300RetireUserGorc() throws Exception { final String TEST_NAME = "test300RetireUserGorc"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRetirement.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -427,7 +427,7 @@ public void test300RetireUserGorc() throws Exception { @Test public void test302ReconcileUserGorc() throws Exception { final String TEST_NAME = "test302ReconcileUserGorc"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRetirement.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -450,7 +450,7 @@ public void test302ReconcileUserGorc() throws Exception { @Test public void test303ReconcileUserGorcAgain() throws Exception { final String TEST_NAME = "test303ReconcileUserGorcAgain"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestRetirement.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestScience.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestScience.java index 8d11cfa1586..ae5a50edba8 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestScience.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestScience.java @@ -163,7 +163,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestScience.class.getName() + "." + TEST_NAME); OperationResult testResultStats = modelService.testResource(RESOURCE_DUMMY_STATS_OID, task); @@ -182,7 +182,7 @@ public void test000Sanity() throws Exception { @Test public void test100JackAssignRoleStatistics() throws Exception { final String TEST_NAME = "test100JackAssignRoleStatistics"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestScience.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -227,7 +227,7 @@ public void test100JackAssignRoleStatistics() throws Exception { @Test public void test101UnassignRoleStats() throws Exception{ final String TEST_NAME = "test101UnassignRoleStats"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestScience.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -277,7 +277,7 @@ public void test101UnassignRoleStats() throws Exception{ @Test public void test102AssignRoleStats() throws Exception{ final String TEST_NAME = "test102AssignRoleStats"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestScience.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -325,7 +325,7 @@ public void test102AssignRoleStats() throws Exception{ @Test public void test200DelteUserJack() throws Exception { final String TEST_NAME = "test200DelteUserJack"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestScience.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestStrings.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestStrings.java index cfa710f91f1..c4c0914312f 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestStrings.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestStrings.java @@ -218,7 +218,7 @@ protected PrismObject getDefaultActor() { @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); // TODO @@ -228,7 +228,7 @@ public void test000Sanity() throws Exception { @Test public void test100SimpleAssignmentStart() throws Exception { final String TEST_NAME = "test100SimpleAssignmentStart"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -292,7 +292,7 @@ public void test100SimpleAssignmentStart() throws Exception { @Test public void test102SimpleAssignmentApproveByLechuck() throws Exception { final String TEST_NAME = "test102SimpleAssignmentApproveByLechuck"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -377,7 +377,7 @@ public void test102SimpleAssignmentApproveByLechuck() throws Exception { @Test public void test104SimpleAssignmentApproveByAdministrator() throws Exception { final String TEST_NAME = "test104SimpleAssignmentApproveByAdministrator"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -453,7 +453,7 @@ public void test104SimpleAssignmentApproveByAdministrator() throws Exception { @Test public void test106SimpleAssignmentApproveByCheese() throws Exception { final String TEST_NAME = "test106SimpleAssignmentApproveByCheese"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -510,7 +510,7 @@ public void test106SimpleAssignmentApproveByCheese() throws Exception { @Test public void test108SimpleAssignmentApproveByChef() throws Exception { final String TEST_NAME = "test108SimpleAssignmentApproveByChef"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -586,7 +586,7 @@ public void test108SimpleAssignmentApproveByChef() throws Exception { @Test public void test200EscalatedApprovalStart() throws Exception { final String TEST_NAME = "test200EscalatedApprovalStart"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -634,7 +634,7 @@ public void test200EscalatedApprovalStart() throws Exception { @Test public void test202FourDaysLater() throws Exception { final String TEST_NAME = "test202FourDaysLater"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -667,7 +667,7 @@ public void test202FourDaysLater() throws Exception { @Test public void test204SixDaysLater() throws Exception { final String TEST_NAME = "test204SixDaysLater"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -736,7 +736,7 @@ public void test204SixDaysLater() throws Exception { @Test public void test205EightDaysLater() throws Exception { final String TEST_NAME = "test205EightDaysLater"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -788,7 +788,7 @@ public void test205EightDaysLater() throws Exception { @Test public void test206ApproveByCheese() throws Exception { final String TEST_NAME = "test206ApproveByCheese"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -880,7 +880,7 @@ public void test206ApproveByCheese() throws Exception { @Test public void test208SixDaysLater() throws Exception { final String TEST_NAME = "test208SixDaysLater"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -922,7 +922,7 @@ public void test208SixDaysLater() throws Exception { @Test public void test209EightDaysLater() throws Exception { final String TEST_NAME = "test209EightDaysLater"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -979,7 +979,7 @@ private void checkTwoCompleted(List lifecycleMessages) { @Test public void test220FormRoleAssignmentStart() throws Exception { final String TEST_NAME = "test220FormRoleAssignmentStart"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); PrismObject bob = getUserFromRepo(userBobOid); login(bob); @@ -1024,7 +1024,7 @@ public void test220FormRoleAssignmentStart() throws Exception { @Test public void test221FormApproveByLechuck() throws Exception { final String TEST_NAME = "test221FormApproveByLechuck"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -1068,7 +1068,7 @@ public void test221FormApproveByLechuck() throws Exception { @Test public void test222FormApproveByCheese() throws Exception { final String TEST_NAME = "test222FormApproveByCheese"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -1136,7 +1136,7 @@ public void test222FormApproveByCheese() throws Exception { @Test public void test250ApproverAssignment() throws Exception { final String TEST_NAME = "test250ApproverAssignment"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = createTask(TestStrings.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestTrafo.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestTrafo.java index fe0a0a05e26..63315dd26b4 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestTrafo.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestTrafo.java @@ -193,7 +193,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult testResultAd = modelService.testResource(RESOURCE_DUMMY_AD_OID, task); @@ -209,7 +209,7 @@ public void test000Sanity() throws Exception { @Test public void test100JackAssignAccountAd() throws Exception { final String TEST_NAME = "test100JackAssignAccountAd"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); @@ -275,7 +275,7 @@ public void test100JackAssignAccountAd() throws Exception { @Test public void test105JackUnAssignAccountAd() throws Exception { final String TEST_NAME = "test105JackUnAssignAccountAd"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); @@ -341,7 +341,7 @@ public void test105JackUnAssignAccountAd() throws Exception { @Test public void test109JackAccountAdGone() throws Exception { final String TEST_NAME = "test109JackAccountAdGone"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); @@ -380,7 +380,7 @@ public void test109JackAccountAdGone() throws Exception { @Test public void test120AJackssignAccountMail() throws Exception { final String TEST_NAME = "test120JackAssignAccountMail"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); @@ -455,7 +455,7 @@ public void test120AJackssignAccountMail() throws Exception { @Test public void test125JackUnAssignAccountMail() throws Exception { final String TEST_NAME = "test125JackUnAssignAccountMail"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); @@ -529,7 +529,7 @@ public void test125JackUnAssignAccountMail() throws Exception { @Test public void test129JackAccountMailGone() throws Exception { final String TEST_NAME = "test129JackAccountMailGone"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); @@ -579,7 +579,7 @@ public void test129JackAccountMailGone() throws Exception { @Test public void test150JackAssignRoleEmployee() throws Exception { final String TEST_NAME = "test150JackAssignRoleEmployee"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); @@ -696,7 +696,7 @@ public void test150JackAssignRoleEmployee() throws Exception { @Test public void test160AngelicaAdd() throws Exception { final String TEST_NAME = "test160AngelicaAdd"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); @@ -813,7 +813,7 @@ public void test160AngelicaAdd() throws Exception { @Test public void test200Smith111Add() throws Exception { final String TEST_NAME = "test200Smith111Add"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); @@ -934,7 +934,7 @@ public void test200Smith111Add() throws Exception { @Test public void test210Smith222Add() throws Exception { final String TEST_NAME = "test210Smith222Add"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); @@ -1055,7 +1055,7 @@ public void test210Smith222Add() throws Exception { @Test public void test300Smith111Rename() throws Exception { final String TEST_NAME = "test300Smith111Rename"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); @@ -1194,7 +1194,7 @@ public void test300Smith111Rename() throws Exception { @Test public void test310Smith222Rename() throws Exception { final String TEST_NAME = "test310Smith222Rename"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); // GIVEN Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUniversity.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUniversity.java index 091f14d03dc..3b1b7f46de5 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUniversity.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUniversity.java @@ -183,7 +183,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult testResultHr = modelService.testResource(RESOURCE_DUMMY_HR_OID, task); @@ -200,7 +200,7 @@ public void test000Sanity() throws Exception { @Test public void test100AddComeniusUniversity() throws Exception { final String TEST_NAME = "test100AddComeniusUniversity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestUniversity.class.getName() + "." + TEST_NAME); DummyPrivilege comenius = new DummyPrivilege("UK"); @@ -225,7 +225,7 @@ public void test100AddComeniusUniversity() throws Exception { @Test public void test110AddComeniusStructure() throws Exception { final String TEST_NAME = "test110AddComeniusStructure"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestUniversity.class.getName() + "." + TEST_NAME); DummyPrivilege srcFmfi = new DummyPrivilege("FMFI"); @@ -300,7 +300,7 @@ private void assertNoGroupMembers(PrismObject org) throws Exception { @Test public void test120MoveComputingCentre() throws Exception { final String TEST_NAME = "test120MoveComputingCentre"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestUniversity.class.getName() + "." + TEST_NAME); DummyPrivilege srcVc = dummyResourceHr.getPrivilegeByName("VC"); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUnix.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUnix.java index 15e0eaccb00..0db623c222e 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUnix.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUnix.java @@ -1,6 +1,5 @@ -package com.evolveum.midpoint.testing.story; /* - * Copyright (c) 2015-2016 Evolveum + * Copyright (c) 2015-2017 Evolveum * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - +package com.evolveum.midpoint.testing.story; import static org.testng.AssertJUnit.assertFalse; import static com.evolveum.midpoint.test.IntegrationTestTools.display; @@ -169,10 +168,6 @@ public class TestUnix extends AbstractStoryTest { private static final String USER_STAN_FIST_NAME = "Stan"; private static final String USER_STAN_LAST_NAME = "Salesman"; - - - - private static final String ACCOUNT_LEMONHEAD_USERNAME = "lemonhead"; private static final String ACCOUNT_LEMONHEAD_FIST_NAME = "Lemonhead"; private static final String ACCOUNT_LEMONHEAD_LAST_NAME = "Canibal"; @@ -188,24 +183,18 @@ public class TestUnix extends AbstractStoryTest { private static final String ACCOUNT_GUYBRUSH_USERNAME = "guybrush"; private static final String ACCOUNT_GUYBRUSH_FIST_NAME = "Guybrush"; private static final String ACCOUNT_GUYBRUSH_LAST_NAME = "Threepwood"; - private static final String ACCOUNT_COBB_USERNAME = "cobb"; private static final String ACCOUNT_COBB_FIST_NAME = "Cobb"; private static final String ACCOUNT_COBB_LAST_NAME = "Loom"; - - private static final String ACCOUNT_STAN_USERNAME = "stan"; private static final String ACCOUNT_STAN_FIST_NAME = "Stan"; private static final String ACCOUNT_STAN_LAST_NAME = "Salesman"; - - private static final String ACCOUNT_AUGUSTUS_USERNAME = "augustus"; private static final String ACCOUNT_AUGUSTUS_FIST_NAME = "Augustus"; private static final String ACCOUNT_AUGUSTUS_LAST_NAME = "DeWaat"; - @Autowired(required=true) @@ -289,8 +278,8 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult testResultOpenDj = modelService.testResource(RESOURCE_OPENDJ_OID, task); TestUtil.assertSuccess(testResultOpenDj); @@ -302,7 +291,7 @@ public void test000Sanity() throws Exception { @Test public void test010Schema() throws Exception { final String TEST_NAME = "test010Schema"; - TestUtil.displayTestTile(this, TEST_NAME); + displayTestTitle(TEST_NAME); resourceOpenDj = getObject(ResourceType.class, RESOURCE_OPENDJ_OID); resourceOpenDjType = resourceOpenDj.asObjectable(); @@ -336,18 +325,18 @@ public void test010Schema() throws Exception { @Test public void test100AddUserHermanBasic() throws Exception { final String TEST_NAME = "test100AddHrAccountHerman"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject user = createUser(USER_HERMAN_USERNAME, USER_HERMAN_FIST_NAME, USER_HERMAN_LAST_NAME, ROLE_BASIC_OID); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); addObject(user, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_HERMAN_USERNAME); @@ -364,18 +353,18 @@ public void test100AddUserHermanBasic() throws Exception { @Test public void test110AddUserMancombUnix() throws Exception { final String TEST_NAME = "test110AddUserMancombUnix"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject user = createUser(USER_MANCOMB_USERNAME, USER_MANCOMB_FIST_NAME, USER_MANCOMB_LAST_NAME, ROLE_UNIX_OID); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); addObject(user, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_MANCOMB_USERNAME); @@ -392,19 +381,19 @@ public void test110AddUserMancombUnix() throws Exception { @Test public void test111AccountMancombEditObjectClassDefinition() throws Exception { final String TEST_NAME = "test111AccountMancombEditObjectClassDefinition"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject shadow = getShadowModel(accountMancombOid); display("shadow", shadow); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); RefinedObjectClassDefinition editObjectClassDefinition = modelInteractionService.getEditObjectClassDefinition(shadow, resourceOpenDj, AuthorizationPhaseType.REQUEST); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); display("OC def", editObjectClassDefinition); @@ -422,18 +411,18 @@ public void test111AccountMancombEditObjectClassDefinition() throws Exception { @Test public void test119DeleteUserMancombUnix() throws Exception { final String TEST_NAME = "test119DeleteUserMancombUnix"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_MANCOMB_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); deleteObject(UserType.class, userBefore.getOid(), task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_MANCOMB_USERNAME); @@ -448,18 +437,18 @@ public void test119DeleteUserMancombUnix() throws Exception { @Test public void test120AddUserLargo() throws Exception { final String TEST_NAME = "test120AddUserLargo"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject user = createUser(USER_LARGO_USERNAME, USER_LARGO_FIST_NAME, USER_LARGO_LAST_NAME, (String)null); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); addObject(user, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); @@ -472,18 +461,18 @@ public void test120AddUserLargo() throws Exception { @Test public void test122AssignUserLargoBasic() throws Exception { final String TEST_NAME = "test122AssignUserLargoBasic"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); assignRole(userBefore.getOid(), ROLE_BASIC_OID); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); @@ -502,18 +491,18 @@ public void test122AssignUserLargoBasic() throws Exception { @Test public void test124AssignUserLargoUnix() throws Exception { final String TEST_NAME = "test124AssignUserLargoUnix"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); assignRole(userBefore.getOid(), ROLE_UNIX_OID); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); @@ -531,18 +520,18 @@ public void test124AssignUserLargoUnix() throws Exception { @Test public void test125RecomputeUserLargo() throws Exception { final String TEST_NAME = "test125RecomputeUserLargo"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); recomputeUser(userBefore.getOid(), task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); @@ -560,18 +549,18 @@ public void test125RecomputeUserLargo() throws Exception { @Test public void test126UnAssignUserLargoUnix() throws Exception { final String TEST_NAME = "test126UnAssignUserLargoUnix"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); unassignRole(userBefore.getOid(), ROLE_UNIX_OID); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); @@ -589,20 +578,20 @@ public void test126UnAssignUserLargoUnix() throws Exception { @Test public void test127RecomputeUserLargo() throws Exception { final String TEST_NAME = "test127RecomputeUserLargo"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); recomputeUser(userBefore.getOid(), task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); + PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); display("User after", userAfter); @@ -618,20 +607,20 @@ public void test127RecomputeUserLargo() throws Exception { @Test public void test128UnAssignUserLargoBasic() throws Exception { final String TEST_NAME = "test128UnAssignUserLargoBasic"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); unassignRole(userBefore.getOid(), ROLE_BASIC_OID); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); + PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); display("User after", userAfter); @@ -646,20 +635,20 @@ public void test128UnAssignUserLargoBasic() throws Exception { @Test public void test129RecomputeUserLargo() throws Exception { final String TEST_NAME = "test129RecomputeUserLargo"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); recomputeUser(userBefore.getOid(), task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); + PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); display("User after", userAfter); @@ -674,20 +663,19 @@ public void test129RecomputeUserLargo() throws Exception { @Test public void test130AssignUserLargoUnix() throws Exception { final String TEST_NAME = "test130AssignUserLargoUnix"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); assignRole(userBefore.getOid(), ROLE_UNIX_OID); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); @@ -704,8 +692,8 @@ public void test130AssignUserLargoUnix() throws Exception { @Test public void test131ReconcileUserLargo() throws Exception { final String TEST_NAME = "test131ReconcileUserLargo"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); @@ -713,13 +701,12 @@ public void test131ReconcileUserLargo() throws Exception { dummyAuditService.clear(); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); reconcileUser(userBefore.getOid(), task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); @@ -745,8 +732,8 @@ public void test131ReconcileUserLargo() throws Exception { @Test public void test132MeddleWithAccountAndReconcileUserLargo() throws Exception { final String TEST_NAME = "test132MeddleWithAccountAndReconcileUserLargo"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); @@ -773,13 +760,12 @@ public void test132MeddleWithAccountAndReconcileUserLargo() throws Exception { dummyAuditService.clear(); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); reconcileUser(userBefore.getOid(), task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); @@ -806,8 +792,8 @@ public void test132MeddleWithAccountAndReconcileUserLargo() throws Exception { @Test public void test133ReconcileUserLargoAgain() throws Exception { final String TEST_NAME = "test133ReconcileUserLargoAgain"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); @@ -818,13 +804,12 @@ public void test133ReconcileUserLargoAgain() throws Exception { dummyAuditService.clear(); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); reconcileUser(userBefore.getOid(), task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); @@ -846,8 +831,8 @@ public void test133ReconcileUserLargoAgain() throws Exception { @Test public void test134AssignUserLargoBasic() throws Exception { final String TEST_NAME = "test134AssignUserLargoBasic"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); @@ -855,13 +840,12 @@ public void test134AssignUserLargoBasic() throws Exception { dummyAuditService.clear(); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); assignRole(userBefore.getOid(), ROLE_BASIC_OID); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); @@ -884,8 +868,8 @@ public void test134AssignUserLargoBasic() throws Exception { @Test public void test135UnAssignUserLargoUnix() throws Exception { final String TEST_NAME = "test135UnAssignUserLargoUnix"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); @@ -893,13 +877,12 @@ public void test135UnAssignUserLargoUnix() throws Exception { dummyAuditService.clear(); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); unassignRole(userBefore.getOid(), ROLE_UNIX_OID); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); @@ -927,8 +910,8 @@ public void test135UnAssignUserLargoUnix() throws Exception { @Test // MID-2883 public void test136MeddleWithAccountAndReconcileUserLargo() throws Exception { final String TEST_NAME = "test136MeddleWithAccountAndReconcileUserLargo"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); @@ -955,13 +938,12 @@ public void test136MeddleWithAccountAndReconcileUserLargo() throws Exception { dummyAuditService.clear(); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); reconcileUser(userBefore.getOid(), task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); @@ -984,8 +966,8 @@ public void test136MeddleWithAccountAndReconcileUserLargo() throws Exception { @Test public void test137ReconcileUserLargoAgain() throws Exception { final String TEST_NAME = "test137ReconcileUserLargoAgain"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); @@ -996,13 +978,12 @@ public void test137ReconcileUserLargoAgain() throws Exception { dummyAuditService.clear(); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); reconcileUser(userBefore.getOid(), task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); @@ -1024,20 +1005,20 @@ public void test137ReconcileUserLargoAgain() throws Exception { @Test public void test138UnAssignUserLargoBasic() throws Exception { final String TEST_NAME = "test138UnAssignUserLargoUnix"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); unassignRole(userBefore.getOid(), ROLE_BASIC_OID); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); + PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); display("User after", userAfter); @@ -1052,20 +1033,20 @@ public void test138UnAssignUserLargoBasic() throws Exception { @Test public void test200AddLdapGroupMonkeyIsland() throws Exception { final String TEST_NAME = "test200AddLdapGroupMonkeyIsland"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject role = createLdapGroupRole(ROLE_MONKEY_ISLAND_NAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); addObject(role, task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); + PrismObject roleAfter = getObject(RoleType.class, role.getOid()); assertNotNull("No role", roleAfter); display("Role after", roleAfter); @@ -1081,20 +1062,20 @@ public void test200AddLdapGroupMonkeyIsland() throws Exception { @Test public void test202AssignUserHermanMonkeyIsland() throws Exception { final String TEST_NAME = "test202AssignUserHermanMonkeyIsland"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject user = findUserByUsername(USER_HERMAN_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); assignRole(user.getOid(), roleMonkeyIslandOid); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); + PrismObject userAfter = findUserByUsername(USER_HERMAN_USERNAME); assertNotNull("No herman user", userAfter); display("User after", userAfter); @@ -1110,20 +1091,20 @@ public void test202AssignUserHermanMonkeyIsland() throws Exception { @Test public void test210AddUnixGroupVillains() throws Exception { final String TEST_NAME = "test210AddUnixGroupVillains"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject role = createUnixGroupRole(ROLE_VILLAINS_NAME, ROLE_META_UNIXGROUP_OID); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); addObject(role, task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); + PrismObject roleAfter = getObject(RoleType.class, role.getOid()); assertNotNull("No role", roleAfter); display("Role after", roleAfter); @@ -1139,20 +1120,20 @@ public void test210AddUnixGroupVillains() throws Exception { @Test public void test211AssignUserLargoUnix() throws Exception { final String TEST_NAME = "test211AssignUserLargoUnix"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_LARGO_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); assignRole(userBefore.getOid(), ROLE_UNIX_OID); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); + PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user after", userAfter); display("User after", userAfter); @@ -1168,20 +1149,20 @@ public void test211AssignUserLargoUnix() throws Exception { @Test public void test212AssignUserLargoVillains() throws Exception { final String TEST_NAME = "test212AssignUserLargoVillains"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject user = findUserByUsername(USER_LARGO_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); assignRole(user.getOid(), roleVillainsOid); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); + PrismObject userAfter = findUserByUsername(USER_LARGO_USERNAME); assertNotNull("No user", userAfter); display("User after", userAfter); @@ -1196,22 +1177,21 @@ public void test212AssignUserLargoVillains() throws Exception { //openDJController.assertAttribute(groupVillains, "memberUid", Integer.toString(USER_LARGO_UID_NUMBER)); } -/* *************************************************************************** */ @Test public void test250AddUserRangerBasic() throws Exception { final String TEST_NAME = "test250AddUserRangerBasic"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject user = createUser(USER_RANGER_USERNAME, USER_RANGER_FIST_NAME, USER_RANGER_LAST_NAME, ROLE_BASIC_OID); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); addObject(user, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_RANGER_USERNAME); @@ -1228,18 +1208,18 @@ public void test250AddUserRangerBasic() throws Exception { @Test public void test251AssignUserRangerBasic() throws Exception { final String TEST_NAME = "test251AssignUserRangerBasic"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_RANGER_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); assignRole(userBefore.getOid(), ROLE_BASIC_OID); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_RANGER_USERNAME); @@ -1257,18 +1237,18 @@ public void test251AssignUserRangerBasic() throws Exception { @Test public void test252AddUnixGroupRangers() throws Exception { final String TEST_NAME = "test252AddUnixGroupRangers"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject role = createUnixGroupRole(ROLE_RANGERS_NAME, ROLE_META_UNIXGROUP2_OID); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); addObject(role, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject roleAfter = getObject(RoleType.class, role.getOid()); @@ -1286,18 +1266,18 @@ public void test252AddUnixGroupRangers() throws Exception { @Test public void test253AddUnixGroupSeals() throws Exception { final String TEST_NAME = "test253AddUnixGroupSeals"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject role = createUnixGroupRole(ROLE_SEALS_NAME, ROLE_META_UNIXGROUP2_OID); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); addObject(role, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject roleAfter = getObject(RoleType.class, role.getOid()); @@ -1317,18 +1297,18 @@ public void test253AddUnixGroupSeals() throws Exception { @Test public void test254AssignUserRangerRangers() throws Exception { final String TEST_NAME = "test254AssignUserRangerRangers"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject user = findUserByUsername(USER_RANGER_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); assignRole(user.getOid(), roleRangersOid); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_RANGER_USERNAME); @@ -1337,7 +1317,7 @@ public void test254AssignUserRangerRangers() throws Exception { assertUser(userAfter, USER_RANGER_USERNAME, USER_RANGER_FIST_NAME, USER_RANGER_LAST_NAME); String accountOid = getSingleLinkOid(userAfter); - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); PrismObject shadow = getShadowModel(accountOid); display("Shadow (model)", shadow); String accountRangerDn = assertPosixAccount(shadow, USER_RANGER_UID_NUMBER); @@ -1358,18 +1338,18 @@ public void test254AssignUserRangerRangers() throws Exception { @Test public void test255AssignUserRangerSeals() throws Exception { final String TEST_NAME = "test255AssignUserRangerSeals"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject user = findUserByUsername(USER_RANGER_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); assignRole(user.getOid(), roleSealsOid); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_RANGER_USERNAME); @@ -1392,18 +1372,18 @@ public void test255AssignUserRangerSeals() throws Exception { @Test public void test256UnAssignUserRangerSealsKeepRangers() throws Exception { final String TEST_NAME = "test256UnAssignUserRangerSealsKeepRangers"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_RANGER_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); unassignRole(userBefore.getOid(), roleSealsOid); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_RANGER_USERNAME); @@ -1431,18 +1411,18 @@ public void test256UnAssignUserRangerSealsKeepRangers() throws Exception { @Test public void test257RenameUserAndAccountsCheckGroupmembership() throws Exception { final String TEST_NAME = "test257RenameUserAndAccountsCheckGroupmembership"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_RANGER_USERNAME); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); modifyUserReplace(userBefore.getOid(), UserType.F_NAME, task, result, new PolyString("usranger", "usranger")); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_RANGER_USERNAME_RENAMED); @@ -1471,18 +1451,18 @@ public void test257RenameUserAndAccountsCheckGroupmembership() throws Exception @Test public void test260DeleteUserUsrangerUnix() throws Exception { final String TEST_NAME = "test260DeleteUserUsrangerUnix"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userBefore = findUserByUsername(USER_RANGER_USERNAME_RENAMED); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); deleteObject(UserType.class, userBefore.getOid(), task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_RANGER_USERNAME_RENAMED); @@ -1500,16 +1480,16 @@ public void test260DeleteUserUsrangerUnix() throws Exception { @Test public void test270RenameUnixGroupSeals() throws Exception { final String TEST_NAME = "test270RenameUnixGroupSeals"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); renameObject(RoleType.class, roleSealsOid, ROLE_WALRUSES_NAME, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject roleAfter = getObject(RoleType.class, roleSealsOid); @@ -1530,8 +1510,8 @@ public void test270RenameUnixGroupSeals() throws Exception { @Test public void test300AddUserCapsizeUnixFail() throws Exception { final String TEST_NAME = "test300AddUserCapsizeUnixFail"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject sequenceBefore = getObject(SequenceType.class, SEQUENCE_UIDNUMBER_OID); @@ -1544,7 +1524,7 @@ public void test300AddUserCapsizeUnixFail() throws Exception { try { // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); addObject(user, task, result); AssertJUnit.fail("Unexpected success"); @@ -1554,7 +1534,7 @@ public void test300AddUserCapsizeUnixFail() throws Exception { } // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertFailure(result); @@ -1575,8 +1555,8 @@ public void test300AddUserCapsizeUnixFail() throws Exception { @Test public void test310AddUserWallyUnix() throws Exception { final String TEST_NAME = "test310AddUserWallyUnix"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject sequenceBefore = getObject(SequenceType.class, SEQUENCE_UIDNUMBER_OID); @@ -1587,11 +1567,11 @@ public void test310AddUserWallyUnix() throws Exception { PrismObject user = createUser(USER_WALLY_USERNAME, USER_WALLY_FIST_NAME, USER_WALLY_LAST_NAME, ROLE_UNIX_OID); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); addObject(user, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); PrismObject userAfter = findUserByUsername(USER_WALLY_USERNAME); @@ -1616,8 +1596,8 @@ public void test310AddUserWallyUnix() throws Exception { @Test public void test312AccountWallyRemovePosixObjectclassNative() throws Exception { final String TEST_NAME = "test312AccountWallyRemovePosixObjectclassNative"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); openDJController.executeLdifChange("dn: "+accountWallyDn+"\n"+ @@ -1638,11 +1618,11 @@ public void test312AccountWallyRemovePosixObjectclassNative() throws Exception { display("Wally LDAP account before", entryWallyBefore); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); PrismObject shadow = modelService.getObject(ShadowType.class, accountWallyOid, null, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); @@ -1667,8 +1647,8 @@ public void test312AccountWallyRemovePosixObjectclassNative() throws Exception { @Test public void test314AccountWallyAddPosixObjectclassNative() throws Exception { final String TEST_NAME = "test314AccountWallyAddPosixObjectclassNative"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); openDJController.executeLdifChange("dn: "+accountWallyDn+"\n"+ @@ -1689,11 +1669,11 @@ public void test314AccountWallyAddPosixObjectclassNative() throws Exception { display("Wally LDAP account before", entryWallyBefore); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); PrismObject shadow = modelService.getObject(ShadowType.class, accountWallyOid, null, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); @@ -1714,19 +1694,19 @@ public void test314AccountWallyAddPosixObjectclassNative() throws Exception { @Test public void test400ListAllAccountsObjectClass() throws Exception { final String TEST_NAME = "test400ListAllAccountsObjectClass"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); ObjectQuery query = ObjectQueryUtil.createResourceAndObjectClassQuery(RESOURCE_OPENDJ_OID, OPENDJ_ACCOUNT_STRUCTURAL_OBJECTCLASS_NAME, prismContext); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); SearchResultList> objects = modelService.searchObjects(ShadowType.class, query, null, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); @@ -1737,8 +1717,8 @@ public void test400ListAllAccountsObjectClass() throws Exception { @Test public void test401ListAllAccountsKindIntent() throws Exception { final String TEST_NAME = "test401ListAllAccountsKindIntent"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); ObjectQuery query = ObjectQueryUtil.createResourceAndKindIntent(RESOURCE_OPENDJ_OID, @@ -1746,11 +1726,11 @@ public void test401ListAllAccountsKindIntent() throws Exception { display("query", query); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); SearchResultList> objects = modelService.searchObjects(ShadowType.class, query, null, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); @@ -1761,8 +1741,8 @@ public void test401ListAllAccountsKindIntent() throws Exception { @Test public void test402ListLdapGroupsKindIntent() throws Exception { final String TEST_NAME = "test402ListLdapGroupsKindIntent"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); ObjectQuery query = ObjectQueryUtil.createResourceAndKindIntent(RESOURCE_OPENDJ_OID, @@ -1770,11 +1750,11 @@ public void test402ListLdapGroupsKindIntent() throws Exception { display("query", query); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); SearchResultList> objects = modelService.searchObjects(ShadowType.class, query, null, task, result); // THEN - TestUtil.displayThen(TEST_NAME); + displayThen(TEST_NAME); result.computeStatus(); TestUtil.assertSuccess(result); @@ -1785,8 +1765,8 @@ public void test402ListLdapGroupsKindIntent() throws Exception { @Test public void test403ListUnixGroupsKindIntent() throws Exception { final String TEST_NAME = "test403ListUnixGroupsKindIntent"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); ObjectQuery query = ObjectQueryUtil.createResourceAndKindIntent(RESOURCE_OPENDJ_OID, @@ -1794,13 +1774,12 @@ public void test403ListUnixGroupsKindIntent() throws Exception { display("query", query); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); SearchResultList> objects = modelService.searchObjects(ShadowType.class, query, null, task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); display("found objects", objects); assertEquals("Wrong number of objects found", 3, objects.size()); @@ -1809,21 +1788,21 @@ public void test403ListUnixGroupsKindIntent() throws Exception { @Test public void test500AddUserStan() throws Exception { final String TEST_NAME = "test500AddUserStan"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject user = createUser(USER_STAN_USERNAME, USER_STAN_FIST_NAME, USER_STAN_LAST_NAME, roleRangersOid); addRoleAssignment(user, roleMonkeyIslandOid); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); addObject(user, task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); + PrismObject userAfter = findUserByUsername(USER_STAN_USERNAME); assertNotNull("No stan user", userAfter); display("User after", userAfter); @@ -1843,8 +1822,8 @@ public void test500AddUserStan() throws Exception { @Test public void test510StanDisablePosixAssocAndReconcile() throws Exception { final String TEST_NAME = "test510StanDisablePosixAssocAndReconcile"; - TestUtil.displayTestTile(this, TEST_NAME); - Task task = taskManager.createTaskInstance(TestUnix.class.getName() + "." + TEST_NAME); + displayTestTitle(TEST_NAME); + Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); PrismObject userStan = findUserByUsername(USER_STAN_USERNAME); @@ -1863,13 +1842,13 @@ public void test510StanDisablePosixAssocAndReconcile() throws Exception { repositoryService.modifyObject(UserType.class, userStan.getOid(), itemDeltas, result); // WHEN - TestUtil.displayWhen(TEST_NAME); + displayWhen(TEST_NAME); reconcileUser(userStan.getOid(), task, result); // THEN - TestUtil.displayThen(TEST_NAME); - result.computeStatus(); - TestUtil.assertSuccess(result); + displayThen(TEST_NAME); + assertSuccess(result); + PrismObject userAfter = findUserByUsername(USER_STAN_USERNAME); assertNotNull("No stan user", userAfter); display("User after", userAfter); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUuid.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUuid.java index b5d5f5aa19e..693cb082edd 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUuid.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUuid.java @@ -131,7 +131,7 @@ protected File getSystemConfigurationFile() { @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult testResultOpenDj = modelService.testResource(RESOURCE_OPENDJ_OID, task); @@ -144,7 +144,7 @@ public void test000Sanity() throws Exception { @Test public void test100AddUserRapp() throws Exception { final String TEST_NAME = "test100AddUserRapp"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -166,7 +166,7 @@ public void test100AddUserRapp() throws Exception { @Test public void test101RappAssignRoleClient() throws Exception { final String TEST_NAME = "test101RappAssignRoleClient"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -187,7 +187,7 @@ public void test101RappAssignRoleClient() throws Exception { @Test public void test107RappUnAssignRoleClient() throws Exception { final String TEST_NAME = "test107RappUnAssignRoleClient"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); // WHEN @@ -202,7 +202,7 @@ public void test107RappUnAssignRoleClient() throws Exception { @Test public void test110AddMancombWithRoleClient() throws Exception { final String TEST_NAME = "test110AddMancombWithRoleClient"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -228,7 +228,7 @@ public void test110AddMancombWithRoleClient() throws Exception { @Test public void test112RenameMancomb() throws Exception { final String TEST_NAME = "test112RenameMancomb"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -251,7 +251,7 @@ public void test112RenameMancomb() throws Exception { @Test public void test119MancombDelete() throws Exception { final String TEST_NAME = "test119MancombDelete"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -272,7 +272,7 @@ public void test119MancombDelete() throws Exception { @Test public void test120AddKateWithRoleClient() throws Exception { final String TEST_NAME = "test120AddKateWithRoleClient"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -296,7 +296,7 @@ public void test120AddKateWithRoleClient() throws Exception { @Test public void test122AddWallyWithRoleClient() throws Exception { final String TEST_NAME = "test122AddWallyWithRoleClient"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -320,7 +320,7 @@ public void test122AddWallyWithRoleClient() throws Exception { @Test public void test124AddRogersWithRoleClient() throws Exception { final String TEST_NAME = "test124AddMartyWithRoleClient"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -344,7 +344,7 @@ public void test124AddRogersWithRoleClient() throws Exception { @Test public void test126AddMartyWithRoleClient() throws Exception { final String TEST_NAME = "test124AddMartyWithRoleClient"; - TestUtil.displayTestTile(this, TEST_NAME); + TestUtil.displayTestTitle(this, TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestVillage.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestVillage.java index 268b77edc10..7725d925432 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestVillage.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestVillage.java @@ -275,7 +275,7 @@ protected File getSystemConfigurationFile() { @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult testResultHr = modelService.testResource(RESOURCE_DUMMY_SOURCE_OID, task); @@ -299,7 +299,7 @@ public void test000Sanity() throws Exception { @Test public void test020ResourceOpenDjGet() throws Exception { final String TEST_NAME = "test020ResourceOpenDjGet"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -335,7 +335,7 @@ public void test020ResourceOpenDjGet() throws Exception { @Test public void test022ResourceOpenDjRefinedSchema() throws Exception { final String TEST_NAME = "test022ResourceOpenDjRefinedSchema"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -386,7 +386,7 @@ public void test022ResourceOpenDjRefinedSchema() throws Exception { @Test public void test100AddSrcAccountHerman() throws Exception { final String TEST_NAME = "test100AddSrcAccountHerman"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_HERMAN_USERNAME); @@ -408,7 +408,7 @@ public void test100AddSrcAccountHerman() throws Exception { @Test public void test101HermanAssignBasicRole() throws Exception { final String TEST_NAME = "test101HermanAssignBasicRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); PrismObject user = findUserByUsername(USER_HERMAN_NAME); @@ -426,7 +426,7 @@ public void test101HermanAssignBasicRole() throws Exception { @Test public void test102HermanUnAssignBasicRole() throws Exception { final String TEST_NAME = "test102HermanUnAssignBasicRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); PrismObject user = findUserByUsername(USER_HERMAN_NAME); @@ -444,7 +444,7 @@ public void test102HermanUnAssignBasicRole() throws Exception { @Test public void test103HermanAssignBasicAndSimpleRole() throws Exception { final String TEST_NAME = "test103HermanAssignBasicAndSimpleRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); PrismObject user = findUserByUsername(USER_HERMAN_NAME); @@ -464,7 +464,7 @@ public void test103HermanAssignBasicAndSimpleRole() throws Exception { @Test public void test104HermanUnAssignSimpleRoleThenBasic() throws Exception { final String TEST_NAME = "test104HermanUnAssignSimpleRoleThenBasic"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); PrismObject user = findUserByUsername(USER_HERMAN_NAME); @@ -493,7 +493,7 @@ public void test104HermanUnAssignSimpleRoleThenBasic() throws Exception { @Test public void test105ModifySrcAccountHermanRemoveLoc() throws Exception { final String TEST_NAME = "test105ModifySrcAccountHermanRemoveLoc"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount account = dummyResourceSrc.getAccountByUsername(ACCOUNT_HERMAN_USERNAME); @@ -511,7 +511,7 @@ public void test105ModifySrcAccountHermanRemoveLoc() throws Exception { @Test public void test106HermanAssignBasicRole() throws Exception { final String TEST_NAME = "test106HermanAssignBasicRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); PrismObject user = findUserByUsername(USER_HERMAN_NAME); @@ -529,7 +529,7 @@ public void test106HermanAssignBasicRole() throws Exception { @Test public void test107ModifySrcAccountHermanAddLoc() throws Exception { final String TEST_NAME = "test107ModifySrcAccountHermanAddLoc"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount account = dummyResourceSrc.getAccountByUsername(ACCOUNT_HERMAN_USERNAME); @@ -548,7 +548,7 @@ public void test107ModifySrcAccountHermanAddLoc() throws Exception { @Test public void test108ModifySrcAccountHermanRemoveLoc() throws Exception { final String TEST_NAME = "test108ModifySrcAccountHermanRemoveLoc"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount account = dummyResourceSrc.getAccountByUsername(ACCOUNT_HERMAN_USERNAME); @@ -567,7 +567,7 @@ public void test108ModifySrcAccountHermanRemoveLoc() throws Exception { @Test public void test109HermanUnAssignBasicRole() throws Exception { final String TEST_NAME = "test109HermanUnAssignBasicRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); PrismObject user = findUserByUsername(USER_HERMAN_NAME); @@ -585,7 +585,7 @@ public void test109HermanUnAssignBasicRole() throws Exception { @Test public void test110AddSrcAccountLemonhead() throws Exception { final String TEST_NAME = "test110AddSrcAccountLemonhead"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_LEMONHEAD_USERNAME); @@ -612,7 +612,7 @@ public void test110AddSrcAccountLemonhead() throws Exception { @Test public void test120AddSrcAccountWally() throws Exception { final String TEST_NAME = "test120AddSrcAccountWally"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_WALLY_USERNAME); @@ -632,7 +632,7 @@ public void test120AddSrcAccountWally() throws Exception { @Test public void test121WallyAssignBasicRole() throws Exception { final String TEST_NAME = "test121WallyAssignBasicRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); PrismObject user = findUserByUsername(USER_WALLY_NAME); @@ -649,7 +649,7 @@ public void test121WallyAssignBasicRole() throws Exception { @Test public void test122WallyUnAssignBasicRole() throws Exception { final String TEST_NAME = "test122WallyUnAssignBasicRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); PrismObject user = findUserByUsername(USER_WALLY_NAME); @@ -669,7 +669,7 @@ public void test122WallyUnAssignBasicRole() throws Exception { @Test public void test130AddSrcAccountMancomb() throws Exception { final String TEST_NAME = "test130AddSrcAccountMancomb"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount newAccount = new DummyAccount(ACCOUNT_MANCOMB_USERNAME); @@ -691,7 +691,7 @@ public void test130AddSrcAccountMancomb() throws Exception { @Test public void test131MancombAssignBasicRole() throws Exception { final String TEST_NAME = "test131WallyAssignBasicRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); PrismObject user = findUserByUsername(USER_MANCOMB_NAME); @@ -708,7 +708,7 @@ public void test131MancombAssignBasicRole() throws Exception { @Test public void test132MancombUnAssignBasicRole() throws Exception { final String TEST_NAME = "test132MancombUnAssignBasicRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); PrismObject user = findUserByUsername(USER_MANCOMB_NAME); @@ -729,7 +729,7 @@ public void test132MancombUnAssignBasicRole() throws Exception { @Test public void test150ModifySrcAccountHermanReplaceOrg() throws Exception { final String TEST_NAME = "test150ModifySrcAccountHermanReplaceOrg"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount account = dummyResourceSrc.getAccountByUsername(ACCOUNT_HERMAN_USERNAME); @@ -753,7 +753,7 @@ public void test150ModifySrcAccountHermanReplaceOrg() throws Exception { @Test public void test152ModifySrcAccountHermanDeleteOrg() throws Exception { final String TEST_NAME = "test152ModifySrcAccountHermanDeleteOrg"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); DummyAccount account = dummyResourceSrc.getAccountByUsername(ACCOUNT_HERMAN_USERNAME); @@ -779,7 +779,7 @@ public void test152ModifySrcAccountHermanDeleteOrg() throws Exception { public void test200createUserAssignOrgPwdPolicy() throws Exception{ final String TEST_NAME = "test200createUserAssignOrgPwdPolicy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestVillage.class.getName() + "." + TEST_NAME); OperationResult result = new OperationResult(TEST_NAME); @@ -813,7 +813,7 @@ public void test200createUserAssignOrgPwdPolicy() throws Exception{ @Test public void test201unassignRole() throws Exception{ final String TEST_NAME = "test201unassignRole"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); unassignRole(USER_MIKE_OID, ROLE_BASIC_OID); //TODO: assertions } @@ -821,7 +821,7 @@ public void test201unassignRole() throws Exception{ @Test public void test202assignRoleOrgPwdPolicy() throws Exception{ final String TEST_NAME = "test202assignRoleOrgPwdPolicy"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); //this will throw exception, if incorrect pwd policy is selected...but some assertion will be nice :) assignRole(USER_MIKE_OID, ROLE_BASIC_OID); @@ -832,7 +832,7 @@ public void test202assignRoleOrgPwdPolicy() throws Exception{ @Test public void test300AddProjectJollyRoger() throws Exception { final String TEST_NAME = "test300AddProjectJollyRoger"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -860,7 +860,7 @@ public void test300AddProjectJollyRoger() throws Exception { @Test public void test310ProjectJollyRogerNestedGroup() throws Exception { final String TEST_NAME = "test310ProjectJollyRogerNestedGroup"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -898,7 +898,7 @@ ShadowType.F_ATTRIBUTES, new QName(RESOURCE_OPENDJ_NAMESPACE, "cn")).eq("admins" @Test public void test319DeleteProjectJollyRoger() throws Exception { final String TEST_NAME = "test319DeleteProjectJollyRoger"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); @@ -923,7 +923,7 @@ public void test319DeleteProjectJollyRoger() throws Exception { @Test public void test350AddRepoUserNoEmployeeNumberRecompute() throws Exception { final String TEST_NAME = "test350AddRepoUserNoEmployeeNumberRecompute"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldaphierarchy/AbstractLdapHierarchyTest.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldaphierarchy/AbstractLdapHierarchyTest.java index e91f80aee91..8fa8b404770 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldaphierarchy/AbstractLdapHierarchyTest.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldaphierarchy/AbstractLdapHierarchyTest.java @@ -170,7 +170,7 @@ public void initSystem(Task initTask, OperationResult initResult) throws Excepti @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = taskManager.createTaskInstance(TestTrafo.class.getName() + "." + TEST_NAME); OperationResult testResultOpenDj = modelService.testResource(RESOURCE_OPENDJ_OID, task); @@ -183,7 +183,7 @@ public void test000Sanity() throws Exception { @Test public void test100AddOrgRoyulaCarpathia() throws Exception { final String TEST_NAME = "test100AddOrgRoyulaCarpathia"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -212,7 +212,7 @@ public void test100AddOrgRoyulaCarpathia() throws Exception { @Test public void test110AddUserTeleke() throws Exception { final String TEST_NAME = "test110AddUserTeleke"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -243,7 +243,7 @@ public void test110AddUserTeleke() throws Exception { @Test public void test200AddOrgCortuvHrad() throws Exception { final String TEST_NAME = "test200AddOrgCortuvHrad"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -273,7 +273,7 @@ public void test200AddOrgCortuvHrad() throws Exception { @Test public void test210AddUserGorc() throws Exception { final String TEST_NAME = "test210AddUserGorc"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -300,7 +300,7 @@ public void test210AddUserGorc() throws Exception { @Test public void test220AddOrgVysneVlkodlaky() throws Exception { final String TEST_NAME = "test220AddOrgVysneVlkodlaky"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -330,7 +330,7 @@ public void test220AddOrgVysneVlkodlaky() throws Exception { @Test public void test230AddUserViljaDezi() throws Exception { final String TEST_NAME = "test230AddUserViljaDezi"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -356,7 +356,7 @@ public void test230AddUserViljaDezi() throws Exception { @Test public void test300RenameOrgCortuvHrad() throws Exception { final String TEST_NAME = "test300RenameOrgCortuvHrad"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -389,7 +389,7 @@ public void test300RenameOrgCortuvHrad() throws Exception { @Test public void test310RenameUserGorc() throws Exception { final String TEST_NAME = "test310RenameUserGorc"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -413,7 +413,7 @@ public void test310RenameUserGorc() throws Exception { @Test public void test320AddOrgRoyulaDiabolica() throws Exception { final String TEST_NAME = "test320AddOrgRoyulaDiabolica"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -443,7 +443,7 @@ public void test320AddOrgRoyulaDiabolica() throws Exception { @Test public void test322MoveOrgZblo() throws Exception { final String TEST_NAME = "test322MoveOrgZblo"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/notorious/AbstractNotoriousTest.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/notorious/AbstractNotoriousTest.java index 716ce04d93d..17e1f1bbad7 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/notorious/AbstractNotoriousTest.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/notorious/AbstractNotoriousTest.java @@ -184,7 +184,7 @@ private String generateRoleBOid(int num) { @Test public void test000Sanity() throws Exception { final String TEST_NAME = "test000Sanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); assertObjects(RoleType.class, NUMBER_OF_LEVEL_A_ROLES + NUMBER_OF_LEVEL_B_ROLES + NUMBER_OF_ORDINARY_ROLES + getNumberOfExtraRoles()); assertObjects(OrgType.class, getNumberOfExtraOrgs()); @@ -196,7 +196,7 @@ public void test000Sanity() throws Exception { @Test public void test100AssignRa0ToJack() throws Exception { final String TEST_NAME = "test100AssignRa0ToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -233,7 +233,7 @@ public void test100AssignRa0ToJack() throws Exception { @Test public void test102RecomputeJack() throws Exception { final String TEST_NAME = "test102RecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -266,7 +266,7 @@ public void test102RecomputeJack() throws Exception { @Test public void test104PreviewChangesJack() throws Exception { final String TEST_NAME = "test104PreviewChangesJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -306,7 +306,7 @@ public void test104PreviewChangesJack() throws Exception { @Test public void test109UnassignRa0FromJack() throws Exception { final String TEST_NAME = "test109UnassignRa0FromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -340,7 +340,7 @@ public void test109UnassignRa0FromJack() throws Exception { @Test public void test110Assign5ARolesToJack() throws Exception { final String TEST_NAME = "test110AssignAllARolesToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -373,7 +373,7 @@ public void test110Assign5ARolesToJack() throws Exception { @Test public void test112RecomputeJack() throws Exception { final String TEST_NAME = "test112RecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -406,7 +406,7 @@ public void test112RecomputeJack() throws Exception { @Test public void test119Unassign5ARolesFromJack() throws Exception { final String TEST_NAME = "test119Unassign5ARolesFromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -440,7 +440,7 @@ public void test119Unassign5ARolesFromJack() throws Exception { @Test public void test120AssignAllARolesToJack() throws Exception { final String TEST_NAME = "test120AssignAllARolesToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -473,7 +473,7 @@ public void test120AssignAllARolesToJack() throws Exception { @Test public void test122RecomputeJack() throws Exception { final String TEST_NAME = "test122RecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -506,7 +506,7 @@ public void test122RecomputeJack() throws Exception { @Test public void test124PreviewChangesJack() throws Exception { final String TEST_NAME = "test124PreviewChangesJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -546,7 +546,7 @@ public void test124PreviewChangesJack() throws Exception { @Test public void test129UnassignAllARolesFromJack() throws Exception { final String TEST_NAME = "test129UnassignAllARolesFromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -580,7 +580,7 @@ public void test129UnassignAllARolesFromJack() throws Exception { @Test public void test130AssignRb0ToJack() throws Exception { final String TEST_NAME = "test130AssignRb0ToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -623,7 +623,7 @@ public void test130AssignRb0ToJack() throws Exception { @Test public void test132AssignRa0ToJack() throws Exception { final String TEST_NAME = "test132AssignRa0ToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -660,7 +660,7 @@ public void test132AssignRa0ToJack() throws Exception { @Test public void test134RecomputeJack() throws Exception { final String TEST_NAME = "test134RecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -695,7 +695,7 @@ public void test134RecomputeJack() throws Exception { @Test public void test136UnassignRb0FromJack() throws Exception { final String TEST_NAME = "test136UnassignRb0FromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -732,7 +732,7 @@ public void test136UnassignRb0FromJack() throws Exception { @Test public void test138AssignRb0ToJackAgain() throws Exception { final String TEST_NAME = "test138AssignRb0ToJackAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -769,7 +769,7 @@ public void test138AssignRb0ToJackAgain() throws Exception { @Test public void test140RecomputeJackAgain() throws Exception { final String TEST_NAME = "test140RecomputeJackAgain"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -804,7 +804,7 @@ public void test140RecomputeJackAgain() throws Exception { @Test public void test142RecomputeJackAlt() throws Exception { final String TEST_NAME = "test142RecomputeJackAlt"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -840,7 +840,7 @@ public void test142RecomputeJackAlt() throws Exception { @Test public void test144UnassignRa0FromJack() throws Exception { final String TEST_NAME = "test144UnassignRa0FromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -877,7 +877,7 @@ public void test144UnassignRa0FromJack() throws Exception { @Test public void test149UnassignRb0FromJack() throws Exception { final String TEST_NAME = "test149UnassignRb0FromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -919,7 +919,7 @@ public void test149UnassignRb0FromJack() throws Exception { @Test public void test150AssignNotoriousDefaultToJack() throws Exception { final String TEST_NAME = "test150AssignNotoriousDefaultToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -962,7 +962,7 @@ public void test150AssignNotoriousDefaultToJack() throws Exception { @Test public void test152AssignNotoriousAltRelationToJack() throws Exception { final String TEST_NAME = "test152AssignNotoriousAltRelationToJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1006,7 +1006,7 @@ public void test152AssignNotoriousAltRelationToJack() throws Exception { @Test public void test154RecomputeJack() throws Exception { final String TEST_NAME = "test154RecomputeJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1053,7 +1053,7 @@ protected int getTest15xRoleEvaluationIncrement() { @Test public void test156RecomputeJackAlt() throws Exception { final String TEST_NAME = "test156RecomputeJackAlt"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1096,7 +1096,7 @@ public void test156RecomputeJackAlt() throws Exception { @Test public void test158UnassignNotoriousDefaultFromJack() throws Exception { final String TEST_NAME = "test156UnassignNotoriousDefaultFromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); @@ -1138,7 +1138,7 @@ protected void assertTest158RoleMembershipRef(PrismObject userAfter) { @Test public void test159UnassignNotoriousAltRelationFromJack() throws Exception { final String TEST_NAME = "test159UnassignNotoriousAltRelationFromJack"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); Task task = createTask(TEST_NAME); OperationResult result = task.getResult(); diff --git a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/notorious/TestSupernotoriousOrg.java b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/notorious/TestSupernotoriousOrg.java index 71169295b3d..383d03f41bd 100644 --- a/testing/story/src/test/java/com/evolveum/midpoint/testing/story/notorious/TestSupernotoriousOrg.java +++ b/testing/story/src/test/java/com/evolveum/midpoint/testing/story/notorious/TestSupernotoriousOrg.java @@ -122,7 +122,7 @@ protected void fillLevelBRole(RoleType roleType, int i) { @Test public void test010LevelBRolesSanity() throws Exception { final String TEST_NAME = "test010LevelBRolesSanity"; - displayTestTile(TEST_NAME); + displayTestTitle(TEST_NAME); ObjectQuery query = queryFor(RoleType.class).item(RoleType.F_ROLE_TYPE).eq(ROLE_LEVEL_B_ROLETYPE).build(); searchObjectsIterative(RoleType.class, query, diff --git a/testing/wstest/src/test/java/com/evolveum/midpoint/testing/wstest/AbstractWebserviceTest.java b/testing/wstest/src/test/java/com/evolveum/midpoint/testing/wstest/AbstractWebserviceTest.java index 9c6b3d9aed9..4909de76d60 100644 --- a/testing/wstest/src/test/java/com/evolveum/midpoint/testing/wstest/AbstractWebserviceTest.java +++ b/testing/wstest/src/test/java/com/evolveum/midpoint/testing/wstest/AbstractWebserviceTest.java @@ -484,7 +484,7 @@ protected void displayFault(FaultMessage fault) { } protected void displayTestTitle(String testName) { - TestUtil.displayTestTile(testName); + TestUtil.displayTestTitle(testName); } protected void displayWhen(String testName) {