Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 9efd50f

Browse files
authored
Merge pull request #14 from k163377/feature
Update libralies.
2 parents 988a8d2 + e97a5a0 commit 9efd50f

File tree

5 files changed

+19
-5
lines changed

5 files changed

+19
-5
lines changed

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
plugins {
22
id("maven")
33
id("java")
4-
id("org.jetbrains.kotlin.jvm") version "1.3.71"
4+
id("org.jetbrains.kotlin.jvm") version "1.3.72"
55
id("org.jlleitschuh.gradle.ktlint") version "9.2.1"
66
}
77

88
group = "com.mapk"
9-
version = "0.10"
9+
version = "0.11"
1010

1111
java {
1212
sourceCompatibility = JavaVersion.VERSION_1_8
@@ -18,7 +18,7 @@ buildscript {
1818
}
1919

2020
dependencies {
21-
classpath(kotlin("gradle-plugin", version = "1.3.71"))
21+
classpath(kotlin("gradle-plugin"))
2222
}
2323
}
2424

@@ -33,7 +33,7 @@ dependencies {
3333
implementation(group = "org.jetbrains", name = "annotations", version = "19.0.0")
3434

3535
// https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter
36-
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter", version = "5.6.1") {
36+
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter", version = "5.6.2") {
3737
exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
3838
}
3939
// https://mvnrepository.com/artifact/io.mockk/mockk

src/test/kotlin/com/mapk/core/ArgumentBucketTest.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import org.junit.jupiter.api.BeforeEach
99
import org.junit.jupiter.api.DisplayName
1010
import org.junit.jupiter.api.Nested
1111
import org.junit.jupiter.api.Test
12+
import org.junit.jupiter.api.TestInstance
1213
import org.junit.jupiter.api.assertDoesNotThrow
1314
import org.junit.jupiter.api.assertThrows
1415

@@ -24,9 +25,11 @@ private fun sampleAnnotatedFunction(@KParameterRequireNonNull arg1: Any, arg2: A
2425
}
2526

2627
@DisplayName("ArgumentBucketTestのテスト")
28+
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
2729
class ArgumentBucketTest {
2830
@Nested
2931
@DisplayName("シンプルな呼び出しのテスト")
32+
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
3033
inner class SimpleTest {
3134
private lateinit var argumentBucket: ArgumentBucket
3235

@@ -80,6 +83,7 @@ class ArgumentBucketTest {
8083

8184
@Nested
8285
@DisplayName("アノテーションを付与した場合のテスト")
86+
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
8387
inner class AnnotatedParametersTest {
8488
@Test
8589
@DisplayName("non-null要求のテスト")

src/test/kotlin/com/mapk/core/KFunctionForCallTest.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ import org.junit.jupiter.api.Assertions.assertEquals
77
import org.junit.jupiter.api.DisplayName
88
import org.junit.jupiter.api.Nested
99
import org.junit.jupiter.api.Test
10+
import org.junit.jupiter.api.TestInstance
1011
import org.junit.jupiter.api.assertDoesNotThrow
1112
import org.junit.jupiter.api.assertThrows
1213

14+
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
1315
class KFunctionForCallTest {
1416
@Nested
1517
@DisplayName("初期化関連テスト")
18+
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
1619
inner class InitializeTest {
1720
// 空引数の関数
1821
private fun dummy1() {}
@@ -40,6 +43,7 @@ class KFunctionForCallTest {
4043

4144
@Nested
4245
@DisplayName("呼び出し関連テスト")
46+
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
4347
inner class CallTest {
4448
@Test
4549
@DisplayName("コンパニオンオブジェクトから取得した場合")

0 commit comments

Comments
 (0)