Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/health/ValidateAtsDatabase.java49
1 files changed, 25 insertions, 24 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/health/ValidateAtsDatabase.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/health/ValidateAtsDatabase.java
index 1ecd4c1a0bb..a21a33d9b72 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/health/ValidateAtsDatabase.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/health/ValidateAtsDatabase.java
@@ -211,29 +211,29 @@ public class ValidateAtsDatabase extends WorldXNavigateItemAction {
count += artifacts.size();
testAtsAttributevaluesWithPersist(artifacts);
- // testCompletedCancelledStateAttributesSetWithPersist(artifacts);
- // testStateAttributeDuplications(artifacts);
- // testArtifactIds(artifacts);
- // testStateInWorkDefinition(artifacts);
- // testAttributeSetWorkDefinitionsExist(artifacts);
- // testAtsActionsHaveTeamWorkflow(artifacts);
- // testAtsWorkflowsHaveAction(artifacts);
- // testAtsWorkflowsHaveZeroOrOneVersion(artifacts);
- // testAtsWorkflowsValidVersion(artifacts);
- // testTasksHaveParentWorkflow(artifacts);
- // testReviewsHaveParentWorkflowOrActionableItems(artifacts);
- // testReviewsHaveValidDefectAndRoleXml(artifacts);
- // testTeamWorkflows(artifacts);
- // testAtsBranchManager(artifacts);
- // testTeamDefinitions(artifacts);
- // testVersionArtifacts(artifacts);
- // testStateMachineAssignees(artifacts);
- // testAtsLogs(artifacts);
- // testActionableItemToTeamDefinition(artifacts);
- //
- // for (IAtsHealthCheck atsHealthCheck : AtsHealthCheck.getAtsHealthCheckItems()) {
- // atsHealthCheck.validateAtsDatabase(artifacts, testNameToResultsMap, testNameToTimeSpentMap);
- // }
+ testCompletedCancelledStateAttributesSetWithPersist(artifacts);
+ testStateAttributeDuplications(artifacts);
+ testArtifactIds(artifacts);
+ testStateInWorkDefinition(artifacts);
+ testAttributeSetWorkDefinitionsExist(artifacts);
+ testAtsActionsHaveTeamWorkflow(artifacts);
+ testAtsWorkflowsHaveAction(artifacts);
+ testAtsWorkflowsHaveZeroOrOneVersion(artifacts);
+ testAtsWorkflowsValidVersion(artifacts);
+ testTasksHaveParentWorkflow(artifacts);
+ testReviewsHaveParentWorkflowOrActionableItems(artifacts);
+ testReviewsHaveValidDefectAndRoleXml(artifacts);
+ testTeamWorkflows(artifacts);
+ testAtsBranchManager(artifacts);
+ testTeamDefinitions(artifacts);
+ testVersionArtifacts(artifacts);
+ testStateMachineAssignees(artifacts);
+ testAtsLogs(artifacts);
+ testActionableItemToTeamDefinition(artifacts);
+
+ for (IAtsHealthCheck atsHealthCheck : AtsHealthCheck.getAtsHealthCheckItems()) {
+ atsHealthCheck.validateAtsDatabase(artifacts, testNameToResultsMap, testNameToTimeSpentMap);
+ }
if (monitor != null) {
monitor.worked(1);
@@ -933,7 +933,8 @@ public class ValidateAtsDatabase extends WorldXNavigateItemAction {
}
try {
if (artifact.isOfType(AtsArtifactTypes.ActionableItem)) {
- IAtsActionableItem aia = AtsConfigCache.instance.getSoleByGuid(artifact.getGuid(), IAtsActionableItem.class);
+ IAtsActionableItem aia =
+ AtsConfigCache.instance.getSoleByGuid(artifact.getGuid(), IAtsActionableItem.class);
if (aia.isActionable() && TeamDefinitions.getImpactedTeamDefs(Arrays.asList(aia)).isEmpty()) {
testNameToResultsMap.put(
"testActionableItemToTeamDefinition",

Back to the top