add junit platform launcher, add test properties for reading large MARC XML files
This commit is contained in:
parent
6f7d768601
commit
684cbf62a5
2 changed files with 6 additions and 0 deletions
5
gradle/test/junit5.gradle
vendored
5
gradle/test/junit5.gradle
vendored
|
@ -4,6 +4,7 @@ dependencies {
|
|||
testImplementation testLibs.junit.jupiter.params
|
||||
testImplementation testLibs.hamcrest
|
||||
testRuntimeOnly testLibs.junit.jupiter.engine
|
||||
testRuntimeOnly testLibs.junit.jupiter.platform.launcher
|
||||
}
|
||||
|
||||
test {
|
||||
|
@ -23,4 +24,8 @@ test {
|
|||
}
|
||||
jvmArgs '-Xmx2048m'
|
||||
systemProperty 'java.util.logging.config.file', 'src/test/resources/logging.properties'
|
||||
// for reading large MARC XML files
|
||||
systemProperty 'entityExpansionLimit', '2147480000'
|
||||
systemProperty 'totalEntitySizeLimit', '2147480000'
|
||||
systemProperty 'jdk.xml.totalEntitySizeLimit', '2147480000'
|
||||
}
|
||||
|
|
1
settings.gradle
vendored
1
settings.gradle
vendored
|
@ -22,6 +22,7 @@ dependencyResolutionManagement {
|
|||
library('junit-jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit')
|
||||
library('junit-jupiter-params', 'org.junit.jupiter', 'junit-jupiter-params').versionRef('junit')
|
||||
library('junit-jupiter-engine', 'org.junit.jupiter', 'junit-jupiter-engine').versionRef('junit')
|
||||
library('junit-jupiter-platform-launcher', 'org.junit.platform', 'junit-platform-launcher').version('1.10.0')
|
||||
library('hamcrest', 'org.hamcrest', 'hamcrest-library').version('2.2')
|
||||
library('charactersets', 'org.xbib', 'bibliographic-character-sets').version('2.0.0')
|
||||
library('json', 'org.xbib', 'content-json').version('5.0.1')
|
||||
|
|
Loading…
Reference in a new issue