Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2012-11-29 13:22:33 -0500
committerRoberto E. Escobar2012-11-29 13:22:33 -0500
commit77c5195d10913adbf512efb066a58d35022db80b (patch)
tree5b980b7e7f7987cf4e07bbc5283328df1f8943ba
parentc2b5c34f406285f5a67e06aaf5c75a0686425234 (diff)
downloadorg.eclipse.osee-77c5195d10913adbf512efb066a58d35022db80b.tar.gz
org.eclipse.osee-77c5195d10913adbf512efb066a58d35022db80b.tar.xz
org.eclipse.osee-77c5195d10913adbf512efb066a58d35022db80b.zip
feature[ats_TL5SF]: Add ATS tests to maven
Create ATS client integration test bundle Separate junit tests from integration tests Add profile to build ATS individually Move enumerations from support.test.util into ats.client.demo Change-Id: I12dc0b9e2e144413e2272043adfd39920ada6f96
-rw-r--r--features/org.eclipse.osee.ats.feature.source/feature.xml6
-rw-r--r--features/org.eclipse.osee.ats.feature/feature.xml4
-rw-r--r--features/org.eclipse.osee.framework.ui.feature/feature.xml1
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo.test/META-INF/MANIFEST.MF14
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo.test/build.properties4
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo.test/src/org/eclipse/osee/ats/client/demo/config/DemoDatabaseConfigTest.java163
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/META-INF/MANIFEST.MF2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoActionableItems.java (renamed from plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoActionableItems.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoArtifactTypes.java (renamed from plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoArtifactTypes.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoChoice.java22
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoGroups.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsUserCommunity.java)16
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoSawBuilds.java (renamed from plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoSawBuilds.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoTeam.java (renamed from plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoTeam.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoUsers.java (renamed from plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoUsers.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoUtil.java53
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoWorkType.java (renamed from plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoWorkType.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/PopulateDemoActions.java2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/PopulateSawBuild2Actions.java1
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/artifact/DemoArtifactImageProvider.java2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/artifact/DemoTeamWorkflows.java2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/AddDbInitDemoChoice.java9
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/AtsConfigAddDemoUsers.java2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDatabaseConfig.java4
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbGroups.java4
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbReviews.java4
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbTasks.java2
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbUtil.java35
-rw-r--r--plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/navigate/DemoNavigateViewItems.java2
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/.classpath (renamed from plugins/org.eclipse.osee.ats.client.demo.test/.classpath)0
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/.gitignore1
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/.pmd (renamed from plugins/org.eclipse.osee.ats.test/.pmd)0
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/.project (renamed from plugins/org.eclipse.osee.ats.client.demo.test/.project)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/AtsClient_Integration_TestSuite.launch70
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/META-INF/MANIFEST.MF43
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/build.properties16
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/logback-test.xml29
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/osee-application-server.xml157
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/pom.xml203
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/AtsClientIntegrationTestSuite.java31
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/AtsTest_AllAts_Suite.java60
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/DemoDbGroupsTest.java (renamed from plugins/org.eclipse.osee.ats.client.demo.test/src/org/eclipse/osee/ats/client/demo/config/DemoDbGroupsTest.java)19
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/DemoDbPopulateSuite.java48
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/DirtyArtifactCacheTest.java39
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/PopulateDemoActionsTest.java (renamed from plugins/org.eclipse.osee.ats.client.demo.test/src/org/eclipse/osee/ats/client/demo/PopulateDemoActionsTest.java)15
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/PopulateDemoDatabaseTest.java67
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/AtsTest_Ats_Suite.java63
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/access/AtsBranchAccessManagerTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/access/AtsBranchAccessManagerTest.java)45
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/access/AtsTest_Access_Suite.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Access_Suite.java)11
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AbstractAtsActionPerspectiveTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AbstractAtsActionPerspectiveTest.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AbstractAtsActionRunTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AbstractAtsActionRunTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AbstractAtsActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AbstractAtsActionTest.java)4
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AccessControlActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AccessControlActionTest.java)8
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AddNoteActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AddNoteActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AtsTest_Action_Suite.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AtsTest_Demo_Action_Suite.java)18
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/CopyActionDetailsActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/CopyActionDetailsActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DeletePurgeAtsArtifactsActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DeletePurgeAtsArtifactsActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DirtyReportActionTest1.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DirtyReportActionTest.java)8
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DirtyReportActionTest2.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DirtyReportActionTest2.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DuplicateWorkflowActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DuplicateWorkflowActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DuplicateWorkflowViaWorldEditorActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DuplicateWorkflowViaWorldEditorActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/FavoriteActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/FavoriteActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ImportTasksViaSimpleListTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ImportTasksViaSimpleListTest.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ImportTasksViaSpreadsheetTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ImportTasksViaSpreadsheetTest.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/MyFavoritesActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/MyFavoritesActionTest.java)3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/MyWorldActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/MyWorldActionTest.java)3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/NewGoalTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/NewGoalTest.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenAtsPerspectiveActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenAtsPerspectiveActionTest.java)3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenChangeReportByIdActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenChangeReportByIdActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInArtifactEditorActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInArtifactEditorActionTest.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorkflowEditorActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorkflowEditorActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorldActionTest1.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorldActionTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorldActionTest2.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorldActionTest2.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorldActionTest3.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorldActionTest3.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInSkyWalkerActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInSkyWalkerActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsTaskEditorActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsTaskEditorActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsTaskEditorSelectedTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsTaskEditorSelectedTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsWorldEditorActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsWorldEditorActionTest.java)3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsWorldEditorSelectedActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsWorldEditorSelectedActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenParentActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenParentActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenReviewPerspectiveActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenReviewPerspectiveActionTest.java)3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenWorkflowByIdActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenWorkflowByIdActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenWorldByIdActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenWorldByIdActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/RefreshDirtyActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/RefreshDirtyActionTest.java)3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ReloadActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ReloadActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ResourceHistoryActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ResourceHistoryActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowBranchChangeDataActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowBranchChangeDataActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowChangeReportActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowChangeReportActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowMergeManagerActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowMergeManagerActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowWorkDefinitionActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowWorkDefinitionActionTest.java)3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/SubscribedActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/SubscribedActionTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/TaskAddActionTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/TaskAddActionTest.java)3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/artifact/log/AtsLogTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/log/AtsLogTest.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/artifact/log/AtsTest_Log_Suite.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Production_Suite.java)20
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/artifact/log/LogItemTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/log/LogItemTest.java)9
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/ActionableItemsColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/ActionableItemsColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/AssigneeColumnUITest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/AssigneeColumnUITest.java)8
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/AtsTest_Column_Suite.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Column_Suite.java)31
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/BranchStatusColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/BranchStatusColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CancelledDateColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CancelledDateColumnTest.java)11
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CategoryColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CategoryColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/ChangeTypeColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/ChangeTypeColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CompletedDateColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CompletedDateColumnTest.java)11
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CreatedDateColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CreatedDateColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/DeadlineColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/DeadlineColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/DescriptionColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/DescriptionColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/EstimatedHoursColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/EstimatedHoursColumnTest.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/GroupsColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/GroupsColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/NumberOfTasksAndInWorkTasksColumnsTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/NumberOfTasksAndInWorkTasksColumnsTest.java)8
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/OriginatorColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/OriginatorColumnTest.java)9
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/ParentStateAndIdColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/ParentStateAndIdColumnTest.java)8
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/PeerToPeerReviewColumnsTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/PeerToPeerReviewColumnsTest.java)14
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/PriorityColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/PriorityColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/RelatedToStateColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/RelatedToStateColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/StateColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/StateColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/TargetedVersionColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/TargetedVersionColumnTest.java)9
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/TeamColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/TeamColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/TypeColumnTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/TypeColumnTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/AtsBranchConfigurationTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java)41
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/AtsTest_Config_Suite.java40
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/AtsTest_Demo_Copy_Suite.java42
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/ConfigDataTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/ConfigDataTest.java)9
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/CopyAtsConfigurationOperationTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/CopyAtsConfigurationOperationTest.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/CopyAtsUtilTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/CopyAtsUtilTest.java)4
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/CopyAtsValidationTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/CopyAtsValidationTest.java)10
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsCoreClient_Suite.java52
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsTestUtil.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsTestUtil.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsTestUtilTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsTestUtilTest.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/branch/AtsBranchManagerCoreTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/branch/AtsBranchManagerCoreTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/branch/AtsCoreClient_Branch_Suite.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Util_Suite.java)20
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/AtsActionableItemToTeamDefinitionTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/AtsActionableItemToTeamDefinitionTest.java)3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/AtsCoreClient_Config_Suite.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/AtsCoreClient_Config_Production_PT_Suite.java)15
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/store/AtsCoreClient_Store_Suite.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/AtsCoreClient_Workflow_PT_Suite.java)21
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/store/VersionArtifactStoreTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/store/VersionArtifactStoreTest.java)3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/AtsCoreClient_Notify_Suite.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/AtsCoreClient_Notify_PT_Suite.java)14
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/AtsNotificationManagerTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/AtsNotificationManagerTest.java)16
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/AtsNotifyUsersTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/AtsNotifyUsersTest.java)15
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/MockNotificationManager.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/MockNotificationManager.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/operation/AtsCoreClient_Operation_Suite.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/operation/AtsCoreClient_Operation_PT_Suite.java)14
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/operation/MoveTeamWorkflowsOperationTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/operation/MoveTeamWorkflowsOperationTest.java)8
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/AtsCoreClient_Review_Suite.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/AtsCoreClient_Review_PT_Suite.java)16
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/DecisionReviewDefinitionManagerTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/DecisionReviewDefinitionManagerTest.java)11
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/DecisionReviewManagerTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/DecisionReviewManagerTest.java)9
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/PeerReviewDefinitionManagerTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/PeerReviewDefinitionManagerTest.java)10
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/PeerToPeerReviewManagerTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/PeerToPeerReviewManagerTest.java)11
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/AtsCoreClient_Task_Suite.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsCoreClient_JT_Suite.java)16
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/TaskManagerTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/task/TaskManagerTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/createTasks/AtsCoreClient_CreateTasks_Suite.java38
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/createTasks/CreateTasksOperationTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/task/createTasks/CreateTasksOperationTest.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/util/AtsCoreClient_Util_Suite.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/util/AtsCoreClient_Util_PT_Suite.java)14
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/util/AtsUserTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/util/AtsUserTest.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/util/CopyActionDetailsTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/util/CopyActionDetailsTest.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/AtsCoreClient_Workflow_Suite.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/AtsCoreClient_Config_Demo_PT_Suite.java)20
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/ConvertWorkflowStatesOperationTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/ConvertWorkflowStatesOperationTest.java)20
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/note/AtsNoteTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/note/AtsNoteTest.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/note/NoteItemTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/note/NoteItemTest.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/note/NoteTestSuite.java23
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/AtsCoreClient_Transition_Suite.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/AtsCoreClient_Transition_PT_Suite.java)14
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/MockTransitionHelper.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/MockTransitionHelper.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/StateManagerTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/StateManagerTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/TransitionManagerTest.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/TransitionManagerTest.java)27
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/AtsTest_Editor_Suite.java39
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/SMAPrintTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/SMAPrintTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsDecisionReviewDecisionStateItemTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsDecisionReviewDecisionStateItemTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsDecisionReviewPrepareStateItemTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsDecisionReviewPrepareStateItemTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsForceAssigneesToTeamLeadsStateItemTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsForceAssigneesToTeamLeadsStateItemTest.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsPeerToPeerReviewPrepareStateItemTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsPeerToPeerReviewPrepareStateItemTest.java)9
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsPeerToPeerReviewReviewStateItemTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsPeerToPeerReviewReviewStateItemTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsTest_Demo_StateItem_Suite.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_StateItem_Suite.java)15
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/health/AtsTest_Health_Suite.java38
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/health/AtsValidateAtsDatabaseTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/health/AtsValidateAtsDatabaseTest.java)3
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsNavigateItemsToMassEditorTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsNavigateItemsToMassEditorTest.java)9
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsNavigateItemsToTaskEditorTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsNavigateItemsToTaskEditorTest.java)12
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsNavigateItemsToWorldViewTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsNavigateItemsToWorldViewTest.java)33
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsTest_Navigate_Suite.java (renamed from plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/AtsImpl_JT_Suite.java)26
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/CustomizeTableDialog.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/CustomizeDemoTableTestUtil.java)12
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/render/AtsTest_Renderer_Suite.java38
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/render/RendererManagerTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/render/RendererManagerTest.java)8
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/review/AtsTest_Review_Suite.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/Review_Demo_Suite.java)10
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/review/ReviewNavigateItemsToWorldViewTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/review/ReviewNavigateItemsToWorldViewTest.java)30
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/review/ReviewWorldSearchItemDemoTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/review/ReviewWorldSearchItemDemoTest.java)9
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AbstractImageManagerTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/ImageManagerTest.java)18
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsDeleteManagerTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsDeleteManagerTest.java)13
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsImageTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsImageTest.java)4
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsTest_Util_Suite.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsCoreClient_Production_Suite.java)20
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsXWidgetsExampleBlamTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsXWidgetsExampleBlamTest.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/CreateActionUsingAllActionableItemsTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/CreateActionUsingAllActionableItemsTest.java)4
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/ImportActionsViaSpreadsheetTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/ImportActionsViaSpreadsheetTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/workflow/AtsTest_Workflow_Suite.java38
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/workflow/SMAPromptChangeStatusTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/workflow/SMAPromptChangeStatusTest.java)49
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/world/search/AtsTest_World_Search_Suite.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/world/search/AtsTest_Demo_World_Search_Suite.java)10
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/world/search/LegacyPcrIdQuickSearchTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/world/search/LegacyPcrIdQuickSearchTest.java)6
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/world/search/TeamDefinitionQuickSearchTest.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/world/search/TeamDefinitionQuickSearchTest.java)5
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DbInitTest.java76
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DemoTestUtil.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/DemoTestUtil.java)20
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/NavigateTestUtil.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/NavigateTestUtil.java)7
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/WorldEditorUtil.java (renamed from plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/WorldEditorUtil.java)2
-rw-r--r--plugins/org.eclipse.osee.ats.core.client.test/META-INF/MANIFEST.MF5
-rw-r--r--plugins/org.eclipse.osee.ats.core.client.test/pom.xml31
-rw-r--r--plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AllAtsCoreClientTestSuite.java (renamed from plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/query/AtsImpl_Query_Suite.java)19
-rw-r--r--plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsCoreClient_PT_Suite.java52
-rw-r--r--plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/ReviewTestSuite.java (renamed from plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/AtsCoreClient_Review_JT_Suite.java)22
-rw-r--r--plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/AtsXDefectValidatorTest.java1
-rw-r--r--plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/MockValueProvider.java55
-rw-r--r--plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/ValidatorTestUtil.java31
-rw-r--r--plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/role/AtsXUserRoleValidatorTest.java2
-rw-r--r--plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/task/AtsCoreClient_Task_PT_Suite.java38
-rw-r--r--plugins/org.eclipse.osee.ats.core.client/META-INF/MANIFEST.MF1
-rw-r--r--plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/notify/AtsNotificationManager.java2
-rw-r--r--plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/workflow/StateManager.java1
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/pom.xml31
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/AllAtsCoreTestSuite.java (renamed from plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/AtsCore_JT_Suite.java)22
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/config/internal/TeamDefinitionTest.java56
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/model/impl/AtsCore_ModelImpl_JT_Suite.java14
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/model/impl/WorkStateProviderImplTest.java56
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/transition/AtsCore_Transition_JT_Suite.java14
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/util/AtsCore_Util_JT_Suite.java14
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/AtsCore_WorkDef_JT_Suite.java16
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/provider/AtsCore_WorkDefProvider_JT_Suite.java14
-rw-r--r--plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workflow/AtsCore_Workflow_JT_Suite.java14
-rw-r--r--plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/model/impl/WorkStateProviderImpl.java9
-rw-r--r--plugins/org.eclipse.osee.ats.impl.test/META-INF/MANIFEST.MF19
-rw-r--r--plugins/org.eclipse.osee.ats.impl.test/build.properties2
-rw-r--r--plugins/org.eclipse.osee.ats.impl.test/pom.xml31
-rw-r--r--plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/AllAtsImplTestSuite.java25
-rw-r--r--plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/convert/ConvertTestSuite.java23
-rw-r--r--plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/model/ModelTestSuite.java (renamed from plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/model/AtsCore_WorkDef_JT_Suite.java)34
-rw-r--r--plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/query/AtsQueryTest.java53
-rw-r--r--plugins/org.eclipse.osee.ats.impl/META-INF/MANIFEST.MF2
-rw-r--r--plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/model/AbstractWorkDefItem.java1
-rw-r--r--plugins/org.eclipse.osee.ats.parent/pom.xml24
-rw-r--r--plugins/org.eclipse.osee.ats.test/.classpath7
-rw-r--r--plugins/org.eclipse.osee.ats.test/.project28
-rw-r--r--plugins/org.eclipse.osee.ats.test/META-INF/MANIFEST.MF27
-rw-r--r--plugins/org.eclipse.osee.ats.test/build.properties4
-rw-r--r--plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Config_Suite.java49
-rw-r--r--plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Suite.java86
-rw-r--r--plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsQueryPerformanceTests.java68
-rw-r--r--plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/MassEditorUtil.java29
-rw-r--r--plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/SMATestUtil.java61
-rw-r--r--plugins/org.eclipse.osee.ats/META-INF/MANIFEST.MF1
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAMembersTab.java24
241 files changed, 2514 insertions, 1565 deletions
diff --git a/features/org.eclipse.osee.ats.feature.source/feature.xml b/features/org.eclipse.osee.ats.feature.source/feature.xml
index c7a8d9d4f8..06fa90d4ce 100644
--- a/features/org.eclipse.osee.ats.feature.source/feature.xml
+++ b/features/org.eclipse.osee.ats.feature.source/feature.xml
@@ -17,6 +17,10 @@
%license
</license>
+ <requires>
+ <import feature="org.eclipse.osee.client.feature.source"/>
+ </requires>
+
<plugin
id="org.eclipse.osee.ats.source"
download-size="0"
@@ -100,5 +104,5 @@
install-size="0"
version="0.0.0"
unpack="false"/>
-
+
</feature>
diff --git a/features/org.eclipse.osee.ats.feature/feature.xml b/features/org.eclipse.osee.ats.feature/feature.xml
index b77167a099..0ca3426b0e 100644
--- a/features/org.eclipse.osee.ats.feature/feature.xml
+++ b/features/org.eclipse.osee.ats.feature/feature.xml
@@ -17,6 +17,10 @@
%license
</license>
+ <requires>
+ <import feature="org.eclipse.osee.client.feature"/>
+ </requires>
+
<plugin
id="org.eclipse.osee.ats"
download-size="0"
diff --git a/features/org.eclipse.osee.framework.ui.feature/feature.xml b/features/org.eclipse.osee.framework.ui.feature/feature.xml
index 14e7ac9a6e..afac40ea71 100644
--- a/features/org.eclipse.osee.framework.ui.feature/feature.xml
+++ b/features/org.eclipse.osee.framework.ui.feature/feature.xml
@@ -57,7 +57,6 @@
<import plugin="org.eclipse.osee.framework.core.model"/>
<import plugin="org.eclipse.osee.framework.database.init"/>
<import plugin="org.eclipse.zest.layouts"/>
- <import plugin="org.eclipse.osee.support.test.util"/>
<import plugin="org.eclipse.gef"/>
<import plugin="org.eclipse.osee.ote.define"/>
<import plugin="org.eclipse.osee.framework.core.dsl"/>
diff --git a/plugins/org.eclipse.osee.ats.client.demo.test/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ats.client.demo.test/META-INF/MANIFEST.MF
deleted file mode 100644
index 939b3ed9f0..0000000000
--- a/plugins/org.eclipse.osee.ats.client.demo.test/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,14 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: ATS Config Demo Test Fragment
-Bundle-SymbolicName: org.eclipse.osee.ats.client.demo.test;singleton:=true
-Bundle-Version: 0.11.0.qualifier
-Bundle-Vendor: Eclipse Open System Engineering Environment
-Fragment-Host: org.eclipse.osee.ats.client.demo
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Export-Package: org.eclipse.osee.ats.client.demo,
- org.eclipse.osee.ats.client.demo.config
-Require-Bundle: org.junit
-Import-Package: org.eclipse.osee.ats.api.data,
- org.eclipse.osee.ats.core.client.action,
- org.eclipse.osee.ats.core.util
diff --git a/plugins/org.eclipse.osee.ats.client.demo.test/build.properties b/plugins/org.eclipse.osee.ats.client.demo.test/build.properties
deleted file mode 100644
index 34d2e4d2da..0000000000
--- a/plugins/org.eclipse.osee.ats.client.demo.test/build.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .
diff --git a/plugins/org.eclipse.osee.ats.client.demo.test/src/org/eclipse/osee/ats/client/demo/config/DemoDatabaseConfigTest.java b/plugins/org.eclipse.osee.ats.client.demo.test/src/org/eclipse/osee/ats/client/demo/config/DemoDatabaseConfigTest.java
deleted file mode 100644
index 5237664912..0000000000
--- a/plugins/org.eclipse.osee.ats.client.demo.test/src/org/eclipse/osee/ats/client/demo/config/DemoDatabaseConfigTest.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2011 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.ats.client.demo.config;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.List;
-import org.eclipse.osee.ats.client.demo.DemoCISBuilds;
-import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
-import org.eclipse.osee.framework.core.exception.OseeCoreException;
-import org.eclipse.osee.framework.core.model.Branch;
-import org.eclipse.osee.framework.skynet.core.OseeSystemArtifacts;
-import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.framework.skynet.core.artifact.BranchManager;
-import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
-import org.junit.Assert;
-import org.junit.BeforeClass;
-
-/**
- * Test unit for {@link DemoDatabaseConfig}
- *
- * @author Donald G. Dunne
- */
-public class DemoDatabaseConfigTest {
-
- @BeforeClass
- public static void validateDbInit() throws OseeCoreException {
- DemoDbUtil.checkDbInitAndPopulateSuccess();
- }
-
- @org.junit.Test
- public void test_SAW_Bld_1__creation() throws OseeCoreException {
- Branch branch = BranchManager.getBranchByGuid(DemoSawBuilds.SAW_Bld_1.getGuid());
- Assert.assertNotNull(branch);
- Artifact programRoot = OseeSystemArtifacts.getDefaultHierarchyRootArtifact(branch);
- Assert.assertNotNull(programRoot);
-
- Assert.assertEquals(8, programRoot.getChildren().size());
- List<String> topFolders = new ArrayList<String>();
- topFolders.addAll(Arrays.asList("Hardware Requirements", "Integration Tests", "SAW Product Decomposition",
- "Software Requirements", "Subsystem Requirements", "System Requirements", "Validation Tests",
- "Verification Tests"));
-
- for (Artifact child : programRoot.getChildren()) {
- if (child.getName().equals("Integration Tests")) {
- Assert.assertEquals(3, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("Hardware Requirements")) {
- Assert.assertEquals(0, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("SAW Product Decomposition")) {
- Assert.assertEquals(14, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("Software Requirements")) {
- Assert.assertEquals(1, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("Subsystem Requirements")) {
- Assert.assertEquals(1, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("System Requirements")) {
- Assert.assertEquals(6, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("Validation Tests")) {
- Assert.assertEquals(3, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("Verification Tests")) {
- Assert.assertEquals(3, child.getChildren().size());
- topFolders.remove(child.getName());
- }
- }
-
- Assert.assertEquals(String.format("All top folders not created; missing [%s]", topFolders), 0, topFolders.size());
- }
-
- @org.junit.Test
- public void test_SAW_Bld_1__SoftwareRequirementImport() throws OseeCoreException {
- Branch branch = BranchManager.getBranchByGuid(DemoSawBuilds.SAW_Bld_1.getGuid());
- Assert.assertNotNull(branch);
-
- Collection<Artifact> artifacts =
- ArtifactQuery.getArtifactListFromType(CoreArtifactTypes.SystemRequirement, branch);
- Assert.assertEquals(67, artifacts.size());
-
- artifacts = ArtifactQuery.getArtifactListFromType(CoreArtifactTypes.SubsystemRequirement, branch);
- Assert.assertEquals(59, artifacts.size());
-
- artifacts = ArtifactQuery.getArtifactListFromType(CoreArtifactTypes.SoftwareRequirement, branch);
- Assert.assertEquals(24, artifacts.size());
-
- }
-
- @org.junit.Test
- public void test_CIS_Bld_1__creation() throws OseeCoreException {
- Branch branch = BranchManager.getBranchByGuid(DemoCISBuilds.CIS_Bld_1.getGuid());
- Assert.assertNotNull(branch);
- Artifact programRoot = OseeSystemArtifacts.getDefaultHierarchyRootArtifact(branch);
- Assert.assertNotNull(programRoot);
-
- Assert.assertEquals(8, programRoot.getChildren().size());
- List<String> topFolders = new ArrayList<String>();
- topFolders.addAll(Arrays.asList("Hardware Requirements", "Integration Tests", "SAW Product Decomposition",
- "Software Requirements", "Subsystem Requirements", "System Requirements", "Validation Tests",
- "Verification Tests"));
-
- for (Artifact child : programRoot.getChildren()) {
- if (child.getName().equals("Integration Tests")) {
- Assert.assertEquals(0, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("Hardware Requirements")) {
- Assert.assertEquals(0, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("SAW Product Decomposition")) {
- Assert.assertEquals(14, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("Software Requirements")) {
- Assert.assertEquals(0, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("Subsystem Requirements")) {
- Assert.assertEquals(0, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("System Requirements")) {
- Assert.assertEquals(0, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("Validation Tests")) {
- Assert.assertEquals(0, child.getChildren().size());
- topFolders.remove(child.getName());
- } else if (child.getName().equals("Verification Tests")) {
- Assert.assertEquals(0, child.getChildren().size());
- topFolders.remove(child.getName());
- }
- }
-
- Assert.assertEquals(String.format("All top folders not created; missing [%s]", topFolders), 0, topFolders.size());
- }
-
- @org.junit.Test
- public void test_CIS_Bld_1__SoftwareRequirementImport() throws OseeCoreException {
- Branch branch = BranchManager.getBranchByGuid(DemoCISBuilds.CIS_Bld_1.getGuid());
- Assert.assertNotNull(branch);
-
- Collection<Artifact> artifacts =
- ArtifactQuery.getArtifactListFromType(CoreArtifactTypes.SystemRequirement, branch);
- Assert.assertEquals(0, artifacts.size());
-
- artifacts = ArtifactQuery.getArtifactListFromType(CoreArtifactTypes.SubsystemRequirement, branch);
- Assert.assertEquals(0, artifacts.size());
-
- artifacts = ArtifactQuery.getArtifactListFromType(CoreArtifactTypes.SoftwareRequirement, branch);
- Assert.assertEquals(0, artifacts.size());
-
- }
-
-}
diff --git a/plugins/org.eclipse.osee.ats.client.demo/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ats.client.demo/META-INF/MANIFEST.MF
index 2e96c3060e..6c0b215030 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.osee.ats.client.demo/META-INF/MANIFEST.MF
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Demo Plug-in
+Bundle-Name: ATS Client Demo (Incubation)
Bundle-SymbolicName: org.eclipse.osee.ats.client.demo;singleton:=true
Bundle-Version: 0.11.0.qualifier
Eclipse-ExtensibleAPI: true
diff --git a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoActionableItems.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoActionableItems.java
index c3c4c7a80d..376e9d3c61 100644
--- a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoActionableItems.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoActionableItems.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.support.test.util;
+package org.eclipse.osee.ats.client.demo;
/**
* @author Donald G. Dunne
diff --git a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoArtifactTypes.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoArtifactTypes.java
index c2f5e9351d..d2d6c5ae45 100644
--- a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoArtifactTypes.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoArtifactTypes.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.support.test.util;
+package org.eclipse.osee.ats.client.demo;
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.core.data.TokenFactory;
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoChoice.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoChoice.java
new file mode 100644
index 0000000000..2ece9cedf4
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoChoice.java
@@ -0,0 +1,22 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.demo;
+
+import org.eclipse.osee.framework.database.init.IDbInitChoiceEnum;
+
+/**
+ * @author Roberto E. Escobar
+ */
+public enum DemoChoice implements IDbInitChoiceEnum {
+
+ ATS_CLIENT_DEMO;
+
+}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsUserCommunity.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoGroups.java
index e97e22d6ba..797a0c61ad 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsUserCommunity.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoGroups.java
@@ -8,15 +8,17 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.navigate;
+package org.eclipse.osee.ats.client.demo;
/**
* @author Donald G. Dunne
*/
-public enum AtsUserCommunity {
- Program_1,
- Program_2,
- Tools,
- Processes,
- Other;
+public class DemoGroups {
+
+ private DemoGroups() {
+ // Constants class
+ }
+
+ public static String TEST_GROUP_NAME = "Test Group";
+
}
diff --git a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoSawBuilds.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoSawBuilds.java
index 5ab7e7aeb7..833a17da27 100644
--- a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoSawBuilds.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoSawBuilds.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.support.test.util;
+package org.eclipse.osee.ats.client.demo;
import org.eclipse.osee.framework.core.data.IOseeBranch;
import org.eclipse.osee.framework.core.data.TokenFactory;
diff --git a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoTeam.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoTeam.java
index 074d907817..c2304c4c0c 100644
--- a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoTeam.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoTeam.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.support.test.util;
+package org.eclipse.osee.ats.client.demo;
/**
* Convenience method for demo plugin to retrieve configured teams for use mostly in DemoNavigateViewItem.
diff --git a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoUsers.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoUsers.java
index bd7c33be0a..414c53fc37 100644
--- a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoUsers.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoUsers.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.support.test.util;
+package org.eclipse.osee.ats.client.demo;
import java.util.Arrays;
import java.util.List;
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoUtil.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoUtil.java
new file mode 100644
index 0000000000..2533be5186
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoUtil.java
@@ -0,0 +1,53 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.demo;
+
+import org.eclipse.osee.framework.core.exception.OseeCoreException;
+import org.eclipse.osee.framework.core.exception.OseeStateException;
+import org.eclipse.osee.framework.database.core.OseeInfo;
+
+public class DemoUtil {
+
+ private DemoUtil() {
+ // Utility class
+ }
+
+ public static void checkDbInitSuccess() throws OseeCoreException {
+ if (!isDbInitSuccessful()) {
+ throw new OseeStateException("DbInit must be successful to continue");
+ }
+ }
+
+ public static void checkDbInitAndPopulateSuccess() throws OseeCoreException {
+ if (!isDbInitSuccessful()) {
+ throw new OseeStateException("DbInit must be successful to continue");
+ }
+ if (!isPopulateDbSuccessful()) {
+ throw new OseeStateException("PopulateDb must be successful to continue");
+ }
+ }
+
+ public static boolean isDbInitSuccessful() throws OseeCoreException {
+ return OseeInfo.isBoolean("DbInitSuccess");
+ }
+
+ public static void setDbInitSuccessful(boolean success) throws OseeCoreException {
+ OseeInfo.setBoolean("DbInitSuccess", success);
+ }
+
+ public static boolean isPopulateDbSuccessful() throws OseeCoreException {
+ return OseeInfo.isBoolean("PopulateSuccessful");
+ }
+
+ public static void setPopulateDbSuccessful(boolean success) throws OseeCoreException {
+ OseeInfo.setBoolean("PopulateSuccessful", success);
+ }
+}
diff --git a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoWorkType.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoWorkType.java
index 33203dc6fc..841cef0c53 100644
--- a/plugins/org.eclipse.osee.support.test.util/src/org/eclipse/osee/support/test/util/DemoWorkType.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/DemoWorkType.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.support.test.util;
+package org.eclipse.osee.ats.client.demo;
/**
* Declares the different work types for Widget_A and Widget_B
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/PopulateDemoActions.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/PopulateDemoActions.java
index 8068e96edf..83dff9800b 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/PopulateDemoActions.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/PopulateDemoActions.java
@@ -87,8 +87,6 @@ import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateItemAction;
import org.eclipse.osee.framework.ui.skynet.Import.ArtifactImportOperationFactory;
import org.eclipse.osee.framework.ui.skynet.Import.ArtifactImportOperationParameter;
import org.eclipse.osee.framework.ui.swt.Displays;
-import org.eclipse.osee.support.test.util.DemoArtifactTypes;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
import org.eclipse.osee.support.test.util.TestUtil;
/**
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/PopulateSawBuild2Actions.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/PopulateSawBuild2Actions.java
index c151a12627..9e45e6ced2 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/PopulateSawBuild2Actions.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/PopulateSawBuild2Actions.java
@@ -51,7 +51,6 @@ import org.eclipse.osee.framework.skynet.core.artifact.BranchManager;
import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
/**
* @author Donald G. Dunne
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/artifact/DemoArtifactImageProvider.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/artifact/DemoArtifactImageProvider.java
index fcdfd21183..3091579fb0 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/artifact/DemoArtifactImageProvider.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/artifact/DemoArtifactImageProvider.java
@@ -10,11 +10,11 @@
*******************************************************************************/
package org.eclipse.osee.ats.client.demo.artifact;
+import org.eclipse.osee.ats.client.demo.DemoArtifactTypes;
import org.eclipse.osee.ats.client.demo.util.DemoImage;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.ui.skynet.ArtifactImageManager;
import org.eclipse.osee.framework.ui.skynet.ArtifactImageProvider;
-import org.eclipse.osee.support.test.util.DemoArtifactTypes;
/**
* @author Donald G. Dunne
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/artifact/DemoTeamWorkflows.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/artifact/DemoTeamWorkflows.java
index 60ad3b3025..38e1226874 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/artifact/DemoTeamWorkflows.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/artifact/DemoTeamWorkflows.java
@@ -16,13 +16,13 @@ import org.eclipse.osee.ats.actions.wizard.TeamWorkflowProviderAdapter;
import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
+import org.eclipse.osee.ats.client.demo.DemoArtifactTypes;
import org.eclipse.osee.ats.client.demo.internal.Activator;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.workflow.AbstractWorkflowArtifact;
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.logging.OseeLog;
-import org.eclipse.osee.support.test.util.DemoArtifactTypes;
/**
* @author Donald G. Dunne
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/AddDbInitDemoChoice.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/AddDbInitDemoChoice.java
index 4abffadc5d..ed07a9624f 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/AddDbInitDemoChoice.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/AddDbInitDemoChoice.java
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.eclipse.osee.ats.client.demo.config;
+import org.eclipse.osee.ats.client.demo.DemoChoice;
import org.eclipse.osee.framework.database.init.DatabaseInitConfiguration;
import org.eclipse.osee.framework.database.init.DefaultOseeTypeDefinitions;
import org.eclipse.osee.framework.database.init.IAddDbInitChoice;
@@ -33,10 +34,10 @@ public class AddDbInitDemoChoice implements IAddDbInitChoice {
config.addTask("org.eclipse.osee.ats.AtsDatabaseConfig");
config.addTask("org.eclipse.osee.ats.client.demo.DemoDatabaseConfig");
- for (DefaultOseeTypeDefinitions types : DefaultOseeTypeDefinitions.values()) {
- config.addOseeType(types);
- }
+ config.addOseeType(DefaultOseeTypeDefinitions.OSEE_BASE_TYPES);
+ config.addOseeType(DefaultOseeTypeDefinitions.DEFINE_TYPES);
+ config.addOseeType(DefaultOseeTypeDefinitions.ATS_TYPES);
config.addOseeType("org.eclipse.osee.ats.client.demo.OseeTypes_Demo");
- groupSelection.addChoice("OSEE Demo Database", config);
+ groupSelection.addChoice(DemoChoice.ATS_CLIENT_DEMO, config);
}
}
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/AtsConfigAddDemoUsers.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/AtsConfigAddDemoUsers.java
index 6888a14b09..b9fb6fe0d8 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/AtsConfigAddDemoUsers.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/AtsConfigAddDemoUsers.java
@@ -12,6 +12,7 @@ package org.eclipse.osee.ats.client.demo.config;
import java.util.ArrayList;
import java.util.List;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
import org.eclipse.osee.ats.core.client.util.AtsGroup;
import org.eclipse.osee.framework.core.data.IUserToken;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
@@ -22,7 +23,6 @@ import org.eclipse.osee.framework.skynet.core.UserManager;
import org.eclipse.osee.framework.skynet.core.artifact.BranchManager;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
-import org.eclipse.osee.support.test.util.DemoUsers;
/**
* @author Donald G. Dunne
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDatabaseConfig.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDatabaseConfig.java
index 064ecc4ebb..12adc38017 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDatabaseConfig.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDatabaseConfig.java
@@ -11,7 +11,9 @@
package org.eclipse.osee.ats.client.demo.config;
import org.eclipse.osee.ats.client.demo.DemoCISBuilds;
+import org.eclipse.osee.ats.client.demo.DemoSawBuilds;
import org.eclipse.osee.ats.client.demo.DemoSubsystems;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
import org.eclipse.osee.ats.core.client.util.AtsGroup;
import org.eclipse.osee.framework.core.data.IOseeBranch;
import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
@@ -23,8 +25,6 @@ import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.artifact.ArtifactTypeManager;
import org.eclipse.osee.framework.skynet.core.artifact.BranchManager;
import org.eclipse.osee.framework.skynet.core.utility.Requirements;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
-import org.eclipse.osee.support.test.util.DemoUsers;
import org.eclipse.osee.support.test.util.TestUtil;
/**
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbGroups.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbGroups.java
index 3883bcd99b..0b4aeacf0d 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbGroups.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbGroups.java
@@ -14,6 +14,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
+import org.eclipse.osee.ats.client.demo.DemoGroups;
import org.eclipse.osee.ats.client.demo.internal.Activator;
import org.eclipse.osee.ats.core.client.action.ActionManager;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
@@ -30,7 +31,6 @@ import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
* @author Donald G. Dunne
*/
public class DemoDbGroups {
- public static String TEST_GROUP_NAME = "Test Group";
public static List<TeamWorkFlowArtifact> createGroups(boolean DEBUG) throws Exception {
@@ -42,7 +42,7 @@ public class DemoDbGroups {
if (DEBUG) {
OseeLog.log(Activator.class, Level.INFO, "Create Groups and add objects");
}
- Artifact groupArt = UniversalGroup.addGroup(TEST_GROUP_NAME, AtsUtil.getAtsBranch(), transaction);
+ Artifact groupArt = UniversalGroup.addGroup(DemoGroups.TEST_GROUP_NAME, AtsUtil.getAtsBranch(), transaction);
for (TeamWorkFlowArtifact codeArt : DemoDbUtil.getSampleCodeWorkflows()) {
// Add Action to Universal Group
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbReviews.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbReviews.java
index 8699707493..1b73ef38e5 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbReviews.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbReviews.java
@@ -16,6 +16,8 @@ import java.util.Date;
import java.util.List;
import java.util.logging.Level;
import org.eclipse.osee.ats.api.user.IAtsUser;
+import org.eclipse.osee.ats.client.demo.DemoArtifactTypes;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
import org.eclipse.osee.ats.client.demo.internal.Activator;
import org.eclipse.osee.ats.core.client.review.DecisionReviewArtifact;
import org.eclipse.osee.ats.core.client.review.DecisionReviewManager;
@@ -40,8 +42,6 @@ import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
import org.eclipse.osee.framework.skynet.core.artifact.search.QueryOptions;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
-import org.eclipse.osee.support.test.util.DemoArtifactTypes;
-import org.eclipse.osee.support.test.util.DemoUsers;
/**
* @author Donald G. Dunne
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbTasks.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbTasks.java
index 236f73b3a2..ff9e0e2b06 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbTasks.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbTasks.java
@@ -17,6 +17,7 @@ import java.util.Date;
import java.util.List;
import java.util.logging.Level;
import org.eclipse.osee.ats.api.user.IAtsUser;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
import org.eclipse.osee.ats.client.demo.internal.Activator;
import org.eclipse.osee.ats.core.client.task.TaskArtifact;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
@@ -25,7 +26,6 @@ import org.eclipse.osee.ats.util.AtsUtil;
import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
-import org.eclipse.osee.support.test.util.DemoUsers;
/**
* @author Donald G. Dunne
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbUtil.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbUtil.java
index a978237678..0c65d5cc0c 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbUtil.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/config/DemoDbUtil.java
@@ -18,6 +18,7 @@ import java.util.List;
import java.util.Set;
import java.util.logging.Level;
import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
+import org.eclipse.osee.ats.client.demo.DemoArtifactTypes;
import org.eclipse.osee.ats.client.demo.internal.Activator;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.config.ActionableItems;
@@ -28,17 +29,14 @@ import org.eclipse.osee.framework.core.data.IUserToken;
import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.exception.OseeExceptions;
-import org.eclipse.osee.framework.core.exception.OseeStateException;
import org.eclipse.osee.framework.core.model.Branch;
import org.eclipse.osee.framework.core.util.Result;
-import org.eclipse.osee.framework.database.core.OseeInfo;
import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.osee.framework.skynet.core.User;
import org.eclipse.osee.framework.skynet.core.UserManager;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
import org.eclipse.osee.framework.skynet.core.artifact.search.QueryOptions;
-import org.eclipse.osee.support.test.util.DemoArtifactTypes;
/**
* @author Donald G. Dunne
@@ -48,37 +46,6 @@ public class DemoDbUtil {
public static String INTERFACE_INITIALIZATION = "Interface Initialization";
private static List<TeamWorkFlowArtifact> codeArts;
- public static void checkDbInitSuccess() throws OseeCoreException {
- if (!isDbInitSuccessful()) {
- throw new OseeStateException("DbInit must be successful to continue");
- }
- }
-
- public static void checkDbInitAndPopulateSuccess() throws OseeCoreException {
- if (!isDbInitSuccessful()) {
- throw new OseeStateException("DbInit must be successful to continue");
- }
- if (!isPopulateDbSuccessful()) {
- throw new OseeStateException("PopulateDb must be successful to continue");
- }
- }
-
- public static boolean isDbInitSuccessful() throws OseeCoreException {
- return OseeInfo.isBoolean("DbInitSuccess");
- }
-
- public static void setDbInitSuccessful(boolean success) throws OseeCoreException {
- OseeInfo.setBoolean("DbInitSuccess", success);
- }
-
- public static boolean isPopulateDbSuccessful() throws OseeCoreException {
- return OseeInfo.isBoolean("PopulateSuccessful");
- }
-
- public static void setPopulateDbSuccessful(boolean success) throws OseeCoreException {
- OseeInfo.setBoolean("PopulateSuccessful", success);
- }
-
public static List<TeamWorkFlowArtifact> getSampleCodeWorkflows() throws OseeCoreException {
if (codeArts == null) {
codeArts = new ArrayList<TeamWorkFlowArtifact>();
diff --git a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/navigate/DemoNavigateViewItems.java b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/navigate/DemoNavigateViewItems.java
index b7ee4b1197..017bf06ca0 100644
--- a/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/navigate/DemoNavigateViewItems.java
+++ b/plugins/org.eclipse.osee.ats.client.demo/src/org/eclipse/osee/ats/client/demo/navigate/DemoNavigateViewItems.java
@@ -16,6 +16,7 @@ import java.util.List;
import java.util.logging.Level;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
+import org.eclipse.osee.ats.client.demo.DemoTeam;
import org.eclipse.osee.ats.client.demo.PopulateDemoActions;
import org.eclipse.osee.ats.client.demo.internal.Activator;
import org.eclipse.osee.ats.config.ValidateAtsConfiguration;
@@ -42,7 +43,6 @@ import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateItem;
import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateItemFolder;
import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateUrlItem;
import org.eclipse.osee.framework.ui.skynet.FrameworkImage;
-import org.eclipse.osee.support.test.util.DemoTeam;
/**
* Provides the ATS Navigator items for the sample XYZ company's teams
diff --git a/plugins/org.eclipse.osee.ats.client.demo.test/.classpath b/plugins/org.eclipse.osee.ats.client.integration.tests/.classpath
index ad32c83a78..ad32c83a78 100644
--- a/plugins/org.eclipse.osee.ats.client.demo.test/.classpath
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/.classpath
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/.gitignore b/plugins/org.eclipse.osee.ats.client.integration.tests/.gitignore
new file mode 100644
index 0000000000..da2a95a91a
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/.gitignore
@@ -0,0 +1 @@
+/Rerun*.launch
diff --git a/plugins/org.eclipse.osee.ats.test/.pmd b/plugins/org.eclipse.osee.ats.client.integration.tests/.pmd
index c7b0a9fb3f..c7b0a9fb3f 100644
--- a/plugins/org.eclipse.osee.ats.test/.pmd
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/.pmd
diff --git a/plugins/org.eclipse.osee.ats.client.demo.test/.project b/plugins/org.eclipse.osee.ats.client.integration.tests/.project
index 6ac49e7503..c11a5f5172 100644
--- a/plugins/org.eclipse.osee.ats.client.demo.test/.project
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/.project
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
- <name>org.eclipse.osee.ats.client.demo.test</name>
+ <name>org.eclipse.osee.ats.client.integration.tests</name>
<comment></comment>
<projects>
</projects>
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/AtsClient_Integration_TestSuite.launch b/plugins/org.eclipse.osee.ats.client.integration.tests/AtsClient_Integration_TestSuite.launch
new file mode 100644
index 0000000000..34a308e1e7
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/AtsClient_Integration_TestSuite.launch
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig">
+<setAttribute key="additional_plugins">
+<setEntry value="org.eclipse.core.runtime.compatibility:3.2.100.v20100505:default:true"/>
+<setEntry value="org.eclipse.osee.ats.client.integration.tests:0.11.0.qualifier:default:true"/>
+<setEntry value="org.eclipse.osee.client.integration.tests:0.11.0.qualifier:default:false"/>
+<setEntry value="org.eclipse.osee.client.test.framework:0.11.0.qualifier:default:false"/>
+</setAttribute>
+<booleanAttribute key="append.args" value="true"/>
+<booleanAttribute key="askclear" value="false"/>
+<booleanAttribute key="automaticAdd" value="false"/>
+<booleanAttribute key="automaticValidate" value="true"/>
+<stringAttribute key="bootstrap" value=""/>
+<stringAttribute key="checked" value="[NONE]"/>
+<booleanAttribute key="clearConfig" value="true"/>
+<booleanAttribute key="clearws" value="true"/>
+<booleanAttribute key="clearwslog" value="false"/>
+<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
+<booleanAttribute key="default" value="false"/>
+<stringAttribute key="featureDefaultLocation" value="workspace"/>
+<stringAttribute key="featurePluginResolution" value="workspace"/>
+<booleanAttribute key="includeOptional" value="false"/>
+<stringAttribute key="location" value="${workspace_loc}/../junit-workspace-atsTest"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/AtsClientIntegrationTestSuite.java"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="1"/>
+</listAttribute>
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
+<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
+<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
+<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.osee.ats.client.integration.AtsClientIntegrationTestSuite"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -nosplash"/>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.osee.ats.client.integration.tests"/>
+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx1024M&#13;&#10;-XX:MaxPermSize=256m&#13;&#10;-Dosee.log.default=WARNING&#13;&#10;-Dequinox.ds.debug=true &#13;&#10;-Dosee.application.server=http://localhost:8089&#13;&#10;-DeventDebug=log&#13;&#10;-DeventSystem=new&#13;&#10;-Dosee.is.in.db.init=true"/>
+<stringAttribute key="pde.version" value="3.3"/>
+<stringAttribute key="product" value="org.eclipse.osee.framework.ui.product.osee"/>
+<booleanAttribute key="run_in_ui_thread" value="true"/>
+<setAttribute key="selected_features">
+<setEntry value="org.eclipse.osee.ats.client.demo.feature:default"/>
+<setEntry value="org.eclipse.osee.ats.feature:default"/>
+<setEntry value="org.eclipse.osee.client.demo.feature:default"/>
+<setEntry value="org.eclipse.osee.client.feature:default"/>
+<setEntry value="org.eclipse.osee.core.feature:default"/>
+<setEntry value="org.eclipse.osee.core.plugin.feature:default"/>
+<setEntry value="org.eclipse.osee.core.runtime.feature:default"/>
+<setEntry value="org.eclipse.osee.core.ui.feature:default"/>
+<setEntry value="org.eclipse.osee.define.feature:default"/>
+<setEntry value="org.eclipse.osee.external.feature:default"/>
+<setEntry value="org.eclipse.osee.framework.feature:default"/>
+<setEntry value="org.eclipse.osee.framework.ui.feature:default"/>
+<setEntry value="org.eclipse.sdk:default"/>
+</setAttribute>
+<stringAttribute key="selected_target_plugins" value="ch.qos.logback.classic@default:default,ch.qos.logback.core@default:default,ch.qos.logback.slf4j@default:false,com.google.collect@default:default,com.google.inject@default:default,com.ibm.icu@default:default,com.jcraft.jsch@default:default,com.lowagie.text@default:default,com.ning.async-http-client@default:default,de.itemis.xtext.antlr@default:default,javax.activation@default:default,javax.mail.glassfish@default:default,javax.servlet.jsp@default:default,javax.servlet@default:default,javax.xml@default:default,org.antlr.generator@default:default,org.antlr.runtime@default:default,org.aopalliance@default:default,org.apache.ant@default:default,org.apache.batik.css@default:default,org.apache.batik.util.gui@default:default,org.apache.batik.util@default:default,org.apache.commons.cli@default:default,org.apache.commons.codec@default:default,org.apache.commons.el@default:default,org.apache.commons.httpclient@default:default,org.apache.commons.lang@default:default,org.apache.commons.logging*1.0.4.v201101211617@default:default,org.apache.commons.logging*1.1.1.v201101211721@default:default,org.apache.commons.net@default:default,org.apache.jasper@default:default,org.apache.log4j@default:default,org.apache.lucene*1.9.1.v201101211617@default:default,org.apache.lucene*2.9.1.v201101211721@default:default,org.apache.lucene.analysis@default:default,org.apache.lucene.core@default:default,org.apache.oro@default:default,org.apache.xerces@default:default,org.apache.xml.resolver@default:default,org.apache.xml.serializer@default:default,org.eclipse.ant.core@default:default,org.eclipse.ant.launching@default:default,org.eclipse.ant.ui@default:default,org.eclipse.birt.chart.engine@default:default,org.eclipse.birt.core@default:default,org.eclipse.compare.core@default:default,org.eclipse.compare@default:default,org.eclipse.core.commands@default:default,org.eclipse.core.contenttype@default:default,org.eclipse.core.databinding.beans@default:default,org.eclipse.core.databinding.observable@default:default,org.eclipse.core.databinding.property@default:default,org.eclipse.core.databinding@default:default,org.eclipse.core.expressions@default:default,org.eclipse.core.externaltools@default:default,org.eclipse.core.filebuffers@default:default,org.eclipse.core.filesystem@default:default,org.eclipse.core.jobs@default:default,org.eclipse.core.net@default:default,org.eclipse.core.resources@default:default,org.eclipse.core.runtime.compatibility.registry@default:false,org.eclipse.core.runtime.compatibility@default:default,org.eclipse.core.runtime@default:true,org.eclipse.core.variables@default:default,org.eclipse.cvs@default:default,org.eclipse.debug.core@default:default,org.eclipse.debug.ui@default:default,org.eclipse.draw2d@default:default,org.eclipse.ecf.filetransfer@default:default,org.eclipse.ecf.identity@default:default,org.eclipse.ecf.provider.filetransfer.ssl@default:false,org.eclipse.ecf.provider.filetransfer@default:default,org.eclipse.ecf.ssl@default:false,org.eclipse.ecf@default:default,org.eclipse.emf.codegen.ecore@default:default,org.eclipse.emf.codegen@default:default,org.eclipse.emf.common.ui@default:default,org.eclipse.emf.common@default:default,org.eclipse.emf.compare.diff@default:default,org.eclipse.emf.compare.match@default:default,org.eclipse.emf.compare.ui@default:default,org.eclipse.emf.compare@default:default,org.eclipse.emf.ecore.change@default:default,org.eclipse.emf.ecore.edit@default:default,org.eclipse.emf.ecore.editor@default:default,org.eclipse.emf.ecore.xmi@default:default,org.eclipse.emf.ecore@default:default,org.eclipse.emf.edit.ui@default:default,org.eclipse.emf.edit@default:default,org.eclipse.emf.mwe.core@default:default,org.eclipse.emf.mwe.utils@default:default,org.eclipse.emf.mwe2.language@default:default,org.eclipse.emf.mwe2.launch@default:default,org.eclipse.emf.mwe2.lib@default:default,org.eclipse.emf.mwe2.runtime@default:default,org.eclipse.equinox.app@default:default,org.eclipse.equinox.common@2:true,org.eclipse.equinox.concurrent@default:default,org.eclipse.equinox.ds@1:true,org.eclipse.equinox.event@default:default,org.eclipse.equinox.frameworkadmin.equinox@default:default,org.eclipse.equinox.frameworkadmin@default:default,org.eclipse.equinox.http.registry@default:default,org.eclipse.equinox.http.servlet@default:default,org.eclipse.equinox.jsp.jasper.registry@default:default,org.eclipse.equinox.jsp.jasper@default:default,org.eclipse.equinox.launcher@default:default,org.eclipse.equinox.p2.artifact.repository@default:default,org.eclipse.equinox.p2.console@default:default,org.eclipse.equinox.p2.core@default:default,org.eclipse.equinox.p2.director.app@default:default,org.eclipse.equinox.p2.director@default:default,org.eclipse.equinox.p2.engine@default:default,org.eclipse.equinox.p2.garbagecollector@default:default,org.eclipse.equinox.p2.jarprocessor@default:default,org.eclipse.equinox.p2.metadata.repository@default:default,org.eclipse.equinox.p2.metadata@default:default,org.eclipse.equinox.p2.operations@default:default,org.eclipse.equinox.p2.publisher.eclipse@default:default,org.eclipse.equinox.p2.publisher@default:default,org.eclipse.equinox.p2.repository.tools@default:default,org.eclipse.equinox.p2.repository@default:default,org.eclipse.equinox.p2.touchpoint.eclipse@default:default,org.eclipse.equinox.p2.ui@default:default,org.eclipse.equinox.p2.updatesite@default:default,org.eclipse.equinox.preferences@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.equinox.security.ui@default:default,org.eclipse.equinox.security@default:default,org.eclipse.equinox.servletbridge.extensionbundle@default:false,org.eclipse.equinox.simpleconfigurator.manipulator@default:default,org.eclipse.equinox.simpleconfigurator@1:true,org.eclipse.equinox.transforms.hook@default:false,org.eclipse.equinox.util@default:default,org.eclipse.equinox.weaving.hook@default:false,org.eclipse.gef@default:default,org.eclipse.help.base@default:default,org.eclipse.help.ui@default:default,org.eclipse.help.webapp@default:default,org.eclipse.help@default:default,org.eclipse.jdt.apt.core@default:default,org.eclipse.jdt.apt.pluggable.core@default:default,org.eclipse.jdt.apt.ui@default:default,org.eclipse.jdt.compiler.apt@default:false,org.eclipse.jdt.compiler.tool@default:false,org.eclipse.jdt.core.manipulation@default:default,org.eclipse.jdt.core@default:default,org.eclipse.jdt.debug.ui@default:default,org.eclipse.jdt.debug@default:default,org.eclipse.jdt.doc.isv@default:default,org.eclipse.jdt.doc.user@default:default,org.eclipse.jdt.junit.core@default:default,org.eclipse.jdt.junit.runtime@default:default,org.eclipse.jdt.junit4.runtime@default:default,org.eclipse.jdt.junit@default:default,org.eclipse.jdt.launching@default:default,org.eclipse.jdt.ui@default:default,org.eclipse.jdt@default:default,org.eclipse.jface.databinding@default:default,org.eclipse.jface.text@default:default,org.eclipse.jface@default:default,org.eclipse.jsch.core@default:default,org.eclipse.jsch.ui@default:default,org.eclipse.ltk.core.refactoring@default:default,org.eclipse.ltk.ui.refactoring@default:default,org.eclipse.m2e.maven.runtime@default:default,org.eclipse.nebula.widgets.calendarcombo@default:default,org.eclipse.nebula.widgets.xviewer@default:default,org.eclipse.osgi.services@default:default,org.eclipse.osgi.util@default:default,org.eclipse.osgi@-1:true,org.eclipse.pde.build@default:default,org.eclipse.pde.core@default:default,org.eclipse.pde.doc.user@default:default,org.eclipse.pde.junit.runtime@default:default,org.eclipse.pde.launching@default:default,org.eclipse.pde.runtime@default:default,org.eclipse.pde.ui.templates@default:default,org.eclipse.pde.ui@default:default,org.eclipse.pde@default:default,org.eclipse.platform.doc.isv@default:default,org.eclipse.platform.doc.user@default:default,org.eclipse.platform@default:default,org.eclipse.rcp@default:default,org.eclipse.sdk@default:default,org.eclipse.search@default:default,org.eclipse.swt.win32.win32.x86_64@default:false,org.eclipse.swt@default:default,org.eclipse.team.core@default:default,org.eclipse.team.cvs.core@default:default,org.eclipse.team.cvs.ssh2@default:default,org.eclipse.team.cvs.ui@default:default,org.eclipse.team.svn.core@default:default,org.eclipse.team.svn.help@default:default,org.eclipse.team.svn.ui@default:default,org.eclipse.team.svn@default:default,org.eclipse.team.ui@default:default,org.eclipse.text@default:default,org.eclipse.ui.browser@default:default,org.eclipse.ui.cheatsheets@default:default,org.eclipse.ui.console@default:default,org.eclipse.ui.editors@default:default,org.eclipse.ui.externaltools@default:default,org.eclipse.ui.forms@default:default,org.eclipse.ui.ide.application@default:default,org.eclipse.ui.ide@default:default,org.eclipse.ui.intro.universal@default:default,org.eclipse.ui.intro@default:default,org.eclipse.ui.navigator.resources@default:default,org.eclipse.ui.navigator@default:default,org.eclipse.ui.net@default:default,org.eclipse.ui.views.log@default:default,org.eclipse.ui.views.properties.tabbed@default:default,org.eclipse.ui.views@default:default,org.eclipse.ui.win32@default:false,org.eclipse.ui.workbench.texteditor@default:default,org.eclipse.ui.workbench@default:default,org.eclipse.ui@default:default,org.eclipse.update.configurator@3:true,org.eclipse.update.core.win32@default:false,org.eclipse.update.core@default:default,org.eclipse.xpand@default:default,org.eclipse.xtend.typesystem.emf@default:default,org.eclipse.xtend@default:default,org.eclipse.xtext.builder@default:default,org.eclipse.xtext.common.types.ui@default:default,org.eclipse.xtext.common.types@default:default,org.eclipse.xtext.ecore@default:default,org.eclipse.xtext.generator@default:default,org.eclipse.xtext.logging@default:false,org.eclipse.xtext.ui.shared@default:default,org.eclipse.xtext.ui@default:default,org.eclipse.xtext.util@default:default,org.eclipse.xtext.xbase.lib@default:default,org.eclipse.xtext@default:default,org.eclipse.zest.core@default:default,org.eclipse.zest.layouts@default:default,org.h2@default:default,org.hamcrest.core@default:default,org.jboss.netty@default:default,org.junit*4.8.2.v4_8_2_v20110321-1705@default:default,org.junit4@default:default,org.mozilla.javascript@default:default,org.polarion.eclipse.team.svn.connector.svnkit16@default:default,org.polarion.eclipse.team.svn.connector@default:default,org.sat4j.core@default:default,org.sat4j.pb@default:default,org.slf4j.api@default:default,org.slf4j.jcl@default:default,org.w3c.css.sac@default:default,org.w3c.dom.smil@default:default,org.w3c.dom.svg@default:default"/>
+<stringAttribute key="selected_workspace_plugins" value="jms.libraries@default:default,net.jini@default:default,org.eclipse.osee.ats.api@default:default,org.eclipse.osee.client.demo@default:default,org.eclipse.osee.client.integration.tests@default:default,org.eclipse.osee.coverage.help.ui@default:default,org.eclipse.osee.coverage.test@default:false,org.eclipse.osee.coverage@default:default,org.eclipse.osee.define.test@default:false,org.eclipse.osee.define@default:default,org.eclipse.osee.framework.access.provider@default:default,org.eclipse.osee.framework.access.test@default:false,org.eclipse.osee.framework.access@default:default,org.eclipse.osee.framework.core.client@default:default,org.eclipse.osee.framework.core.dsl.integration.test@default:false,org.eclipse.osee.framework.core.dsl.integration@default:default,org.eclipse.osee.framework.core.dsl.ui.integration.test@default:false,org.eclipse.osee.framework.core.dsl.ui.integration@default:default,org.eclipse.osee.framework.core.dsl@default:default,org.eclipse.osee.framework.core.message.test@default:false,org.eclipse.osee.framework.core.message@default:default,org.eclipse.osee.framework.core.model.test@default:false,org.eclipse.osee.framework.core.model@default:default,org.eclipse.osee.framework.core.test@default:false,org.eclipse.osee.framework.core@default:default,org.eclipse.osee.framework.database.init@default:default,org.eclipse.osee.framework.database.test@default:false,org.eclipse.osee.framework.database@default:default,org.eclipse.osee.framework.h2@default:default,org.eclipse.osee.framework.help.ui@default:default,org.eclipse.osee.framework.jdk.core.test@default:false,org.eclipse.osee.framework.jdk.core@default:default,org.eclipse.osee.framework.jini@default:default,org.eclipse.osee.framework.lifecycle.test@default:false,org.eclipse.osee.framework.lifecycle@default:default,org.eclipse.osee.framework.logging.test@default:false,org.eclipse.osee.framework.logging@default:default,org.eclipse.osee.framework.messaging.event.res.test@default:false,org.eclipse.osee.framework.messaging.event.res@default:default,org.eclipse.osee.framework.messaging.test@default:false,org.eclipse.osee.framework.messaging@default:default,org.eclipse.osee.framework.plugin.core@default:default,org.eclipse.osee.framework.skynet.core.test@default:false,org.eclipse.osee.framework.skynet.core@default:default,org.eclipse.osee.framework.ui.plugin@default:default,org.eclipse.osee.framework.ui.product@default:default,org.eclipse.osee.framework.ui.skynet.test@default:false,org.eclipse.osee.framework.ui.skynet@default:default,org.eclipse.osee.framework.ui.swt@default:default,org.eclipse.osee.framework.ui.ws@default:default,org.eclipse.osee.logback.config@default:false,org.eclipse.osee.ote.define@default:default,org.eclipse.osee.ote.ui.define@default:default,org.eclipse.osee.support.test.util@default:default,org.mockito@default:default,org.objenesis@default:default"/>
+<booleanAttribute key="show_selected_only" value="true"/>
+<stringAttribute key="timestamp" value="1354263054730"/>
+<booleanAttribute key="tracing" value="false"/>
+<booleanAttribute key="useCustomFeatures" value="true"/>
+<booleanAttribute key="useDefaultConfig" value="true"/>
+<booleanAttribute key="useDefaultConfigArea" value="false"/>
+<booleanAttribute key="useProduct" value="true"/>
+</launchConfiguration>
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ats.client.integration.tests/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..b57bbcc0d1
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,43 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: ATS Client Integration Tests (Incubation)
+Bundle-SymbolicName: org.eclipse.osee.ats.client.integration.tests
+Bundle-Version: 0.11.0.qualifier
+Bundle-Vendor: Eclipse Open System Engineering Environment
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Require-Bundle: org.junit,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.ui,
+ org.eclipse.ui.forms,
+ org.eclipse.osee.ats,
+ org.eclipse.osee.ats.api,
+ org.eclipse.osee.ats.core,
+ org.eclipse.osee.ats.core.client,
+ org.eclipse.osee.support.test.util,
+ org.eclipse.osee.framework.ui.skynet,
+ org.eclipse.osee.framework.skynet.core
+Import-Package: org.eclipse.nebula.widgets.xviewer,
+ org.eclipse.nebula.widgets.xviewer.customize,
+ org.eclipse.nebula.widgets.xviewer.customize.dialog,
+ org.eclipse.osee.ats.client.demo,
+ org.eclipse.osee.ats.mocks,
+ org.eclipse.osee.framework.core.client,
+ org.eclipse.osee.framework.core.data,
+ org.eclipse.osee.framework.core.dsl.integration,
+ org.eclipse.osee.framework.core.enums,
+ org.eclipse.osee.framework.core.exception,
+ org.eclipse.osee.framework.core.model,
+ org.eclipse.osee.framework.core.model.cache,
+ org.eclipse.osee.framework.core.operation,
+ org.eclipse.osee.framework.core.util,
+ org.eclipse.osee.framework.database.core,
+ org.eclipse.osee.framework.database.init,
+ org.eclipse.osee.framework.jdk.core.type,
+ org.eclipse.osee.framework.jdk.core.util,
+ org.eclipse.osee.framework.logging,
+ org.eclipse.osee.framework.ui.plugin,
+ org.eclipse.osee.framework.ui.plugin.util,
+ org.eclipse.osee.framework.ui.plugin.xnavigate,
+ org.eclipse.osee.framework.ui.swt,
+ org.osgi.framework
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/build.properties b/plugins/org.eclipse.osee.ats.client.integration.tests/build.properties
new file mode 100644
index 0000000000..125e3fcfbe
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/build.properties
@@ -0,0 +1,16 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
+additional.bundles = org.eclipse.osee.ats.mocks,\
+ org.eclipse.osee.ats.client.demo,\
+ org.eclipse.osee.framework.jdk.core,\
+ org.eclipse.osee.framework.logging,\
+ org.eclipse.osee.framework.core,\
+ org.eclipse.osee.framework.core.model,\
+ org.eclipse.osee.framework.database,\
+ org.eclipse.osee.framework.ui.plugin,\
+ org.eclipse.nebula.widgets.xviewer,\
+ org.eclipse.osee.framework.ui.swt,\
+ org.eclipse.osee.framework.core.client,\
+ org.eclipse.osee.framework.database.init
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/logback-test.xml b/plugins/org.eclipse.osee.ats.client.integration.tests/logback-test.xml
new file mode 100644
index 0000000000..925057f12c
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/logback-test.xml
@@ -0,0 +1,29 @@
+<configuration debug="true">
+ <!-- See documentation at http://logback.qos.ch/manual/joran.html -->
+
+ <!-- To select this configuration add -Dlogback.configurationFile=logback-test.xml -->
+ <!-- Set attribute debug="true" to configuration xml element to trace logback configuration -->
+
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder
+ by default -->
+ <encoder>
+ <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+
+ <!-- Configure OSEE log messages -->
+ <!-- <logger name="org.eclipse.osee.orcs.db" level="TRACE" /> -->
+ <!-- <logger name="org.eclipse.osee.database" level="TRACE" /> -->
+ <!-- <logger name="org.eclipse.osee.orcs.core" level="TRACE" /> -->
+ <logger name="org.eclipse.osee" level="WARN" />
+ <!-- <logger name="org.eclipse.osee.framework.core.server" level="INFO" />-->
+
+ <!-- Vaadin Servlet URL Requests -->
+ <!-- <logger name="org.eclipse.osee.vaadin" level="TRACE" /> -->
+
+ <root level="WARN">
+ <appender-ref ref="STDOUT" />
+ </root>
+</configuration> \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/osee-application-server.xml b/plugins/org.eclipse.osee.ats.client.integration.tests/osee-application-server.xml
new file mode 100644
index 0000000000..61d7d5c9a0
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/osee-application-server.xml
@@ -0,0 +1,157 @@
+<?xml version="1.0"?>
+<project name="Test OSEE Application Server Launcher" default="run" basedir=".">
+
+ <!--
+ ${extraVMargs}
+
+ $xserver-db-home
+ $xserver-db-name=psql.osee.eclipse.org \
+ $xserver-db-username=osee.eclipse \
+ $xserver-db-password=osee.eclipse \
+ $xserver-db-address=127.0.0.1 \
+ $xserver-db-port=1623 \
+ $xserver-db-web-port=1623 \
+ $xserver-db-type=H2,PGSQL \
+
+ ${xserver-authentication}
+ ${xserver-data}
+ ${xserver-home}
+ ${xserver-port}
+ ${xserver-telnet-port}
+ ${xserver-log-config}
+ -->
+
+ <target name="init">
+ <echo message="extraVMargs: [${extraVMargs}]" />
+
+ <for param="argline" delimiter=" -D" list="${extraVMargs}" trim="true">
+ <sequential>
+ <propertyregex property="argName" override="true" input="@{argline}" regexp="(.*?)=" select="\1" casesensitive="false" />
+ <propertyregex property="argValue" override="true" input="@{argline}" regexp="=(.*)" select="\1" casesensitive="false" />
+ <echo message="Found arg - [${argName}]=[${argValue}]" />
+ <property name="${argName}" value="${argValue}" />
+ </sequential>
+ </for>
+
+ <property name="osee.app.server.connectionFile" value="${xserver-data}/test.osee.client.db.connection.xml" />
+ <property name="osee.app.server.connectionId" value="test.osee.client.db.connection.id" />
+
+ <echo message="Osee Application Server Home: [${xserver-home}]" />
+ <echo message="Osee Application Server Port: [${xserver-port}]" />
+ <echo message="Osee Application Server Telnet Port: [${xserver-telnet-port}]" />
+ <echo message="Osee Application Server Db Type: [${xserver-db-type}]" />
+ </target>
+
+ <target name="writeH2ConnectionFile" depends="init">
+ <writeConnectionFile dbType="h2" dbHome="${xserver-db-home}" dbPrefix="jdbc:h2" dbDriver="h2.db.connection" dbName="${xserver-db-name}" dbUser="${xserver-db-username}" dbPasswd="${xserver-db-password}" dbAddress="${xserver-db-address}" dbPort="${xserver-db-port}" connectionFilePath="${osee.app.server.connectionFile}" connectionid="${osee.app.server.connectionId}" />
+ </target>
+
+ <target name="run" depends="init,writeH2ConnectionFile,startServer" />
+
+ <target name="startServer">
+ <pathconvert property="launcherJarPath" setonempty="false">
+ <path>
+ <fileset dir="${xserver-home}/plugins">
+ <include name="org.eclipse.equinox.launcher_*.jar" />
+ </fileset>
+ </path>
+ </pathconvert>
+
+ <mkdir dir="${xserver-data}" />
+
+ <forget>
+ <echo message="Launching Osee Application Server..." />
+ <!-- Test Should Complete in 30 mins (timeout vale) - currently, they only take ~13 mins -->
+ <java taskname="int-test-server" failonerror="true" maxmemory="1024m" timeout="1800000" jar="${launcherJarPath}" fork="true">
+ <classpath>
+ <fileset dir="${xserver-home}/plugins" includes="org.eclipse.equinox.launcher_*.jar" />
+ <pathelement location="${xserver-home}/plugins" />
+ </classpath>
+ <sysproperty key="osee.log.default" value="INFO" />
+ <sysproperty key="osee.check.tag.queue.on.startup" value="false" />
+ <sysproperty key="osgi.noShutdown" value="true" />
+ <sysproperty key="org.osgi.service.http.port" value="${xserver-port}" />
+ <sysproperty key="osee.db.connection.id" value="${osee.app.server.connectionId}" />
+ <sysproperty key="osee.connection.info.uri" value="${osee.app.server.connectionFile}" />
+ <sysproperty key="osee.application.server.data" value="${xserver-data}" />
+ <sysproperty key="osee.authentication.protocol" value="${xserver-authentication}" />
+ <sysproperty key="osee.connection.info.uri" value="${osee.app.server.connectionFile}" />
+ <sysproperty key="osee.db.embedded.server" value="${xserver-db-address}:${xserver-db-port}" />
+ <sysproperty key="osee.db.embedded.web.server.port" value="${xserver-db-web-port}" />
+ <sysproperty key="logback.configurationFile" value="${xserver-log-config}" />
+ <sysproperty key="osgi.configuration.area" value="${xserver-data}/configuration" />
+
+ <jvmarg line="${additionalJvmArgs}" />
+ <arg line=" -console ${xserver-telnet-port} -consoleLog -configuration &quot;${xserver-home}/configuration&quot;" />
+ </java>
+ </forget>
+
+ <waitfor maxwait="20" maxwaitunit="second" checkevery="100" checkeveryunit="millisecond">
+ <http url="http://127.0.0.1:${xserver-port}/osee/configure/datastore/schema" />
+ </waitfor>
+ </target>
+
+ <target name="stopServer">
+ <echo message="Osee Application Server Telnet Port: [${xserver-telnet-port}]" />
+ <telnet server="localhost" port="${xserver-telnet-port}" initialCR="yes" timeout="1000">
+ <read>osgi&gt;</read>
+ <write>close</write>
+ </telnet>
+ <sleep milliseconds="500" />
+
+ <!-- <echo message="Osee Application Server Port: [${xserver-port}]" />
+ <post to="http://127.0.0.1:${xserver-port}/osee/console?cmd=osee&amp;args=server_shutdown" verbose="true" wantresponse="true" property="shutdownOutput" />
+ <echo message="${shutdownOutput}" />
+ -->
+ </target>
+
+ <macrodef name="writeConnectionFile">
+ <attribute name="dbHome" />
+ <attribute name="dbName" />
+ <attribute name="dbUser" />
+ <attribute name="dbPasswd" />
+ <attribute name="dbType" />
+ <attribute name="dbPrefix" />
+ <attribute name="dbDriver" />
+ <attribute name="dbAddress" />
+ <attribute name="dbPort" />
+ <attribute name="connectionId" />
+ <attribute name="connectionFilePath" />
+ <sequential>
+ <echo message="Writing [@{dbType}] Db Connection File" />
+ <echo file="@{connectionFilePath}">
+ &lt;DbConnection&gt;
+ &lt;DatabaseInfo id=&quot;db.connection.info&quot;&gt;${line.separator}
+ &lt;DatabaseHome key=&quot;#DBHOME#&quot; value=&quot;@{dbHome}&quot; /&gt;${line.separator}
+ &lt;DatabaseName key=&quot;#DBNAME#&quot; value=&quot;@{dbName}&quot; /&gt;${line.separator}
+ &lt;DatabaseType key=&quot;#TYPE#&quot; value=&quot;@{dbType}&quot; /&gt;${line.separator}
+ &lt;Prefix key=&quot;#PREFIX#&quot; value=&quot;@{dbPrefix}&quot; /&gt;${line.separator}
+ &lt;UserName key=&quot;#USERNAME#&quot; value=&quot;@{dbUser}&quot; /&gt;${line.separator}
+ &lt;Password key=&quot;#PASSWORD#&quot; value=&quot;@{dbPasswd}&quot; /&gt;${line.separator}
+ &lt;Host key=&quot;#HOST#&quot; value=&quot;@AvailableDbServices.hostAddress&quot; /&gt;${line.separator}
+ &lt;Port key=&quot;#PORT#&quot; value=&quot;@AvailableDbServices.port&quot; /&gt;${line.separator}
+ &lt;/DatabaseInfo&gt;${line.separator}
+ ${line.separator}
+ &lt;ConnectionDescription id=&quot;h2.db.connection&quot;&gt;${line.separator}
+ &lt;Driver&gt;org.h2.Driver&lt;/Driver&gt;${line.separator}
+ &lt;Url&gt;#PREFIX#:tcp://#HOST#:#PORT#/#DBHOME##DBNAME#;IGNORECASE=TRUE;SCHEMA_SEARCH_PATH=@{dbUser}, PUBLIC;MVCC=TRUE&lt;/Url&gt;${line.separator}
+ &lt;/ConnectionDescription&gt;${line.separator}
+ ${line.separator}
+ &lt;ConnectionDescription id=&quot;postgresql.db.connection&quot;&gt;${line.separator}
+ &lt;Driver&gt;org.postgresql.Driver&lt;/Driver&gt;${line.separator}
+ &lt;Url&gt;#PREFIX#://#HOST#:#PORT#/#DBHOME##DBNAME#&lt;/Url&gt;${line.separator}
+ &lt;/ConnectionDescription&gt;${line.separator}
+ ${line.separator}
+ </echo>
+
+ <echo file="@{connectionFilePath}" append="true">
+ ${line.separator}${line.separator}
+ &lt;AvailableDbServices&gt;${line.separator}
+ &lt;Server id=&quot;@{connectionId}&quot; dbInfo=&quot;db.connection.info&quot; connectsWith=&quot;@{dbDriver}&quot; hostAddress=&quot;@{dbAddress}&quot; port=&quot;@{dbPort}&quot; /&gt;${line.separator}
+ &lt;/AvailableDbServices&gt;${line.separator}
+ &lt;/DbConnection&gt;
+ </echo>
+ </sequential>
+ </macrodef>
+
+</project> \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/pom.xml b/plugins/org.eclipse.osee.ats.client.integration.tests/pom.xml
new file mode 100644
index 0000000000..8a554381a0
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/pom.xml
@@ -0,0 +1,203 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.osee</groupId>
+ <artifactId>org.eclipse.osee.ats.parent</artifactId>
+ <version>0.11.0-SNAPSHOT</version>
+ <relativePath>../../plugins/org.eclipse.osee.ats.parent</relativePath>
+ </parent>
+
+ <artifactId>org.eclipse.osee.ats.client.integration.tests</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <name>OSEE ATS Client Integration Tests (Incubation)</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <testSuite>org.eclipse.osee.ats.client.integration.tests</testSuite>
+ <testClass>org.eclipse.osee.ats.client.integration.AtsClientIntegrationTestSuite</testClass>
+ <useUIHarness>true</useUIHarness>
+ <useUIThread>true</useUIThread>
+ <showEclipseLog>true</showEclipseLog>
+ <product>org.eclipse.osee.framework.ui.product.osee</product>
+ <application>org.eclipse.ui.ide.workbench</application>
+ <argLine>-Xmx1024M -XX:MaxPermSize=256m</argLine>
+ <appArgLine>-consoleLog</appArgLine>
+ <systemProperties combine.children="append">
+ <osee.log.default>WARNING</osee.log.default>
+ <eventDebug>log</eventDebug>
+ <eventSystem>new</eventSystem>
+ <osee.is.in.db.init>true</osee.is.in.db.init>
+ <osee.application.server>http://localhost:${ats-server-port}</osee.application.server>
+ </systemProperties>
+ <redirectTestOutputToFile>false</redirectTestOutputToFile>
+ <dependencies>
+ <dependency>
+ <type>eclipse-feature</type>
+ <artifactId>org.eclipse.osee.ats.feature</artifactId>
+ <version>0.0.0</version>
+ </dependency>
+ <dependency>
+ <type>eclipse-feature</type>
+ <artifactId>org.eclipse.osee.ats.client.demo.feature</artifactId>
+ <version>0.0.0</version>
+ </dependency>
+ <dependency>
+ <type>eclipse-feature</type>
+ <artifactId>org.eclipse.sdk</artifactId>
+ <version>0.0.0</version>
+ </dependency>
+ </dependencies>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>ats-client-int-test-debug</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <properties>
+ <ats-int-test-debug-port>9009</ats-int-test-debug-port>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <debugPort>${ats-int-test-debug-port}</debugPort>
+ <!-- <systemProperties combine.children="append"> <equinox.ds.debug>true</equinox.ds.debug>
+ </systemProperties> -->
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>ats-client-int-test-remote-server</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <properties>
+ <ats-server-port>8089</ats-server-port>
+ </properties>
+ </profile>
+ <profile>
+ <id>ats-client-int-test-local-server</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>${build-helper-maven-plugin-version}</version>
+ <executions>
+ <execution>
+ <id>ats-reserve-ports</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>reserve-network-port</goal>
+ </goals>
+ <configuration>
+ <portNames>
+ <portName>ats-server-port</portName>
+ <portName>ats-server-db-port</portName>
+ <portName>ats-server-db-web-port</portName>
+ <portName>ats-server-telnet-port</portName>
+ </portNames>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>${maven-antrun-version}</version>
+ <executions>
+ <execution>
+ <id>ats-server-start</id>
+ <phase>pre-integration-test</phase>
+ <configuration>
+ <target>
+ <property name="plugin_classpath" refid="maven.plugin.classpath" />
+ <taskdef resource="net/sf/antcontrib/antlib.xml">
+ <classpath>
+ <pathelement path="${classpath}" />
+ <pathelement path="${plugin_classpath}" />
+ </classpath>
+ </taskdef>
+
+ <property name="xserver-project"
+ value="${project.basedir}/../org.eclipse.osee.x.server.p2" />
+ <property name="xserver-home" value="${xserver-project}/target/server" />
+ <property name="xserver-port" value="${ats-server-port}" />
+ <property name="xserver-telnet-port" value="${ats-server-telnet-port}" />
+ <property name="xserver-authentication" value="demo" />
+ <property name="xserver-data"
+ value="${project.build.directory}/server-data" />
+ <property name="xserver-log-config" value="${project.basedir}/logback-test.xml" />
+
+ <property name="xserver-db-home" value="target/server-data/" />
+ <property name="xserver-db-name" value="osee-test-db" />
+ <property name="xserver-db-username" value="osee" />
+ <property name="xserver-db-password" value="osee" />
+ <property name="xserver-db-address" value="127.0.0.1" />
+ <property name="xserver-db-port" value="${ats-server-db-port}" />
+ <property name="xserver-db-web-port" value="${ats-server-db-web-port}" />
+ <property name="xserver-db-type" value="H2" />
+ <property name="additionalJvmArgs" value=" " />
+
+ <property name="xserver-log-output" value="${xserver-data}/server-output.log" />
+
+ <mkdir dir="${xserver-data}" />
+ <ant antfile="osee-application-server.xml" target="run"
+ inheritRefs="true" output="${xserver-log-output}" />
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>ats-server-stop</id>
+ <phase>post-integration-test</phase>
+ <configuration>
+ <target>
+ <property name="plugin_classpath" refid="maven.plugin.classpath" />
+ <taskdef resource="net/sf/antcontrib/antlib.xml">
+ <classpath>
+ <pathelement path="${classpath}" />
+ <pathelement path="${plugin_classpath}" />
+ </classpath>
+ </taskdef>
+ <property name="xserver-port" value="${ats-server-port}" />
+ <property name="xserver-telnet-port" value="${ats-server-telnet-port}" />
+
+ <ant antfile="osee-application-server.xml" target="stopServer"
+ inheritRefs="true" />
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project> \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/AtsClientIntegrationTestSuite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/AtsClientIntegrationTestSuite.java
new file mode 100644
index 0000000000..9d7866915e
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/AtsClientIntegrationTestSuite.java
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration;
+
+import org.eclipse.osee.ats.client.integration.tests.AtsTest_AllAts_Suite;
+import org.eclipse.osee.ats.client.integration.tests.DemoDbPopulateSuite;
+import org.eclipse.osee.ats.client.integration.tests.DirtyArtifactCacheTest;
+import org.eclipse.osee.ats.client.integration.tests.util.DbInitTest;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Roberto E. Escobar
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+ DbInitTest.class,
+ DemoDbPopulateSuite.class,
+ AtsTest_AllAts_Suite.class,
+ DirtyArtifactCacheTest.class})
+public class AtsClientIntegrationTestSuite {
+ // Test Suite
+}
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/AtsTest_AllAts_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/AtsTest_AllAts_Suite.java
new file mode 100644
index 0000000000..7318152789
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/AtsTest_AllAts_Suite.java
@@ -0,0 +1,60 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 2007 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.client.demo.DemoUtil;
+import org.eclipse.osee.ats.client.integration.AtsClientIntegrationTestSuite;
+import org.eclipse.osee.ats.client.integration.tests.ats.AtsTest_Ats_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsCoreClient_Suite;
+import org.eclipse.osee.framework.core.client.ClientSessionManager;
+import org.eclipse.osee.framework.core.client.OseeClientSession;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.eclipse.osee.framework.skynet.core.UserManager;
+import org.eclipse.osee.framework.ui.skynet.render.RenderingUtil;
+import org.eclipse.osee.support.test.util.TestUtil;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Donald G. Dunne
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({AtsCoreClient_Suite.class, AtsTest_Ats_Suite.class})
+public class AtsTest_AllAts_Suite {
+
+ @BeforeClass
+ public static void setUp() throws Exception {
+ DemoUtil.checkDbInitSuccess();
+ System.out.println("\nBegin " + AtsClientIntegrationTestSuite.class.getSimpleName());
+ OseeProperties.setIsInTest(true);
+ assertTrue("Demo Application Server must be running.",
+ ClientSessionManager.getAuthenticationProtocols().contains("demo"));
+ assertTrue("Client must authenticate using demo protocol",
+ ClientSessionManager.getSession().getAuthenticationProtocol().equals("demo"));
+ assertTrue("Should be run on demo database.", TestUtil.isDemoDb());
+
+ OseeClientSession session = ClientSessionManager.getSession();
+ assertEquals("Must run populate as Joe Smith", DemoUsers.Joe_Smith.getUserId(), session.getUserId());
+ assertEquals("Must run populate as Joe Smith", DemoUsers.Joe_Smith.getUserId(), UserManager.getUser().getUserId());
+
+ RenderingUtil.setPopupsAllowed(false);
+ }
+
+ @AfterClass
+ public static void tearDown() throws Exception {
+ System.out.println("End " + AtsClientIntegrationTestSuite.class.getSimpleName() + "\n\n");
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.client.demo.test/src/org/eclipse/osee/ats/client/demo/config/DemoDbGroupsTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/DemoDbGroupsTest.java
index 3d21cc61d8..3702fa1aa6 100644
--- a/plugins/org.eclipse.osee.ats.client.demo.test/src/org/eclipse/osee/ats/client/demo/config/DemoDbGroupsTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/DemoDbGroupsTest.java
@@ -8,10 +8,13 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.client.demo.config;
+package org.eclipse.osee.ats.client.integration.tests;
import java.util.Collection;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
+import org.eclipse.osee.ats.client.demo.DemoArtifactTypes;
+import org.eclipse.osee.ats.client.demo.DemoGroups;
+import org.eclipse.osee.ats.client.demo.DemoUtil;
import org.eclipse.osee.ats.util.AtsUtil;
import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
import org.eclipse.osee.framework.core.enums.CoreRelationTypes;
@@ -19,28 +22,24 @@ import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
import org.eclipse.osee.framework.skynet.core.utility.Artifacts;
-import org.eclipse.osee.support.test.util.DemoArtifactTypes;
import org.junit.Assert;
import org.junit.BeforeClass;
+import org.junit.Test;
/**
* @author Donald G. Dunne
*/
public class DemoDbGroupsTest {
+
@BeforeClass
public static void validateDbInit() throws OseeCoreException {
- DemoDbUtil.checkDbInitAndPopulateSuccess();
+ DemoUtil.checkDbInitAndPopulateSuccess();
}
- /**
- * Test method for {@link DemoDbGroups}.
- *
- * @throws OseeCoreException
- */
- @org.junit.Test
+ @Test
public void testCreateGroups() throws OseeCoreException {
Artifact groupArt =
- ArtifactQuery.getArtifactFromTypeAndName(CoreArtifactTypes.UniversalGroup, DemoDbGroups.TEST_GROUP_NAME,
+ ArtifactQuery.getArtifactFromTypeAndName(CoreArtifactTypes.UniversalGroup, DemoGroups.TEST_GROUP_NAME,
AtsUtil.getAtsBranchToken());
Assert.assertNotNull(groupArt);
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/DemoDbPopulateSuite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/DemoDbPopulateSuite.java
new file mode 100644
index 0000000000..a922e1e57c
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/DemoDbPopulateSuite.java
@@ -0,0 +1,48 @@
+/*******************************************************************************
+ * Copyright (c) 2010 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests;
+
+import static org.junit.Assert.assertTrue;
+import org.eclipse.osee.ats.client.demo.DemoUtil;
+import org.eclipse.osee.framework.core.client.ClientSessionManager;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.eclipse.osee.framework.ui.skynet.render.RenderingUtil;
+import org.eclipse.osee.support.test.util.TestUtil;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+@RunWith(Suite.class)
+@Suite.SuiteClasses({PopulateDemoDatabaseTest.class, DemoDbGroupsTest.class, PopulateDemoActionsTest.class})
+/**
+ * @author Donald G. Dunne
+ */
+public class DemoDbPopulateSuite {
+ @BeforeClass
+ public static void setUp() throws Exception {
+ DemoUtil.checkDbInitSuccess();
+ System.out.println("\nBegin " + DemoDbPopulateSuite.class.getSimpleName());
+ OseeProperties.setIsInTest(true);
+ assertTrue("Demo Application Server must be running.",
+ ClientSessionManager.getAuthenticationProtocols().contains("demo"));
+ assertTrue("Client must authenticate using demo protocol",
+ ClientSessionManager.getSession().getAuthenticationProtocol().equals("demo"));
+ assertTrue("Should be run on demo database.", TestUtil.isDemoDb());
+
+ RenderingUtil.setPopupsAllowed(false);
+ }
+
+ @AfterClass
+ public static void tearDown() throws Exception {
+ System.out.println("End " + DemoDbPopulateSuite.class.getSimpleName() + "\n\n");
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/DirtyArtifactCacheTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/DirtyArtifactCacheTest.java
new file mode 100644
index 0000000000..6cf9e69011
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/DirtyArtifactCacheTest.java
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests;
+
+import java.util.Collection;
+import java.util.logging.Level;
+import junit.framework.Assert;
+import org.eclipse.osee.framework.logging.OseeLog;
+import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
+import org.eclipse.osee.framework.skynet.core.artifact.ArtifactCache;
+import org.eclipse.osee.framework.skynet.core.utility.Artifacts;
+
+/**
+ * This test should be run as the last test of a suite to make sure that the ArtifactCache has no dirty artifacts.
+ *
+ * @author Donald G. Dunne
+ */
+public class DirtyArtifactCacheTest {
+
+ @org.junit.Test
+ public void testArtifactCacheNotDirty() {
+ final Collection<Artifact> dirtyArtifacts = ArtifactCache.getDirtyArtifacts();
+ for (Artifact artifact : dirtyArtifacts) {
+ OseeLog.logf(getClass(), Level.WARNING, "Name: %s Type: %s ", artifact.getName(),
+ artifact.getArtifactTypeName());
+ }
+ Assert.assertTrue(String.format(
+ "After all tests are run, there should be no dirty artifacts in Artifact Cache; \n Found [%s]",
+ Artifacts.getNames(dirtyArtifacts)), dirtyArtifacts.isEmpty());
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.client.demo.test/src/org/eclipse/osee/ats/client/demo/PopulateDemoActionsTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/PopulateDemoActionsTest.java
index 710fb81cb8..4661a19d33 100644
--- a/plugins/org.eclipse.osee.ats.client.demo.test/src/org/eclipse/osee/ats/client/demo/PopulateDemoActionsTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/PopulateDemoActionsTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.client.demo;
+package org.eclipse.osee.ats.client.integration.tests;
import java.util.ArrayList;
import java.util.Collection;
@@ -17,7 +17,12 @@ import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
import org.eclipse.osee.ats.api.version.IAtsVersion;
-import org.eclipse.osee.ats.client.demo.config.DemoDbUtil;
+import org.eclipse.osee.ats.client.demo.DemoArtifactTypes;
+import org.eclipse.osee.ats.client.demo.DemoSawBuilds;
+import org.eclipse.osee.ats.client.demo.DemoTeam;
+import org.eclipse.osee.ats.client.demo.DemoUtil;
+import org.eclipse.osee.ats.client.demo.PopulateDemoActions;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.ats.core.client.action.ActionArtifact;
import org.eclipse.osee.ats.core.client.config.AtsBulkLoad;
import org.eclipse.osee.ats.core.client.review.AbstractReviewArtifact;
@@ -33,13 +38,9 @@ import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.config.AtsVersionService;
import org.eclipse.osee.ats.core.util.AtsObjects;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
-import org.eclipse.osee.support.test.util.DemoArtifactTypes;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
-import org.eclipse.osee.support.test.util.DemoTeam;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
@@ -52,7 +53,7 @@ import org.junit.BeforeClass;
public class PopulateDemoActionsTest {
@BeforeClass
public static void validateDbInit() throws OseeCoreException {
- DemoDbUtil.checkDbInitAndPopulateSuccess();
+ DemoUtil.checkDbInitAndPopulateSuccess();
}
@Before
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/PopulateDemoDatabaseTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/PopulateDemoDatabaseTest.java
new file mode 100644
index 0000000000..00cd11ff8e
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/PopulateDemoDatabaseTest.java
@@ -0,0 +1,67 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests;
+
+import static org.junit.Assert.assertTrue;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.client.demo.DemoUtil;
+import org.eclipse.osee.ats.client.demo.PopulateDemoActions;
+import org.eclipse.osee.framework.core.client.ClientSessionManager;
+import org.eclipse.osee.framework.core.client.OseeClientSession;
+import org.eclipse.osee.framework.core.exception.OseeStateException;
+import org.eclipse.osee.framework.jdk.core.util.Lib;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.eclipse.osee.framework.skynet.core.UserManager;
+import org.eclipse.osee.framework.ui.skynet.render.RenderingUtil;
+import org.junit.Assert;
+import org.junit.BeforeClass;
+
+/**
+ * @author Donald G. Dunne
+ */
+public class PopulateDemoDatabaseTest {
+
+ @BeforeClass
+ public static void setup() throws Exception {
+ if (!DemoUtil.isDbInitSuccessful()) {
+ throw new OseeStateException("DbInit must be successful to continue");
+ }
+ OseeProperties.setIsInTest(true);
+ assertTrue("Demo Application Server must be running",
+ ClientSessionManager.getAuthenticationProtocols().contains("demo"));
+ RenderingUtil.setPopupsAllowed(false);
+ DemoUtil.setPopulateDbSuccessful(false);
+ }
+
+ @org.junit.Test
+ public void testPopulateDemoDb() {
+ System.out.println("\nBegin Populate Demo DB...");
+ try {
+ ClientSessionManager.releaseSession();
+ // Re-authenticate so we can continue
+ OseeClientSession session = ClientSessionManager.getSession();
+ UserManager.releaseUser();
+
+ Assert.assertEquals("Must run populate as Joe Smith", DemoUsers.Joe_Smith.getUserId(), session.getUserId());
+ Assert.assertEquals("Must run populate as Joe Smith", DemoUsers.Joe_Smith.getUserId(),
+ UserManager.getUser().getUserId());
+
+ PopulateDemoActions populateDemoActions = new PopulateDemoActions(null);
+ populateDemoActions.run(false);
+
+ DemoUtil.setPopulateDbSuccessful(true);
+ System.out.println("End Populate Demo DB...\n");
+ } catch (Exception ex) {
+ Assert.fail(Lib.exceptionToString(ex));
+ }
+ }
+
+}
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/AtsTest_Ats_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/AtsTest_Ats_Suite.java
new file mode 100644
index 0000000000..f69bde44f5
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/AtsTest_Ats_Suite.java
@@ -0,0 +1,63 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 2007 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.ats;
+
+import org.eclipse.osee.ats.client.integration.tests.ats.access.AtsTest_Access_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.actions.AtsTest_Action_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.artifact.log.AtsTest_Log_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.column.AtsTest_Column_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.config.AtsTest_Config_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.editor.AtsTest_Editor_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.health.AtsTest_Health_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.navigate.AtsTest_Navigate_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.render.AtsTest_Renderer_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.review.AtsTest_Review_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.util.AtsTest_Util_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.workflow.AtsTest_Workflow_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.world.search.AtsTest_World_Search_Suite;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Donald G. Dunne
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+ AtsTest_Access_Suite.class,
+ AtsTest_Action_Suite.class,
+ AtsTest_Log_Suite.class,
+ AtsTest_Column_Suite.class,
+ AtsTest_Config_Suite.class,
+ AtsTest_Editor_Suite.class,
+ AtsTest_Health_Suite.class,
+ AtsTest_Navigate_Suite.class,
+ AtsTest_Renderer_Suite.class,
+ AtsTest_Review_Suite.class,
+ AtsTest_Util_Suite.class,
+ AtsTest_Workflow_Suite.class,
+ AtsTest_World_Search_Suite.class})
+public class AtsTest_Ats_Suite {
+ @BeforeClass
+ public static void setUp() throws Exception {
+ OseeProperties.setIsInTest(true);
+ System.out.println("\n\nBegin " + AtsTest_Ats_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
+ }
+
+ @AfterClass
+ public static void tearDown() throws Exception {
+ System.out.println("End " + AtsTest_Ats_Suite.class.getSimpleName());
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/access/AtsBranchAccessManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/access/AtsBranchAccessManagerTest.java
index 305f99d35d..534b02c859 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/access/AtsBranchAccessManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/access/AtsBranchAccessManagerTest.java
@@ -8,34 +8,32 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.access;
+package org.eclipse.osee.ats.client.integration.tests.ats.access;
+import static java.lang.Thread.sleep;
import java.util.Arrays;
-import java.util.logging.Level;
import junit.framework.Assert;
+import org.eclipse.osee.ats.access.AtsBranchAccessManager;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
+import org.eclipse.osee.ats.client.demo.DemoActionableItems;
+import org.eclipse.osee.ats.client.demo.DemoSawBuilds;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.ats.core.client.branch.AtsBranchManagerCore;
import org.eclipse.osee.ats.core.client.config.store.ActionableItemArtifactStore;
import org.eclipse.osee.ats.core.client.config.store.TeamDefinitionArtifactStore;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.config.ActionableItems;
-import org.eclipse.osee.ats.internal.Activator;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.core.data.IAccessContextId;
import org.eclipse.osee.framework.core.enums.CoreAttributeTypes;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.model.Branch;
-import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.event.OseeEventManager;
import org.eclipse.osee.framework.skynet.core.event.OseeEventService;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
-import org.eclipse.osee.support.test.util.DemoActionableItems;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
-import org.eclipse.osee.support.test.util.DemoWorkType;
-import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@@ -134,9 +132,10 @@ public class AtsBranchAccessManagerTest {
* {@link org.eclipse.osee.ats.access.AtsBranchAccessManager#handleArtifactEvent(org.eclipse.osee.framework.skynet.core.event.model.ArtifactEvent, org.eclipse.osee.framework.skynet.core.event.model.Sender)}
*
* @throws OseeCoreException
+ * @throws InterruptedException
*/
@Test
- public void testGetContextIdBranch() throws OseeCoreException {
+ public void testGetContextIdBranch() throws Exception {
AtsBranchAccessManager mgr = new AtsBranchAccessManager(getEventService());
TeamWorkFlowArtifact teamArt =
(TeamWorkFlowArtifact) DemoTestUtil.getUncommittedActionWorkflow(DemoWorkType.Requirements);
@@ -151,11 +150,7 @@ public class AtsBranchAccessManagerTest {
Arrays.asList(teamDefContextId1, teamDefContextId2));
teamDefArt.persist(getClass().getSimpleName());
- try {
- TestUtil.sleep(1000);
- } catch (Exception ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
- }
+ sleep(1000);
Assert.assertEquals(2, mgr.getContextId(teamArt.getWorkingBranch()).size());
@@ -166,11 +161,7 @@ public class AtsBranchAccessManagerTest {
aiArt.setAttributeValues(CoreAttributeTypes.AccessContextId, Arrays.asList(aiContextId));
aiArt.persist(getClass().getSimpleName());
- try {
- TestUtil.sleep(1000);
- } catch (Exception ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
- }
+ sleep(1000);
Assert.assertEquals(1, mgr.getContextId(teamArt.getWorkingBranch()).size());
@@ -181,11 +172,7 @@ public class AtsBranchAccessManagerTest {
Arrays.asList(teamContextId1, teamContextId2, teamContextId3));
teamArt.persist(getClass().getSimpleName());
- try {
- TestUtil.sleep(1000);
- } catch (Exception ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
- }
+ sleep(1000);
Assert.assertEquals(3, mgr.getContextId(teamArt.getWorkingBranch()).size());
@@ -196,7 +183,7 @@ public class AtsBranchAccessManagerTest {
*
*/
@Test
- public void testConvertAccessAttributeToGuid() throws OseeCoreException {
+ public void testConvertAccessAttributeToGuid() throws Exception {
AtsBranchAccessManager mgr = new AtsBranchAccessManager(getEventService());
TeamWorkFlowArtifact teamArt =
(TeamWorkFlowArtifact) DemoTestUtil.getUncommittedActionWorkflow(DemoWorkType.Requirements);
@@ -209,11 +196,7 @@ public class AtsBranchAccessManagerTest {
teamDefArt.setAttributeValues(CoreAttributeTypes.AccessContextId, Arrays.asList(teamDefContextId1));
teamDefArt.persist(getClass().getSimpleName());
- try {
- TestUtil.sleep(2000);
- } catch (Exception ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
- }
+ sleep(2000);
Assert.assertEquals(1, mgr.getContextId(teamArt.getWorkingBranch()).size());
IAccessContextId contextId = mgr.getContextId(teamArt.getWorkingBranch()).iterator().next();
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Access_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/access/AtsTest_Access_Suite.java
index e4202d137d..9cdef07b82 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Access_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/access/AtsTest_Access_Suite.java
@@ -8,10 +8,9 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats;
+package org.eclipse.osee.ats.client.integration.tests.ats.access;
-import org.eclipse.osee.ats.access.AtsBranchAccessManagerTest;
-import org.eclipse.osee.ats.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@@ -23,16 +22,16 @@ import org.junit.runners.Suite;
/**
* @author Donald G. Dunne
*/
-public class AtsTest_Demo_Access_Suite {
+public class AtsTest_Access_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsTest_Demo_Access_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsTest_Access_Suite.class.getSimpleName());
DemoTestUtil.setUpTest();
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsTest_Demo_Access_Suite.class.getSimpleName());
+ System.out.println("End " + AtsTest_Access_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AbstractAtsActionPerspectiveTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AbstractAtsActionPerspectiveTest.java
index 9459d50778..e77cf794a0 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AbstractAtsActionPerspectiveTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AbstractAtsActionPerspectiveTest.java
@@ -3,7 +3,7 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.support.test.util.TestUtil;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AbstractAtsActionRunTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AbstractAtsActionRunTest.java
index 74c9eb57a6..60dffa983c 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AbstractAtsActionRunTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AbstractAtsActionRunTest.java
@@ -3,10 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import org.eclipse.jface.action.Action;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.AbstractAtsAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AbstractAtsActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AbstractAtsActionTest.java
index 6e7b3ca912..e342f34064 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AbstractAtsActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AbstractAtsActionTest.java
@@ -3,11 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import junit.framework.Assert;
import org.eclipse.jface.action.Action;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.editor.SMAEditor;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.junit.AfterClass;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AccessControlActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AccessControlActionTest.java
index 6823cc6e55..9c173e165b 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AccessControlActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AccessControlActionTest.java
@@ -3,7 +3,7 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import java.util.logging.Level;
import org.eclipse.core.runtime.IProgressMonitor;
@@ -11,8 +11,8 @@ import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
import org.eclipse.jface.action.Action;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
-import org.eclipse.osee.ats.internal.Activator;
+import org.eclipse.osee.ats.actions.AccessControlAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
@@ -36,7 +36,7 @@ public class AccessControlActionTest extends AbstractAtsActionTest {
try {
Thread.sleep(2000);
} catch (InterruptedException ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
+ OseeLog.log(AccessControlActionTest.class, Level.SEVERE, ex);
}
Displays.ensureInDisplayThread(new Runnable() {
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AddNoteActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AddNoteActionTest.java
index 692bc650b1..f7052d7d10 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AddNoteActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AddNoteActionTest.java
@@ -3,10 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import org.eclipse.jface.action.Action;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.AddNoteAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.ui.swt.IDirtiableEditor;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AtsTest_Demo_Action_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AtsTest_Action_Suite.java
index 95c3dc9ee7..4d7ba2e95b 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/AtsTest_Demo_Action_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/AtsTest_Action_Suite.java
@@ -8,9 +8,9 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@@ -23,7 +23,7 @@ import org.junit.runners.Suite;
AddNoteActionTest.class,
CopyActionDetailsActionTest.class,
DeletePurgeAtsArtifactsActionTest.class,
- DirtyReportActionTest.class,
+ DirtyReportActionTest1.class,
DirtyReportActionTest2.class,
DuplicateWorkflowActionTest.class,
DuplicateWorkflowViaWorldEditorActionTest.class,
@@ -37,13 +37,13 @@ import org.junit.runners.Suite;
OpenChangeReportByIdActionTest.class,
OpenInArtifactEditorActionTest.class,
OpenInAtsWorkflowEditorActionTest.class,
- OpenInSkyWalkerActionTest.class,
- OpenInAtsWorldActionTest.class,
+ OpenInAtsWorldActionTest1.class,
OpenInAtsWorldActionTest2.class,
OpenInAtsWorldActionTest3.class,
+ OpenInSkyWalkerActionTest.class,
OpenNewAtsTaskEditorActionTest.class,
- OpenNewAtsWorldEditorActionTest.class,
OpenNewAtsTaskEditorSelectedTest.class,
+ OpenNewAtsWorldEditorActionTest.class,
OpenNewAtsWorldEditorSelectedActionTest.class,
OpenParentActionTest.class,
OpenReviewPerspectiveActionTest.class,
@@ -61,16 +61,16 @@ import org.junit.runners.Suite;
/**
* @author Donald G. Dunne
*/
-public class AtsTest_Demo_Action_Suite {
+public class AtsTest_Action_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsTest_Demo_Action_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsTest_Action_Suite.class.getSimpleName());
DemoTestUtil.setUpTest();
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsTest_Demo_Action_Suite.class.getSimpleName());
+ System.out.println("End " + AtsTest_Action_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/CopyActionDetailsActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/CopyActionDetailsActionTest.java
index a1a78211f8..9786ad07bf 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/CopyActionDetailsActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/CopyActionDetailsActionTest.java
@@ -3,9 +3,10 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.CopyActionDetailsAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DeletePurgeAtsArtifactsActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DeletePurgeAtsArtifactsActionTest.java
index c67972fe59..81d63e7daa 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DeletePurgeAtsArtifactsActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DeletePurgeAtsArtifactsActionTest.java
@@ -3,9 +3,10 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.DeletePurgeAtsArtifactsAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.support.test.util.TestUtil;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DirtyReportActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DirtyReportActionTest1.java
index ec0874a16d..f00427c6e5 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DirtyReportActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DirtyReportActionTest1.java
@@ -3,9 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.DirtyReportAction;
+import org.eclipse.osee.ats.actions.IDirtyReportable;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeStateException;
import org.eclipse.osee.framework.core.util.Result;
import org.junit.Test;
@@ -13,7 +15,7 @@ import org.junit.Test;
/**
* @author Donald G. Dunne
*/
-public class DirtyReportActionTest extends AbstractAtsActionTest {
+public class DirtyReportActionTest1 extends AbstractAtsActionTest {
@Test(expected = OseeStateException.class)
public void test() throws Exception {
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DirtyReportActionTest2.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DirtyReportActionTest2.java
index 81a1eb5a05..7d085dbd51 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DirtyReportActionTest2.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DirtyReportActionTest2.java
@@ -3,9 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.DirtyReportAction;
+import org.eclipse.osee.ats.actions.IDirtyReportable;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeStateException;
import org.eclipse.osee.framework.core.util.Result;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DuplicateWorkflowActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DuplicateWorkflowActionTest.java
index 2bd5c6d3d7..9c236b9f23 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DuplicateWorkflowActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DuplicateWorkflowActionTest.java
@@ -3,10 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import java.util.Collections;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.DuplicateWorkflowAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DuplicateWorkflowViaWorldEditorActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DuplicateWorkflowViaWorldEditorActionTest.java
index 5c6e87d4d0..decc55d7bd 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/DuplicateWorkflowViaWorldEditorActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/DuplicateWorkflowViaWorldEditorActionTest.java
@@ -3,10 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import org.eclipse.jface.action.Action;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.DuplicateWorkflowViaWorldEditorAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.actions.SelectedAtsArtifactsAdapter;
import org.eclipse.osee.framework.core.exception.OseeArgumentException;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/FavoriteActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/FavoriteActionTest.java
index c33503e36c..25a956023f 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/FavoriteActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/FavoriteActionTest.java
@@ -3,11 +3,12 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import junit.framework.Assert;
+import org.eclipse.osee.ats.actions.FavoriteAction;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.support.test.util.TestUtil;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ImportTasksViaSimpleListTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ImportTasksViaSimpleListTest.java
index 99d9c7cbb0..c50f1be995 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ImportTasksViaSimpleListTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ImportTasksViaSimpleListTest.java
@@ -3,9 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.ImportListener;
+import org.eclipse.osee.ats.actions.ImportTasksViaSimpleList;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ImportTasksViaSpreadsheetTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ImportTasksViaSpreadsheetTest.java
index 7010b1a34b..6d56293fdf 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ImportTasksViaSpreadsheetTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ImportTasksViaSpreadsheetTest.java
@@ -3,9 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.ImportListener;
+import org.eclipse.osee.ats.actions.ImportTasksViaSpreadsheet;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/MyFavoritesActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/MyFavoritesActionTest.java
index dd012d5c49..ab0c101107 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/MyFavoritesActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/MyFavoritesActionTest.java
@@ -3,8 +3,9 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
+import org.eclipse.osee.ats.actions.MyFavoritesAction;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/MyWorldActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/MyWorldActionTest.java
index 445a9952a8..92acbc16eb 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/MyWorldActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/MyWorldActionTest.java
@@ -3,8 +3,9 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
+import org.eclipse.osee.ats.actions.MyWorldAction;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/NewGoalTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/NewGoalTest.java
index 14c2222420..c6001ade97 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/NewGoalTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/NewGoalTest.java
@@ -3,8 +3,9 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
+import org.eclipse.osee.ats.actions.NewGoal;
import org.eclipse.osee.ats.util.AtsUtil;
import org.eclipse.osee.framework.core.enums.DeletionFlag;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
@@ -23,7 +24,8 @@ public class NewGoalTest extends AbstractAtsActionRunTest {
@BeforeClass
@AfterClass
public static void cleanup() throws OseeCoreException {
- SkynetTransaction transaction = TransactionManager.createTransaction(AtsUtil.getAtsBranch(), NewGoalTest.class.getSimpleName());
+ SkynetTransaction transaction =
+ TransactionManager.createTransaction(AtsUtil.getAtsBranch(), NewGoalTest.class.getSimpleName());
for (Artifact art : ArtifactQuery.getArtifactListFromName(NewGoalTest.class.getSimpleName(),
AtsUtil.getAtsBranchToken(), DeletionFlag.EXCLUDE_DELETED)) {
art.deleteAndPersist(transaction);
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenAtsPerspectiveActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenAtsPerspectiveActionTest.java
index e6e0cbc475..89326265a5 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenAtsPerspectiveActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenAtsPerspectiveActionTest.java
@@ -3,8 +3,9 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
+import org.eclipse.osee.ats.actions.OpenAtsPerspectiveAction;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenChangeReportByIdActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenChangeReportByIdActionTest.java
index 04f7be2f47..1f9ee72582 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenChangeReportByIdActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenChangeReportByIdActionTest.java
@@ -3,10 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import junit.framework.Assert;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.OpenChangeReportByIdAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.util.Result;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInArtifactEditorActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInArtifactEditorActionTest.java
index 59f307bd73..a4c3d0dba5 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInArtifactEditorActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInArtifactEditorActionTest.java
@@ -3,10 +3,10 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
-
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
+import org.eclipse.osee.ats.actions.OpenInArtifactEditorAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
/**
* @author Donald G. Dunne
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorkflowEditorActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorkflowEditorActionTest.java
index 0dd14f225d..f748475ce6 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorkflowEditorActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorkflowEditorActionTest.java
@@ -3,9 +3,10 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.OpenInAtsWorkflowEditorAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.editor.SMAEditor;
import org.junit.After;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorldActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorldActionTest1.java
index 4f4529a15c..6d53ebdb94 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorldActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorldActionTest1.java
@@ -3,10 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
+import org.eclipse.osee.ats.actions.OpenInAtsWorldAction;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.exception.OseeStateException;
import org.junit.Test;
@@ -14,7 +15,7 @@ import org.junit.Test;
/**
* @author Donald G. Dunne
*/
-public class OpenInAtsWorldActionTest extends AbstractAtsActionRunTest {
+public class OpenInAtsWorldActionTest1 extends AbstractAtsActionRunTest {
@Override
public OpenInAtsWorldAction createAction() throws OseeCoreException {
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorldActionTest2.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorldActionTest2.java
index 4779098ffa..aefc01d9c8 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorldActionTest2.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorldActionTest2.java
@@ -3,9 +3,10 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.OpenInAtsWorldAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorldActionTest3.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorldActionTest3.java
index 791b2d4491..eaec96ff95 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInAtsWorldActionTest3.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInAtsWorldActionTest3.java
@@ -3,10 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
+import org.eclipse.osee.ats.actions.OpenInAtsWorldAction;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.exception.OseeStateException;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInSkyWalkerActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInSkyWalkerActionTest.java
index f81d4eafbc..f3d18deec6 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenInSkyWalkerActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenInSkyWalkerActionTest.java
@@ -3,9 +3,10 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.OpenInSkyWalkerAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsTaskEditorActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsTaskEditorActionTest.java
index c9873fd218..ad2296dc0b 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsTaskEditorActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsTaskEditorActionTest.java
@@ -3,14 +3,15 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import java.util.Collection;
import java.util.Collections;
import org.eclipse.jface.action.Action;
import org.eclipse.nebula.widgets.xviewer.customize.CustomizeData;
+import org.eclipse.osee.ats.actions.OpenNewAtsTaskEditorAction;
import org.eclipse.osee.ats.actions.OpenNewAtsTaskEditorAction.IOpenNewAtsTaskEditorHandler;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.task.ITaskEditorProvider;
import org.eclipse.osee.ats.world.search.WorldSearchItem.SearchType;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsTaskEditorSelectedTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsTaskEditorSelectedTest.java
index 09bdcb6a97..60dfac7c1b 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsTaskEditorSelectedTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsTaskEditorSelectedTest.java
@@ -3,13 +3,14 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import java.util.Arrays;
import java.util.List;
import org.eclipse.nebula.widgets.xviewer.customize.CustomizeData;
+import org.eclipse.osee.ats.actions.OpenNewAtsTaskEditorSelected;
import org.eclipse.osee.ats.actions.OpenNewAtsTaskEditorSelected.IOpenNewAtsTaskEditorSelectedHandler;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsWorldEditorActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsWorldEditorActionTest.java
index 1df97298cd..926acc3066 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsWorldEditorActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsWorldEditorActionTest.java
@@ -3,9 +3,10 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import org.eclipse.nebula.widgets.xviewer.customize.CustomizeData;
+import org.eclipse.osee.ats.actions.OpenNewAtsWorldEditorAction;
import org.eclipse.osee.ats.actions.OpenNewAtsWorldEditorAction.IOpenNewAtsWorldEditorHandler;
import org.eclipse.osee.ats.api.version.IAtsVersion;
import org.eclipse.osee.ats.world.IWorldEditorProvider;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsWorldEditorSelectedActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsWorldEditorSelectedActionTest.java
index 9fb9926044..444f116655 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenNewAtsWorldEditorSelectedActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenNewAtsWorldEditorSelectedActionTest.java
@@ -3,13 +3,14 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import java.util.Arrays;
import java.util.List;
import org.eclipse.nebula.widgets.xviewer.customize.CustomizeData;
+import org.eclipse.osee.ats.actions.OpenNewAtsWorldEditorSelectedAction;
import org.eclipse.osee.ats.actions.OpenNewAtsWorldEditorSelectedAction.IOpenNewAtsWorldEditorSelectedHandler;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenParentActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenParentActionTest.java
index 03010121c2..79fcf7aab8 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenParentActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenParentActionTest.java
@@ -3,9 +3,10 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.OpenParentAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenReviewPerspectiveActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenReviewPerspectiveActionTest.java
index d06014edb0..c3792fbbc0 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenReviewPerspectiveActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenReviewPerspectiveActionTest.java
@@ -3,8 +3,9 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
+import org.eclipse.osee.ats.actions.OpenReviewPerspectiveAction;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenWorkflowByIdActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenWorkflowByIdActionTest.java
index 268fd59d00..4edb073f7e 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenWorkflowByIdActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenWorkflowByIdActionTest.java
@@ -3,10 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import org.eclipse.jface.action.Action;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.OpenWorkflowByIdAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenWorldByIdActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenWorldByIdActionTest.java
index 82e7d18f98..df1b18f1ec 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/OpenWorldByIdActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/OpenWorldByIdActionTest.java
@@ -3,9 +3,10 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.OpenWorldByIdAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/RefreshDirtyActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/RefreshDirtyActionTest.java
index cbe7633d10..4e7df831fc 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/RefreshDirtyActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/RefreshDirtyActionTest.java
@@ -3,8 +3,9 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
+import org.eclipse.osee.ats.actions.RefreshDirtyAction;
import org.eclipse.osee.framework.ui.swt.IDirtiableEditor;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ReloadActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ReloadActionTest.java
index 41e96b40a8..13b0facb26 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ReloadActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ReloadActionTest.java
@@ -3,9 +3,10 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.ReloadAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ResourceHistoryActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ResourceHistoryActionTest.java
index eecaa9ac2f..57fb1d8a30 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ResourceHistoryActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ResourceHistoryActionTest.java
@@ -3,11 +3,12 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import junit.framework.Assert;
+import org.eclipse.osee.ats.actions.ResourceHistoryAction;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowBranchChangeDataActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowBranchChangeDataActionTest.java
index e183db8fd0..3c47f34d7b 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowBranchChangeDataActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowBranchChangeDataActionTest.java
@@ -3,10 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import junit.framework.Assert;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.ShowBranchChangeDataAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.util.Result;
import org.eclipse.osee.support.test.util.TestUtil;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowChangeReportActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowChangeReportActionTest.java
index 98ed3df65d..5a277df1b2 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowChangeReportActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowChangeReportActionTest.java
@@ -3,10 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import junit.framework.Assert;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.ShowChangeReportAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.util.Result;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowMergeManagerActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowMergeManagerActionTest.java
index 19e5862478..d2433e7723 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowMergeManagerActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowMergeManagerActionTest.java
@@ -3,10 +3,11 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import junit.framework.Assert;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.actions.ShowMergeManagerAction;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.util.Result;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowWorkDefinitionActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowWorkDefinitionActionTest.java
index e7b9f5051d..e3806d9af4 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/ShowWorkDefinitionActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/ShowWorkDefinitionActionTest.java
@@ -3,8 +3,9 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
+import org.eclipse.osee.ats.actions.ShowWorkDefinitionAction;
/**
* @author Donald G. Dunne
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/SubscribedActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/SubscribedActionTest.java
index 92342f79d1..aae1d8e921 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/SubscribedActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/SubscribedActionTest.java
@@ -3,11 +3,12 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
import junit.framework.Assert;
+import org.eclipse.osee.ats.actions.SubscribedAction;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.support.test.util.TestUtil;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/TaskAddActionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/TaskAddActionTest.java
index c61203f63e..171159eb55 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/actions/TaskAddActionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/actions/TaskAddActionTest.java
@@ -3,8 +3,9 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.actions;
+package org.eclipse.osee.ats.client.integration.tests.ats.actions;
+import org.eclipse.osee.ats.actions.TaskAddAction;
import org.eclipse.osee.ats.actions.TaskAddAction.ITaskAddActionHandler;
/**
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/log/AtsLogTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/artifact/log/AtsLogTest.java
index 9673e7cdf3..0ff02fe4dc 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/log/AtsLogTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/artifact/log/AtsLogTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.artifact.log;
+package org.eclipse.osee.ats.client.integration.tests.ats.artifact.log;
import java.util.Date;
import org.eclipse.core.runtime.IStatus;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Production_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/artifact/log/AtsTest_Log_Suite.java
index c8f26f4903..62bcb15411 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Production_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/artifact/log/AtsTest_Log_Suite.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
+ * Copyright (c) 2012 Boeing.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -8,29 +8,31 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats;
+package org.eclipse.osee.ats.client.integration.tests.ats.artifact.log;
-import org.eclipse.osee.ats.util.AtsImageTest;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
-@RunWith(Suite.class)
-@Suite.SuiteClasses({AtsImageTest.class})
/**
- * @author Donald G. Dunne
+ * @author Roberto E. Escobar
*/
-public class AtsTest_Production_Suite {
+@RunWith(Suite.class)
+@Suite.SuiteClasses({AtsLogTest.class, LogItemTest.class})
+public class AtsTest_Log_Suite {
+
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + Review_Demo_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsTest_Log_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + Review_Demo_Suite.class.getSimpleName());
+ System.out.println("End " + AtsTest_Log_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/log/LogItemTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/artifact/log/LogItemTest.java
index 3a4f95d5a9..f4ab0799ac 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/log/LogItemTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/artifact/log/LogItemTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.artifact.log;
+package org.eclipse.osee.ats.client.integration.tests.ats.artifact.log;
import java.util.Date;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
@@ -56,8 +56,8 @@ public class LogItemTest {
public void testLogItemStringStringStringStringStringString() throws OseeCoreException {
Date date = new Date();
LogItem item =
- new LogItem(LogType.Error.name(), String.valueOf(date.getTime()), AtsUsersClient.getUser().getUserId(), "Analyze",
- "my msg", "ASDF4");
+ new LogItem(LogType.Error.name(), String.valueOf(date.getTime()), AtsUsersClient.getUser().getUserId(),
+ "Analyze", "my msg", "ASDF4");
validateItem(item, date);
}
@@ -81,7 +81,8 @@ public class LogItemTest {
Date date = new Date();
LogItem item = getTestLogItem(date);
- Assert.assertEquals("NOTE (Error): my msg (" + AtsUsersClient.getUser().getName() + ")", item.toHTML(AHTML.LABEL_FONT));
+ Assert.assertEquals("NOTE (Error): my msg (" + AtsUsersClient.getUser().getName() + ")",
+ item.toHTML(AHTML.LABEL_FONT));
}
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/ActionableItemsColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/ActionableItemsColumnTest.java
index 056fa4dcec..39b7c28798 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/ActionableItemsColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/ActionableItemsColumnTest.java
@@ -8,15 +8,16 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import java.util.Collection;
import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.ActionableItemsColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/AssigneeColumnUITest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/AssigneeColumnUITest.java
index f9733d9ffe..fa33245e69 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/AssigneeColumnUITest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/AssigneeColumnUITest.java
@@ -8,15 +8,17 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import java.util.Arrays;
import java.util.List;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.ActionableItemsColumn;
+import org.eclipse.osee.ats.column.AssigneeColumnUI;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Column_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/AtsTest_Column_Suite.java
index a23ce19246..b52568cc28 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Column_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/AtsTest_Column_Suite.java
@@ -8,31 +8,10 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import static org.junit.Assert.assertTrue;
-import org.eclipse.osee.ats.column.ActionableItemsColumnTest;
-import org.eclipse.osee.ats.column.BranchStatusColumnTest;
-import org.eclipse.osee.ats.column.CancelledDateColumnTest;
-import org.eclipse.osee.ats.column.CategoryColumnTest;
-import org.eclipse.osee.ats.column.ChangeTypeColumnTest;
-import org.eclipse.osee.ats.column.CompletedDateColumnTest;
-import org.eclipse.osee.ats.column.CreatedDateColumnTest;
-import org.eclipse.osee.ats.column.DeadlineColumnTest;
-import org.eclipse.osee.ats.column.DescriptionColumnTest;
-import org.eclipse.osee.ats.column.EstimatedHoursColumnTest;
-import org.eclipse.osee.ats.column.GroupsColumnTest;
-import org.eclipse.osee.ats.column.NumberOfTasksAndInWorkTasksColumnsTest;
-import org.eclipse.osee.ats.column.OriginatorColumnTest;
-import org.eclipse.osee.ats.column.ParentStateAndIdColumnTest;
-import org.eclipse.osee.ats.column.PeerToPeerReviewColumnsTest;
-import org.eclipse.osee.ats.column.PriorityColumnTest;
-import org.eclipse.osee.ats.column.RelatedToStateColumnTest;
-import org.eclipse.osee.ats.column.StateColumnTest;
-import org.eclipse.osee.ats.column.TargetedVersionColumnTest;
-import org.eclipse.osee.ats.column.TeamColumnTest;
-import org.eclipse.osee.ats.column.TypeColumnTest;
-import org.eclipse.osee.ats.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.framework.core.client.ClientSessionManager;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
@@ -66,7 +45,7 @@ import org.junit.runners.Suite;
/**
* @author Donald G. Dunne
*/
-public class AtsTest_Demo_Column_Suite {
+public class AtsTest_Column_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
@@ -74,12 +53,12 @@ public class AtsTest_Demo_Column_Suite {
ClientSessionManager.getAuthenticationProtocols().contains("demo"));
assertTrue("Client must authenticate using demo protocol",
ClientSessionManager.getSession().getAuthenticationProtocol().equals("demo"));
- System.out.println("\n\nBegin " + AtsTest_Demo_Column_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsTest_Column_Suite.class.getSimpleName());
DemoTestUtil.setUpTest();
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsTest_Demo_Column_Suite.class.getSimpleName());
+ System.out.println("End " + AtsTest_Column_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/BranchStatusColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/BranchStatusColumnTest.java
index 3cc18cca23..98562fda04 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/BranchStatusColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/BranchStatusColumnTest.java
@@ -8,13 +8,14 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.BranchStatusColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CancelledDateColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CancelledDateColumnTest.java
index 2619075dfd..adfb3eec38 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CancelledDateColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CancelledDateColumnTest.java
@@ -8,12 +8,14 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.CancelledDateColumn;
import org.eclipse.osee.ats.core.client.team.TeamState;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
@@ -22,7 +24,6 @@ import org.eclipse.osee.ats.core.client.workflow.transition.TransitionManager;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionOption;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionResults;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.DateUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
@@ -61,8 +62,8 @@ public class CancelledDateColumnTest {
Assert.assertEquals("", CancelledDateColumn.getDateStr(teamArt));
TransitionHelper helper =
- new TransitionHelper("Transition to Cancelled", Arrays.asList(teamArt), TeamState.Cancelled.getName(),
- null, "reason", TransitionOption.OverrideTransitionValidityCheck, TransitionOption.OverrideAssigneeCheck);
+ new TransitionHelper("Transition to Cancelled", Arrays.asList(teamArt), TeamState.Cancelled.getName(), null,
+ "reason", TransitionOption.OverrideTransitionValidityCheck, TransitionOption.OverrideAssigneeCheck);
TransitionManager transitionMgr = new TransitionManager(helper);
TransitionResults results = transitionMgr.handleAll();
Assert.assertTrue(results.toString(), results.isEmpty());
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CategoryColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CategoryColumnTest.java
index 5cf1858db1..52b2d3c6dc 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CategoryColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CategoryColumnTest.java
@@ -8,18 +8,19 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.CategoryColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.AfterClass;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/ChangeTypeColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/ChangeTypeColumnTest.java
index 147b4e2d1f..fbfa180402 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/ChangeTypeColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/ChangeTypeColumnTest.java
@@ -8,17 +8,18 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.ChangeTypeColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.workflow.ChangeType;
import org.eclipse.osee.ats.core.client.workflow.ChangeTypeUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.AfterClass;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CompletedDateColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CompletedDateColumnTest.java
index e8bd83a891..76118a1990 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CompletedDateColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CompletedDateColumnTest.java
@@ -8,11 +8,13 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import java.util.Arrays;
import java.util.Date;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.CompletedDateColumn;
import org.eclipse.osee.ats.core.client.team.TeamState;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
@@ -21,7 +23,6 @@ import org.eclipse.osee.ats.core.client.workflow.transition.TransitionManager;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionOption;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionResults;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.DateUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
@@ -60,8 +61,8 @@ public class CompletedDateColumnTest {
Assert.assertEquals("", CompletedDateColumn.getDateStr(teamArt));
TransitionHelper helper =
- new TransitionHelper("Transition to Completed", Arrays.asList(teamArt), TeamState.Completed.getName(),
- null, null, TransitionOption.OverrideTransitionValidityCheck, TransitionOption.OverrideAssigneeCheck);
+ new TransitionHelper("Transition to Completed", Arrays.asList(teamArt), TeamState.Completed.getName(), null,
+ null, TransitionOption.OverrideTransitionValidityCheck, TransitionOption.OverrideAssigneeCheck);
TransitionManager transitionMgr = new TransitionManager(helper);
TransitionResults results = transitionMgr.handleAll();
Assert.assertTrue(results.toString(), results.isEmpty());
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CreatedDateColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CreatedDateColumnTest.java
index fb8319bf8d..2d608a12fb 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/CreatedDateColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/CreatedDateColumnTest.java
@@ -8,15 +8,16 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import java.util.Date;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.CreatedDateColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.DateUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/DeadlineColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/DeadlineColumnTest.java
index f5e932d3a1..554139e581 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/DeadlineColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/DeadlineColumnTest.java
@@ -8,15 +8,16 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import java.util.Calendar;
import java.util.Date;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.DeadlineColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.DateUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/DescriptionColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/DescriptionColumnTest.java
index 421d516344..1d4e29c1dd 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/DescriptionColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/DescriptionColumnTest.java
@@ -8,13 +8,14 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.DescriptionColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/EstimatedHoursColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/EstimatedHoursColumnTest.java
index ea31852f0a..4afac0c97c 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/EstimatedHoursColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/EstimatedHoursColumnTest.java
@@ -8,11 +8,12 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import java.util.Date;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewManager;
import org.eclipse.osee.ats.core.client.task.TaskArtifact;
@@ -20,7 +21,6 @@ import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.core.client.workflow.EstimatedHoursUtil;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/GroupsColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/GroupsColumnTest.java
index 33c0e37995..78b264b3ac 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/GroupsColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/GroupsColumnTest.java
@@ -8,13 +8,14 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.GroupsColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/NumberOfTasksAndInWorkTasksColumnsTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/NumberOfTasksAndInWorkTasksColumnsTest.java
index e659b245b8..55ad70f6c4 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/NumberOfTasksAndInWorkTasksColumnsTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/NumberOfTasksAndInWorkTasksColumnsTest.java
@@ -8,22 +8,24 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import java.util.Collection;
import java.util.HashSet;
import org.eclipse.osee.ats.api.user.IAtsUser;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.NumberOfTasksColumn;
+import org.eclipse.osee.ats.column.NumberOfTasksRemainingColumn;
import org.eclipse.osee.ats.core.client.task.TaskArtifact;
import org.eclipse.osee.ats.core.client.task.TaskManager;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.core.util.Result;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/OriginatorColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/OriginatorColumnTest.java
index 082fd0f076..d9a68e8c8c 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/OriginatorColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/OriginatorColumnTest.java
@@ -8,15 +8,16 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.OriginatorColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.UserManager;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoUsers;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/ParentStateAndIdColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/ParentStateAndIdColumnTest.java
index f4e534e061..3c7f8d5408 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/ParentStateAndIdColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/ParentStateAndIdColumnTest.java
@@ -8,16 +8,18 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.ParentHridColumn;
+import org.eclipse.osee.ats.column.ParentStateColumn;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
import org.eclipse.osee.ats.core.client.team.TeamState;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/PeerToPeerReviewColumnsTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/PeerToPeerReviewColumnsTest.java
index 7dc70ce0ef..d7df8490e8 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/PeerToPeerReviewColumnsTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/PeerToPeerReviewColumnsTest.java
@@ -8,12 +8,20 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.ReviewAuthorColumn;
+import org.eclipse.osee.ats.column.ReviewModeratorColumn;
+import org.eclipse.osee.ats.column.ReviewNumIssuesColumn;
+import org.eclipse.osee.ats.column.ReviewNumMajorDefectsColumn;
+import org.eclipse.osee.ats.column.ReviewNumMinorDefectsColumn;
+import org.eclipse.osee.ats.column.ReviewReviewerColumn;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewManager;
import org.eclipse.osee.ats.core.client.review.defect.ReviewDefectItem;
@@ -27,11 +35,9 @@ import org.eclipse.osee.ats.core.client.review.role.UserRoleManager;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
-import org.eclipse.osee.support.test.util.DemoUsers;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.AfterClass;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/PriorityColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/PriorityColumnTest.java
index 8e4b65d9ae..6f8d47f4d2 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/PriorityColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/PriorityColumnTest.java
@@ -8,16 +8,17 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.PriorityColumn;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
import org.eclipse.osee.ats.core.client.task.TaskArtifact;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/RelatedToStateColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/RelatedToStateColumnTest.java
index 80157c9989..b2e99fe625 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/RelatedToStateColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/RelatedToStateColumnTest.java
@@ -8,16 +8,17 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.RelatedToStateColumn;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
import org.eclipse.osee.ats.core.client.task.TaskArtifact;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/StateColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/StateColumnTest.java
index ccaf72c72d..c05178e0e8 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/StateColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/StateColumnTest.java
@@ -8,14 +8,15 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.StateColumn;
import org.eclipse.osee.ats.core.client.team.TeamState;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/TargetedVersionColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/TargetedVersionColumnTest.java
index 7f669ad36a..296f2b793f 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/TargetedVersionColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/TargetedVersionColumnTest.java
@@ -8,14 +8,15 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
+import org.eclipse.osee.ats.client.demo.DemoSawBuilds;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.TargetedVersionColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/TeamColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/TeamColumnTest.java
index f0d22b2d2d..3e43cfb36f 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/TeamColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/TeamColumnTest.java
@@ -8,13 +8,14 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.TeamColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/TypeColumnTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/TypeColumnTest.java
index 45267759d1..a71154e9c3 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/column/TypeColumnTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/column/TypeColumnTest.java
@@ -8,13 +8,14 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.column;
+package org.eclipse.osee.ats.client.integration.tests.ats.column;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.column.TypeColumn;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/AtsBranchConfigurationTest.java
index 77fe3a9597..8977e1506a 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/AtsBranchConfigurationTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/AtsBranchConfigurationTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.config;
+package org.eclipse.osee.ats.client.integration.tests.ats.config;
import java.util.ArrayList;
import java.util.Arrays;
@@ -22,6 +22,7 @@ import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
import org.eclipse.osee.ats.api.version.IAtsVersion;
import org.eclipse.osee.ats.api.workdef.IAtsWorkDefinition;
+import org.eclipse.osee.ats.config.AtsConfigManager;
import org.eclipse.osee.ats.core.client.action.ActionManager;
import org.eclipse.osee.ats.core.client.branch.AtsBranchManagerCore;
import org.eclipse.osee.ats.core.client.config.AtsBulkLoad;
@@ -37,7 +38,6 @@ import org.eclipse.osee.ats.core.config.ActionableItems;
import org.eclipse.osee.ats.core.config.AtsConfigCache;
import org.eclipse.osee.ats.core.config.AtsVersionService;
import org.eclipse.osee.ats.editor.SMAEditor;
-import org.eclipse.osee.ats.internal.Activator;
import org.eclipse.osee.ats.util.AtsBranchManager;
import org.eclipse.osee.ats.util.AtsUtil;
import org.eclipse.osee.framework.core.data.IOseeBranch;
@@ -106,14 +106,15 @@ public class AtsBranchConfigurationTest {
public void testBranchViaVersions() throws Exception {
SevereLoggingMonitor monitor = TestUtil.severeLoggingStart();
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Running testBranchViaVersions...");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO, "Running testBranchViaVersions...");
}
// Cleanup from previous run
cleanupBranchTest(BRANCH_VIA_VERSIONS);
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Configuring ATS for team org.branchTest.viaTeamDefs");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO,
+ "Configuring ATS for team org.branchTest.viaTeamDefs");
}
// create team definition and actionable item
@@ -125,7 +126,7 @@ public class AtsBranchConfigurationTest {
// create main branch
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Creating root branch");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO, "Creating root branch");
}
// Create SAW_Bld_2 branch off SAW_Bld_1
Branch viaTeamDefBranch = BranchManager.createTopLevelBranch(BRANCH_VIA_VERSIONS);
@@ -134,7 +135,8 @@ public class AtsBranchConfigurationTest {
// configure version to use branch and allow create/commit
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Configuring version to use branch and allow create/commit");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO,
+ "Configuring version to use branch and allow create/commit");
}
IAtsTeamDefinition teamDef =
AtsConfigCache.instance.getSoleByName(BRANCH_VIA_VERSIONS.getName(), IAtsTeamDefinition.class);
@@ -159,7 +161,8 @@ public class AtsBranchConfigurationTest {
// create action and target for version
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Create new Action and target for version " + versionToTarget);
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO,
+ "Create new Action and target for version " + versionToTarget);
}
Collection<IAtsActionableItem> selectedActionableItems =
@@ -181,7 +184,7 @@ public class AtsBranchConfigurationTest {
// Transition to desired state
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Transitioning to Implement state");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO, "Transitioning to Implement state");
}
dtwm.transitionTo(TeamState.Implement, AtsUsersClient.getUser(), false, transaction);
@@ -194,7 +197,7 @@ public class AtsBranchConfigurationTest {
// make changes
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Make new requirement artifact");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO, "Make new requirement artifact");
}
Artifact rootArtifact = OseeSystemArtifacts.getDefaultHierarchyRootArtifact(teamWf.getWorkingBranch());
Artifact blk3MainArt =
@@ -210,7 +213,7 @@ public class AtsBranchConfigurationTest {
// test change report
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Test change report results");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO, "Test change report results");
}
ChangeData changeData = AtsBranchManager.getChangeDataFromEarliestTransactionId(teamWf);
Assert.assertFalse("No changes detected", changeData.isEmpty());
@@ -228,14 +231,15 @@ public class AtsBranchConfigurationTest {
SevereLoggingMonitor monitor = TestUtil.severeLoggingStart();
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Running testBranchViaTeamDefinition...");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO, "Running testBranchViaTeamDefinition...");
}
// Cleanup from previous run
cleanupBranchTest(BRANCH_VIA_TEAM_DEFINITION);
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Configuring ATS for team org.branchTest.viaTeamDefs");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO,
+ "Configuring ATS for team org.branchTest.viaTeamDefs");
// create team definition and actionable item
}
@@ -247,7 +251,7 @@ public class AtsBranchConfigurationTest {
// create main branch
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Creating root branch");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO, "Creating root branch");
}
// Create SAW_Bld_2 branch off SAW_Bld_1
Branch viaTeamDefBranch = BranchManager.createTopLevelBranch(BRANCH_VIA_TEAM_DEFINITION);
@@ -256,7 +260,8 @@ public class AtsBranchConfigurationTest {
// configure team def to use branch
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Configuring team def to use branch and allow create/commit");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO,
+ "Configuring team def to use branch and allow create/commit");
}
IAtsTeamDefinition teamDef =
AtsConfigCache.instance.getSoleByName(BRANCH_VIA_TEAM_DEFINITION.getName(), IAtsTeamDefinition.class);
@@ -271,7 +276,7 @@ public class AtsBranchConfigurationTest {
// create action,
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Create new Action");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO, "Create new Action");
}
Collection<IAtsActionableItem> selectedActionableItems =
ActionableItems.getActionableItems(appendToName(BRANCH_VIA_TEAM_DEFINITION, "A1"));
@@ -290,7 +295,7 @@ public class AtsBranchConfigurationTest {
// Transition to desired state
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Transitioning to Implement state");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO, "Transitioning to Implement state");
}
dtwm.transitionTo(TeamState.Implement, AtsUsersClient.getUser(), false, transaction);
teamWf.persist("Test branch via team definition: Transition to desired state");
@@ -300,7 +305,7 @@ public class AtsBranchConfigurationTest {
// make changes
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Make new requirement artifact");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO, "Make new requirement artifact");
}
Artifact rootArtifact = OseeSystemArtifacts.getDefaultHierarchyRootArtifact(teamWf.getWorkingBranch());
Artifact blk3MainArt =
@@ -314,7 +319,7 @@ public class AtsBranchConfigurationTest {
// test change report
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "Test change report results");
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO, "Test change report results");
}
ChangeData changeData = AtsBranchManager.getChangeDataFromEarliestTransactionId(teamWf);
Assert.assertTrue("No changes detected", !changeData.isEmpty());
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/AtsTest_Config_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/AtsTest_Config_Suite.java
new file mode 100644
index 0000000000..0bacdbfc23
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/AtsTest_Config_Suite.java
@@ -0,0 +1,40 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 2007 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.ats.config;
+
+import org.eclipse.osee.ats.client.integration.tests.ats.config.copy.AtsTest_Demo_Copy_Suite;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+@RunWith(Suite.class)
+@Suite.SuiteClasses({AtsTest_Demo_Copy_Suite.class, AtsBranchConfigurationTest.class})
+/**
+ * This test suite contains test that can be run against any production db
+ *
+ * @author Donald G. Dunne
+ */
+public class AtsTest_Config_Suite {
+ @BeforeClass
+ public static void setUp() throws Exception {
+ OseeProperties.setIsInTest(true);
+ System.out.println("\n\nBegin " + AtsTest_Config_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
+ }
+
+ @AfterClass
+ public static void tearDown() throws Exception {
+ System.out.println("End " + AtsTest_Config_Suite.class.getSimpleName());
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/AtsTest_Demo_Copy_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/AtsTest_Demo_Copy_Suite.java
new file mode 100644
index 0000000000..672e3db7c3
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/AtsTest_Demo_Copy_Suite.java
@@ -0,0 +1,42 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.ats.config.copy;
+
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Roberto E. Escobar
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+ ConfigDataTest.class,
+ CopyAtsConfigurationOperationTest.class,
+ CopyAtsUtilTest.class,
+ CopyAtsValidationTest.class})
+public class AtsTest_Demo_Copy_Suite {
+
+ @BeforeClass
+ public static void setUp() throws Exception {
+ OseeProperties.setIsInTest(true);
+ System.out.println("\n\nBegin " + AtsTest_Demo_Copy_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
+ }
+
+ @AfterClass
+ public static void tearDown() throws Exception {
+ System.out.println("End " + AtsTest_Demo_Copy_Suite.class.getSimpleName());
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/ConfigDataTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/ConfigDataTest.java
index fcb1e19cba..4401c003f1 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/ConfigDataTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/ConfigDataTest.java
@@ -8,17 +8,18 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.config.copy;
+package org.eclipse.osee.ats.client.integration.tests.ats.config.copy;
import junit.framework.Assert;
import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
+import org.eclipse.osee.ats.client.demo.DemoActionableItems;
+import org.eclipse.osee.ats.client.demo.DemoTeam;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.config.copy.ConfigData;
import org.eclipse.osee.ats.core.config.ActionableItems;
import org.eclipse.osee.ats.core.config.TeamDefinitions;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.core.util.XResultData;
-import org.eclipse.osee.support.test.util.DemoActionableItems;
-import org.eclipse.osee.support.test.util.DemoTeam;
/**
* Test case for {@link ConfigData}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/CopyAtsConfigurationOperationTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/CopyAtsConfigurationOperationTest.java
index 43eb6c6c1a..f0075beec0 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/CopyAtsConfigurationOperationTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/CopyAtsConfigurationOperationTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.config.copy;
+package org.eclipse.osee.ats.client.integration.tests.ats.config.copy;
import java.util.Collection;
import java.util.HashSet;
@@ -16,7 +16,9 @@ import java.util.Set;
import junit.framework.Assert;
import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.config.copy.ConfigData;
+import org.eclipse.osee.ats.config.copy.CopyAtsConfigurationOperation;
import org.eclipse.osee.ats.core.client.config.AtsObjectsClient;
import org.eclipse.osee.ats.core.config.AtsConfigCache;
import org.eclipse.osee.ats.core.config.TeamDefinitions;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/CopyAtsUtilTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/CopyAtsUtilTest.java
index e31c02cdea..537e0919ff 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/CopyAtsUtilTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/CopyAtsUtilTest.java
@@ -8,9 +8,11 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.config.copy;
+package org.eclipse.osee.ats.client.integration.tests.ats.config.copy;
import junit.framework.Assert;
+import org.eclipse.osee.ats.config.copy.ConfigData;
+import org.eclipse.osee.ats.config.copy.CopyAtsUtil;
/**
* Test case for {@link CopyAtsUtil}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/CopyAtsValidationTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/CopyAtsValidationTest.java
index bd146107be..96ae1205ff 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/config/copy/CopyAtsValidationTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/config/copy/CopyAtsValidationTest.java
@@ -8,16 +8,18 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.config.copy;
+package org.eclipse.osee.ats.client.integration.tests.ats.config.copy;
import junit.framework.Assert;
import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
-import org.eclipse.osee.ats.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.demo.DemoActionableItems;
+import org.eclipse.osee.ats.client.demo.DemoTeam;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.config.copy.ConfigData;
+import org.eclipse.osee.ats.config.copy.CopyAtsValidation;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.util.XResultData;
-import org.eclipse.osee.support.test.util.DemoActionableItems;
-import org.eclipse.osee.support.test.util.DemoTeam;
import org.junit.BeforeClass;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsCoreClient_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsCoreClient_Suite.java
new file mode 100644
index 0000000000..2bf0bccdb1
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsCoreClient_Suite.java
@@ -0,0 +1,52 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 2007 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client;
+
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.branch.AtsCoreClient_Branch_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.config.AtsCoreClient_Config_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.notify.AtsCoreClient_Notify_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.operation.AtsCoreClient_Operation_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.review.AtsCoreClient_Review_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.task.AtsCoreClient_Task_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.util.AtsCoreClient_Util_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.AtsCoreClient_Workflow_Suite;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Donald G. Dunne
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+ AtsTestUtilTest.class,
+ AtsCoreClient_Branch_Suite.class,
+ AtsCoreClient_Config_Suite.class,
+ AtsCoreClient_Notify_Suite.class,
+ AtsCoreClient_Operation_Suite.class,
+ AtsCoreClient_Review_Suite.class,
+ AtsCoreClient_Task_Suite.class,
+ AtsCoreClient_Util_Suite.class,
+ AtsCoreClient_Workflow_Suite.class})
+public class AtsCoreClient_Suite {
+ @BeforeClass
+ public static void setUp() throws Exception {
+ OseeProperties.setIsInTest(true);
+ System.out.println("\n\nBegin " + AtsCoreClient_Suite.class.getSimpleName());
+ }
+
+ @AfterClass
+ public static void tearDown() throws Exception {
+ System.out.println("End " + AtsCoreClient_Suite.class.getSimpleName());
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsTestUtil.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsTestUtil.java
index 42745d4ef4..0722634506 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsTestUtil.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsTestUtil.java
@@ -8,9 +8,9 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client;
-import static org.eclipse.osee.framework.core.enums.DeletionFlag.EXCLUDE_DELETED;
+import static org.eclipse.osee.framework.core.enums.DeletionFlag.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
@@ -29,6 +29,7 @@ import org.eclipse.osee.ats.api.workdef.IAtsWorkDefinition;
import org.eclipse.osee.ats.api.workdef.IStateToken;
import org.eclipse.osee.ats.api.workdef.ReviewBlockType;
import org.eclipse.osee.ats.api.workdef.StateType;
+import org.eclipse.osee.ats.client.demo.DemoSawBuilds;
import org.eclipse.osee.ats.core.client.action.ActionArtifact;
import org.eclipse.osee.ats.core.client.action.ActionManager;
import org.eclipse.osee.ats.core.client.actions.ISelectedAtsArtifacts;
@@ -73,7 +74,6 @@ import org.eclipse.osee.framework.skynet.core.artifact.search.QueryOptions;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
import org.eclipse.osee.framework.skynet.core.utility.Artifacts;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
import org.eclipse.osee.support.test.util.TestUtil;
/**
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsTestUtilTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsTestUtilTest.java
index 812630cfb6..917ca81534 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsTestUtilTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/AtsTestUtilTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client;
import junit.framework.Assert;
import org.eclipse.osee.ats.api.workdef.ReviewBlockType;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/branch/AtsBranchManagerCoreTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/branch/AtsBranchManagerCoreTest.java
index 18fe9e9c8a..e0887019fa 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/branch/AtsBranchManagerCoreTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/branch/AtsBranchManagerCoreTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.branch;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.branch;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
@@ -18,7 +18,9 @@ import java.util.HashSet;
import org.eclipse.osee.ats.api.commit.ICommitConfigArtifact;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
import org.eclipse.osee.ats.api.version.IAtsVersion;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.demo.DemoSawBuilds;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.core.client.branch.AtsBranchManagerCore;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.config.AtsVersionService;
import org.eclipse.osee.framework.core.enums.TransactionDetailsType;
@@ -29,7 +31,6 @@ import org.eclipse.osee.framework.core.model.cache.BranchCache;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.eclipse.osee.framework.skynet.core.UserManager;
import org.eclipse.osee.framework.skynet.core.artifact.BranchManager;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.AfterClass;
import org.junit.BeforeClass;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Util_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/branch/AtsCoreClient_Branch_Suite.java
index 510c581a5c..42a6798db6 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Util_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/branch/AtsCoreClient_Branch_Suite.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
+ * Copyright (c) 2012 Boeing.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -8,31 +8,31 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.branch;
-import org.eclipse.osee.ats.util.CreateActionUsingAllActionableItemsTest;
-import org.eclipse.osee.ats.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
-@RunWith(Suite.class)
-@Suite.SuiteClasses({CreateActionUsingAllActionableItemsTest.class})
/**
- * @author Donald G. Dunne
+ * @author Roberto E. Escobar
*/
-public class AtsTest_Demo_Util_Suite {
+@RunWith(Suite.class)
+@Suite.SuiteClasses({AtsBranchManagerCoreTest.class})
+public class AtsCoreClient_Branch_Suite {
+
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsTest_Demo_Util_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsCoreClient_Branch_Suite.class.getSimpleName());
DemoTestUtil.setUpTest();
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsTest_Demo_Util_Suite.class.getSimpleName());
+ System.out.println("End " + AtsCoreClient_Branch_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/AtsActionableItemToTeamDefinitionTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/AtsActionableItemToTeamDefinitionTest.java
index 9a1332a017..22915db99c 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/AtsActionableItemToTeamDefinitionTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/AtsActionableItemToTeamDefinitionTest.java
@@ -8,13 +8,14 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.config;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.config;
import static org.junit.Assert.assertFalse;
import java.util.Arrays;
import java.util.Collection;
import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
+import org.eclipse.osee.ats.core.client.config.AtsBulkLoad;
import org.eclipse.osee.ats.core.config.AtsConfigCache;
import org.eclipse.osee.ats.core.config.TeamDefinitions;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/AtsCoreClient_Config_Production_PT_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/AtsCoreClient_Config_Suite.java
index 16d51ca671..37ade7ab63 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/AtsCoreClient_Config_Production_PT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/AtsCoreClient_Config_Suite.java
@@ -8,30 +8,29 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.config;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.config;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.config.store.AtsCoreClient_Store_Suite;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
-@RunWith(Suite.class)
-@Suite.SuiteClasses({AtsActionableItemToTeamDefinitionTest.class})
/**
- * This test suite contains tests that must be run against Production database as Plugin JUnit (PT)
- *
* @author Donald G. Dunne
*/
-public class AtsCoreClient_Config_Production_PT_Suite {
+@RunWith(Suite.class)
+@Suite.SuiteClasses({AtsActionableItemToTeamDefinitionTest.class, AtsCoreClient_Store_Suite.class})
+public class AtsCoreClient_Config_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_Config_Production_PT_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsCoreClient_Config_Suite.class.getSimpleName());
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_Config_Production_PT_Suite.class.getSimpleName());
+ System.out.println("End " + AtsCoreClient_Config_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/AtsCoreClient_Workflow_PT_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/store/AtsCoreClient_Store_Suite.java
index 433b0e3511..99ec62cc89 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/AtsCoreClient_Workflow_PT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/store/AtsCoreClient_Store_Suite.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
+ * Copyright (c) 2012 Boeing.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -8,30 +8,31 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.workflow;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.config.store;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
-@RunWith(Suite.class)
-@Suite.SuiteClasses({ConvertWorkflowStatesOperationTest.class})
/**
- * This test suite contains tests that must be run against demo database as Plugin JUnit (PT)
- *
- * @author Donald G. Dunne
+ * @author Roberto E. Escobar
*/
-public class AtsCoreClient_Workflow_PT_Suite {
+@RunWith(Suite.class)
+@Suite.SuiteClasses({VersionArtifactStoreTest.class})
+public class AtsCoreClient_Store_Suite {
+
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_Workflow_PT_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsCoreClient_Store_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_Workflow_PT_Suite.class.getSimpleName());
+ System.out.println("End " + AtsCoreClient_Store_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/store/VersionArtifactStoreTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/store/VersionArtifactStoreTest.java
index d4e0bed35c..440337ad0c 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/store/VersionArtifactStoreTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/config/store/VersionArtifactStoreTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.config.store;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.config.store;
import java.util.Arrays;
import java.util.Date;
@@ -17,6 +17,7 @@ import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
import org.eclipse.osee.ats.api.version.IAtsVersion;
+import org.eclipse.osee.ats.core.client.config.store.VersionArtifactStore;
import org.eclipse.osee.ats.core.client.util.AtsUtilCore;
import org.eclipse.osee.ats.core.config.AtsConfigCache;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/AtsCoreClient_Notify_PT_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/AtsCoreClient_Notify_Suite.java
index 25612b978b..17458d0e4a 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/AtsCoreClient_Notify_PT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/AtsCoreClient_Notify_Suite.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.notify;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.notify;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
@@ -16,22 +16,20 @@ import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
-@RunWith(Suite.class)
-@Suite.SuiteClasses({AtsNotifyUsersTest.class, AtsNotificationManagerTest.class})
/**
- * This test suite contains tests that must be run against demo database as Plugin JUnit (PT)
- *
* @author Donald G. Dunne
*/
-public class AtsCoreClient_Notify_PT_Suite {
+@RunWith(Suite.class)
+@Suite.SuiteClasses({AtsNotifyUsersTest.class, AtsNotificationManagerTest.class})
+public class AtsCoreClient_Notify_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_Notify_PT_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsCoreClient_Notify_Suite.class.getSimpleName());
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_Notify_PT_Suite.class.getSimpleName());
+ System.out.println("End " + AtsCoreClient_Notify_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/AtsNotificationManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/AtsNotificationManagerTest.java
index cf3a971e2f..43522021a2 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/AtsNotificationManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/AtsNotificationManagerTest.java
@@ -3,7 +3,7 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.core.client.notify;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.notify;
import java.util.ArrayList;
import java.util.Arrays;
@@ -12,10 +12,12 @@ import java.util.List;
import junit.framework.Assert;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
import org.eclipse.osee.ats.api.workdef.ReviewBlockType;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
-import org.eclipse.osee.ats.core.client.AtsTestUtil.AtsTestUtilState;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil.AtsTestUtilState;
import org.eclipse.osee.ats.core.client.action.ActionArtifact;
import org.eclipse.osee.ats.core.client.action.ActionManager;
+import org.eclipse.osee.ats.core.client.notify.AtsNotificationManager;
import org.eclipse.osee.ats.core.client.notify.AtsNotificationManager.ConfigurationProvider;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewManager;
@@ -37,8 +39,8 @@ import org.eclipse.osee.framework.skynet.core.UserManager;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
import org.eclipse.osee.framework.skynet.core.utility.INotificationManager;
-import org.eclipse.osee.support.test.util.DemoUsers;
import org.junit.AfterClass;
+import org.junit.BeforeClass;
/**
* Test unit for (@link AtsNotificationManager}
@@ -47,6 +49,11 @@ import org.junit.AfterClass;
*/
public class AtsNotificationManagerTest {
+ @BeforeClass
+ public static void setup() {
+ AtsUtilCore.setEmailEnabled(true);
+ }
+
@AfterClass
public static void cleanup() throws OseeCoreException {
User user = UserManager.getUser(DemoUsers.Alex_Kay);
@@ -56,6 +63,7 @@ public class AtsNotificationManagerTest {
AtsNotificationManager.setInTest(true);
AtsTestUtil.cleanup();
+ AtsUtilCore.setEmailEnabled(false);
}
@org.junit.Test
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/AtsNotifyUsersTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/AtsNotifyUsersTest.java
index 40a77c9e8c..b24dafb1ec 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/AtsNotifyUsersTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/AtsNotifyUsersTest.java
@@ -8,16 +8,21 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.notify;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.notify;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
import java.util.List;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.demo.DemoActionableItems;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.action.ActionManager;
+import org.eclipse.osee.ats.core.client.notify.AtsNotificationManager;
import org.eclipse.osee.ats.core.client.notify.AtsNotificationManager.ConfigurationProvider;
+import org.eclipse.osee.ats.core.client.notify.AtsNotifyType;
+import org.eclipse.osee.ats.core.client.notify.AtsNotifyUsers;
import org.eclipse.osee.ats.core.client.team.TeamState;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
@@ -40,8 +45,6 @@ import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
import org.eclipse.osee.framework.skynet.core.utility.INotificationManager;
import org.eclipse.osee.framework.skynet.core.utility.OseeNotificationEvent;
-import org.eclipse.osee.support.test.util.DemoActionableItems;
-import org.eclipse.osee.support.test.util.DemoUsers;
import org.junit.Assert;
/**
@@ -52,6 +55,7 @@ import org.junit.Assert;
public class AtsNotifyUsersTest {
@org.junit.BeforeClass
public static void setup() throws OseeCoreException {
+ AtsUtilCore.setEmailEnabled(true);
AtsTestUtil.cleanupAndReset(AtsNotificationManagerTest.class.getSimpleName());
cleanUpAction();
}
@@ -66,7 +70,10 @@ public class AtsNotifyUsersTest {
AtsTestUtil.cleanup();
cleanUpAction();
+ AtsUtilCore.setEmailEnabled(false);
+
AtsTestUtil.validateArtifactCache();
+ AtsUtilCore.setEmailEnabled(false);
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/MockNotificationManager.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/MockNotificationManager.java
index e4814b083e..f50c1e35e2 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/notify/MockNotificationManager.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/notify/MockNotificationManager.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.notify;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.notify;
import java.util.ArrayList;
import java.util.List;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/operation/AtsCoreClient_Operation_PT_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/operation/AtsCoreClient_Operation_Suite.java
index 1f7221e45b..398bc144a9 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/operation/AtsCoreClient_Operation_PT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/operation/AtsCoreClient_Operation_Suite.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.operation;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.operation;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
@@ -16,22 +16,20 @@ import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
-@RunWith(Suite.class)
-@Suite.SuiteClasses({MoveTeamWorkflowsOperationTest.class})
/**
- * This test suite contains tests that must be run against demo database as Plugin JUnit (PT)
- *
* @author Donald G. Dunne
*/
-public class AtsCoreClient_Operation_PT_Suite {
+@RunWith(Suite.class)
+@Suite.SuiteClasses({MoveTeamWorkflowsOperationTest.class})
+public class AtsCoreClient_Operation_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_Operation_PT_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsCoreClient_Operation_Suite.class.getSimpleName());
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_Operation_PT_Suite.class.getSimpleName());
+ System.out.println("End " + AtsCoreClient_Operation_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/operation/MoveTeamWorkflowsOperationTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/operation/MoveTeamWorkflowsOperationTest.java
index 4176986b67..718b871b7b 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/operation/MoveTeamWorkflowsOperationTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/operation/MoveTeamWorkflowsOperationTest.java
@@ -3,14 +3,16 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.core.client.operation;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.operation;
import java.util.Arrays;
import junit.framework.Assert;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.action.ActionArtifact;
+import org.eclipse.osee.ats.core.client.operation.MoveTeamWorkflowsOperation;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
+import org.eclipse.osee.framework.core.operation.Operations;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@@ -36,7 +38,7 @@ public class MoveTeamWorkflowsOperationTest {
MoveTeamWorkflowsOperation operation =
new MoveTeamWorkflowsOperation("Move", teamWf, Arrays.asList(teamWf2), "new title");
- operation.doWork(null);
+ Operations.executeWorkAndCheckStatus(operation);
Assert.assertEquals("Parent Actions should be same", teamWf.getParentActionArtifact(),
teamWf.getParentActionArtifact());
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/AtsCoreClient_Review_PT_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/AtsCoreClient_Review_Suite.java
index ae677b0d42..0ce0494296 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/AtsCoreClient_Review_PT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/AtsCoreClient_Review_Suite.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.review;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.review;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
@@ -16,26 +16,24 @@ import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
+/**
+ * @author Donald G. Dunne
+ */
@RunWith(Suite.class)
@Suite.SuiteClasses({
DecisionReviewManagerTest.class,
DecisionReviewDefinitionManagerTest.class,
PeerToPeerReviewManagerTest.class,
PeerReviewDefinitionManagerTest.class})
-/**
- * This test suite contains tests that must be run against demo database as Plugin JUnit (PT)
- *
- * @author Donald G. Dunne
- */
-public class AtsCoreClient_Review_PT_Suite {
+public class AtsCoreClient_Review_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_Review_PT_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsCoreClient_Review_Suite.class.getSimpleName());
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_Review_PT_Suite.class.getSimpleName());
+ System.out.println("End " + AtsCoreClient_Review_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/DecisionReviewDefinitionManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/DecisionReviewDefinitionManagerTest.java
index 57c3e6f0b0..630b084840 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/DecisionReviewDefinitionManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/DecisionReviewDefinitionManagerTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.review;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.review;
import java.util.Arrays;
import junit.framework.Assert;
@@ -16,11 +16,16 @@ import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.workdef.IAtsStateDefinition;
import org.eclipse.osee.ats.api.workdef.ReviewBlockType;
import org.eclipse.osee.ats.api.workdef.StateEventType;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.transition.MockTransitionHelper;
+import org.eclipse.osee.ats.core.client.review.DecisionReviewArtifact;
+import org.eclipse.osee.ats.core.client.review.DecisionReviewDefinitionManager;
+import org.eclipse.osee.ats.core.client.review.DecisionReviewManager;
+import org.eclipse.osee.ats.core.client.review.DecisionReviewState;
+import org.eclipse.osee.ats.core.client.review.ReviewManager;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.core.client.util.AtsUtilCore;
-import org.eclipse.osee.ats.core.client.workflow.transition.MockTransitionHelper;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionManager;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionOption;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionResults;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/DecisionReviewManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/DecisionReviewManagerTest.java
index fde536c543..d41cab8f06 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/DecisionReviewManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/DecisionReviewManagerTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.review;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.review;
import java.util.ArrayList;
import java.util.Arrays;
@@ -18,7 +18,11 @@ import junit.framework.Assert;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.workdef.IAtsDecisionReviewOption;
import org.eclipse.osee.ats.api.workdef.ReviewBlockType;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.core.client.review.DecisionReviewArtifact;
+import org.eclipse.osee.ats.core.client.review.DecisionReviewManager;
+import org.eclipse.osee.ats.core.client.review.DecisionReviewState;
import org.eclipse.osee.ats.core.client.team.TeamState;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
@@ -29,7 +33,6 @@ import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
import org.eclipse.osee.framework.skynet.core.utility.Artifacts;
-import org.eclipse.osee.support.test.util.DemoUsers;
import org.junit.AfterClass;
import org.junit.BeforeClass;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/PeerReviewDefinitionManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/PeerReviewDefinitionManagerTest.java
index b459671cbd..c758217e57 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/PeerReviewDefinitionManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/PeerReviewDefinitionManagerTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.review;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.review;
import java.util.Arrays;
import junit.framework.Assert;
@@ -16,11 +16,15 @@ import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.workdef.IAtsStateDefinition;
import org.eclipse.osee.ats.api.workdef.ReviewBlockType;
import org.eclipse.osee.ats.api.workdef.StateEventType;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.transition.MockTransitionHelper;
+import org.eclipse.osee.ats.core.client.review.PeerReviewDefinitionManager;
+import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
+import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewState;
+import org.eclipse.osee.ats.core.client.review.ReviewManager;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.core.client.util.AtsUtilCore;
-import org.eclipse.osee.ats.core.client.workflow.transition.MockTransitionHelper;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionManager;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionOption;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionResults;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/PeerToPeerReviewManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/PeerToPeerReviewManagerTest.java
index 23b52ac238..f3cfaa981c 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/PeerToPeerReviewManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/review/PeerToPeerReviewManagerTest.java
@@ -8,13 +8,16 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.review;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.review;
import java.util.Date;
import junit.framework.Assert;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
-import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
+import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewManager;
+import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewState;
+import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.core.client.util.AtsUtilCore;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
@@ -26,7 +29,7 @@ import org.junit.BeforeClass;
/**
* Test unit for {@link PeerToPeerReviewManager}
- *
+ *
* @author Donald G. Dunne
*/
public class PeerToPeerReviewManagerTest extends PeerToPeerReviewManager {
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsCoreClient_JT_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/AtsCoreClient_Task_Suite.java
index dea480b3f4..0dffe92f4a 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsCoreClient_JT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/AtsCoreClient_Task_Suite.java
@@ -8,31 +8,29 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.task;
-import org.eclipse.osee.ats.core.client.review.AtsCoreClient_Review_JT_Suite;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.task.createTasks.AtsCoreClient_CreateTasks_Suite;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
-@RunWith(Suite.class)
-@Suite.SuiteClasses({AtsCoreClient_Review_JT_Suite.class})
/**
- * This test suite contains tests that can be run as stand-alone JUnit tests (JT)
- *
* @author Donald G. Dunne
*/
-public class AtsCoreClient_JT_Suite {
+@RunWith(Suite.class)
+@Suite.SuiteClasses({AtsCoreClient_CreateTasks_Suite.class, TaskManagerTest.class})
+public class AtsCoreClient_Task_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_JT_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsCoreClient_Task_Suite.class.getSimpleName());
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_JT_Suite.class.getSimpleName());
+ System.out.println("End " + AtsCoreClient_Task_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/task/TaskManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/TaskManagerTest.java
index bc6c1ccefd..0d0245288c 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/task/TaskManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/TaskManagerTest.java
@@ -8,14 +8,17 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.task;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.task;
import java.util.Arrays;
import junit.framework.Assert;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
import org.eclipse.osee.ats.api.workdef.IAtsWorkDefinition;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.core.client.task.TaskArtifact;
+import org.eclipse.osee.ats.core.client.task.TaskManager;
+import org.eclipse.osee.ats.core.client.task.TaskStates;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.core.client.util.AtsUtilCore;
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/createTasks/AtsCoreClient_CreateTasks_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/createTasks/AtsCoreClient_CreateTasks_Suite.java
new file mode 100644
index 0000000000..778a215ce1
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/createTasks/AtsCoreClient_CreateTasks_Suite.java
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.task.createTasks;
+
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Roberto E. Escobar
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({CreateTasksOperationTest.class})
+public class AtsCoreClient_CreateTasks_Suite {
+
+ @BeforeClass
+ public static void setUp() throws Exception {
+ OseeProperties.setIsInTest(true);
+ System.out.println("\n\nBegin " + AtsCoreClient_CreateTasks_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
+ }
+
+ @AfterClass
+ public static void tearDown() throws Exception {
+ System.out.println("End " + AtsCoreClient_CreateTasks_Suite.class.getSimpleName());
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/task/createTasks/CreateTasksOperationTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/createTasks/CreateTasksOperationTest.java
index afbdbf91ea..6597fc5399 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/task/createTasks/CreateTasksOperationTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/task/createTasks/CreateTasksOperationTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.task.createTasks;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.task.createTasks;
import java.rmi.activation.Activator;
import java.util.ArrayList;
@@ -21,7 +21,8 @@ import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.data.AtsRelationTypes;
import org.eclipse.osee.ats.api.version.IAtsVersion;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.demo.DemoSawBuilds;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.branch.AtsBranchManagerCore;
import org.eclipse.osee.ats.core.client.task.TaskArtifact;
import org.eclipse.osee.ats.core.client.task.createtasks.CreateTasksOperation;
@@ -52,7 +53,6 @@ import org.eclipse.osee.framework.skynet.core.revision.ChangeData;
import org.eclipse.osee.framework.skynet.core.revision.LoadChangeType;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/util/AtsCoreClient_Util_PT_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/util/AtsCoreClient_Util_Suite.java
index 277fd6469f..c719757d9d 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/util/AtsCoreClient_Util_PT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/util/AtsCoreClient_Util_Suite.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.util;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.util;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
@@ -16,22 +16,20 @@ import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
-@RunWith(Suite.class)
-@Suite.SuiteClasses({AtsUserTest.class, CopyActionDetailsTest.class})
/**
- * This test suite contains tests that must be run against demo database as Plugin JUnit (PT)
- *
* @author Donald G. Dunne
*/
-public class AtsCoreClient_Util_PT_Suite {
+@RunWith(Suite.class)
+@Suite.SuiteClasses({AtsUserTest.class, CopyActionDetailsTest.class})
+public class AtsCoreClient_Util_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_Util_PT_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsCoreClient_Util_Suite.class.getSimpleName());
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_Util_PT_Suite.class.getSimpleName());
+ System.out.println("End " + AtsCoreClient_Util_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/util/AtsUserTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/util/AtsUserTest.java
index 70648423bd..79f931081d 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/util/AtsUserTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/util/AtsUserTest.java
@@ -3,19 +3,21 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.core.client.util;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.util;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import junit.framework.Assert;
import org.eclipse.osee.ats.api.user.IAtsUser;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.core.client.util.AtsUser;
+import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.framework.core.data.Identity;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.jdk.core.util.Collections;
import org.eclipse.osee.framework.skynet.core.User;
import org.eclipse.osee.framework.skynet.core.UserManager;
-import org.eclipse.osee.support.test.util.DemoUsers;
/**
* @author Donald G. Dunne
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/util/CopyActionDetailsTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/util/CopyActionDetailsTest.java
index cdf0018613..afabc71918 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/util/CopyActionDetailsTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/util/CopyActionDetailsTest.java
@@ -3,12 +3,12 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.core.client.util;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.util;
import junit.framework.Assert;
import org.eclipse.osee.ats.api.workdef.ReviewBlockType;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
-import org.eclipse.osee.ats.core.client.AtsTestUtil.AtsTestUtilState;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil.AtsTestUtilState;
import org.eclipse.osee.ats.core.client.review.DecisionReviewArtifact;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
import org.eclipse.osee.ats.core.client.util.CopyActionDetails;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/AtsCoreClient_Config_Demo_PT_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/AtsCoreClient_Workflow_Suite.java
index 382d1898b8..c9ed95b73e 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/config/AtsCoreClient_Config_Demo_PT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/AtsCoreClient_Workflow_Suite.java
@@ -8,31 +8,33 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.config;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow;
-import org.eclipse.osee.ats.core.client.config.store.VersionArtifactStoreTest;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.note.NoteTestSuite;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.transition.AtsCoreClient_Transition_Suite;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
-@RunWith(Suite.class)
-@Suite.SuiteClasses({AtsActionableItemToTeamDefinitionTest.class, VersionArtifactStoreTest.class})
/**
- * This test suite contains tests that must be run against demo database as Plugin JUnit (PT)
- *
* @author Donald G. Dunne
*/
-public class AtsCoreClient_Config_Demo_PT_Suite {
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+ NoteTestSuite.class,
+ AtsCoreClient_Transition_Suite.class,
+ ConvertWorkflowStatesOperationTest.class})
+public class AtsCoreClient_Workflow_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_Config_Demo_PT_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsCoreClient_Workflow_Suite.class.getSimpleName());
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_Config_Demo_PT_Suite.class.getSimpleName());
+ System.out.println("End " + AtsCoreClient_Workflow_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/ConvertWorkflowStatesOperationTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/ConvertWorkflowStatesOperationTest.java
index 8444a5fd17..abc9b3d7a9 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/ConvertWorkflowStatesOperationTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/ConvertWorkflowStatesOperationTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.workflow;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow;
import java.util.ArrayList;
import java.util.HashMap;
@@ -18,12 +18,16 @@ import junit.framework.Assert;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.core.client.util.AtsUtilCore;
+import org.eclipse.osee.ats.core.client.workflow.AbstractWorkflowArtifact;
+import org.eclipse.osee.ats.core.client.workflow.ConvertWorkflowStatesOperation;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
+import org.eclipse.osee.framework.core.operation.Operations;
import org.eclipse.osee.framework.core.util.XResultData;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.artifact.ArtifactCache;
import org.eclipse.osee.framework.skynet.core.artifact.ArtifactTypeManager;
import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
+import org.eclipse.osee.framework.skynet.core.artifact.search.QueryOptions;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
import org.junit.AfterClass;
@@ -44,7 +48,7 @@ public class ConvertWorkflowStatesOperationTest {
TransactionManager.createTransaction(AtsUtilCore.getAtsBranchToken(),
"ConvertWorkflowStatesOperationTest.cleanup");
for (Artifact art : ArtifactQuery.getArtifactListFromTypeAndName(AtsArtifactTypes.TeamWorkflow,
- "ConvertWorkflowStatesOperationTest%", AtsUtilCore.getAtsBranchToken())) {
+ "ConvertWorkflowStatesOperationTest", AtsUtilCore.getAtsBranchToken(), QueryOptions.CONTAINS_MATCH_OPTIONS)) {
art.deleteAndPersist(transaction);
}
transaction.execute();
@@ -58,20 +62,22 @@ public class ConvertWorkflowStatesOperationTest {
XResultData rd = new XResultData(false);
ConvertWorkflowStatesOperation operation =
new ConvertWorkflowStatesOperation(fromStateToStateMap, workflows, persist, rd);
+ Operations.executeWorkAndCheckStatus(operation);
- operation.doWork(null);
Assert.assertEquals("Error: Must enter FromToState pairs\n", rd.toString());
fromStateToStateMap.put("Endor;se", "New\"StateName");
rd.clear();
- operation.doWork(null);
+
+ Operations.executeWorkAndCheckStatus(operation);
Assert.assertEquals("Should be two state name errors\n", 2, rd.getNumErrors());
fromStateToStateMap.clear();
fromStateToStateMap.put("Endorse", "NewStateName");
rd.clear();
- operation.doWork(null);
+
+ Operations.executeWorkAndCheckStatus(operation);
Assert.assertEquals("Error: No workflows entered\n", rd.toString());
}
@@ -98,7 +104,7 @@ public class ConvertWorkflowStatesOperationTest {
ConvertWorkflowStatesOperation operation =
new ConvertWorkflowStatesOperation(fromStateToStateMap, workflows, persist, rd);
- operation.doWork(null);
+ Operations.executeWorkAndCheckStatus(operation);
Assert.assertFalse(rd.isErrors());
Assert.assertEquals("NewEndorse;", teamWf.getSoleAttributeValue(AtsAttributeTypes.CurrentState, ""));
@@ -133,7 +139,7 @@ public class ConvertWorkflowStatesOperationTest {
ConvertWorkflowStatesOperation operation =
new ConvertWorkflowStatesOperation(fromStateToStateMap, workflows, persist, rd);
- operation.doWork(null);
+ Operations.executeWorkAndCheckStatus(operation);
Assert.assertFalse(rd.isErrors());
Assert.assertEquals("NewEndorse;", teamWf.getSoleAttributeValue(AtsAttributeTypes.CurrentState, ""));
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/note/AtsNoteTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/note/AtsNoteTest.java
index 5820009de6..0877a6c902 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/note/AtsNoteTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/note/AtsNoteTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.artifact.note;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.note;
import java.util.Date;
import org.eclipse.core.runtime.IStatus;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/note/NoteItemTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/note/NoteItemTest.java
index a4aa33a55e..947eb028cb 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/artifact/note/NoteItemTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/note/NoteItemTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.artifact.note;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.note;
import java.util.Arrays;
import java.util.Date;
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/note/NoteTestSuite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/note/NoteTestSuite.java
new file mode 100644
index 0000000000..42998b2b5b
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/note/NoteTestSuite.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 2007 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.note;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Donald G. Dunne
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({AtsNoteTest.class, NoteItemTest.class})
+public class NoteTestSuite {
+ // Test Suite
+}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/AtsCoreClient_Transition_PT_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/AtsCoreClient_Transition_Suite.java
index 2bcbf4c815..e91374e9bb 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/AtsCoreClient_Transition_PT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/AtsCoreClient_Transition_Suite.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.workflow.transition;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.transition;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
@@ -16,22 +16,20 @@ import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
-@RunWith(Suite.class)
-@Suite.SuiteClasses({TransitionManagerTest.class, StateManagerTest.class})
/**
- * This test suite contains tests that must be run against demo database as Plugin JUnit (PT)
- *
* @author Donald G. Dunne
*/
-public class AtsCoreClient_Transition_PT_Suite {
+@RunWith(Suite.class)
+@Suite.SuiteClasses({TransitionManagerTest.class, StateManagerTest.class})
+public class AtsCoreClient_Transition_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_Transition_PT_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsCoreClient_Transition_Suite.class.getSimpleName());
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_Transition_PT_Suite.class.getSimpleName());
+ System.out.println("End " + AtsCoreClient_Transition_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/MockTransitionHelper.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/MockTransitionHelper.java
index 6b729f48c8..4de771dbfa 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/MockTransitionHelper.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/MockTransitionHelper.java
@@ -8,18 +8,20 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.workflow.transition;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.transition;
import java.util.Collection;
import org.eclipse.osee.ats.api.user.IAtsUser;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.workflow.AbstractWorkflowArtifact;
+import org.eclipse.osee.ats.core.client.workflow.transition.TransitionHelper;
+import org.eclipse.osee.ats.core.client.workflow.transition.TransitionOption;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
/**
* Allows setting of workingBranchInWork and branchInCommit for testing purposes. If not set, uses default from
* TransitionHelper
- *
+ *
* @author Donald G. Dunne
*/
public class MockTransitionHelper extends TransitionHelper {
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/StateManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/StateManagerTest.java
index b819534de7..14be4b7711 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/StateManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/StateManagerTest.java
@@ -8,15 +8,18 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client.workflow.transition;
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.transition;
import java.util.Collections;
import junit.framework.Assert;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.core.client.workflow.HoursSpentUtil;
import org.eclipse.osee.ats.core.client.workflow.StateManager;
+import org.eclipse.osee.ats.core.client.workflow.transition.ITransitionHelper;
+import org.eclipse.osee.ats.core.client.workflow.transition.TransitionManager;
+import org.eclipse.osee.ats.core.client.workflow.transition.TransitionResults;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/TransitionManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/TransitionManagerTest.java
index c44bb187b7..8ca6ccb796 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/workflow/transition/TransitionManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/core/client/workflow/transition/TransitionManagerTest.java
@@ -1,7 +1,14 @@
-/**
- * @author Donald G. Dunne
- */
-package org.eclipse.osee.ats.core.client.workflow.transition;
+/*******************************************************************************
+ * Copyright (c) 2012 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.ats.core.client.workflow.transition;
import java.util.ArrayList;
import java.util.Arrays;
@@ -19,8 +26,9 @@ import org.eclipse.osee.ats.api.workdef.IStateToken;
import org.eclipse.osee.ats.api.workdef.ReviewBlockType;
import org.eclipse.osee.ats.api.workdef.RuleDefinitionOption;
import org.eclipse.osee.ats.api.workdef.WidgetOption;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
-import org.eclipse.osee.ats.core.client.AtsTestUtil.AtsTestUtilState;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil.AtsTestUtilState;
import org.eclipse.osee.ats.core.client.review.DecisionReviewArtifact;
import org.eclipse.osee.ats.core.client.review.DecisionReviewManager;
import org.eclipse.osee.ats.core.client.review.DecisionReviewState;
@@ -31,6 +39,12 @@ import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.core.client.util.AtsUtilCore;
import org.eclipse.osee.ats.core.client.workflow.AbstractWorkflowArtifact;
+import org.eclipse.osee.ats.core.client.workflow.transition.ITransitionListener;
+import org.eclipse.osee.ats.core.client.workflow.transition.TransitionAdapter;
+import org.eclipse.osee.ats.core.client.workflow.transition.TransitionHelper;
+import org.eclipse.osee.ats.core.client.workflow.transition.TransitionManager;
+import org.eclipse.osee.ats.core.client.workflow.transition.TransitionOption;
+import org.eclipse.osee.ats.core.client.workflow.transition.TransitionResults;
import org.eclipse.osee.ats.core.config.AtsVersionService;
import org.eclipse.osee.ats.core.workflow.transition.TransitionResult;
import org.eclipse.osee.ats.mocks.MockStateDefinition;
@@ -38,7 +52,6 @@ import org.eclipse.osee.framework.core.enums.SystemUser;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
-import org.eclipse.osee.support.test.util.DemoUsers;
import org.junit.AfterClass;
import org.junit.BeforeClass;
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/AtsTest_Editor_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/AtsTest_Editor_Suite.java
new file mode 100644
index 0000000000..8f3acc690d
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/AtsTest_Editor_Suite.java
@@ -0,0 +1,39 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.ats.editor;
+
+import org.eclipse.osee.ats.client.integration.tests.ats.editor.stateItem.AtsTest_Demo_StateItem_Suite;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Roberto E. Escobar
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({AtsTest_Demo_StateItem_Suite.class, SMAPrintTest.class})
+public class AtsTest_Editor_Suite {
+
+ @BeforeClass
+ public static void setUp() throws Exception {
+ OseeProperties.setIsInTest(true);
+ System.out.println("\n\nBegin " + AtsTest_Editor_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
+ }
+
+ @AfterClass
+ public static void tearDown() throws Exception {
+ System.out.println("End " + AtsTest_Editor_Suite.class.getSimpleName());
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/SMAPrintTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/SMAPrintTest.java
index 0c42c0a68e..296b4038ca 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/SMAPrintTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/SMAPrintTest.java
@@ -8,20 +8,21 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.editor;
+package org.eclipse.osee.ats.client.integration.tests.ats.editor;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
+import org.eclipse.osee.ats.client.demo.DemoArtifactTypes;
import org.eclipse.osee.ats.core.client.review.DecisionReviewArtifact;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
import org.eclipse.osee.ats.core.client.review.ReviewManager;
import org.eclipse.osee.ats.core.client.task.TaskArtifact;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
+import org.eclipse.osee.ats.editor.SMAPrint;
import org.eclipse.osee.ats.util.AtsUtil;
import org.eclipse.osee.framework.core.util.XResultData;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
import org.eclipse.osee.framework.ui.skynet.results.XResultDataUI;
-import org.eclipse.osee.support.test.util.DemoArtifactTypes;
import org.eclipse.osee.support.test.util.TestUtil;
import org.junit.Assert;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsDecisionReviewDecisionStateItemTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsDecisionReviewDecisionStateItemTest.java
index 1815d19d29..c4683981d6 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsDecisionReviewDecisionStateItemTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsDecisionReviewDecisionStateItemTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.editor.stateItem;
+package org.eclipse.osee.ats.client.integration.tests.ats.editor.stateItem;
import static org.junit.Assert.assertFalse;
import java.util.Collection;
@@ -16,11 +16,12 @@ import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.user.IAtsUser;
import org.eclipse.osee.ats.api.workdef.IAtsStateDefinition;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.review.DecisionReviewArtifact;
import org.eclipse.osee.ats.core.client.review.DecisionReviewManager;
import org.eclipse.osee.ats.core.client.review.DecisionReviewState;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
+import org.eclipse.osee.ats.editor.stateItem.AtsDecisionReviewDecisionStateItem;
import org.eclipse.osee.ats.mocks.MockStateDefinition;
import org.eclipse.osee.ats.util.AtsUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsDecisionReviewPrepareStateItemTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsDecisionReviewPrepareStateItemTest.java
index 4ca435d3e9..893527cb63 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsDecisionReviewPrepareStateItemTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsDecisionReviewPrepareStateItemTest.java
@@ -8,19 +8,20 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.editor.stateItem;
+package org.eclipse.osee.ats.client.integration.tests.ats.editor.stateItem;
import static org.junit.Assert.assertFalse;
import java.util.Arrays;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.workdef.IStateToken;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.review.DecisionReviewArtifact;
import org.eclipse.osee.ats.core.client.review.DecisionReviewManager;
import org.eclipse.osee.ats.core.client.review.DecisionReviewState;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionResults;
+import org.eclipse.osee.ats.editor.stateItem.AtsDecisionReviewPrepareStateItem;
import org.eclipse.osee.ats.util.AtsUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.artifact.ArtifactTypeManager;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsForceAssigneesToTeamLeadsStateItemTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsForceAssigneesToTeamLeadsStateItemTest.java
index 1ceea13ff6..8008f2cc96 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsForceAssigneesToTeamLeadsStateItemTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsForceAssigneesToTeamLeadsStateItemTest.java
@@ -8,19 +8,20 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.editor.stateItem;
+package org.eclipse.osee.ats.client.integration.tests.ats.editor.stateItem;
import static org.junit.Assert.assertFalse;
import java.util.Arrays;
import org.eclipse.osee.ats.api.workdef.IAtsStateDefinition;
import org.eclipse.osee.ats.api.workdef.IStateToken;
import org.eclipse.osee.ats.api.workdef.RuleDefinitionOption;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.ats.core.client.team.TeamState;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
+import org.eclipse.osee.ats.editor.stateItem.AtsForceAssigneesToTeamLeadsStateItem;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsPeerToPeerReviewPrepareStateItemTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsPeerToPeerReviewPrepareStateItemTest.java
index abcb3c5079..8ba8bef3e9 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsPeerToPeerReviewPrepareStateItemTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsPeerToPeerReviewPrepareStateItemTest.java
@@ -8,21 +8,22 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.editor.stateItem;
+package org.eclipse.osee.ats.client.integration.tests.ats.editor.stateItem;
import static org.junit.Assert.assertFalse;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.workdef.IAtsStateDefinition;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.demo.DemoActionableItems;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewState;
+import org.eclipse.osee.ats.editor.stateItem.AtsPeerToPeerReviewPrepareStateItem;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.artifact.ArtifactTypeManager;
import org.eclipse.osee.framework.ui.skynet.widgets.XComboDam;
-import org.eclipse.osee.support.test.util.DemoActionableItems;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Shell;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsPeerToPeerReviewReviewStateItemTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsPeerToPeerReviewReviewStateItemTest.java
index a26f683357..c11c3d9264 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/editor/stateItem/AtsPeerToPeerReviewReviewStateItemTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsPeerToPeerReviewReviewStateItemTest.java
@@ -8,13 +8,13 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.editor.stateItem;
+package org.eclipse.osee.ats.client.integration.tests.ats.editor.stateItem;
import static org.junit.Assert.assertFalse;
import java.util.Arrays;
import org.eclipse.osee.ats.api.user.IAtsUser;
import org.eclipse.osee.ats.api.workdef.IStateToken;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewArtifact;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewManager;
import org.eclipse.osee.ats.core.client.review.PeerToPeerReviewState;
@@ -22,6 +22,7 @@ import org.eclipse.osee.ats.core.client.review.role.Role;
import org.eclipse.osee.ats.core.client.review.role.UserRole;
import org.eclipse.osee.ats.core.client.review.role.UserRoleManager;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
+import org.eclipse.osee.ats.editor.stateItem.AtsPeerToPeerReviewReviewStateItem;
import org.eclipse.osee.ats.util.AtsUtil;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_StateItem_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsTest_Demo_StateItem_Suite.java
index e58d707e51..ce1dc2ebb9 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_StateItem_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/editor/stateItem/AtsTest_Demo_StateItem_Suite.java
@@ -8,14 +8,9 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats;
+package org.eclipse.osee.ats.client.integration.tests.ats.editor.stateItem;
-import org.eclipse.osee.ats.editor.stateItem.AtsDecisionReviewDecisionStateItemTest;
-import org.eclipse.osee.ats.editor.stateItem.AtsDecisionReviewPrepareStateItemTest;
-import org.eclipse.osee.ats.editor.stateItem.AtsForceAssigneesToTeamLeadsStateItemTest;
-import org.eclipse.osee.ats.editor.stateItem.AtsPeerToPeerReviewPrepareStateItemTest;
-import org.eclipse.osee.ats.editor.stateItem.AtsPeerToPeerReviewReviewStateItemTest;
-import org.eclipse.osee.ats.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@@ -24,11 +19,11 @@ import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
+ AtsDecisionReviewDecisionStateItemTest.class,
+ AtsDecisionReviewPrepareStateItemTest.class,
AtsForceAssigneesToTeamLeadsStateItemTest.class,
- AtsPeerToPeerReviewReviewStateItemTest.class,
AtsPeerToPeerReviewPrepareStateItemTest.class,
- AtsDecisionReviewDecisionStateItemTest.class,
- AtsDecisionReviewPrepareStateItemTest.class})
+ AtsPeerToPeerReviewReviewStateItemTest.class})
/**
* This test suite contains tests that must be run against demo database
*
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/health/AtsTest_Health_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/health/AtsTest_Health_Suite.java
new file mode 100644
index 0000000000..001067db6a
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/health/AtsTest_Health_Suite.java
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.ats.health;
+
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Roberto E. Escobar
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({AtsValidateAtsDatabaseTest.class})
+public class AtsTest_Health_Suite {
+
+ @BeforeClass
+ public static void setUp() throws Exception {
+ OseeProperties.setIsInTest(true);
+ System.out.println("\n\nBegin " + AtsTest_Health_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
+ }
+
+ @AfterClass
+ public static void tearDown() throws Exception {
+ System.out.println("End " + AtsTest_Health_Suite.class.getSimpleName());
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/health/AtsValidateAtsDatabaseTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/health/AtsValidateAtsDatabaseTest.java
index 2e30989f17..aee21c8ebd 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/health/AtsValidateAtsDatabaseTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/health/AtsValidateAtsDatabaseTest.java
@@ -8,12 +8,13 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.health;
+package org.eclipse.osee.ats.client.integration.tests.ats.health;
import static org.junit.Assert.fail;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.eclipse.osee.ats.core.client.config.AtsBulkLoad;
+import org.eclipse.osee.ats.health.ValidateAtsDatabase;
import org.eclipse.osee.framework.core.util.XResultData;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
import org.eclipse.osee.framework.ui.skynet.results.XResultDataUI;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsNavigateItemsToMassEditorTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsNavigateItemsToMassEditorTest.java
index 1437c35f79..3b3b770b1a 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsNavigateItemsToMassEditorTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsNavigateItemsToMassEditorTest.java
@@ -8,16 +8,16 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.navigate;
+package org.eclipse.osee.ats.client.integration.tests.ats.navigate;
import java.util.Collection;
import java.util.Collections;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.NavigateTestUtil;
import org.eclipse.osee.ats.core.config.TeamDefinitions;
import org.eclipse.osee.ats.task.TaskEditor;
-import org.eclipse.osee.ats.util.DemoTestUtil;
-import org.eclipse.osee.ats.util.NavigateTestUtil;
import org.eclipse.osee.ats.version.MassEditTeamVersionItem;
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
@@ -52,8 +52,7 @@ public class AtsNavigateItemsToMassEditorTest {
Assert.assertTrue(item instanceof MassEditTeamVersionItem);
MassEditTeamVersionItem massEditItem = ((MassEditTeamVersionItem) item);
- Collection<IAtsTeamDefinition> teamDefs =
- TeamDefinitions.getTeamDefinitions(Collections.singleton("SAW SW"));
+ Collection<IAtsTeamDefinition> teamDefs = TeamDefinitions.getTeamDefinitions(Collections.singleton("SAW SW"));
Assert.assertNotNull(teamDefs);
Assert.assertFalse(teamDefs.isEmpty());
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsNavigateItemsToTaskEditorTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsNavigateItemsToTaskEditorTest.java
index 3a2a6481e6..5c4c388cc9 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsNavigateItemsToTaskEditorTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsNavigateItemsToTaskEditorTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.navigate;
+package org.eclipse.osee.ats.client.integration.tests.ats.navigate;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
@@ -17,13 +17,14 @@ import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
+import org.eclipse.osee.ats.client.demo.DemoSawBuilds;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.NavigateTestUtil;
import org.eclipse.osee.ats.core.config.TeamDefinitions;
+import org.eclipse.osee.ats.navigate.SearchNavigateItem;
import org.eclipse.osee.ats.task.TaskEditor;
import org.eclipse.osee.ats.task.TaskXViewer;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.CustomizeDemoTableTestUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
-import org.eclipse.osee.ats.util.NavigateTestUtil;
import org.eclipse.osee.ats.world.search.TaskSearchWorldSearchItem;
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.core.enums.Active;
@@ -35,7 +36,6 @@ import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateComposite.TableLoadOption;
import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateItem;
import org.eclipse.osee.framework.ui.skynet.widgets.util.IDynamicWidgetLayoutListener;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
import org.eclipse.osee.support.test.util.TestUtil;
/**
@@ -151,7 +151,7 @@ public class AtsNavigateItemsToTaskEditorTest {
public void handleTableCustomization() {
// add all columns
- CustomizeDemoTableTestUtil cdialog = new CustomizeDemoTableTestUtil(getXViewer());
+ CustomizeTableDialog cdialog = new CustomizeTableDialog(getXViewer());
cdialog.createDialogArea(getSingleEditorOrFail().getTaskActionPage().getTaskComposite());
cdialog.handleAddAllItemButtonClick();
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsNavigateItemsToWorldViewTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsNavigateItemsToWorldViewTest.java
index 20e0adf082..bd4ba5fceb 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/navigate/AtsNavigateItemsToWorldViewTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsNavigateItemsToWorldViewTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.navigate;
+package org.eclipse.osee.ats.client.integration.tests.ats.navigate;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
@@ -27,20 +27,26 @@ import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
import org.eclipse.osee.ats.api.user.IAtsUser;
import org.eclipse.osee.ats.api.version.IAtsVersion;
+import org.eclipse.osee.ats.client.demo.DemoArtifactTypes;
+import org.eclipse.osee.ats.client.demo.DemoSawBuilds;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.client.integration.tests.ats.config.AtsBranchConfigurationTest;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.NavigateTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.WorldEditorUtil;
import org.eclipse.osee.ats.core.client.team.TeamState;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.core.config.ActionableItems;
import org.eclipse.osee.ats.core.config.AtsConfigCache;
import org.eclipse.osee.ats.core.config.TeamDefinitions;
import org.eclipse.osee.ats.editor.SMAEditor;
-import org.eclipse.osee.ats.internal.Activator;
+import org.eclipse.osee.ats.navigate.SearchNavigateItem;
+import org.eclipse.osee.ats.navigate.TeamWorkflowSearchWorkflowSearchItem;
+import org.eclipse.osee.ats.navigate.UserSearchWorkflowSearchItem;
+import org.eclipse.osee.ats.navigate.VisitedItems;
import org.eclipse.osee.ats.task.TaskEditor;
import org.eclipse.osee.ats.task.TaskEditorSimpleProvider;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.CustomizeDemoTableTestUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
-import org.eclipse.osee.ats.util.NavigateTestUtil;
-import org.eclipse.osee.ats.util.WorldEditorUtil;
import org.eclipse.osee.ats.world.WorldEditor;
import org.eclipse.osee.ats.world.WorldXViewer;
import org.eclipse.osee.ats.world.search.ActionableItemWorldSearchItem;
@@ -65,9 +71,6 @@ import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateComposite.TableLoadOption;
import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateItem;
import org.eclipse.osee.framework.ui.skynet.widgets.util.IDynamicWidgetLayoutListener;
-import org.eclipse.osee.support.test.util.DemoArtifactTypes;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
-import org.eclipse.osee.support.test.util.DemoUsers;
import org.eclipse.osee.support.test.util.TestUtil;
import org.eclipse.swt.widgets.TreeItem;
import org.junit.Ignore;
@@ -77,6 +80,14 @@ import org.junit.Ignore;
*/
public class AtsNavigateItemsToWorldViewTest {
+ private static enum AtsUserCommunity {
+ Program_1,
+ Program_2,
+ Tools,
+ Processes,
+ Other;
+ }
+
@org.junit.Test
public void testDemoDatabase() throws Exception {
SevereLoggingMonitor monitor = TestUtil.severeLoggingStart();
@@ -299,7 +310,7 @@ public class AtsNavigateItemsToWorldViewTest {
public void testOtherUsersWorld() throws Exception {
SevereLoggingMonitor monitor = TestUtil.severeLoggingStart();
- OseeLog.log(Activator.class, Level.INFO,
+ OseeLog.log(AtsBranchConfigurationTest.class, Level.INFO,
"Testing User's items relating to " + DemoTestUtil.getDemoUser(DemoUsers.Kay_Jones));
XNavigateItem item = NavigateTestUtil.getAtsNavigateItems("User's World").iterator().next();
runGeneralLoadingTest(item, AtsArtifactTypes.AbstractWorkflowArtifact, 12,
@@ -609,7 +620,7 @@ public class AtsNavigateItemsToWorldViewTest {
private void handleTableCustomization() {
// add all columns
- CustomizeDemoTableTestUtil cdialog = new CustomizeDemoTableTestUtil(getXViewer());
+ CustomizeTableDialog cdialog = new CustomizeTableDialog(getXViewer());
cdialog.createDialogArea(WorldEditorUtil.getSingleEditorOrFail().getWorldComposite());
cdialog.handleAddAllItemButtonClick();
}
diff --git a/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/AtsImpl_JT_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsTest_Navigate_Suite.java
index 7130e3a74b..564d82ba6a 100644
--- a/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/AtsImpl_JT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsTest_Navigate_Suite.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
+ * Copyright (c) 2012 Boeing.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -8,32 +8,34 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.impl.internal;
+package org.eclipse.osee.ats.client.integration.tests.ats.navigate;
-import org.eclipse.osee.ats.impl.internal.model.AtsCore_WorkDef_JT_Suite;
-import org.eclipse.osee.ats.impl.internal.query.AtsImpl_Query_Suite;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
-@RunWith(Suite.class)
-@Suite.SuiteClasses({AtsCore_WorkDef_JT_Suite.class, AtsImpl_Query_Suite.class})
/**
- * This test suite contains tests that can be run as stand-alone JUnit tests (JT)
- *
- * @author Donald G. Dunne
+ * @author Roberto E. Escobar
*/
-public class AtsImpl_JT_Suite {
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+ AtsNavigateItemsToMassEditorTest.class,
+ AtsNavigateItemsToTaskEditorTest.class,
+ AtsNavigateItemsToWorldViewTest.class})
+public class AtsTest_Navigate_Suite {
+
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsImpl_JT_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsTest_Navigate_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsImpl_JT_Suite.class.getSimpleName());
+ System.out.println("End " + AtsTest_Navigate_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/CustomizeDemoTableTestUtil.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/CustomizeTableDialog.java
index 3d4a5c94d8..d85ba87b31 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/CustomizeDemoTableTestUtil.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/CustomizeTableDialog.java
@@ -8,12 +8,11 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.util;
+package org.eclipse.osee.ats.client.integration.tests.ats.navigate;
import java.util.logging.Level;
import org.eclipse.nebula.widgets.xviewer.XViewer;
import org.eclipse.nebula.widgets.xviewer.customize.dialog.XViewerCustomizeDialog;
-import org.eclipse.osee.ats.internal.Activator;
import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
@@ -21,11 +20,11 @@ import org.eclipse.swt.widgets.Control;
/**
* @author Megumi Telles
*/
-public class CustomizeDemoTableTestUtil extends XViewerCustomizeDialog {
+public class CustomizeTableDialog extends XViewerCustomizeDialog {
public boolean DEBUG = false;
- public CustomizeDemoTableTestUtil(XViewer viewer) {
+ public CustomizeTableDialog(XViewer viewer) {
super(viewer);
}
@@ -35,7 +34,7 @@ public class CustomizeDemoTableTestUtil extends XViewerCustomizeDialog {
@Override
public Control createDialogArea(Composite parent) {
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "===> Simulating CustomizationView " + "\"...");
+ OseeLog.log(CustomizeTableDialog.class, Level.INFO, "===> Simulating CustomizationView " + "\"...");
}
return super.createDialogArea(parent);
}
@@ -45,7 +44,8 @@ public class CustomizeDemoTableTestUtil extends XViewerCustomizeDialog {
*/
public void handleAddAllItemButtonClick() {
if (DEBUG) {
- OseeLog.log(Activator.class, Level.INFO, "===> Simulating CustomizationView Add All Columns" + "\"...");
+ OseeLog.log(CustomizeTableDialog.class, Level.INFO,
+ "===> Simulating CustomizationView Add All Columns" + "\"...");
}
super.handleAddAllItem();
super.handleLoadConfigCust();
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/render/AtsTest_Renderer_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/render/AtsTest_Renderer_Suite.java
new file mode 100644
index 0000000000..250c41101c
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/render/AtsTest_Renderer_Suite.java
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.ats.render;
+
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Roberto E. Escobar
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({RendererManagerTest.class})
+public class AtsTest_Renderer_Suite {
+
+ @BeforeClass
+ public static void setUp() throws Exception {
+ OseeProperties.setIsInTest(true);
+ System.out.println("\n\nBegin " + AtsTest_Renderer_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
+ }
+
+ @AfterClass
+ public static void tearDown() throws Exception {
+ System.out.println("End " + AtsTest_Renderer_Suite.class.getSimpleName());
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/render/RendererManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/render/RendererManagerTest.java
index 1aba5f00c7..eabea02bde 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/render/RendererManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/render/RendererManagerTest.java
@@ -8,12 +8,12 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.render;
+package org.eclipse.osee.ats.client.integration.tests.ats.render;
import static org.eclipse.osee.ats.api.data.AtsArtifactTypes.Action;
-import static org.eclipse.osee.ats.render.RendererManagerTest.DefaultOption.Both;
-import static org.eclipse.osee.ats.render.RendererManagerTest.DefaultOption.Off;
-import static org.eclipse.osee.ats.render.RendererManagerTest.DefaultOption.On;
+import static org.eclipse.osee.ats.client.integration.tests.ats.render.RendererManagerTest.DefaultOption.Both;
+import static org.eclipse.osee.ats.client.integration.tests.ats.render.RendererManagerTest.DefaultOption.Off;
+import static org.eclipse.osee.ats.client.integration.tests.ats.render.RendererManagerTest.DefaultOption.On;
import static org.eclipse.osee.framework.core.enums.CoreArtifactTypes.Folder;
import static org.eclipse.osee.framework.core.enums.CoreArtifactTypes.GeneralDocument;
import static org.eclipse.osee.framework.core.enums.CoreArtifactTypes.SoftwareRequirement;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/Review_Demo_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/review/AtsTest_Review_Suite.java
index 555253b8c0..b9fe891779 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/Review_Demo_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/review/AtsTest_Review_Suite.java
@@ -8,10 +8,8 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats;
+package org.eclipse.osee.ats.client.integration.tests.ats.review;
-import org.eclipse.osee.ats.review.ReviewNavigateItemsToWorldViewTest;
-import org.eclipse.osee.ats.review.ReviewWorldSearchItemDemoTest;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@@ -25,15 +23,15 @@ import org.junit.runners.Suite;
*
* @author Donald G. Dunne
*/
-public class Review_Demo_Suite {
+public class AtsTest_Review_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + Review_Demo_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsTest_Review_Suite.class.getSimpleName());
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + Review_Demo_Suite.class.getSimpleName());
+ System.out.println("End " + AtsTest_Review_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/review/ReviewNavigateItemsToWorldViewTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/review/ReviewNavigateItemsToWorldViewTest.java
index 52ecec0ee7..cef6c46a3d 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/review/ReviewNavigateItemsToWorldViewTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/review/ReviewNavigateItemsToWorldViewTest.java
@@ -8,19 +8,21 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.review;
+package org.eclipse.osee.ats.client.integration.tests.ats.review;
import static org.junit.Assert.assertTrue;
import java.util.Collection;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.user.IAtsUser;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.NavigateTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.WorldEditorUtil;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.navigate.SearchNavigateItem;
import org.eclipse.osee.ats.navigate.VisitedItems;
-import org.eclipse.osee.ats.util.DemoTestUtil;
-import org.eclipse.osee.ats.util.MassEditorUtil;
-import org.eclipse.osee.ats.util.NavigateTestUtil;
-import org.eclipse.osee.ats.util.WorldEditorUtil;
+import org.eclipse.osee.ats.review.GenerateReviewParticipationReport;
+import org.eclipse.osee.ats.review.ReviewNavigateViewItems;
import org.eclipse.osee.ats.world.WorldEditor;
import org.eclipse.osee.ats.world.search.UserSearchItem;
import org.eclipse.osee.framework.core.data.IArtifactType;
@@ -28,7 +30,6 @@ import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateComposite.TableLoadOption;
import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateItem;
import org.eclipse.osee.framework.ui.skynet.artifact.massEditor.MassArtifactEditor;
-import org.eclipse.osee.support.test.util.DemoUsers;
/**
* Test case for @link {@link ReviewNavigateViewItems}
@@ -55,14 +56,17 @@ public class ReviewNavigateItemsToWorldViewTest {
@org.junit.Test
public void testOtherUsersWorld_KayJones() throws Exception {
XNavigateItem item = NavigateTestUtil.getAtsNavigateItems("User's Reviews").iterator().next();
- runGeneralLoadingTest(item, AtsArtifactTypes.PeerToPeerReview, 1, AtsUsersClient.getUserFromToken(DemoUsers.Kay_Jones));
+ runGeneralLoadingTest(item, AtsArtifactTypes.PeerToPeerReview, 1,
+ AtsUsersClient.getUserFromToken(DemoUsers.Kay_Jones));
}
@org.junit.Test
public void testOtherUsersWorld_JoeSmith() throws Exception {
XNavigateItem item = NavigateTestUtil.getAtsNavigateItems("User's Reviews").iterator().next();
- runGeneralLoadingTest(item, AtsArtifactTypes.DecisionReview, 2, AtsUsersClient.getUserFromToken(DemoUsers.Joe_Smith));
- runGeneralLoadingTest(item, AtsArtifactTypes.PeerToPeerReview, 2, AtsUsersClient.getUserFromToken(DemoUsers.Joe_Smith));
+ runGeneralLoadingTest(item, AtsArtifactTypes.DecisionReview, 2,
+ AtsUsersClient.getUserFromToken(DemoUsers.Joe_Smith));
+ runGeneralLoadingTest(item, AtsArtifactTypes.PeerToPeerReview, 2,
+ AtsUsersClient.getUserFromToken(DemoUsers.Joe_Smith));
}
@org.junit.Test
@@ -94,7 +98,7 @@ public class ReviewNavigateItemsToWorldViewTest {
item.run(TableLoadOption.ForcePend);
- MassArtifactEditor editor = MassEditorUtil.getSingleEditorOrFail();
+ MassArtifactEditor editor = getSingleEditorOrFail();
Collection<Artifact> arts = editor.getLoadedArtifacts();
NavigateTestUtil.testExpectedVersusActual(item.getName(), arts, AtsArtifactTypes.PeerToPeerReview, 2);
NavigateTestUtil.testExpectedVersusActual(item.getName(), arts, AtsArtifactTypes.DecisionReview, 3);
@@ -126,4 +130,10 @@ public class ReviewNavigateItemsToWorldViewTest {
return arts;
}
+ private static MassArtifactEditor getSingleEditorOrFail() {
+ // Retrieve results from opened editor and test
+ Collection<MassArtifactEditor> editors = MassArtifactEditor.getEditors();
+ assertTrue("Expecting 1 editor open, currently " + editors.size(), editors.size() == 1);
+ return editors.iterator().next();
+ }
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/review/ReviewWorldSearchItemDemoTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/review/ReviewWorldSearchItemDemoTest.java
index 4e37e5dca5..b536ed7d5f 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/review/ReviewWorldSearchItemDemoTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/review/ReviewWorldSearchItemDemoTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.review;
+package org.eclipse.osee.ats.client.integration.tests.ats.review;
import static org.junit.Assert.assertTrue;
import java.util.Arrays;
@@ -18,13 +18,14 @@ import java.util.Set;
import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.user.IAtsUser;
+import org.eclipse.osee.ats.client.demo.DemoUsers;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.NavigateTestUtil;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.core.config.ActionableItems;
import org.eclipse.osee.ats.navigate.VisitedItems;
-import org.eclipse.osee.ats.util.DemoTestUtil;
-import org.eclipse.osee.ats.util.NavigateTestUtil;
+import org.eclipse.osee.ats.review.ReviewWorldSearchItem;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-import org.eclipse.osee.support.test.util.DemoUsers;
/**
* Test Case for @link {@link ReviewWorldSearchItem}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/ImageManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AbstractImageManagerTest.java
index 44ce22174b..2ba2c3b448 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/ImageManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AbstractImageManagerTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.util;
+package org.eclipse.osee.ats.client.integration.tests.ats.util;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
@@ -20,7 +20,6 @@ import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;
import org.eclipse.core.runtime.Platform;
import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.osee.ats.internal.Activator;
import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
import org.eclipse.osee.framework.core.enums.CoreAttributeTypes;
import org.eclipse.osee.framework.core.exception.OseeArgumentException;
@@ -40,13 +39,16 @@ import org.eclipse.osee.framework.ui.swt.KeyedImage;
/**
* @author Donald G. Dunne
*/
-public abstract class ImageManagerTest {
+public abstract class AbstractImageManagerTest {
+
+ private static final String pluginId = "org.eclipse.osee.ats";
private final KeyedImage[] oseeImages;
private final String imageClassName;
+
private static SevereLoggingMonitor monitorLog;
- public ImageManagerTest(String imageClassName, KeyedImage[] oseeImages) {
+ public AbstractImageManagerTest(String imageClassName, KeyedImage[] oseeImages) {
this.imageClassName = imageClassName;
this.oseeImages = oseeImages;
}
@@ -112,8 +114,8 @@ public abstract class ImageManagerTest {
ArtifactCache.deCache(folder);
}
- public static ByteArrayInputStream getByteArrayInputStream(String imageFilename) throws Exception {
- URL imageFile = Platform.getBundle(Activator.PLUGIN_ID).getResource("images/" + imageFilename);
+ public ByteArrayInputStream getByteArrayInputStream(String imageFilename) throws Exception {
+ URL imageFile = Platform.getBundle(pluginId).getResource("images/" + imageFilename);
if (imageFile == null) {
throw new OseeArgumentException("Invalid image filename.");
}
@@ -131,12 +133,12 @@ public abstract class ImageManagerTest {
@Override
public ImageDescriptor createImageDescriptor() {
- return ImageManager.createImageDescriptor(Activator.PLUGIN_ID, "images", fileName);
+ return ImageManager.createImageDescriptor(pluginId, "images", fileName);
}
@Override
public String getImageKey() {
- return Activator.PLUGIN_ID + "." + fileName;
+ return pluginId + "." + fileName;
}
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsDeleteManagerTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsDeleteManagerTest.java
index bdb87b1511..ed25459c4e 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsDeleteManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsDeleteManagerTest.java
@@ -8,9 +8,9 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.util;
+package org.eclipse.osee.ats.client.integration.tests.ats.util;
-import static org.eclipse.osee.framework.core.enums.DeletionFlag.EXCLUDE_DELETED;
+import static org.eclipse.osee.framework.core.enums.DeletionFlag.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
@@ -20,7 +20,10 @@ import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.user.IAtsUser;
import org.eclipse.osee.ats.api.workdef.ReviewBlockType;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.demo.DemoActionableItems;
+import org.eclipse.osee.ats.client.demo.DemoArtifactTypes;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.ats.core.client.action.ActionManager;
import org.eclipse.osee.ats.core.client.review.DecisionReviewArtifact;
import org.eclipse.osee.ats.core.client.review.DecisionReviewManager;
@@ -29,7 +32,9 @@ import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
import org.eclipse.osee.ats.core.client.workflow.ChangeType;
import org.eclipse.osee.ats.core.config.ActionableItems;
+import org.eclipse.osee.ats.util.AtsDeleteManager;
import org.eclipse.osee.ats.util.AtsDeleteManager.DeleteOption;
+import org.eclipse.osee.ats.util.AtsUtil;
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.core.data.Named;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
@@ -39,8 +44,6 @@ import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
import org.eclipse.osee.framework.skynet.core.artifact.search.QueryOptions;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
-import org.eclipse.osee.support.test.util.DemoActionableItems;
-import org.eclipse.osee.support.test.util.DemoArtifactTypes;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsImageTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsImageTest.java
index 4bf50ed11c..841fc90ce4 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsImageTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsImageTest.java
@@ -8,14 +8,14 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.util;
+package org.eclipse.osee.ats.client.integration.tests.ats.util;
import org.eclipse.osee.ats.AtsImage;
/**
* @author Donald G. Dunne
*/
-public class AtsImageTest extends ImageManagerTest {
+public class AtsImageTest extends AbstractImageManagerTest {
public AtsImageTest() {
super("AtsImage", AtsImage.values());
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsCoreClient_Production_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsTest_Util_Suite.java
index df5f488a61..2443209539 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsCoreClient_Production_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsTest_Util_Suite.java
@@ -8,9 +8,9 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.core.client;
+package org.eclipse.osee.ats.client.integration.tests.ats.util;
-import org.eclipse.osee.ats.core.client.config.AtsCoreClient_Config_Production_PT_Suite;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@@ -18,21 +18,25 @@ import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
-@Suite.SuiteClasses({AtsCoreClient_Config_Production_PT_Suite.class})
+@Suite.SuiteClasses({
+ AtsDeleteManagerTest.class,
+ AtsImageTest.class,
+ AtsXWidgetsExampleBlamTest.class,
+ CreateActionUsingAllActionableItemsTest.class,
+ ImportActionsViaSpreadsheetTest.class})
/**
- * This test suite contains tests that must be run as PDE Junit (PT) through test launch config
- *
* @author Donald G. Dunne
*/
-public class AtsCoreClient_Production_Suite {
+public class AtsTest_Util_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_Production_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsTest_Util_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_Production_Suite.class.getSimpleName());
+ System.out.println("End " + AtsTest_Util_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsXWidgetsExampleBlamTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsXWidgetsExampleBlamTest.java
index f84b3034b3..aac8cb57f8 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsXWidgetsExampleBlamTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/AtsXWidgetsExampleBlamTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.util;
+package org.eclipse.osee.ats.client.integration.tests.ats.util;
import java.util.Map;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/CreateActionUsingAllActionableItemsTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/CreateActionUsingAllActionableItemsTest.java
index 26d2034afd..f1480364b7 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/CreateActionUsingAllActionableItemsTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/CreateActionUsingAllActionableItemsTest.java
@@ -3,11 +3,13 @@
*
* PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
*/
-package org.eclipse.osee.ats.util;
+package org.eclipse.osee.ats.client.integration.tests.ats.util;
import junit.framework.Assert;
import org.eclipse.osee.ats.core.client.action.ActionArtifact;
import org.eclipse.osee.ats.core.client.config.AtsBulkLoad;
+import org.eclipse.osee.ats.util.AtsUtil;
+import org.eclipse.osee.ats.util.CreateActionUsingAllActionableItems;
import org.eclipse.osee.framework.core.enums.DeletionFlag;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/ImportActionsViaSpreadsheetTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/ImportActionsViaSpreadsheetTest.java
index b715f3e168..ca42f05371 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/ImportActionsViaSpreadsheetTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/util/ImportActionsViaSpreadsheetTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.util;
+package org.eclipse.osee.ats.client.integration.tests.ats.util;
import static org.eclipse.osee.framework.core.enums.DeletionFlag.EXCLUDE_DELETED;
import static org.junit.Assert.assertFalse;
@@ -17,10 +17,11 @@ import java.util.Arrays;
import java.util.List;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.config.AtsBulkLoad;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.config.AtsVersionService;
+import org.eclipse.osee.ats.util.AtsUtil;
import org.eclipse.osee.ats.util.Import.ImportActionsViaSpreadsheetBlam;
import org.eclipse.osee.ats.util.Import.ImportActionsViaSpreadsheetBlam.ImportOption;
import org.eclipse.osee.framework.core.util.XResultData;
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/workflow/AtsTest_Workflow_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/workflow/AtsTest_Workflow_Suite.java
new file mode 100644
index 0000000000..fdf99a5b4e
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/workflow/AtsTest_Workflow_Suite.java
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.ats.workflow;
+
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Roberto E. Escobar
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({SMAPromptChangeStatusTest.class})
+public class AtsTest_Workflow_Suite {
+
+ @BeforeClass
+ public static void setUp() throws Exception {
+ OseeProperties.setIsInTest(true);
+ System.out.println("\n\nBegin " + AtsTest_Workflow_Suite.class.getSimpleName());
+ DemoTestUtil.setUpTest();
+ }
+
+ @AfterClass
+ public static void tearDown() throws Exception {
+ System.out.println("End " + AtsTest_Workflow_Suite.class.getSimpleName());
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/workflow/SMAPromptChangeStatusTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/workflow/SMAPromptChangeStatusTest.java
index e099afb999..cce08f9b58 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/workflow/SMAPromptChangeStatusTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/workflow/SMAPromptChangeStatusTest.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.workflow;
+package org.eclipse.osee.ats.client.integration.tests.ats.workflow;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
@@ -17,19 +17,23 @@ import java.util.Arrays;
import java.util.Collection;
import junit.framework.Assert;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.ats.core.client.task.TaskArtifact;
import org.eclipse.osee.ats.core.client.task.TaskStates;
import org.eclipse.osee.ats.core.client.team.TeamState;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
+import org.eclipse.osee.ats.core.client.workflow.AbstractWorkflowArtifact;
+import org.eclipse.osee.ats.core.client.workflow.AtsWorkStateFactory;
+import org.eclipse.osee.ats.core.client.workflow.HoursSpentUtil;
+import org.eclipse.osee.ats.core.client.workflow.PercentCompleteTotalUtil;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionHelper;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionManager;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionOption;
import org.eclipse.osee.ats.core.client.workflow.transition.TransitionResults;
+import org.eclipse.osee.ats.core.model.impl.WorkStateImpl;
import org.eclipse.osee.ats.editor.SMAPromptChangeStatus;
import org.eclipse.osee.ats.util.AtsUtil;
-import org.eclipse.osee.ats.util.DemoTestUtil;
-import org.eclipse.osee.ats.util.SMATestUtil;
import org.eclipse.osee.framework.core.util.Result;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
import org.eclipse.osee.framework.skynet.core.transaction.TransactionManager;
@@ -79,23 +83,23 @@ public class SMAPromptChangeStatusTest {
// Change two to 100, 1 hr split
SMAPromptChangeStatus.performChangeStatus(tasks, null, 1, 100, true, true);
- SMATestUtil.validateSMAs(tasks, TaskStates.InWork.getName(), 100, 0.25);
+ validateSMAs(tasks, TaskStates.InWork.getName(), 100, 0.25);
// Change two to 100, 1 hr split
// hours should be added to inwork state; make sure completed state isn't statused
SMAPromptChangeStatus.performChangeStatus(tasks, null, 1, 100, true, true);
- SMATestUtil.validateSMAs(tasks, TaskStates.InWork.getName(), 100, 0.50);
+ validateSMAs(tasks, TaskStates.InWork.getName(), 100, 0.50);
// Change two to 99, 1 hr split
// transitions to InWork and adds hours
// make sure hours not added to completed state
SMAPromptChangeStatus.performChangeStatus(tasks, null, 1, 99, true, true);
- SMATestUtil.validateSMAs(tasks, TaskStates.InWork.getName(), 99, 0.75);
+ validateSMAs(tasks, TaskStates.InWork.getName(), 99, 0.75);
// Change two to 55, 0
// no transition, no hours spent
SMAPromptChangeStatus.performChangeStatus(tasks, null, 0, 55, true, true);
- SMATestUtil.validateSMAs(tasks, TaskStates.InWork.getName(), 55, 0.75);
+ validateSMAs(tasks, TaskStates.InWork.getName(), 55, 0.75);
}
@@ -151,4 +155,33 @@ public class SMAPromptChangeStatusTest {
AtsTestUtil.cleanupSimpleTest(SMAPromptChangeStatusTest.class.getSimpleName());
}
+ private static void validateSMAs(Collection<? extends AbstractWorkflowArtifact> awas, String stateName, int totalPercent, double hoursSpent) throws Exception {
+ for (AbstractWorkflowArtifact awa : awas) {
+ Assert.assertEquals("Current State wrong for " + awa.getHumanReadableId(),
+ awa.getStateMgr().getCurrentStateName(), stateName);
+ if (awa.isCompletedOrCancelled()) {
+ Assert.assertEquals("ats.CurrentState wrong " + awa.getHumanReadableId(),
+ awa.getStateMgr().getCurrentStateName() + ";;;",
+ awa.getSoleAttributeValue(AtsAttributeTypes.CurrentState));
+ }
+ Assert.assertEquals("Percent wrong for " + awa.getHumanReadableId(),
+ PercentCompleteTotalUtil.getPercentCompleteTotal(awa), totalPercent);
+ Assert.assertEquals("Hours Spent wrong for " + awa.getHumanReadableId(),
+ HoursSpentUtil.getHoursSpentTotal(awa), hoursSpent, 0.0);
+
+ for (String xml : awa.getAttributesToStringList(AtsAttributeTypes.State)) {
+ WorkStateImpl state = AtsWorkStateFactory.getFromXml(xml);
+ boolean isCompletedCancelledState = isCompletedCancelledState(awa, state.getName());
+ if (isCompletedCancelledState) {
+ Assert.assertTrue("completed/cancelled ats.State [" + xml + "] wrong " + awa.getHumanReadableId(),
+ xml.endsWith(";;;"));
+ }
+ }
+ }
+ }
+
+ private static boolean isCompletedCancelledState(AbstractWorkflowArtifact aba, String stateName) {
+ return aba.getWorkDefinition().getStateByName(stateName).getStateType().isCompletedOrCancelledState();
+ }
+
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/world/search/AtsTest_Demo_World_Search_Suite.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/world/search/AtsTest_World_Search_Suite.java
index 295b8202fa..d3092ab892 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/world/search/AtsTest_Demo_World_Search_Suite.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/world/search/AtsTest_World_Search_Suite.java
@@ -1,7 +1,7 @@
-package org.eclipse.osee.ats.world.search;
+package org.eclipse.osee.ats.client.integration.tests.ats.world.search;
import static org.junit.Assert.assertTrue;
-import org.eclipse.osee.ats.util.DemoTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.util.DemoTestUtil;
import org.eclipse.osee.framework.core.client.ClientSessionManager;
import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
import org.junit.AfterClass;
@@ -14,7 +14,7 @@ import org.junit.runners.Suite;
/**
* @author Donald G. Dunne
*/
-public class AtsTest_Demo_World_Search_Suite {
+public class AtsTest_World_Search_Suite {
@BeforeClass
public static void setUp() throws Exception {
OseeProperties.setIsInTest(true);
@@ -22,12 +22,12 @@ public class AtsTest_Demo_World_Search_Suite {
ClientSessionManager.getAuthenticationProtocols().contains("demo"));
assertTrue("Client must authenticate using demo protocol",
ClientSessionManager.getSession().getAuthenticationProtocol().equals("demo"));
- System.out.println("\n\nBegin " + AtsTest_Demo_World_Search_Suite.class.getSimpleName());
+ System.out.println("\n\nBegin " + AtsTest_World_Search_Suite.class.getSimpleName());
DemoTestUtil.setUpTest();
}
@AfterClass
public static void tearDown() throws Exception {
- System.out.println("End " + AtsTest_Demo_World_Search_Suite.class.getSimpleName());
+ System.out.println("End " + AtsTest_World_Search_Suite.class.getSimpleName());
}
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/world/search/LegacyPcrIdQuickSearchTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/world/search/LegacyPcrIdQuickSearchTest.java
index 5366d072da..c18e942709 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/world/search/LegacyPcrIdQuickSearchTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/world/search/LegacyPcrIdQuickSearchTest.java
@@ -8,15 +8,15 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-
-package org.eclipse.osee.ats.world.search;
+package org.eclipse.osee.ats.client.integration.tests.ats.world.search;
import java.util.Arrays;
import java.util.Collection;
import junit.framework.Assert;
import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
+import org.eclipse.osee.ats.world.search.LegacyPcrIdQuickSearch;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/world/search/TeamDefinitionQuickSearchTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/world/search/TeamDefinitionQuickSearchTest.java
index 61d2ae5a23..beb90cc3c7 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/world/search/TeamDefinitionQuickSearchTest.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/world/search/TeamDefinitionQuickSearchTest.java
@@ -8,15 +8,16 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.world.search;
+package org.eclipse.osee.ats.client.integration.tests.ats.world.search;
import java.util.Arrays;
import java.util.Collection;
import junit.framework.Assert;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
-import org.eclipse.osee.ats.core.client.AtsTestUtil;
+import org.eclipse.osee.ats.client.integration.tests.ats.core.client.AtsTestUtil;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
import org.eclipse.osee.ats.core.config.AtsConfigCache;
+import org.eclipse.osee.ats.world.search.TeamDefinitionQuickSearch;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.junit.Test;
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DbInitTest.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DbInitTest.java
new file mode 100644
index 0000000000..f934a6defe
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DbInitTest.java
@@ -0,0 +1,76 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.client.integration.tests.util;
+
+import static org.junit.Assert.assertTrue;
+import java.util.List;
+import java.util.logging.Level;
+import org.eclipse.osee.ats.client.demo.DemoChoice;
+import org.eclipse.osee.framework.core.client.ClientSessionManager;
+import org.eclipse.osee.framework.core.exception.OseeStateException;
+import org.eclipse.osee.framework.database.init.DatabaseInitOpFactory;
+import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
+import org.eclipse.osee.framework.logging.OseeLog;
+import org.eclipse.osee.framework.logging.SevereLoggingMonitor;
+import org.eclipse.osee.framework.skynet.core.UserManager;
+import org.eclipse.osee.framework.ui.skynet.render.RenderingUtil;
+import org.eclipse.osee.support.test.util.TestUtil;
+import org.junit.Assert;
+import org.junit.BeforeClass;
+
+/**
+ * @author Donald G. Dunne
+ */
+public class DbInitTest {
+ private static boolean wasDbInitSuccessful = false;
+
+ @BeforeClass
+ public static void setup() throws Exception {
+ OseeProperties.setIsInTest(true);
+ assertTrue("Demo Application Server must be running",
+ ClientSessionManager.getAuthenticationProtocols().contains("demo"));
+ RenderingUtil.setPopupsAllowed(false);
+ }
+
+ @org.junit.Test
+ public void testDbInit() throws Exception {
+ System.out.println("\nBegin database initialization...");
+
+ List<String> protocols = ClientSessionManager.getAuthenticationProtocols();
+ Assert.assertTrue("Application Server must be running." + protocols, protocols.contains("demo"));
+
+ OseeLog.log(DbInitTest.class, Level.INFO, "Begin Database Initialization...");
+
+ SevereLoggingMonitor monitorLog = TestUtil.severeLoggingStart();
+ OseeLog.registerLoggerListener(monitorLog);
+
+ DatabaseInitOpFactory.executeWithoutPrompting(DemoChoice.ATS_CLIENT_DEMO);
+
+ TestUtil.severeLoggingEnd(monitorLog);
+ OseeLog.log(DbInitTest.class, Level.INFO, "Completed database initialization");
+ wasDbInitSuccessful = true;
+
+ if (wasDbInitSuccessful) {
+ TestUtil.setDbInitSuccessful(true);
+
+ // Re-authenticate so we can continue and NOT be bootstrap
+ ClientSessionManager.releaseSession();
+ ClientSessionManager.getSession();
+ UserManager.releaseUser();
+
+ if (UserManager.getUser().getUserId().equals("bootstrap")) {
+ throw new OseeStateException("Should not be bootstrap user here");
+ }
+ }
+
+ System.out.println("End database initialization...\n");
+ }
+}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/DemoTestUtil.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DemoTestUtil.java
index 6953ca6d37..76144774c4 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/DemoTestUtil.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/DemoTestUtil.java
@@ -8,9 +8,9 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.util;
+package org.eclipse.osee.ats.client.integration.tests.util;
-import static org.eclipse.osee.framework.core.enums.DeletionFlag.EXCLUDE_DELETED;
+import static org.eclipse.osee.framework.core.enums.DeletionFlag.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
@@ -23,6 +23,11 @@ import java.util.logging.Level;
import org.eclipse.osee.ats.api.ai.IAtsActionableItem;
import org.eclipse.osee.ats.api.data.AtsArtifactTypes;
import org.eclipse.osee.ats.api.team.IAtsTeamDefinition;
+import org.eclipse.osee.ats.client.demo.DemoActionableItems;
+import org.eclipse.osee.ats.client.demo.DemoArtifactTypes;
+import org.eclipse.osee.ats.client.demo.DemoSawBuilds;
+import org.eclipse.osee.ats.client.demo.DemoTeam;
+import org.eclipse.osee.ats.client.demo.DemoWorkType;
import org.eclipse.osee.ats.core.client.action.ActionManager;
import org.eclipse.osee.ats.core.client.task.TaskArtifact;
import org.eclipse.osee.ats.core.client.team.TeamWorkFlowArtifact;
@@ -31,7 +36,7 @@ import org.eclipse.osee.ats.core.client.workflow.ChangeType;
import org.eclipse.osee.ats.core.config.ActionableItems;
import org.eclipse.osee.ats.core.config.AtsConfigCache;
import org.eclipse.osee.ats.core.config.TeamDefinitions;
-import org.eclipse.osee.ats.internal.Activator;
+import org.eclipse.osee.ats.util.AtsUtil;
import org.eclipse.osee.framework.core.client.ClientSessionManager;
import org.eclipse.osee.framework.core.data.IUserToken;
import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
@@ -45,11 +50,6 @@ import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
import org.eclipse.osee.framework.skynet.core.artifact.search.ArtifactQuery;
import org.eclipse.osee.framework.skynet.core.artifact.search.QueryOptions;
import org.eclipse.osee.framework.skynet.core.transaction.SkynetTransaction;
-import org.eclipse.osee.support.test.util.DemoActionableItems;
-import org.eclipse.osee.support.test.util.DemoArtifactTypes;
-import org.eclipse.osee.support.test.util.DemoSawBuilds;
-import org.eclipse.osee.support.test.util.DemoTeam;
-import org.eclipse.osee.support.test.util.DemoWorkType;
import org.junit.Assert;
/**
@@ -212,7 +212,7 @@ public class DemoTestUtil {
"Authenticated user should be \"Joe Smith\" and is not. Check that Demo Application Server is being run.",
AtsUsersClient.getUser().getUserId().equals("Joe Smith"));
} catch (OseeAuthenticationException ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
+ OseeLog.log(DemoTestUtil.class, Level.SEVERE, ex);
Assert.fail("Can't authenticate, either Demo Application Server is not running or Demo DbInit has not been performed");
}
@@ -227,7 +227,7 @@ public class DemoTestUtil {
String name = team.name().replaceAll("_", " ");
return AtsConfigCache.instance.getSoleByName(name, IAtsTeamDefinition.class);
} catch (Exception ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
+ OseeLog.log(DemoTestUtil.class, Level.SEVERE, ex);
}
return null;
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/NavigateTestUtil.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/NavigateTestUtil.java
index 0dafbdd3bc..4f5b2678ca 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/NavigateTestUtil.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/NavigateTestUtil.java
@@ -8,12 +8,11 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.util;
+package org.eclipse.osee.ats.client.integration.tests.util;
import java.util.ArrayList;
import java.util.Collection;
import java.util.logging.Level;
-import org.eclipse.osee.ats.internal.Activator;
import org.eclipse.osee.ats.navigate.AtsNavigateViewItems;
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.jdk.core.type.HashCollection;
@@ -114,14 +113,14 @@ public final class NavigateTestUtil {
public static void compare(int expectedNumOfType, int actualNumOfType, String expectedStr) {
if (expectedNumOfType != actualNumOfType) {
- OseeLog.log(Activator.class, Level.SEVERE, expectedStr, null);
+ OseeLog.log(NavigateTestUtil.class, Level.SEVERE, expectedStr, null);
}
Assert.assertTrue(expectedStr, actualNumOfType == expectedNumOfType);
}
public static void compare(boolean expectedCond, boolean actualCond, String expectedStr) {
if (expectedCond != actualCond) {
- OseeLog.log(Activator.class, Level.SEVERE, expectedStr, null);
+ OseeLog.log(NavigateTestUtil.class, Level.SEVERE, expectedStr, null);
}
Assert.assertTrue(expectedStr, expectedCond == actualCond);
}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/WorldEditorUtil.java b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/WorldEditorUtil.java
index 06f9d40bbb..90bff5c2cb 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/WorldEditorUtil.java
+++ b/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/util/WorldEditorUtil.java
@@ -8,7 +8,7 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.util;
+package org.eclipse.osee.ats.client.integration.tests.util;
import static org.junit.Assert.assertTrue;
import java.util.Collection;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ats.core.client.test/META-INF/MANIFEST.MF
index 8d2db26e41..ddca80cdc0 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.osee.ats.core.client.test/META-INF/MANIFEST.MF
@@ -6,7 +6,10 @@ Bundle-Version: 0.11.0.qualifier
Bundle-Vendor: Eclipse Open System Engineering Environment
Fragment-Host: org.eclipse.osee.ats.core.client
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Require-Bundle: org.junit;bundle-version="4.8.1"
+Require-Bundle: org.junit,
+ org.mockito;bundle-version="1.9.0",
+ org.hamcrest.core,
+ org.objenesis
Export-Package: org.eclipse.osee.ats.core.client,
org.eclipse.osee.ats.core.client.validator
Import-Package: org.eclipse.osee.ats.core.validator,
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/pom.xml b/plugins/org.eclipse.osee.ats.core.client.test/pom.xml
new file mode 100644
index 0000000000..b703ca9622
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.core.client.test/pom.xml
@@ -0,0 +1,31 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.osee</groupId>
+ <artifactId>org.eclipse.osee.ats.parent</artifactId>
+ <version>0.11.0-SNAPSHOT</version>
+ <relativePath>../../plugins/org.eclipse.osee.ats.parent</relativePath>
+ </parent>
+
+ <artifactId>org.eclipse.osee.ats.core.client.test</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <name>OSEE ATS Core Client Test (Incubation)</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <testSuite>org.eclipse.osee.ats.core.client.test</testSuite>
+ <testClass>org.eclipse.osee.ats.core.client.AllAtsCoreClientTestSuite</testClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project> \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/query/AtsImpl_Query_Suite.java b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AllAtsCoreClientTestSuite.java
index 0e40420a52..538fef7697 100644
--- a/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/query/AtsImpl_Query_Suite.java
+++ b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AllAtsCoreClientTestSuite.java
@@ -8,28 +8,19 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.ats.impl.internal.query;
+package org.eclipse.osee.ats.core.client;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
+import org.eclipse.osee.ats.core.client.review.ReviewTestSuite;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
-@Suite.SuiteClasses({AtsQueryTest.class})
+@Suite.SuiteClasses({ReviewTestSuite.class})
/**
* This test suite contains tests that can be run as stand-alone JUnit tests (JT)
*
* @author Donald G. Dunne
*/
-public class AtsImpl_Query_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- System.out.println("\n\nBegin " + AtsImpl_Query_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsImpl_Query_Suite.class.getSimpleName());
- }
+public class AllAtsCoreClientTestSuite {
+ // Test Suite
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsCoreClient_PT_Suite.java b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsCoreClient_PT_Suite.java
deleted file mode 100644
index 812dbe374d..0000000000
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/AtsCoreClient_PT_Suite.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.ats.core.client;
-
-import org.eclipse.osee.ats.core.client.notify.AtsCoreClient_Notify_PT_Suite;
-import org.eclipse.osee.ats.core.client.operation.AtsCoreClient_Operation_PT_Suite;
-import org.eclipse.osee.ats.core.client.review.AtsCoreClient_Review_PT_Suite;
-import org.eclipse.osee.ats.core.client.task.AtsCoreClient_Task_PT_Suite;
-import org.eclipse.osee.ats.core.client.util.AtsCoreClient_Util_PT_Suite;
-import org.eclipse.osee.ats.core.client.workflow.AtsCoreClient_Workflow_PT_Suite;
-import org.eclipse.osee.ats.core.client.workflow.transition.AtsCoreClient_Transition_PT_Suite;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-
-@RunWith(Suite.class)
-@Suite.SuiteClasses({
- AtsCoreClient_Transition_PT_Suite.class,
- AtsTestUtilTest.class,
- AtsCoreClient_Util_PT_Suite.class,
- AtsCoreClient_Workflow_PT_Suite.class,
- AtsCoreClient_Notify_PT_Suite.class,
- AtsCoreClient_Operation_PT_Suite.class,
- AtsCoreClient_Review_PT_Suite.class,
- AtsCoreClient_Task_PT_Suite.class,})
-/**
- * This test suite contains tests that must be run as PDE Junit (PT) through test launch config
- *
- * @author Donald G. Dunne
- */
-public class AtsCoreClient_PT_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_PT_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_PT_Suite.class.getSimpleName());
- }
-}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/AtsCoreClient_Review_JT_Suite.java b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/ReviewTestSuite.java
index 30c990bd48..d369988f3a 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/AtsCoreClient_Review_JT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/ReviewTestSuite.java
@@ -14,32 +14,20 @@ import org.eclipse.osee.ats.core.client.review.defect.AtsXDefectValidatorTest;
import org.eclipse.osee.ats.core.client.review.defect.ReviewDefectItemTest;
import org.eclipse.osee.ats.core.client.review.role.AtsXUserRoleValidatorTest;
import org.eclipse.osee.ats.core.client.review.role.UserRoleTest;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
- ReviewDefectItemTest.class,
AtsXDefectValidatorTest.class,
- UserRoleTest.class,
- AtsXUserRoleValidatorTest.class})
+ ReviewDefectItemTest.class,
+ AtsXUserRoleValidatorTest.class,
+ UserRoleTest.class})
/**
* This test suite contains tests that must be run against demo database as Plugin JUnit (PT)
*
* @author Donald G. Dunne
*/
-public class AtsCoreClient_Review_JT_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_Review_JT_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_Review_JT_Suite.class.getSimpleName());
- }
+public class ReviewTestSuite {
+ // TestSuite
}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/AtsXDefectValidatorTest.java b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/AtsXDefectValidatorTest.java
index 97099388b6..f6cad7c9fc 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/AtsXDefectValidatorTest.java
+++ b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/AtsXDefectValidatorTest.java
@@ -20,7 +20,6 @@ import org.eclipse.osee.ats.api.workdef.WidgetStatus;
import org.eclipse.osee.ats.core.client.review.defect.ReviewDefectItem.Disposition;
import org.eclipse.osee.ats.core.client.review.defect.ReviewDefectItem.InjectionActivity;
import org.eclipse.osee.ats.core.client.review.defect.ReviewDefectItem.Severity;
-import org.eclipse.osee.ats.core.validator.ValidatorTestUtil;
import org.eclipse.osee.ats.mocks.MockStateDefinition;
import org.eclipse.osee.ats.mocks.MockWidgetDefinition;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/MockValueProvider.java b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/MockValueProvider.java
new file mode 100644
index 0000000000..9b72ed0b03
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/MockValueProvider.java
@@ -0,0 +1,55 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.core.client.review.defect;
+
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Date;
+import org.eclipse.osee.ats.core.validator.IValueProvider;
+
+/**
+ * @author Donald G. Dunne
+ */
+public class MockValueProvider implements IValueProvider {
+
+ private final Collection<String> values;
+ private final String name;
+
+ public MockValueProvider(Collection<String> values) {
+ this("test", values);
+ }
+
+ public MockValueProvider(String name, Collection<String> values) {
+ this.name = name;
+ this.values = values;
+ }
+
+ @Override
+ public String getName() {
+ return name;
+ }
+
+ @Override
+ public boolean isEmpty() {
+ return values.isEmpty();
+ }
+
+ @Override
+ public Collection<String> getValues() {
+ return values;
+ }
+
+ @Override
+ public Collection<Date> getDateValues() {
+ return Collections.emptyList();
+ }
+
+}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/ValidatorTestUtil.java b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/ValidatorTestUtil.java
new file mode 100644
index 0000000000..dd78e5ba3f
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/defect/ValidatorTestUtil.java
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.core.client.review.defect;
+
+import java.util.ArrayList;
+import org.eclipse.osee.ats.api.workdef.WidgetResult;
+import org.eclipse.osee.ats.api.workdef.WidgetStatus;
+import org.junit.Assert;
+
+/**
+ * @author Donald G. Dunne
+ */
+public class ValidatorTestUtil {
+
+ public static MockValueProvider emptyValueProvider = new MockValueProvider(new ArrayList<String>());
+
+ public static void assertValidResult(WidgetResult result) {
+ Assert.assertEquals(WidgetStatus.Valid, result.getStatus());
+ Assert.assertNull(result.getWidgetDef());
+ Assert.assertEquals(WidgetStatus.Valid.name(), result.getDetails());
+ }
+
+}
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/role/AtsXUserRoleValidatorTest.java b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/role/AtsXUserRoleValidatorTest.java
index 8c49649eef..f8716a6f44 100644
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/role/AtsXUserRoleValidatorTest.java
+++ b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/review/role/AtsXUserRoleValidatorTest.java
@@ -17,7 +17,7 @@ import org.eclipse.osee.ats.api.workdef.StateType;
import org.eclipse.osee.ats.api.workdef.WidgetOption;
import org.eclipse.osee.ats.api.workdef.WidgetResult;
import org.eclipse.osee.ats.api.workdef.WidgetStatus;
-import org.eclipse.osee.ats.core.validator.ValidatorTestUtil;
+import org.eclipse.osee.ats.core.client.review.defect.ValidatorTestUtil;
import org.eclipse.osee.ats.mocks.MockStateDefinition;
import org.eclipse.osee.ats.mocks.MockWidgetDefinition;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
diff --git a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/task/AtsCoreClient_Task_PT_Suite.java b/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/task/AtsCoreClient_Task_PT_Suite.java
deleted file mode 100644
index 7729f85eed..0000000000
--- a/plugins/org.eclipse.osee.ats.core.client.test/src/org/eclipse/osee/ats/core/client/task/AtsCoreClient_Task_PT_Suite.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.ats.core.client.task;
-
-import org.eclipse.osee.ats.core.client.task.createTasks.CreateTasksOperationTest;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-
-@RunWith(Suite.class)
-@Suite.SuiteClasses({TaskManagerTest.class, CreateTasksOperationTest.class})
-/**
- * This test suite contains tests that must be run against demo database as Plugin JUnit (PT)
- *
- * @author Donald G. Dunne
- */
-public class AtsCoreClient_Task_PT_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCoreClient_Task_PT_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsCoreClient_Task_PT_Suite.class.getSimpleName());
- }
-}
diff --git a/plugins/org.eclipse.osee.ats.core.client/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ats.core.client/META-INF/MANIFEST.MF
index 9a51ca2993..78b70957b7 100644
--- a/plugins/org.eclipse.osee.ats.core.client/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.osee.ats.core.client/META-INF/MANIFEST.MF
@@ -86,6 +86,7 @@ Export-Package: org.eclipse.osee.ats.core.client.access,
org.eclipse.osee.ats.core.client.review.defect,
org.eclipse.osee.ats.core.client.review.role,
org.eclipse.osee.ats.core.client.task,
+ org.eclipse.osee.ats.core.client.task.createtasks,
org.eclipse.osee.ats.core.client.team,
org.eclipse.osee.ats.core.client.util,
org.eclipse.osee.ats.core.client.validator,
diff --git a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/notify/AtsNotificationManager.java b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/notify/AtsNotificationManager.java
index 6f1307b7d0..3eccedb77b 100644
--- a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/notify/AtsNotificationManager.java
+++ b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/notify/AtsNotificationManager.java
@@ -177,7 +177,7 @@ public class AtsNotificationManager {
return AtsNotificationManager.inTest;
}
- protected static void setInTest(boolean inTest) {
+ public static void setInTest(boolean inTest) {
AtsNotificationManager.inTest = inTest;
}
}
diff --git a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/workflow/StateManager.java b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/workflow/StateManager.java
index aabc421585..e89bcb81a4 100644
--- a/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/workflow/StateManager.java
+++ b/plugins/org.eclipse.osee.ats.core.client/src/org/eclipse/osee/ats/core/client/workflow/StateManager.java
@@ -66,6 +66,7 @@ import org.eclipse.osee.framework.skynet.core.artifact.search.QueryOptions;
public class StateManager implements IAtsNotificationListener, WorkStateProvider, WorkStateFactory {
private final AbstractWorkflowArtifact awa;
+
private static List<String> allValidStateNames = null;
private WorkStateProvider stateProvider = null;
private int loadTransactionNumber;
diff --git a/plugins/org.eclipse.osee.ats.core.test/pom.xml b/plugins/org.eclipse.osee.ats.core.test/pom.xml
new file mode 100644
index 0000000000..2ef2eca96a
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.core.test/pom.xml
@@ -0,0 +1,31 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.osee</groupId>
+ <artifactId>org.eclipse.osee.ats.parent</artifactId>
+ <version>0.11.0-SNAPSHOT</version>
+ <relativePath>../../plugins/org.eclipse.osee.ats.parent</relativePath>
+ </parent>
+
+ <artifactId>org.eclipse.osee.ats.core.test</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <name>OSEE ATS Core Test (Incubation)</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <testSuite>org.eclipse.osee.ats.core.test</testSuite>
+ <testClass>org.eclipse.osee.ats.core.AllAtsCoreTestSuite</testClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project> \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/AtsCore_JT_Suite.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/AllAtsCoreTestSuite.java
index 6c89b4d921..1f96b39382 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/AtsCore_JT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/AllAtsCoreTestSuite.java
@@ -17,11 +17,7 @@ import org.eclipse.osee.ats.core.users.AtsCore_Users_JT_Suite;
import org.eclipse.osee.ats.core.util.AtsCore_Util_JT_Suite;
import org.eclipse.osee.ats.core.validator.AtsCore_Validator_JT_Suite;
import org.eclipse.osee.ats.core.workdef.AtsCore_WorkDef_JT_Suite;
-import org.eclipse.osee.ats.core.workdef.provider.AtsCore_WorkDefProvider_JT_Suite;
import org.eclipse.osee.ats.core.workflow.AtsCore_Workflow_JT_Suite;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -29,27 +25,17 @@ import org.junit.runners.Suite;
@Suite.SuiteClasses({
AtsCore_Column_JT_Suite.class,
AtsCore_ModelImpl_JT_Suite.class,
- AtsCore_Util_JT_Suite.class,
- AtsCore_WorkDef_JT_Suite.class,
AtsCore_Transition_JT_Suite.class,
- AtsCore_WorkDefProvider_JT_Suite.class,
+ AtsCore_Util_JT_Suite.class,
AtsCore_Users_JT_Suite.class,
AtsCore_Validator_JT_Suite.class,
+ AtsCore_WorkDef_JT_Suite.class,
AtsCore_Workflow_JT_Suite.class})
/**
* This test suite contains tests that can be run as stand-alone JUnit tests (JT)
*
* @author Donald G. Dunne
*/
-public class AtsCore_JT_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCore_JT_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsCore_JT_Suite.class.getSimpleName());
- }
+public class AllAtsCoreTestSuite {
+ // Test Suite
}
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/config/internal/TeamDefinitionTest.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/config/internal/TeamDefinitionTest.java
new file mode 100644
index 0000000000..2fd485fca5
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/config/internal/TeamDefinitionTest.java
@@ -0,0 +1,56 @@
+/*******************************************************************************
+ * Copyright (c) 2012 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.core.config.internal;
+
+import junit.framework.Assert;
+import org.eclipse.osee.framework.core.exception.OseeCoreException;
+import org.junit.Test;
+
+/**
+ * Test case for {@link TeamDefinition}
+ *
+ * @author Donald G. Dunne
+ */
+public class TeamDefinitionTest {
+
+ @Test
+ public void testGetTeamDefinitionHoldingVersions() throws OseeCoreException {
+ TeamDefinition teamDef1 = new TeamDefinition("Team Def 1", "td1guid", "ADSF");
+
+ TeamDefinition teamDef1_child1 = new TeamDefinition("Team Def 1_1", "td1_1guid", "ADSF");
+ teamDef1_child1.setParentTeamDef(teamDef1);
+
+ Assert.assertNull(teamDef1.getTeamDefinitionHoldingVersions());
+ Assert.assertNull(teamDef1_child1.getTeamDefinitionHoldingVersions());
+
+ teamDef1.getVersions().add(new Version("ver1", "ver1guid", "ASDF"));
+
+ Assert.assertEquals(teamDef1, teamDef1.getTeamDefinitionHoldingVersions());
+ Assert.assertEquals(teamDef1, teamDef1_child1.getTeamDefinitionHoldingVersions());
+ }
+
+ @Test
+ public void testIsTeamUsesVersions() throws OseeCoreException {
+ TeamDefinition teamDef1 = new TeamDefinition("Team Def 1", "td1guid", "ADSF");
+
+ TeamDefinition teamDef1_child1 = new TeamDefinition("Team Def 1_1", "td1_1guid", "ADSF");
+ teamDef1_child1.setParentTeamDef(teamDef1);
+
+ Assert.assertFalse(teamDef1.isTeamUsesVersions());
+ Assert.assertFalse(teamDef1_child1.isTeamUsesVersions());
+
+ teamDef1.getVersions().add(new Version("ver1", "ver1guid", "ASDF"));
+
+ Assert.assertTrue(teamDef1.isTeamUsesVersions());
+ Assert.assertTrue(teamDef1_child1.isTeamUsesVersions());
+ }
+
+}
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/model/impl/AtsCore_ModelImpl_JT_Suite.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/model/impl/AtsCore_ModelImpl_JT_Suite.java
index 60d0c42c31..79657b0e4e 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/model/impl/AtsCore_ModelImpl_JT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/model/impl/AtsCore_ModelImpl_JT_Suite.java
@@ -10,9 +10,6 @@
*******************************************************************************/
package org.eclipse.osee.ats.core.model.impl;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -28,14 +25,5 @@ import org.junit.runners.Suite;
* @author Donald G. Dunne
*/
public class AtsCore_ModelImpl_JT_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCore_ModelImpl_JT_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsCore_ModelImpl_JT_Suite.class.getSimpleName());
- }
+ // Test Suite
}
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/model/impl/WorkStateProviderImplTest.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/model/impl/WorkStateProviderImplTest.java
index befd23c0d7..5510826a97 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/model/impl/WorkStateProviderImplTest.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/model/impl/WorkStateProviderImplTest.java
@@ -19,24 +19,27 @@ import org.eclipse.osee.ats.core.users.UnAssigned;
import org.eclipse.osee.framework.core.exception.OseeArgumentException;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.exception.OseeStateException;
+import org.junit.Before;
import org.junit.Test;
/**
* @author Donald G. Dunne
*/
public class WorkStateProviderImplTest {
+
private final MockAtsUser joe = new MockAtsUser("joe");
private final MockAtsUser steve = new MockAtsUser("steve");
private final MockAtsUser alice = new MockAtsUser("alice");
- @Test
- public void testWorkStateProviderImplWorkStateFactory() {
- new WorkStateProviderImpl(new MockWorkStateFactory());
+ private WorkStateProviderImpl provider;
+
+ @Before
+ public void setup() {
+ provider = new WorkStateProviderImpl(new MockWorkStateFactory());
}
@Test
public void testSetNotificationListener() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.setNotificationListener(new IAtsNotificationListener() {
@@ -56,7 +59,6 @@ public class WorkStateProviderImplTest {
@Test
public void testAddAssignee() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
@@ -79,7 +81,6 @@ public class WorkStateProviderImplTest {
@Test(expected = OseeArgumentException.class)
public void testAddAssignee_exception() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
@@ -88,7 +89,6 @@ public class WorkStateProviderImplTest {
@Test
public void testSetAssignee() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
@@ -115,7 +115,6 @@ public class WorkStateProviderImplTest {
@Test
public void testSetAssignee_removeUnassigned() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
@@ -129,16 +128,14 @@ public class WorkStateProviderImplTest {
}
@Test
- public void testAddState_exception() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
+ public void testAddState_exception() {
provider.addState(new WorkStateImpl("endorse"));
provider.addState(new WorkStateImpl("endorse"), false);
}
@Test
- public void testAddState_exception2() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
+ public void testAddState_exception2() {
provider.addState(new WorkStateImpl("endorse"));
provider.addState("endorse", new LinkedList<IAtsUser>(), 34, 23, false);
@@ -146,7 +143,6 @@ public class WorkStateProviderImplTest {
@Test(expected = OseeArgumentException.class)
public void testSetAssignee_exception() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
@@ -155,7 +151,6 @@ public class WorkStateProviderImplTest {
@Test
public void testIsUnAssigned() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
Assert.assertFalse(provider.isUnAssigned());
@@ -165,7 +160,6 @@ public class WorkStateProviderImplTest {
@Test
public void testIsUnAssignedSolely() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
Assert.assertFalse(provider.isUnAssignedSolely());
@@ -179,7 +173,6 @@ public class WorkStateProviderImplTest {
@Test
public void testGetAssigneesStrString() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.addAssignee(steve);
@@ -193,7 +186,6 @@ public class WorkStateProviderImplTest {
@Test
public void testAddAssignees() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.addAssignees(Arrays.asList(joe, alice));
@@ -202,7 +194,6 @@ public class WorkStateProviderImplTest {
@Test
public void testAddAssignees_state() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.addAssignees("endorse", Arrays.asList(joe, alice));
@@ -211,7 +202,6 @@ public class WorkStateProviderImplTest {
@Test
public void testSetAssigneesIAtsUser() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.setAssignee(joe);
@@ -222,7 +212,6 @@ public class WorkStateProviderImplTest {
@Test
public void testSetAssigneeStringIAtsUser() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.setAssignee("endorse", joe);
@@ -233,7 +222,6 @@ public class WorkStateProviderImplTest {
@Test
public void testSetAssigneesListOfQextendsIAtsUser() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.addAssignees(Arrays.asList(joe, alice));
@@ -244,7 +232,6 @@ public class WorkStateProviderImplTest {
@Test
public void testSetAssigneesStringListOfQextendsIAtsUser() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.setAssignee("endorse", joe);
@@ -255,7 +242,6 @@ public class WorkStateProviderImplTest {
@Test
public void testRemoveAssigneeIAtsUser() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.setAssignees("endorse", Arrays.asList(joe, alice));
@@ -266,7 +252,6 @@ public class WorkStateProviderImplTest {
@Test
public void testClearAssignees() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.setAssignees("endorse", Arrays.asList(joe, alice));
@@ -276,8 +261,7 @@ public class WorkStateProviderImplTest {
}
@Test
- public void testIsStateVisited() throws OseeArgumentException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
+ public void testIsStateVisited() {
Assert.assertFalse(provider.isStateVisited("endorse"));
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
@@ -288,8 +272,7 @@ public class WorkStateProviderImplTest {
}
@Test
- public void testCreateState() throws OseeArgumentException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
+ public void testCreateState() {
provider.createState("endorse");
Assert.assertTrue(provider.isStateVisited("endorse"));
provider.createState("endorse");
@@ -297,8 +280,7 @@ public class WorkStateProviderImplTest {
}
@Test
- public void testAddStateStringListOfQextendsIAtsUserDoubleInt() throws OseeArgumentException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
+ public void testAddStateStringListOfQextendsIAtsUserDoubleInt() {
provider.addState("endorse", Arrays.asList(joe), 4.2, 4);
Assert.assertTrue(provider.isStateVisited("endorse"));
Assert.assertEquals(1, provider.getVisitedStateNames().size());
@@ -309,13 +291,11 @@ public class WorkStateProviderImplTest {
@Test(expected = OseeStateException.class)
public void testGetAssigneesForState() throws OseeStateException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.getAssignees();
}
@Test
- public void testAddStateWorkState() throws OseeArgumentException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
+ public void testAddStateWorkState() {
provider.addState("endorse", Arrays.asList(joe));
Assert.assertTrue(provider.isStateVisited("endorse"));
Assert.assertEquals(1, provider.getVisitedStateNames().size());
@@ -326,19 +306,16 @@ public class WorkStateProviderImplTest {
@Test
public void getPercentComplete() {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
Assert.assertEquals(0, provider.getPercentComplete("endorse"));
}
@Test(expected = OseeStateException.class)
public void setPercentComplete_exception() throws OseeStateException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.setPercentComplete("endorse", 34);
}
@Test
public void setPercentComplete() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.setPercentComplete("endorse", 34);
@@ -348,19 +325,16 @@ public class WorkStateProviderImplTest {
@Test
public void getHoursSpent() {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
Assert.assertEquals(0.0, provider.getHoursSpent("endorse"));
}
@Test(expected = OseeStateException.class)
public void setHoursSpent_exception() throws OseeStateException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.setHoursSpent("endorse", 8.0);
}
@Test
public void setHoursSpent() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.addState(new WorkStateImpl("endorse"));
provider.setCurrentStateName("endorse");
provider.setHoursSpent("endorse", 8.0);
@@ -370,13 +344,11 @@ public class WorkStateProviderImplTest {
@Test(expected = OseeStateException.class)
public void removeAssignee_exception() throws OseeCoreException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
provider.removeAssignee(joe);
}
@Test
- public void testIsSame() throws OseeArgumentException {
- WorkStateProviderImpl provider = new WorkStateProviderImpl(new MockWorkStateFactory());
+ public void testIsSame() {
WorkStateImpl endorse = new WorkStateImpl("endorse");
provider.addState(endorse);
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/transition/AtsCore_Transition_JT_Suite.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/transition/AtsCore_Transition_JT_Suite.java
index 92babc9aa7..83c8bdcfca 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/transition/AtsCore_Transition_JT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/transition/AtsCore_Transition_JT_Suite.java
@@ -10,9 +10,6 @@
*******************************************************************************/
package org.eclipse.osee.ats.core.transition;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -24,14 +21,5 @@ import org.junit.runners.Suite;
* @author Donald G. Dunne
*/
public class AtsCore_Transition_JT_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCore_Transition_JT_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsCore_Transition_JT_Suite.class.getSimpleName());
- }
+ // Test Suite
}
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/util/AtsCore_Util_JT_Suite.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/util/AtsCore_Util_JT_Suite.java
index 34bf095b4e..9dc87c7ba4 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/util/AtsCore_Util_JT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/util/AtsCore_Util_JT_Suite.java
@@ -10,9 +10,6 @@
*******************************************************************************/
package org.eclipse.osee.ats.core.util;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -24,14 +21,5 @@ import org.junit.runners.Suite;
* @author Donald G. Dunne
*/
public class AtsCore_Util_JT_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCore_Util_JT_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsCore_Util_JT_Suite.class.getSimpleName());
- }
+ // Test Suite
}
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/AtsCore_WorkDef_JT_Suite.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/AtsCore_WorkDef_JT_Suite.java
index 84e7407ad3..ed9d9fe3f6 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/AtsCore_WorkDef_JT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/AtsCore_WorkDef_JT_Suite.java
@@ -10,14 +10,13 @@
*******************************************************************************/
package org.eclipse.osee.ats.core.workdef;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
+import org.eclipse.osee.ats.core.workdef.provider.AtsCore_WorkDefProvider_JT_Suite;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
+ AtsCore_WorkDefProvider_JT_Suite.class,
WorkDefinitionMatchTest.class,
WorkDefinitionSheetTest.class,
StateEventTypeTest.class,
@@ -31,14 +30,5 @@ import org.junit.runners.Suite;
* @author Donald G. Dunne
*/
public class AtsCore_WorkDef_JT_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCore_WorkDef_JT_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsCore_WorkDef_JT_Suite.class.getSimpleName());
- }
+ // Test Suite
}
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/provider/AtsCore_WorkDefProvider_JT_Suite.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/provider/AtsCore_WorkDefProvider_JT_Suite.java
index 71320bc26f..185cad32f7 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/provider/AtsCore_WorkDefProvider_JT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workdef/provider/AtsCore_WorkDefProvider_JT_Suite.java
@@ -10,9 +10,6 @@
*******************************************************************************/
package org.eclipse.osee.ats.core.workdef.provider;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -24,14 +21,5 @@ import org.junit.runners.Suite;
* @author Donald G. Dunne
*/
public class AtsCore_WorkDefProvider_JT_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCore_WorkDefProvider_JT_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsCore_WorkDefProvider_JT_Suite.class.getSimpleName());
- }
+ // Test Suite
}
diff --git a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workflow/AtsCore_Workflow_JT_Suite.java b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workflow/AtsCore_Workflow_JT_Suite.java
index a389ba66fb..51957a3267 100644
--- a/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workflow/AtsCore_Workflow_JT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.core.test/src/org/eclipse/osee/ats/core/workflow/AtsCore_Workflow_JT_Suite.java
@@ -10,9 +10,6 @@
*******************************************************************************/
package org.eclipse.osee.ats.core.workflow;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -24,14 +21,5 @@ import org.junit.runners.Suite;
* @author Donald G. Dunne
*/
public class AtsCore_Workflow_JT_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsCore_Workflow_JT_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsCore_Workflow_JT_Suite.class.getSimpleName());
- }
+ // Test Suite
}
diff --git a/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/model/impl/WorkStateProviderImpl.java b/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/model/impl/WorkStateProviderImpl.java
index 26dff8af9f..0f6ebf9b31 100644
--- a/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/model/impl/WorkStateProviderImpl.java
+++ b/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/model/impl/WorkStateProviderImpl.java
@@ -36,10 +36,11 @@ import org.eclipse.osee.framework.logging.OseeLog;
*/
public class WorkStateProviderImpl implements WorkStateProvider {
- protected IAtsNotificationListener listener;
- WorkStateFactory factory;
- List<WorkState> states = new LinkedList<WorkState>();
- String currentStateName;
+ private final WorkStateFactory factory;
+ private final List<WorkState> states = new LinkedList<WorkState>();
+
+ private IAtsNotificationListener listener;
+ private String currentStateName;
/**
* Creates a new StateData initialized with currentStateName as current state and sets assignees
diff --git a/plugins/org.eclipse.osee.ats.impl.test/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ats.impl.test/META-INF/MANIFEST.MF
index 71749e6c33..d8d62ded20 100644
--- a/plugins/org.eclipse.osee.ats.impl.test/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.osee.ats.impl.test/META-INF/MANIFEST.MF
@@ -1,15 +1,14 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: ATS Work Definition Impl Test
+Bundle-Name: ATS Work Definition Impl Test (Incubation)
Bundle-SymbolicName: org.eclipse.osee.ats.impl.test
-Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: Eclipse Open System Engineering Environment
+Bundle-Version: 0.11.0.qualifier
Fragment-Host: org.eclipse.osee.ats.impl
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Import-Package: junit.framework;version="4.8.2",
- org.eclipse.osee.ats.api.ai,
- org.eclipse.osee.ats.api.data,
- org.eclipse.osee.ats.api.team,
- org.eclipse.osee.ats.api.workdef,
- org.junit;version="4.8.2",
- org.junit.runner;version="4.8.2",
- org.junit.runners;version="4.8.2"
+Import-Package: org.eclipse.osee.ats.api.workdef
+Require-Bundle: org.junit,
+ org.mockito;bundle-version="1.9.0",
+ org.hamcrest.core,
+ org.objenesis
+
diff --git a/plugins/org.eclipse.osee.ats.impl.test/build.properties b/plugins/org.eclipse.osee.ats.impl.test/build.properties
index 34d2e4d2da..3b1eb2b27f 100644
--- a/plugins/org.eclipse.osee.ats.impl.test/build.properties
+++ b/plugins/org.eclipse.osee.ats.impl.test/build.properties
@@ -2,3 +2,5 @@ source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.
+additional.bundles = org.eclipse.osee.ats.api,\
+ org.eclipse.osee.ats.mocks
diff --git a/plugins/org.eclipse.osee.ats.impl.test/pom.xml b/plugins/org.eclipse.osee.ats.impl.test/pom.xml
new file mode 100644
index 0000000000..b7b493f6b6
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.impl.test/pom.xml
@@ -0,0 +1,31 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.eclipse.osee</groupId>
+ <artifactId>org.eclipse.osee.ats.parent</artifactId>
+ <version>0.11.0-SNAPSHOT</version>
+ <relativePath>../../plugins/org.eclipse.osee.ats.parent</relativePath>
+ </parent>
+
+ <artifactId>org.eclipse.osee.ats.impl.test</artifactId>
+ <packaging>eclipse-test-plugin</packaging>
+ <name>OSEE ATS WorkDef Impl Test(Incubation)</name>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-surefire-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <testSuite>org.eclipse.osee.ats.impl.test</testSuite>
+ <testClass>org.eclipse.osee.ats.impl.AllAtsImplTestSuite</testClass>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project> \ No newline at end of file
diff --git a/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/AllAtsImplTestSuite.java b/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/AllAtsImplTestSuite.java
new file mode 100644
index 0000000000..1c9f77be11
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/AllAtsImplTestSuite.java
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 2007 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.impl;
+
+import org.eclipse.osee.ats.impl.internal.convert.ConvertTestSuite;
+import org.eclipse.osee.ats.impl.internal.model.ModelTestSuite;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Donald G. Dunne
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({ConvertTestSuite.class, ModelTestSuite.class})
+public class AllAtsImplTestSuite {
+ // Test Suite
+}
diff --git a/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/convert/ConvertTestSuite.java b/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/convert/ConvertTestSuite.java
new file mode 100644
index 0000000000..4e0954d715
--- /dev/null
+++ b/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/convert/ConvertTestSuite.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 2007 Boeing.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Boeing - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.osee.ats.impl.internal.convert;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ * @author Donald G. Dunne
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({ConvertWorkDefinitionToAtsDslTest.class})
+public class ConvertTestSuite {
+ // Test Suite
+}
diff --git a/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/model/AtsCore_WorkDef_JT_Suite.java b/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/model/ModelTestSuite.java
index a01d42c82a..77fa287a9d 100644
--- a/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/model/AtsCore_WorkDef_JT_Suite.java
+++ b/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/model/ModelTestSuite.java
@@ -10,39 +10,29 @@
*******************************************************************************/
package org.eclipse.osee.ats.impl.internal.model;
-import org.eclipse.osee.ats.impl.internal.convert.ConvertWorkDefinitionToAtsDslTest;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
+/**
+ * @author Donald G. Dunne
+ */
@RunWith(Suite.class)
@Suite.SuiteClasses({
- ConvertWorkDefinitionToAtsDslTest.class,
+ AbstractWorkDefItemTest.class,
+ CompositeStateItemTest.class,
+ DecisionReviewDefinitionTest.class,
+ DecisionReviewOptionTest.class,
ModelUtilTest.class,
- WidgetOptionTest.class,
+ PeerReviewDefinitionTest.class,
StateDefinitionTest.class,
WorkDefinitionTest.class,
WidgetOptionHandlerTest.class,
- WidgetDefinitionTest.class,
- PeerReviewDefinitionTest.class,
- DecisionReviewOptionTest.class,
- DecisionReviewDefinitionTest.class,
- AbstractWorkDefItemTest.class,
- CompositeStateItemTest.class})
+ WidgetOptionTest.class,
+ WidgetDefinitionTest.class})
/**
- * This test suite contains tests that can be run as stand-alone JUnit tests (JT)
*
* @author Donald G. Dunne
*/
-public class AtsCore_WorkDef_JT_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- System.out.println("\n\nBegin " + AtsCore_WorkDef_JT_Suite.class.getSimpleName());
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsCore_WorkDef_JT_Suite.class.getSimpleName());
- }
+public class ModelTestSuite {
+ // Test Suite
}
diff --git a/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/query/AtsQueryTest.java b/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/query/AtsQueryTest.java
deleted file mode 100644
index 5eaa263a0d..0000000000
--- a/plugins/org.eclipse.osee.ats.impl.test/src/org/eclipse/osee/ats/impl/internal/query/AtsQueryTest.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Created on Oct 9, 2012
- *
- * PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
- */
-package org.eclipse.osee.ats.impl.internal.query;
-
-import static org.junit.Assert.*;
-import org.junit.Test;
-
-public class AtsQueryTest {
-
- @Test
- public void testAtsQuery() {
- fail("Not yet implemented");
- }
-
- @Test
- public void testFrom() {
- fail("Not yet implemented");
- }
-
- @Test
- public void testIsOfType() {
- fail("Not yet implemented");
- }
-
- @Test
- public void testUnion() {
- fail("Not yet implemented");
- }
-
- @Test
- public void testFromTeam() {
- fail("Not yet implemented");
- }
-
- @Test
- public void testIsStateType() {
- fail("Not yet implemented");
- }
-
- @Test
- public void testGetItems() {
- fail("Not yet implemented");
- }
-
- @Test
- public void testWithOrValue() {
- fail("Not yet implemented");
- }
-
-}
diff --git a/plugins/org.eclipse.osee.ats.impl/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ats.impl/META-INF/MANIFEST.MF
index 3c1eb140c3..594cfd05d6 100644
--- a/plugins/org.eclipse.osee.ats.impl/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.osee.ats.impl/META-INF/MANIFEST.MF
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: ATS Implementation
+Bundle-Name: ATS Implementation (Incubation)
Bundle-SymbolicName: org.eclipse.osee.ats.impl;singleton:=true
Bundle-Version: 0.11.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
diff --git a/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/model/AbstractWorkDefItem.java b/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/model/AbstractWorkDefItem.java
index cc2b9aff91..8667af3200 100644
--- a/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/model/AbstractWorkDefItem.java
+++ b/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/model/AbstractWorkDefItem.java
@@ -42,4 +42,5 @@ public class AbstractWorkDefItem {
public String toString() {
return getName();
}
+
}
diff --git a/plugins/org.eclipse.osee.ats.parent/pom.xml b/plugins/org.eclipse.osee.ats.parent/pom.xml
index bc7cfe1e1e..f6a2446483 100644
--- a/plugins/org.eclipse.osee.ats.parent/pom.xml
+++ b/plugins/org.eclipse.osee.ats.parent/pom.xml
@@ -9,7 +9,7 @@
<version>0.11.0-SNAPSHOT</version>
<relativePath>../../plugins/org.eclipse.osee.ide.parent</relativePath>
</parent>
-
+
<groupId>org.eclipse.osee</groupId>
<artifactId>org.eclipse.osee.ats.parent</artifactId>
<packaging>pom</packaging>
@@ -17,20 +17,26 @@
<version>0.11.0-SNAPSHOT</version>
<modules>
- <module>../../plugins/org.eclipse.osee.ats.mocks</module>
+ <module>../../plugins/org.eclipse.osee.support.test.util</module>
+
+ <module>../../plugins/org.eclipse.osee.ats.mocks</module>
<module>../../plugins/org.eclipse.osee.ats.help.ui</module>
<module>../../plugins/org.eclipse.osee.ats</module>
<module>../../plugins/org.eclipse.osee.ats.core</module>
+ <module>../../plugins/org.eclipse.osee.ats.core.test</module>
<module>../../plugins/org.eclipse.osee.ats.core.client</module>
+ <module>../../plugins/org.eclipse.osee.ats.core.client.test</module>
<module>../../plugins/org.eclipse.osee.ats.dsl</module>
- <module>../../plugins/org.eclipse.osee.ats.dsl.ui</module>
+ <module>../../plugins/org.eclipse.osee.ats.dsl.ui</module>
<module>../../plugins/org.eclipse.osee.ats.impl</module>
- <module>../../plugins/org.eclipse.osee.ats.client.demo</module>
+ <module>../../plugins/org.eclipse.osee.ats.impl.test</module>
- <module>../../plugins/org.eclipse.osee.ats.reports</module>
- <module>../../plugins/org.eclipse.osee.ats.reports.burndown</module>
- <module>../../plugins/org.eclipse.osee.ats.reports.efficiency</module>
- <module>../../plugins/org.eclipse.osee.ats.reports.split</module>
+ <module>../../plugins/org.eclipse.osee.ats.reports</module>
+ <module>../../plugins/org.eclipse.osee.ats.reports.burndown</module>
+ <module>../../plugins/org.eclipse.osee.ats.reports.efficiency</module>
+ <module>../../plugins/org.eclipse.osee.ats.reports.split</module>
+
+ <module>../../plugins/org.eclipse.osee.ats.client.demo</module>
<module>../../features/org.eclipse.osee.ats.feature</module>
<module>../../features/org.eclipse.osee.ats.feature.source</module>
@@ -38,6 +44,8 @@
<module>../../features/org.eclipse.osee.ats.client.demo.feature</module>
<module>../../features/org.eclipse.osee.ats.client.demo.feature.source</module>
+ <module>../../plugins/org.eclipse.osee.ats.client.integration.tests</module>
+
<module>../../plugins/org.eclipse.osee.ats.p2</module>
</modules>
diff --git a/plugins/org.eclipse.osee.ats.test/.classpath b/plugins/org.eclipse.osee.ats.test/.classpath
deleted file mode 100644
index ad32c83a78..0000000000
--- a/plugins/org.eclipse.osee.ats.test/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.eclipse.osee.ats.test/.project b/plugins/org.eclipse.osee.ats.test/.project
deleted file mode 100644
index ab2ea44f59..0000000000
--- a/plugins/org.eclipse.osee.ats.test/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.osee.ats.test</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/org.eclipse.osee.ats.test/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ats.test/META-INF/MANIFEST.MF
deleted file mode 100644
index 70a3385813..0000000000
--- a/plugins/org.eclipse.osee.ats.test/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,27 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: ATS Test Fragment
-Bundle-SymbolicName: org.eclipse.osee.ats.test;singleton:=true
-Bundle-Version: 0.11.0.qualifier
-Bundle-Vendor: Eclipse Open System Engineering Environment
-Fragment-Host: org.eclipse.osee.ats
-Require-Bundle: org.junit
-Import-Package: org.eclipse.osee.ats.core.client,
- org.eclipse.osee.ats.core.model,
- org.eclipse.osee.ats.mocks,
- org.eclipse.osee.framework.core.client,
- org.eclipse.osee.framework.core.model.type,
- org.eclipse.osee.support.test.util
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
-Export-Package: org.eclipse.osee.ats,
- org.eclipse.osee.ats.artifact,
- org.eclipse.osee.ats.artifact.log,
- org.eclipse.osee.ats.artifact.note,
- org.eclipse.osee.ats.config,
- org.eclipse.osee.ats.editor,
- org.eclipse.osee.ats.health,
- org.eclipse.osee.ats.navigate,
- org.eclipse.osee.ats.render,
- org.eclipse.osee.ats.util,
- org.eclipse.osee.ats.workflow,
- org.eclipse.osee.ats.world.search
diff --git a/plugins/org.eclipse.osee.ats.test/build.properties b/plugins/org.eclipse.osee.ats.test/build.properties
deleted file mode 100644
index 34d2e4d2da..0000000000
--- a/plugins/org.eclipse.osee.ats.test/build.properties
+++ /dev/null
@@ -1,4 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Config_Suite.java b/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Config_Suite.java
deleted file mode 100644
index 44d21ca068..0000000000
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Config_Suite.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.ats;
-
-import org.eclipse.osee.ats.config.copy.ConfigDataTest;
-import org.eclipse.osee.ats.config.copy.CopyAtsConfigurationOperationTest;
-import org.eclipse.osee.ats.config.copy.CopyAtsUtilTest;
-import org.eclipse.osee.ats.config.copy.CopyAtsValidationTest;
-import org.eclipse.osee.ats.core.client.config.AtsCoreClient_Config_Demo_PT_Suite;
-import org.eclipse.osee.ats.util.DemoTestUtil;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-
-@RunWith(Suite.class)
-@Suite.SuiteClasses({
- ConfigDataTest.class,
- CopyAtsUtilTest.class,
- CopyAtsValidationTest.class,
- CopyAtsConfigurationOperationTest.class,
- AtsCoreClient_Config_Demo_PT_Suite.class})
-/**
- * This test suite contains test that can be run against any production db
- *
- * @author Donald G. Dunne
- */
-public class AtsTest_Demo_Config_Suite {
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- System.out.println("\n\nBegin " + AtsTest_Demo_Config_Suite.class.getSimpleName());
- DemoTestUtil.setUpTest();
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsTest_Demo_Config_Suite.class.getSimpleName());
- }
-}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Suite.java b/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Suite.java
deleted file mode 100644
index b988673170..0000000000
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/AtsTest_Demo_Suite.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.ats;
-
-import static org.junit.Assert.assertTrue;
-import org.eclipse.osee.ats.actions.AtsTest_Demo_Action_Suite;
-import org.eclipse.osee.ats.artifact.log.AtsLogTest;
-import org.eclipse.osee.ats.artifact.log.LogItemTest;
-import org.eclipse.osee.ats.artifact.note.AtsNoteTest;
-import org.eclipse.osee.ats.artifact.note.NoteItemTest;
-import org.eclipse.osee.ats.config.AtsBranchConfigurationTest;
-import org.eclipse.osee.ats.editor.SMAPrintTest;
-import org.eclipse.osee.ats.health.AtsValidateAtsDatabaseTest;
-import org.eclipse.osee.ats.navigate.AtsNavigateItemsToMassEditorTest;
-import org.eclipse.osee.ats.navigate.AtsNavigateItemsToTaskEditorTest;
-import org.eclipse.osee.ats.navigate.AtsNavigateItemsToWorldViewTest;
-import org.eclipse.osee.ats.render.RendererManagerTest;
-import org.eclipse.osee.ats.util.AtsDeleteManagerTest;
-import org.eclipse.osee.ats.util.AtsImageTest;
-import org.eclipse.osee.ats.util.AtsXWidgetsExampleBlamTest;
-import org.eclipse.osee.ats.util.DemoTestUtil;
-import org.eclipse.osee.ats.util.ImportActionsViaSpreadsheetTest;
-import org.eclipse.osee.ats.workflow.SMAPromptChangeStatusTest;
-import org.eclipse.osee.ats.world.search.AtsTest_Demo_World_Search_Suite;
-import org.eclipse.osee.framework.core.client.ClientSessionManager;
-import org.eclipse.osee.framework.jdk.core.util.OseeProperties;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-
-@RunWith(Suite.class)
-@Suite.SuiteClasses({
- AtsNavigateItemsToMassEditorTest.class,
- AtsNavigateItemsToTaskEditorTest.class,
- AtsNavigateItemsToWorldViewTest.class,
- AtsTest_Demo_World_Search_Suite.class,
- AtsBranchConfigurationTest.class,
- AtsTest_Demo_Action_Suite.class,
- AtsTest_Demo_Access_Suite.class,
- ImportActionsViaSpreadsheetTest.class,
- AtsTest_Demo_Column_Suite.class,
- AtsTest_Demo_Util_Suite.class,
- LogItemTest.class,
- AtsLogTest.class,
- NoteItemTest.class,
- AtsNoteTest.class,
- RendererManagerTest.class,
- SMAPrintTest.class,
- AtsImageTest.class,
- SMAPromptChangeStatusTest.class,
- AtsDeleteManagerTest.class,
- AtsValidateAtsDatabaseTest.class,
- AtsXWidgetsExampleBlamTest.class,
-// AtsPurgeTest.class,
-//
-})
-/**
- * @author Donald G. Dunne
- */
-public class AtsTest_Demo_Suite {
-
- @BeforeClass
- public static void setUp() throws Exception {
- OseeProperties.setIsInTest(true);
- assertTrue("Demo Application Server must be running.",
- ClientSessionManager.getAuthenticationProtocols().contains("demo"));
- assertTrue("Client must authenticate using demo protocol",
- ClientSessionManager.getSession().getAuthenticationProtocol().equals("demo"));
- System.out.println("\n\nBegin " + AtsTest_Demo_Suite.class.getSimpleName());
- DemoTestUtil.setUpTest();
- }
-
- @AfterClass
- public static void tearDown() throws Exception {
- System.out.println("End " + AtsTest_Demo_Suite.class.getSimpleName());
- }
-}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsQueryPerformanceTests.java b/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsQueryPerformanceTests.java
deleted file mode 100644
index b8b8a19989..0000000000
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/AtsQueryPerformanceTests.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.ats.util;
-
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-import java.util.Arrays;
-import java.util.Collection;
-import org.eclipse.osee.ats.api.user.IAtsUser;
-import org.eclipse.osee.ats.core.client.config.AtsBulkLoad;
-import org.eclipse.osee.ats.core.client.util.AtsUsersClient;
-import org.eclipse.osee.ats.world.search.MyWorldSearchItem;
-import org.eclipse.osee.ats.world.search.TeamWorldSearchItem;
-import org.eclipse.osee.ats.world.search.WorldSearchItem.SearchType;
-import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
-
-/**
- * @author Andrew M. Finkbeiner
- */
-public class AtsQueryPerformanceTests {
-
- @org.junit.Test
- public void testAtsBulkLoad() throws Exception {
- long startTime = System.currentTimeMillis();
- AtsBulkLoad.loadConfig(true);
- long elapsedTime = System.currentTimeMillis() - startTime;
- System.out.println(String.format("testAtsBulkLoad took %dms", elapsedTime));
- assertTrue("testAtsBulkLoad should take less than 5000ms currently " + elapsedTime + "ms", elapsedTime < 5000);
- }
-
- @org.junit.Test
- public void testTeamWorldSearchItem() throws Exception {
- AtsBulkLoad.loadConfig(true);
- TeamWorldSearchItem searchItem =
- new TeamWorldSearchItem("Show Open OSEE Actions", Arrays.asList("ATS", "Define", "OTE"), false, false, true,
- false, null, null, null, null, null);
- long startTime = System.currentTimeMillis();
- Collection<Artifact> artifacts = searchItem.performSearch(SearchType.Search);
- long elapsedTime = System.currentTimeMillis() - startTime;
- System.out.println(String.format("testTeamWorldSearchItem took %dms for %d artifacts", elapsedTime,
- artifacts.size()));
- assertTrue("No artifacts found", artifacts.size() > 0);
- assertTrue("testTeamWorldSearchItem should take less than 2000ms; took " + elapsedTime + "ms", elapsedTime < 2000);
- }
-
- @org.junit.Test
- public void testUserWorldSearch() throws Exception {
- AtsBulkLoad.loadConfig(true);
- IAtsUser user = AtsUsersClient.getUserByName("Finkbeiner, Andrew M");
- assertNotNull("User does not exist", user);
- MyWorldSearchItem search = new MyWorldSearchItem();
- long startTime = System.currentTimeMillis();
- Collection<Artifact> artifacts = search.searchIt(user);
- long elapsedTime = System.currentTimeMillis() - startTime;
- System.out.println(String.format("testUserWorldSearch took %dms for %d artifacts", elapsedTime, artifacts.size()));
- assertTrue("No artifacts found", artifacts.size() > 0);
- assertTrue("testUserWorldSearch should take less than 2500ms currently " + elapsedTime + "ms", elapsedTime < 2500);
- }
-
-}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/MassEditorUtil.java b/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/MassEditorUtil.java
deleted file mode 100644
index 9b35647ece..0000000000
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/MassEditorUtil.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2011 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.ats.util;
-
-import static org.junit.Assert.assertTrue;
-import java.util.Collection;
-import org.eclipse.osee.framework.ui.skynet.artifact.massEditor.MassArtifactEditor;
-
-/**
- * @author Donald G. Dunne
- */
-public class MassEditorUtil {
-
- public static MassArtifactEditor getSingleEditorOrFail() {
- // Retrieve results from opened editor and test
- Collection<MassArtifactEditor> editors = MassArtifactEditor.getEditors();
- assertTrue("Expecting 1 editor open, currently " + editors.size(), editors.size() == 1);
- return editors.iterator().next();
- }
-
-}
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/SMATestUtil.java b/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/SMATestUtil.java
deleted file mode 100644
index 1f8e1e4d57..0000000000
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/util/SMATestUtil.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.ats.util;
-
-import java.util.Arrays;
-import java.util.Collection;
-import org.eclipse.osee.ats.api.data.AtsAttributeTypes;
-import org.eclipse.osee.ats.core.client.workflow.AbstractWorkflowArtifact;
-import org.eclipse.osee.ats.core.client.workflow.AtsWorkStateFactory;
-import org.eclipse.osee.ats.core.client.workflow.HoursSpentUtil;
-import org.eclipse.osee.ats.core.client.workflow.PercentCompleteTotalUtil;
-import org.eclipse.osee.ats.core.model.impl.WorkStateImpl;
-import org.junit.Assert;
-
-/**
- * @author Donald G. Dunne
- */
-public class SMATestUtil {
-
- public static void validateSMA(AbstractWorkflowArtifact sma, String stateName, int totalPercent, double hoursSpent) throws Exception {
- validateSMAs(Arrays.asList(sma), stateName, totalPercent, hoursSpent);
-
- }
-
- public static void validateSMAs(Collection<? extends AbstractWorkflowArtifact> awas, String stateName, int totalPercent, double hoursSpent) throws Exception {
- for (AbstractWorkflowArtifact awa : awas) {
- Assert.assertEquals("Current State wrong for " + awa.getHumanReadableId(),
- awa.getStateMgr().getCurrentStateName(), stateName);
- if (awa.isCompletedOrCancelled()) {
- Assert.assertEquals("ats.CurrentState wrong " + awa.getHumanReadableId(),
- awa.getStateMgr().getCurrentStateName() + ";;;",
- awa.getSoleAttributeValue(AtsAttributeTypes.CurrentState));
- }
- Assert.assertEquals("Percent wrong for " + awa.getHumanReadableId(),
- PercentCompleteTotalUtil.getPercentCompleteTotal(awa), totalPercent);
- Assert.assertEquals("Hours Spent wrong for " + awa.getHumanReadableId(),
- HoursSpentUtil.getHoursSpentTotal(awa), hoursSpent, 0.0);
-
- for (String xml : awa.getAttributesToStringList(AtsAttributeTypes.State)) {
- WorkStateImpl state = AtsWorkStateFactory.getFromXml(xml);
- boolean isCompletedCancelledState = isCompletedCancelledState(awa, state.getName());
- if (isCompletedCancelledState) {
- Assert.assertTrue("completed/cancelled ats.State [" + xml + "] wrong " + awa.getHumanReadableId(),
- xml.endsWith(";;;"));
- }
- }
- }
- }
-
- public static boolean isCompletedCancelledState(AbstractWorkflowArtifact aba, String stateName) {
- return aba.getWorkDefinition().getStateByName(stateName).getStateType().isCompletedOrCancelledState();
- }
-}
diff --git a/plugins/org.eclipse.osee.ats/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ats/META-INF/MANIFEST.MF
index 42a980b72a..8688d033e8 100644
--- a/plugins/org.eclipse.osee.ats/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.osee.ats/META-INF/MANIFEST.MF
@@ -38,6 +38,7 @@ Export-Package: org.eclipse.osee.ats,
org.eclipse.osee.ats.config.copy,
org.eclipse.osee.ats.config.wizard,
org.eclipse.osee.ats.editor,
+ org.eclipse.osee.ats.editor.renderer,
org.eclipse.osee.ats.editor.stateItem,
org.eclipse.osee.ats.export,
org.eclipse.osee.ats.health,
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAMembersTab.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAMembersTab.java
index 2a5ab9ef1f..6e7fbcba75 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAMembersTab.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/editor/SMAMembersTab.java
@@ -154,15 +154,17 @@ public class SMAMembersTab extends FormPage implements IWorldViewerEventHandler
public IStatus runInUIThread(IProgressMonitor monitor) {
if (firstTime) {
try {
- updateTitleBar();
- setLoading(false);
- boolean createdAndLoaded = createMembersBody();
- if (!createdAndLoaded) {
- smaGoalMembersSection.reload();
+ if (managedForm != null && Widgets.isAccessible(managedForm.getForm())) {
+ updateTitleBar();
+ setLoading(false);
+ boolean createdAndLoaded = createMembersBody();
+ if (!createdAndLoaded) {
+ smaGoalMembersSection.reload();
+ }
+ jumptoScrollLocation();
+ FormsUtil.addHeadingGradient(editor.getToolkit(), managedForm.getForm(), true);
+ editor.onDirtied();
}
- jumptoScrollLocation();
- FormsUtil.addHeadingGradient(editor.getToolkit(), managedForm.getForm(), true);
- editor.onDirtied();
firstTime = false;
} catch (OseeCoreException ex) {
handleException(ex);
@@ -174,8 +176,12 @@ public class SMAMembersTab extends FormPage implements IWorldViewerEventHandler
updateTitleBar();
} catch (OseeCoreException ex) {
handleException(ex);
+ } finally {
+ showBusy(false);
+ }
+ if (managedForm != null && Widgets.isAccessible(managedForm.getForm())) {
+ smaGoalMembersSection.refresh();
}
- smaGoalMembersSection.refresh();
}
return Status.OK_STATUS;
}

Back to the top