File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
cffu-core/src/test/java/io/foldright/aspect_test Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
- package io.foldright.cffu
1
+ package io.foldright.aspect_test
2
2
3
+ import io.foldright.cffu.CompletableFutureUtils
3
4
import io.foldright.test_utils.*
4
5
import io.kotest.assertions.fail
5
6
import io.kotest.core.spec.style.FunSpec
@@ -13,6 +14,9 @@ import java.util.concurrent.TimeUnit.SECONDS
13
14
import java.util.function.*
14
15
import java.util.function.Function
15
16
17
+ /* *
18
+ * Check the executor parameter usage of all method that has Executor parameter.
19
+ */
16
20
class CheckExecutorTests : FunSpec ({
17
21
(1..3).forEach { count ->
18
22
test("Multi -Actions (M *) Methods with $count actions") {
Original file line number Diff line number Diff line change 1
- package io.foldright.cffu
1
+ package io.foldright.aspect_test
2
2
3
+ import io.foldright.cffu.Cffu
4
+ import io.foldright.cffu.CompletableFutureUtils
3
5
import io.foldright.test_utils.*
4
6
import io.kotest.inspectors.forAll
5
7
import org.junit.jupiter.api.Test
@@ -10,6 +12,9 @@ import java.util.concurrent.TimeUnit.MILLISECONDS
10
12
import java.util.function.Function
11
13
import java.util.function.Supplier
12
14
15
+ /* *
16
+ * Check the runtime type of return value of all method that returned CompletableFuture/Cffu.
17
+ */
13
18
@Suppress(" MoveLambdaOutsideParentheses" )
14
19
private class CheckMinStageRuntimeTypeTests {
15
20
private val cfThis: CompletableFuture <String > = completedFuture(" cf this" )
You can’t perform that action at this time.
0 commit comments