Skip to content

Commit

Permalink
shadow setUpProject
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Jan 10, 2024
1 parent 6e8db06 commit 96b1af8
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
import org.eclipse.xtend.ide.tests.AbstractXtendUITestCase;
import org.eclipse.xtend.ide.tests.StopwatchRule;
import org.eclipse.xtend.ide.tests.WorkbenchTestHelper;
import org.eclipse.xtext.ui.testing.util.IResourcesSetupUtil;
import org.eclipse.xtext.ui.testing.util.TargetPlatformUtil;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;

Expand Down Expand Up @@ -293,6 +296,13 @@ public class PerformanceTest extends AbstractXtendUITestCase {
@Inject
private XtendFileGenerator fileGenerator;

@BeforeClass
public static void setUpProject() throws Exception {
TargetPlatformUtil.setTargetPlatform(PerformanceTest.class);
IResourcesSetupUtil.cleanWorkspace();
WorkbenchTestHelper.createPluginProject(WorkbenchTestHelper.TESTPROJECT_NAME);
}

@Override
public void tearDown() throws Exception {
workbenchTestHelper.tearDown();
Expand Down

0 comments on commit 96b1af8

Please sign in to comment.