refactored server for dependancy injection, combined tests to run correctly in a multithreaded build

This commit is contained in:
Aidan Hahn 2019-05-21 15:04:18 -07:00
parent c599902ad5
commit ea3f84b830
No known key found for this signature in database
GPG key ID: 327711E983899316
3 changed files with 95 additions and 107 deletions

View file

@ -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
}
}