Skip to content

Commit

Permalink
Reenable JUnit tests by global dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Feb 8, 2018
1 parent 8ebd604 commit 5058b36
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 25 deletions.
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,17 @@ allprojects {

dependencies {
checkstyle 'com.puppycrawl.tools:checkstyle:8.8'

testCompile 'junit:junit:4.12'
testCompile 'org.junit.platform:junit-platform-commons:1.1.0-M2'
testCompile 'org.junit.jupiter:junit-jupiter-api:5.1.0-M2'
testCompile 'org.junit.jupiter:junit-jupiter-params:5.1.0-M2'
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.1.0-M2'
testRuntime 'org.junit.vintage:junit-vintage-engine:5.1.0-M2'
testRuntime 'org.apache.logging.log4j:log4j-core:2.10.0'
testRuntime 'org.apache.logging.log4j:log4j-jul:2.10.0'
testCompile 'org.mockito:mockito-core:2.13.0'
testCompile 'org.hamcrest:hamcrest-core:1.3'
}

// Code quality tasks
Expand Down
9 changes: 1 addition & 8 deletions org.jabref.gui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -146,17 +146,10 @@ dependencies {
compile group: 'com.microsoft.azure', name: 'applicationinsights-logging-log4j2', version: '1.0.9'

testCompile 'com.tngtech.archunit:archunit-junit:0.5.0'
testCompile 'junit:junit:4.12'
testCompile 'org.junit.jupiter:junit-jupiter-api:5.1.0-M2'
testCompile 'org.junit.jupiter:junit-jupiter-params:5.1.0-M2'
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.1.0-M2'
testRuntime 'org.junit.vintage:junit-vintage-engine:5.1.0-M2'
testRuntime 'org.apache.logging.log4j:log4j-core:2.10.0'
testRuntime 'org.apache.logging.log4j:log4j-jul:2.10.0'

testCompile 'org.assertj:assertj-core:3.8.0'
testCompile 'org.assertj:assertj-swing:3.8.0'
testCompile 'org.assertj:assertj-swing-junit:3.8.0'
testCompile 'org.mockito:mockito-core:2.13.0'
testCompile "org.testfx:testfx-core:4.0.+"
testCompile "org.testfx:testfx-junit:4.0.+"
testCompile 'com.tngtech.archunit:archunit:0.5.0'
Expand Down
10 changes: 0 additions & 10 deletions org.jabref.logic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,6 @@ dependencies {

testCompile 'org.antlr:antlr-runtime:3.5.2'
testCompile 'com.github.tomakehurst:wiremock:2.14.0'
testCompile 'junit:junit:4.12'
testCompile 'org.junit.platform:junit-platform-commons:1.1.0-M2'
testCompile 'org.junit.jupiter:junit-jupiter-api:5.1.0-M2'
testCompile 'org.junit.jupiter:junit-jupiter-params:5.1.0-M2'
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.1.0-M2'
testRuntime 'org.junit.vintage:junit-vintage-engine:5.1.0-M2'
testRuntime 'org.apache.logging.log4j:log4j-core:2.10.0'
testRuntime 'org.apache.logging.log4j:log4j-jul:2.10.0'
testCompile 'org.hamcrest:hamcrest-core:1.3'
testCompile 'org.mockito:mockito-core:2.13.0'
testCompile 'org.reflections:reflections:0.9.11'
testCompile 'org.xmlunit:xmlunit-core:2.5.1'
testCompile 'org.xmlunit:xmlunit-matchers:2.5.1'
Expand Down
7 changes: 0 additions & 7 deletions org.jabref.model/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ dependencies {
runtime 'org.citationstyles:locales:1.0.1-SNAPSHOT'

compile 'com.github.tomtung:latex2unicode_2.12:0.2.2'

testCompile 'junit:junit:4.12'
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.1.0-M2'
testRuntime 'org.junit.vintage:junit-vintage-engine:5.1.0-M2'
testRuntime 'org.apache.logging.log4j:log4j-core:2.10.0'
testRuntime 'org.apache.logging.log4j:log4j-jul:2.10.0'
testCompile 'org.mockito:mockito-core:2.13.0'
}

clean {
Expand Down

0 comments on commit 5058b36

Please sign in to comment.