refactored server for dependancy injection, combined tests to run correctly in a multithreaded build
This commit is contained in:
parent
c599902ad5
commit
ea3f84b830
3 changed files with 95 additions and 107 deletions
22
build.gradle
22
build.gradle
|
|
@ -20,6 +20,7 @@ plugins {
|
|||
id 'java'
|
||||
id 'com.google.protobuf' version '0.8.8'
|
||||
id 'application'
|
||||
id 'com.adarshr.test-logger' version '1.6.0'
|
||||
}
|
||||
|
||||
def grpcVersion = '1.20.0'
|
||||
|
|
@ -49,6 +50,25 @@ dependencies {
|
|||
compile 'io.netty:netty-tcnative-boringssl-static:2.0.22.Final'
|
||||
}
|
||||
|
||||
test {
|
||||
testLogging.showStandardStreams = true
|
||||
testLogging.exceptionFormat = 'full'
|
||||
}
|
||||
|
||||
testlogger {
|
||||
theme 'standard'
|
||||
showExceptions true
|
||||
slowThreshold 2000
|
||||
showSummary true
|
||||
showPassed true
|
||||
showSkipped true
|
||||
showFailed true
|
||||
showStandardStreams false
|
||||
showPassedStandardStreams true
|
||||
showSkippedStandardStreams true
|
||||
showFailedStandardStreams true
|
||||
}
|
||||
|
||||
// Define the main class for the application
|
||||
mainClassName = 'JobServ.JobServClient'
|
||||
|
||||
|
|
@ -88,4 +108,4 @@ applicationDistribution.into('bin') {
|
|||
from(Server)
|
||||
from(Client)
|
||||
fileMode = 0755
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue