Add @DefinitionSource annotations

Allows parameterized tests to use Item, Npc, and Object definitions
as @ArgumentSources.

This commit also adds support for using @ItemDefinitions etc on
properties as well as functions.
This commit is contained in:
Major-
2018-08-24 23:06:36 +01:00
parent dc0690f82d
commit fd52ee6026
6 changed files with 207 additions and 38 deletions
+6
View File
@@ -19,4 +19,10 @@ dependencies {
api group: 'com.willowtreeapps.assertk', name: 'assertk', version: assertkVersion
implementation group: 'org.powermock', name: 'powermock-module-junit4', version: powermockVersion
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}