Author: vpakan(a)redhat.com
Date: 2010-02-19 03:20:54 -0500 (Fri, 19 Feb 2010)
New Revision: 20377
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/CodeGenerationLauncherTest.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/ConfigurationFileTest.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/ConsoleTest.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/MappingFileTest.java
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateAllTests.java
Log:
Extends SWTBotTestCase
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/CodeGenerationLauncherTest.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/CodeGenerationLauncherTest.java 2010-02-19
04:39:01 UTC (rev 20376)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/CodeGenerationLauncherTest.java 2010-02-19
08:20:54 UTC (rev 20377)
@@ -38,7 +38,7 @@
/**
* Setup prerequisites for this test
*/
- public static void setUp() {
+ public void setUpTest() {
prepareProject();
prepareConsole();
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/ConfigurationFileTest.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/ConfigurationFileTest.java 2010-02-19
04:39:01 UTC (rev 20376)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/ConfigurationFileTest.java 2010-02-19
08:20:54 UTC (rev 20377)
@@ -10,9 +10,6 @@
******************************************************************************/
package org.jboss.tools.hibernate.ui.bot.testcase;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertTrue;
-
import java.io.IOException;
import java.util.List;
@@ -45,12 +42,12 @@
public class ConfigurationFileTest extends HibernateTest {
@BeforeClass
- public static void setUp() {
+ public static void setUpTest() {
HibernateTest.prepareProject();
}
@AfterClass
- public static void tearDown() {
+ public static void tearDownTest() {
HibernateTest.clean();
}
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/ConsoleTest.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/ConsoleTest.java 2010-02-19
04:39:01 UTC (rev 20376)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/ConsoleTest.java 2010-02-19
08:20:54 UTC (rev 20377)
@@ -26,12 +26,12 @@
public class ConsoleTest extends HibernateTest {
@BeforeClass
- public static void setUp() {
+ public static void setUpTest() {
HibernateTest.prepareProject();
}
@AfterClass
- public static void tearDown() {
+ public static void tearDownTest() {
HibernateTest.clean();
}
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/MappingFileTest.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/MappingFileTest.java 2010-02-19
04:39:01 UTC (rev 20376)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testcase/MappingFileTest.java 2010-02-19
08:20:54 UTC (rev 20377)
@@ -30,12 +30,12 @@
public class MappingFileTest extends HibernateTest {
@BeforeClass
- public static void setUp() {
+ public static void setUpTest() {
HibernateTest.prepare();
}
@AfterClass
- public static void tearDown() {
+ public static void tearDownTest() {
HibernateTest.clean();
}
Modified:
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateAllTests.java
===================================================================
---
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateAllTests.java 2010-02-19
04:39:01 UTC (rev 20376)
+++
trunk/hibernatetools/tests/org.jboss.tools.hibernate.ui.bot.test/src/org/jboss/tools/hibernate/ui/bot/testsuite/HibernateAllTests.java 2010-02-19
08:20:54 UTC (rev 20377)
@@ -41,12 +41,12 @@
public class HibernateAllTests extends HibernateTest {
@BeforeClass
- public static void setUp() {
+ public static void setUpSuite() {
HibernateTest.prepare();
}
@AfterClass
- public static void tearDown() {
+ public static void tearDownSuite() {
HibernateTest.clean();
}
}
Show replies by date