Skip to content

Commit

Permalink
Added cleanup for EnumWizardTest
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksii Korniienko <olkornii@redhat.com>
  • Loading branch information
olkornii committed Sep 1, 2023
1 parent d1f5339 commit aeca4f0
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,26 @@
import org.eclipse.reddeer.eclipse.jdt.ui.wizards.NewEnumCreationWizard;
import org.eclipse.reddeer.eclipse.jdt.ui.wizards.NewEnumWizardPage;
import org.eclipse.reddeer.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne;
import org.eclipse.reddeer.eclipse.ui.navigator.resources.ProjectExplorer;
import org.eclipse.reddeer.junit.runner.RedDeerSuite;
import org.eclipse.reddeer.requirements.cleanworkspace.CleanWorkspaceRequirement.CleanWorkspace;
import org.eclipse.reddeer.workbench.impl.editor.TextEditor;
import org.junit.After;
import org.junit.Test;
import org.junit.runner.RunWith;

@CleanWorkspace
@RunWith(RedDeerSuite.class)
public class EnumWizardTest {

@After
public void cleanUp() {
ProjectExplorer explorer = new ProjectExplorer();
explorer.open();

explorer.deleteAllProjects(true);
}

@Test
public void createEnumClass(){
JavaProjectWizard jp = new JavaProjectWizard();
Expand Down

0 comments on commit aeca4f0

Please sign in to comment.