Make UatExecutor accessible inside a CBA JUnit test
[ccsdk/cds.git] / components / model-catalog / blueprint-model / archetype-blueprint / src / main / resources / archetype-resources / Tests / kotlin / org / onap / ccsdk / cds / blueprintsprocessor / BlueprintAcceptanceSunnyTest.kt
1 package org.onap.ccsdk.cds.blueprintsprocessor.uat
2
3 import kotlinx.coroutines.runBlocking
4 import org.junit.Test
5 import org.onap.ccsdk.cds.blueprintsprocessor.uat.base.BaseBlueprintsAcceptanceTest
6 import kotlin.test.Ignore
7
8 /**
9  * This is a sample implementation of a test class using {@see BaseBlueprintsAcceptanceTest}
10  * Please find "TODO" comments, where you need to make your changes
11  */
12 class BlueprintAcceptanceSunnyTest : BaseBlueprintsAcceptanceTest() {
13
14     // TODO: remove @Ignore to activate the test
15     @Ignore
16     @Test
17     fun `Blueprint User Acceptance Tests sunny case`() {
18         runBlocking {
19
20             // TODO: replace the following parameters with yours, if needed.
21             // As long as you have only one uat.yaml in the Tests folder of the cba,
22             // you can leave the parameters as they are.
23
24             callRunUat("../cba", "Tests/uat.yaml")
25         }
26     }
27 }