diff options
author | kjaniak <kornel.janiak@nokia.com> | 2018-06-11 12:59:22 +0200 |
---|---|---|
committer | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2018-08-02 07:20:50 +0200 |
commit | 9bdb7d9b45ade3b4181c15729fdbb6a53410cebc (patch) | |
tree | f9d575c4df93a8a05cda82807a58479cec78549b /hv-collector-dcae-app-simulator/src | |
parent | 7c3b59560f015b65882a56db585b7d4bdd10d434 (diff) |
Dcae simulator module addition
Change-Id: I4c0be20f414f356f7c6a28fcdc330b4b8aca5eb9
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Issue-ID: DCAEGEN2-601
Diffstat (limited to 'hv-collector-dcae-app-simulator/src')
2 files changed, 24 insertions, 0 deletions
diff --git a/hv-collector-dcae-app-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/main.kt b/hv-collector-dcae-app-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/main.kt new file mode 100644 index 00000000..a03dbcdb --- /dev/null +++ b/hv-collector-dcae-app-simulator/src/main/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/main.kt @@ -0,0 +1,9 @@ +package org.onap.dcae.collectors.veshv.simulators.dcaeapp + +import org.slf4j.LoggerFactory + +private val logger = LoggerFactory.getLogger("Dcae simulator :: main") + +fun main(args : Array<String>){ + logger.info("Hello world!") +}
\ No newline at end of file diff --git a/hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/DummyTest.kt b/hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/DummyTest.kt new file mode 100644 index 00000000..79b0e4bf --- /dev/null +++ b/hv-collector-dcae-app-simulator/src/test/kotlin/org/onap/dcae/collectors/veshv/simulators/dcaeapp/DummyTest.kt @@ -0,0 +1,15 @@ +package org.onap.dcae.collectors.veshv.simulators.dcaeapp + +import org.jetbrains.spek.api.Spek +import org.jetbrains.spek.api.dsl.it +import org.jetbrains.spek.api.dsl.on +import kotlin.test.assertEquals + +object DummyTest : Spek({ + on("sum of 2 and 3") { + val sum = 2 + 3 + it("outcome should be equals 5") { + assertEquals(5, sum) + } + } +})
\ No newline at end of file |