Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2012-12-20 19:43:55 +0000
committerRoberto E. Escobar2012-12-20 19:43:55 +0000
commitb733144b6a8a79781579842ec7db0a813a75be88 (patch)
tree251d1c86b0a6f772a63dc64da53add987762a396 /plugins/org.eclipse.osee.ats.client.integration.tests/src
parentf630d7712e204ac19acab8e67ca7e84b6b5390ef (diff)
downloadorg.eclipse.osee-b733144b6a8a79781579842ec7db0a813a75be88.tar.gz
org.eclipse.osee-b733144b6a8a79781579842ec7db0a813a75be88.tar.xz
org.eclipse.osee-b733144b6a8a79781579842ec7db0a813a75be88.zip
bug[ats_A2YXE]: Fix ATS Navigator Search tests to run on linux
Diffstat (limited to 'plugins/org.eclipse.osee.ats.client.integration.tests/src')
-rw-r--r--plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/ats/navigate/AtsNavigateItemsToWorldViewTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/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 bd4ba5fceb..3b752807f8 100644
--- a/plugins/org.eclipse.osee.ats.client.integration.tests/src/org/eclipse/osee/ats/client/integration/tests/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
@@ -568,6 +568,7 @@ public class AtsNavigateItemsToWorldViewTest {
beforeSize = getXViewer().getCustomizeMgr().getCurrentVisibleTableColumns().size();
// show all columns
handleTableCustomization();
+ xv.expandAll(); // necessary for linux cause customization change collapsesAll
afterSize = getXViewer().getCustomizeMgr().getCurrentVisibleTableColumns().size();
NavigateTestUtil.testExpectedVersusActual("Column Count - ", true, (afterSize >= beforeSize));
runGeneralXColTest(itemCount, false, null, testTaskTab);
@@ -591,6 +592,7 @@ public class AtsNavigateItemsToWorldViewTest {
// open the task in the Task Editor
TaskEditor.open(new TaskEditorSimpleProvider("ATS Tasks", getXViewer().getSelectedTaskArtifacts()));
handleTableCustomization();
+ getXViewer().expandAll(); // necessary for linux cause customization change collapsesAll
columns = getXViewer().getCustomizeMgr().getCurrentTableColumns();
verifyXColumns(labelProv, arts, columns);
} else if (isErrorCheck) {
@@ -627,8 +629,8 @@ public class AtsNavigateItemsToWorldViewTest {
private void deleteAttributesForXColErrorTest(Collection<Artifact> arts, IAttributeType attributeTypeToDelete) throws Exception {
Map<Artifact, Object> attributeValues = new HashMap<Artifact, Object>();
- getXViewer().expandAll();
handleTableCustomization();
+ getXViewer().expandAll(); // necessary after table customization for linux cause customization change collapsesAll
SkynetTransaction transaction = TransactionManager.createTransaction(AtsUtil.getAtsBranch(), "Navigate Test");
// select a workflow artifact; get its attributes; delete an attribute
for (Artifact art : arts) {

Back to the top