Author: jjankovi
Date: 2012-01-16 03:09:23 -0500 (Mon, 16 Jan 2012)
New Revision: 37847
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDIAllBotTests.java
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDISeam3AllBotTests.java
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDISmokeBotTests.java
Log:
change bot tests suite to extend AbstractTestSuite
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDIAllBotTests.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDIAllBotTests.java 2012-01-16
08:07:36 UTC (rev 37846)
+++
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDIAllBotTests.java 2012-01-16
08:09:23 UTC (rev 37847)
@@ -29,14 +29,11 @@
import org.jboss.tools.cdi.bot.test.seam3.Seam3ConfigValidationTest;
import org.jboss.tools.cdi.bot.test.seam3.Seam3GenericOpenOnTest;
import org.jboss.tools.cdi.bot.test.seam3.Seam3ResourceOpenOnTest;
-import org.jboss.tools.cdi.bot.test.uiutils.SWTEclipseCDIExtUtil;
import org.jboss.tools.cdi.bot.test.wizard.CDISupportTest;
import org.jboss.tools.cdi.bot.test.wizard.ConfigurationPresetTest;
import org.jboss.tools.cdi.bot.test.wizard.FacetTest;
import org.jboss.tools.cdi.bot.test.wizard.WizardTest;
import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
-import org.jboss.tools.ui.bot.ext.types.ViewType;
-import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite.SuiteClasses;
@@ -88,16 +85,6 @@
Seam3GenericOpenOnTest.class,
Seam3ConfigValidationTest.class,
})
-public class CDIAllBotTests extends CDITestBase {
+public class CDIAllBotTests extends AbstractTestSuite {
- /*
- * init method "setup()" shows a project explorer view as default,
- * disable folding (to easier source code editing)
- */
- @BeforeClass
- public static void setUpSuite() {
- eclipse.showView(ViewType.PROJECT_EXPLORER);
- SWTEclipseCDIExtUtil.disableFolding(bot, util);
- }
-
}
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDISeam3AllBotTests.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDISeam3AllBotTests.java 2012-01-16
08:07:36 UTC (rev 37846)
+++
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDISeam3AllBotTests.java 2012-01-16
08:09:23 UTC (rev 37847)
@@ -14,11 +14,7 @@
import org.jboss.tools.cdi.bot.test.seam3.Seam3ConfigValidationTest;
import org.jboss.tools.cdi.bot.test.seam3.Seam3GenericOpenOnTest;
import org.jboss.tools.cdi.bot.test.seam3.Seam3ResourceOpenOnTest;
-import org.jboss.tools.cdi.bot.test.seam3.Seam3TestBase;
-import org.jboss.tools.cdi.bot.test.uiutils.SWTEclipseCDIExtUtil;
import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
-import org.jboss.tools.ui.bot.ext.types.ViewType;
-import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite.SuiteClasses;
@@ -48,15 +44,6 @@
Seam3GenericOpenOnTest.class,
Seam3ConfigValidationTest.class,
})
-public class CDISeam3AllBotTests extends Seam3TestBase {
+public class CDISeam3AllBotTests extends AbstractTestSuite {
- /*
- * init method "setup()" shows a project explorer view as default,
- * disable folding (due to easier source code editing)
- */
- @BeforeClass
- public static void setUpSuite() {
- eclipse.showView(ViewType.PROJECT_EXPLORER);
- SWTEclipseCDIExtUtil.disableFolding(bot, util);
- }
}
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDISmokeBotTests.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDISmokeBotTests.java 2012-01-16
08:07:36 UTC (rev 37846)
+++
trunk/cdi/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/CDISmokeBotTests.java 2012-01-16
08:09:23 UTC (rev 37847)
@@ -11,14 +11,11 @@
package org.jboss.tools.cdi.bot.test;
import org.jboss.tools.cdi.bot.test.editor.BeansEditorTest;
-import org.jboss.tools.cdi.bot.test.uiutils.SWTEclipseCDIExtUtil;
import org.jboss.tools.cdi.bot.test.wizard.CDISupportTest;
-import org.jboss.tools.cdi.bot.test.wizard.WizardTest;
import org.jboss.tools.cdi.bot.test.wizard.ConfigurationPresetTest;
import org.jboss.tools.cdi.bot.test.wizard.FacetTest;
+import org.jboss.tools.cdi.bot.test.wizard.WizardTest;
import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
-import org.jboss.tools.ui.bot.ext.types.ViewType;
-import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite.SuiteClasses;
@@ -51,15 +48,6 @@
WizardTest.class,
BeansEditorTest.class,
})
-public class CDISmokeBotTests extends CDITestBase {
+public class CDISmokeBotTests extends AbstractTestSuite {
- /*
- * init method "setup()" shows a project explorer view as default,
- * disable folding (due to easier source code editing)
- */
- @BeforeClass
- public static void setUpSuite() {
- eclipse.showView(ViewType.PROJECT_EXPLORER);
- SWTEclipseCDIExtUtil.disableFolding(bot, util);
- }
}
Show replies by date