mirror of
https://github.com/corda/corda.git
synced 2025-01-18 02:39:51 +00:00
move irs-demo to slowIntegrationTest (#5447)
This commit is contained in:
parent
9b04f73ee8
commit
3476a47378
@ -30,7 +30,7 @@ apply plugin: 'application'
|
||||
mainClassName = 'net.corda.irs.IRSDemo'
|
||||
|
||||
sourceSets {
|
||||
integrationTest {
|
||||
slowIntegrationTest {
|
||||
kotlin {
|
||||
compileClasspath += main.output + test.output
|
||||
runtimeClasspath += main.output + test.output
|
||||
@ -47,8 +47,8 @@ sourceSets {
|
||||
}
|
||||
|
||||
configurations {
|
||||
integrationTestCompile.extendsFrom testCompile
|
||||
integrationTestRuntimeOnly.extendsFrom testRuntimeOnly
|
||||
slowIntegrationTestCompile.extendsFrom testCompile
|
||||
slowIntegrationTestRuntimeOnly.extendsFrom testRuntimeOnly
|
||||
demoArtifacts.extendsFrom testRuntimeClasspath
|
||||
systemTestCompile.extendsFrom testCompile
|
||||
}
|
||||
@ -79,7 +79,7 @@ dependencies {
|
||||
|
||||
testCompile "org.assertj:assertj-core:${assertj_version}"
|
||||
|
||||
integrationTestCompile project(path: ":samples:irs-demo:web", configuration: "demoArtifacts")
|
||||
slowIntegrationTestCompile project(path: ":samples:irs-demo:web", configuration: "demoArtifacts")
|
||||
testCompile "com.palantir.docker.compose:docker-compose-rule-junit4:$docker_compose_rule_version"
|
||||
testCompile "org.seleniumhq.selenium:selenium-java:$selenium_version"
|
||||
testCompile "com.github.detro:ghostdriver:$ghostdriver_version"
|
||||
@ -89,9 +89,9 @@ bootRepackage {
|
||||
enabled = false
|
||||
}
|
||||
|
||||
task integrationTest(type: Test, dependsOn: []) {
|
||||
testClassesDirs = sourceSets.integrationTest.output.classesDirs
|
||||
classpath = sourceSets.integrationTest.runtimeClasspath
|
||||
task slowIntegrationTest(type: Test, dependsOn: []) {
|
||||
testClassesDirs = sourceSets.slowIntegrationTest.output.classesDirs
|
||||
classpath = sourceSets.slowIntegrationTest.runtimeClasspath
|
||||
}
|
||||
|
||||
evaluationDependsOn("cordapp")
|
||||
|
Loading…
Reference in New Issue
Block a user