[jbosstools-commits] JBoss Tools SVN: r41971 - trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Thu Jun 14 08:46:56 EDT 2012
Author: jjankovi
Date: 2012-06-14 08:46:56 -0400 (Thu, 14 Jun 2012)
New Revision: 41971
Modified:
trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/VariousProjectsArchiving.java
Log:
fixing order of removing errors in error log in archive bot test
Modified: trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/VariousProjectsArchiving.java
===================================================================
--- trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/VariousProjectsArchiving.java 2012-06-14 12:46:29 UTC (rev 41970)
+++ trunk/archives/tests/org.jboss.tools.archives.ui.bot.test/src/org/jboss/tools/archives/ui/bot/test/VariousProjectsArchiving.java 2012-06-14 12:46:56 UTC (rev 41971)
@@ -21,7 +21,6 @@
import org.jboss.tools.ui.bot.ext.gen.INewObject;
import org.jboss.tools.ui.bot.ext.types.IDELabel;
import org.junit.After;
-import org.junit.BeforeClass;
import org.junit.Test;
/**
@@ -33,15 +32,9 @@
server = @Server(state = ServerState.NotRunning,
version = "6.0", operator = ">="))
public class VariousProjectsArchiving extends ArchivesTestBase {
-
- @BeforeClass
- public static void prepareWorkspace() {
- showErrorView();
- clearErrorView();
- }
@After
- public void testEmptyErrorLog() {
+ public void checkErrorLog() {
assertClearErrorLog();
}
@@ -52,6 +45,9 @@
/* create dynamic web project */
createDynamicWebProject(project);
+ /* clear error view before creating an archive */
+ clearErrorView();
+
/* open view for project */
ProjectArchivesView view = viewForProject(project);
@@ -70,6 +66,9 @@
/* create ejb project */
createEJBProject(project);
+ /* clear error view before creating an archive */
+ clearErrorView();
+
/* open view for project */
ProjectArchivesView view = viewForProject(project);
More information about the jbosstools-commits
mailing list