From 7428262dcd8da85de0adca0ef82c57398cf411fc Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Mon, 29 Apr 2019 14:56:51 +0200 Subject: feat: Add testkit for testing behavior This change adds a testkit for synchronously testking Behavior implementations. --- odcsim-testkit/build.gradle.kts | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 odcsim-testkit/build.gradle.kts (limited to 'odcsim-testkit/build.gradle.kts') diff --git a/odcsim-testkit/build.gradle.kts b/odcsim-testkit/build.gradle.kts new file mode 100644 index 00000000..8b19019a --- /dev/null +++ b/odcsim-testkit/build.gradle.kts @@ -0,0 +1,43 @@ +/* + * MIT License + * + * Copyright (c) 2019 atlarge-research + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +/* Build configuration */ +apply(from = "../gradle/kotlin.gradle") +plugins { + `java-library` +} + +/* Project configuration */ +repositories { + jcenter() +} + +val junitJupiterVersion: String by extra + +dependencies { + api(project(":odcsim-core")) + + implementation(kotlin("stdlib")) + implementation("org.junit.jupiter:junit-jupiter-api:$junitJupiterVersion") +} -- cgit v1.2.3