Behave: fix compilation problem in IntelliJ (#830)

* Sprinkled new gradle dust to make both IntelliJ and TC (gradle) compilation happy.

* Fix compilation problem once and for all + ignore the RPCProxyWebServiceTest smoke test.
This commit is contained in:
josecoll 2018-05-11 15:21:42 +01:00 committed by GitHub
parent 1425899b95
commit 4afc7f3824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 8 deletions

View File

@ -42,6 +42,8 @@ repositories {
sourceSets {
behave {
kotlin {
compileClasspath += main.output
runtimeClasspath += main.output
srcDirs = ['src/main/kotlin', 'src/scenario/kotlin']
}
resources.srcDir file('src/scenario/resources')
@ -56,12 +58,6 @@ sourceSets {
srcDirs = ['src/scenario/resources']
}
}
main {
kotlin {
compileClasspath += sourceSets.behave.output
runtimeClasspath += sourceSets.behave.output
}
}
}
configurations {
@ -182,3 +178,5 @@ task apiJar(type: Jar, dependsOn: classes) {
artifacts {
testArtifacts apiJar
}
jar.finalizedBy (apiJar, behaveJar)

View File

@ -22,6 +22,7 @@ import org.junit.Ignore
import org.junit.Test
import java.net.URL
@Ignore
class RPCProxyWebServiceTest {
/**
@ -175,7 +176,6 @@ class RPCProxyWebServiceTest {
assertVaultHoldsCash(responseA, responseB)
}
@Ignore
@Test
fun startMultiABCPartyCashFlows() {
val notary = rpcProxyClient.notaryIdentities()[0]
@ -238,7 +238,6 @@ class RPCProxyWebServiceTest {
}
// enable Flow Draining on Node B
@Ignore
@Test
fun startMultiACPartyCashFlows() {
val notary = rpcProxyClient.notaryIdentities()[0]