Skip to content

Commit

Permalink
[eclipse-xtext#3010] AbstractOutlineTest: add @before and @beforeeach
Browse files Browse the repository at this point in the history
…annotation.

Signed-off-by: miklossy <[email protected]>
  • Loading branch information
miklossy authored and LorenzoBettini committed Apr 25, 2024
1 parent 679f5bc commit 460fd5e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2016, 2019 itemis AG (http://www.itemis.eu) and others.
* Copyright (c) 2016, 2024 itemis AG (http://www.itemis.eu) and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
Expand All @@ -21,6 +21,8 @@
import org.eclipse.xtext.ui.editor.outline.IOutlineNode;
import org.eclipse.xtext.ui.editor.outline.IOutlineTreeProvider;
import org.eclipse.xtext.ui.testing.util.IResourcesSetupUtil;
import org.junit.Before;
import org.junit.jupiter.api.BeforeEach;

import com.google.inject.Inject;

Expand Down Expand Up @@ -75,6 +77,7 @@ public void setFileExtensionProvider(FileExtensionProvider extensionProvider) {
}

@Override
@Before @BeforeEach
public void setUp() throws Exception {
super.setUp();
createjavaProject(TEST_PROJECT);
Expand Down

0 comments on commit 460fd5e

Please sign in to comment.