From 1b38b5c78f464f299083994147f3ac4df29edf54 Mon Sep 17 00:00:00 2001 From: Jan Galinski Date: Thu, 21 Jul 2022 10:09:59 +0200 Subject: [PATCH] refactor packages --- .../{ => io/toolisticon/testing/jgiven}/JGivenKotlin.kt | 0 .../{ => io/toolisticon/testing/jgiven}/JGivenKotlinStage.kt | 0 .../toolisticon/testing/jgiven}/CalculatorExampleTest.kt | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/main/kotlin/{ => io/toolisticon/testing/jgiven}/JGivenKotlin.kt (100%) rename src/main/kotlin/{ => io/toolisticon/testing/jgiven}/JGivenKotlinStage.kt (100%) rename src/test/kotlin/{ => io/toolisticon/testing/jgiven}/CalculatorExampleTest.kt (90%) diff --git a/src/main/kotlin/JGivenKotlin.kt b/src/main/kotlin/io/toolisticon/testing/jgiven/JGivenKotlin.kt similarity index 100% rename from src/main/kotlin/JGivenKotlin.kt rename to src/main/kotlin/io/toolisticon/testing/jgiven/JGivenKotlin.kt diff --git a/src/main/kotlin/JGivenKotlinStage.kt b/src/main/kotlin/io/toolisticon/testing/jgiven/JGivenKotlinStage.kt similarity index 100% rename from src/main/kotlin/JGivenKotlinStage.kt rename to src/main/kotlin/io/toolisticon/testing/jgiven/JGivenKotlinStage.kt diff --git a/src/test/kotlin/CalculatorExampleTest.kt b/src/test/kotlin/io/toolisticon/testing/jgiven/CalculatorExampleTest.kt similarity index 90% rename from src/test/kotlin/CalculatorExampleTest.kt rename to src/test/kotlin/io/toolisticon/testing/jgiven/CalculatorExampleTest.kt index a04b75b..e046c79 100644 --- a/src/test/kotlin/CalculatorExampleTest.kt +++ b/src/test/kotlin/io/toolisticon/testing/jgiven/CalculatorExampleTest.kt @@ -10,10 +10,10 @@ import kotlin.test.assertEquals /** * Simple example using GIVEN/WHEN/THEN extensions, the step() lambda and the all open annotation. */ -class CalculatorExampleTest : SimpleScenarioTest() { +internal class CalculatorExampleTest : SimpleScenarioTest() { @Test - internal fun `calculator adds two numbers`() { + fun `calculator adds two numbers`() { GIVEN .`the first number is $`(4) .AND