Skip to content

Commit d006f71

Browse files
committed
Add Class level KDocs and author tags
1 parent e6f77ef commit d006f71

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

kotlin/src/main/kotlin/org/axonframework/extensions/kotlin/CombiningCommandCallback.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import org.axonframework.messaging.MetaData
2727
* @param [R] the type of result of the command handling
2828
* @param [C] the type of payload of the command
2929
* @see CommandCallback
30+
* @author Stefan Andjelkovic
3031
*/
3132
internal class CombiningCommandCallback<C, R>(
3233
val onError: (commandMessage: CommandMessage<out C>, exception: Throwable, metaData: MetaData) -> Unit,

kotlin/src/test/kotlin/org/axonframework/extensions/kotlin/CombiningCommandCallbackTest.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ import java.util.*
2727
import kotlin.test.Test
2828
import kotlin.test.fail
2929

30+
/**
31+
* Tests [CombiningCommandCallback] to verify that it correctly invokes given callbacks.
32+
*
33+
* @author Stefan Andjelkovic
34+
*/
3035
class CombiningCommandCallbackTest {
3136
private val command = ExampleCommand("1")
3237
private val commandMessage: CommandMessage<ExampleCommand> = GenericCommandMessage.asCommandMessage(command)

kotlin/src/test/kotlin/org/axonframework/extensions/kotlin/CommandGatewayExtensionsTest.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ import org.axonframework.messaging.MetaData
2727
import java.util.concurrent.TimeUnit
2828
import kotlin.test.Test
2929

30+
/**
31+
* Tests Command Gateway extensions.
32+
*
33+
* @author Stefan Andjelkovic
34+
*/
3035
class CommandGatewayExtensionsTest {
3136
private val subjectGateway = mockk<CommandGateway>()
3237

kotlin/src/test/kotlin/org/axonframework/extensions/kotlin/QueryGatewayExtensionsTest.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ import kotlin.test.Test
3030
import kotlin.test.assertSame
3131
import kotlin.test.assertTrue
3232

33+
/**
34+
* Tests Query Gateway extensions.
35+
*
36+
* @author Stefan Andjelkovic
37+
*/
3338
class QueryGatewayExtensionsTest {
3439

3540
private val queryName = ExampleQuery::class.qualifiedName.toString()

0 commit comments

Comments
 (0)