|
|
|
@ -74,13 +74,12 @@ dependencies { |
|
|
|
exclude(group: 'commons-logging', module: 'commons-logging') |
|
|
|
exclude(group: 'commons-logging', module: 'commons-logging') |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
testCompile 'junit:junit:4.10', |
|
|
|
testCompile 'junit:junit-dep:4.10', |
|
|
|
'junit:junit-dep:4.10', |
|
|
|
|
|
|
|
'org.mockito:mockito-core:1.9.5', |
|
|
|
'org.mockito:mockito-core:1.9.5', |
|
|
|
'org.jmock:jmock:2.6.0', |
|
|
|
'org.jmock:jmock:2.6.0', |
|
|
|
'org.jmock:jmock-junit4:2.6.0', |
|
|
|
'org.jmock:jmock-junit4:2.6.0', |
|
|
|
'org.hamcrest:hamcrest-core:1.1', |
|
|
|
'org.hamcrest:hamcrest-core:1.3', |
|
|
|
'org.hamcrest:hamcrest-library:1.1', |
|
|
|
'org.hamcrest:hamcrest-library:1.3', |
|
|
|
"org.springframework:spring-test:$springVersion" |
|
|
|
"org.springframework:spring-test:$springVersion" |
|
|
|
// Use slf4j/logback for logging |
|
|
|
// Use slf4j/logback for logging |
|
|
|
testRuntime "org.slf4j:jcl-over-slf4j:$slf4jVersion", |
|
|
|
testRuntime "org.slf4j:jcl-over-slf4j:$slf4jVersion", |
|
|
|
@ -95,7 +94,7 @@ test { |
|
|
|
jvmArgs = ['-ea', '-Xmx500m'] |
|
|
|
jvmArgs = ['-ea', '-Xmx500m'] |
|
|
|
maxParallelForks = guessMaxForks() |
|
|
|
maxParallelForks = guessMaxForks() |
|
|
|
logging.captureStandardOutput(LogLevel.INFO) |
|
|
|
logging.captureStandardOutput(LogLevel.INFO) |
|
|
|
testReport = false |
|
|
|
//testReport = false |
|
|
|
} |
|
|
|
} |
|
|
|
def guessMaxForks() { |
|
|
|
def guessMaxForks() { |
|
|
|
int processors = Runtime.runtime.availableProcessors() |
|
|
|
int processors = Runtime.runtime.availableProcessors() |
|
|
|
|