aboutsummaryrefslogtreecommitdiffstats
path: root/hv-collector-client-simulator/src/test
diff options
context:
space:
mode:
authorkjaniak <kornel.janiak@nokia.com>2018-05-29 13:32:14 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-08-01 08:01:53 +0200
commitff1ce822e44ed6aa0712c2d04232ee2bdd427531 (patch)
treecbebd25e0fcd8e669181a7830e213be65f576d16 /hv-collector-client-simulator/src/test
parente98fdcc3087d06b76066ae2d2c7d0bde41d7776b (diff)
Simulator module addition
Change-Id: I8f6e9737954a8769a25450ed22a0285cadfcf164 Issue-ID: DCAEGEN2-601 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
Diffstat (limited to 'hv-collector-client-simulator/src/test')
-rw-r--r--hv-collector-client-simulator/src/test/kotlin/org.onap.dcae.collectors.veshv.main/DummyTest.kt34
1 files changed, 34 insertions, 0 deletions
diff --git a/hv-collector-client-simulator/src/test/kotlin/org.onap.dcae.collectors.veshv.main/DummyTest.kt b/hv-collector-client-simulator/src/test/kotlin/org.onap.dcae.collectors.veshv.main/DummyTest.kt
new file mode 100644
index 00000000..770adeba
--- /dev/null
+++ b/hv-collector-client-simulator/src/test/kotlin/org.onap.dcae.collectors.veshv.main/DummyTest.kt
@@ -0,0 +1,34 @@
+/*
+ * ============LICENSE_START=======================================================
+ * dcaegen2-collectors-veshv
+ * ================================================================================
+ * Copyright (C) 2018 NOKIA Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.dcae.collectors.veshv.main
+
+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)
+ }
+ }
+})