Skip to content

Commit

Permalink
Merge pull request #108 from metafacture/upgradeXtextVersion
Browse files Browse the repository at this point in the history
Upgrade xtext dependency to 2.26.0.M2 (prerelease).
  • Loading branch information
blackwinter authored Jan 18, 2022
2 parents 320af3d + 89f5657 commit b34d745
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 37 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ subprojects {
'mockito': '2.27.0',
'requirejs': '2.3.6',
'slf4j': '1.7.21',
'xtext': '2.17.0',
'xtext': '2.26.0.M2',
'guava': '29.0-jre'
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnit;
import org.mockito.junit.MockitoRule;
import org.mockito.junit.jupiter.MockitoExtension;

import java.util.Arrays;
Expand All @@ -37,9 +34,6 @@
@ExtendWith(MockitoExtension.class)
public class MetafixBindTest {

@RegisterExtension
private MockitoRule mockitoRule = MockitoJUnit.rule();

@Mock
private StreamReceiver streamReceiver;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
import com.google.common.collect.ImmutableMap;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnit;
import org.mockito.junit.MockitoRule;
import org.mockito.junit.jupiter.MockitoExtension;

import java.util.Arrays;
Expand All @@ -37,9 +34,6 @@
@ExtendWith(MockitoExtension.class)
public class MetafixIfTest {

@RegisterExtension
private MockitoRule mockitoRule = MockitoJUnit.rule();

@Mock
private StreamReceiver streamReceiver;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnit;
import org.mockito.junit.MockitoRule;
import org.mockito.junit.jupiter.MockitoExtension;

import java.util.Arrays;
Expand All @@ -42,9 +39,6 @@ public class MetafixLookupTest {
private static final String CSV_MAP = "src/test/resources/org/metafacture/metafix/maps/test.csv";
private static final String TSV_MAP = "src/test/resources/org/metafacture/metafix/maps/test.tsv";

@RegisterExtension
private MockitoRule mockitoRule = MockitoJUnit.rule();

@Mock
private StreamReceiver streamReceiver;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnit;
import org.mockito.junit.MockitoRule;
import org.mockito.junit.jupiter.MockitoExtension;

import java.util.Arrays;
Expand All @@ -40,9 +37,6 @@
@ExtendWith(MockitoExtension.class)
public class MetafixMethodTest {

@RegisterExtension
private MockitoRule mockitoRule = MockitoJUnit.rule();

@Mock
private StreamReceiver streamReceiver;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnit;
import org.mockito.junit.MockitoRule;
import org.mockito.junit.jupiter.MockitoExtension;

import java.util.Arrays;
Expand All @@ -40,9 +37,6 @@
@ExtendWith(MockitoExtension.class)
public class MetafixRecordTest {

@RegisterExtension
private MockitoRule mockitoRule = MockitoJUnit.rule();

@Mock
private StreamReceiver streamReceiver;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnit;
import org.mockito.junit.MockitoRule;
import org.mockito.junit.jupiter.MockitoExtension;

import java.util.Arrays;
Expand All @@ -39,9 +36,6 @@
@Disabled("TODO: support Fix-style selectors https://github.com/LibreCat/Catmandu/wiki/Selectors")
public final class MetafixSelectorTest {

@RegisterExtension
private MockitoRule mockitoRule = MockitoJUnit.rule();

@Mock
private StreamReceiver streamReceiver;

Expand Down

0 comments on commit b34d745

Please sign in to comment.