Move tests

This commit is contained in:
2025-03-18 22:09:27 +01:00
parent 8c1eabb9f5
commit c762f31449
25 changed files with 28 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
package eventDemo.adapter.interfaceLayer package eventDemo.adapter.interfaceLayer.query
import eventDemo.business.command.GameCommandHandler import eventDemo.business.command.GameCommandHandler
import eventDemo.business.entity.GameId import eventDemo.business.entity.GameId

View File

@@ -1,4 +1,4 @@
package eventDemo.adapter.interfaceLayer package eventDemo.adapter.interfaceLayer.query
import eventDemo.business.event.projection.gameList.GameListRepository import eventDemo.business.event.projection.gameList.GameListRepository
import io.ktor.resources.Resource import io.ktor.resources.Resource
@@ -7,7 +7,6 @@ import io.ktor.server.auth.authenticate
import io.ktor.server.resources.get import io.ktor.server.resources.get
import io.ktor.server.response.respond import io.ktor.server.response.respond
import io.ktor.server.routing.Route import io.ktor.server.routing.Route
import io.ktor.server.routing.get
import kotlinx.serialization.Serializable import kotlinx.serialization.Serializable
@Serializable @Serializable

View File

@@ -1,4 +1,4 @@
package eventDemo.adapter.interfaceLayer package eventDemo.adapter.interfaceLayer.query
import eventDemo.business.entity.GameId import eventDemo.business.entity.GameId
import eventDemo.business.event.projection.gameState.GameStateRepository import eventDemo.business.event.projection.gameState.GameStateRepository

View File

@@ -1,7 +1,7 @@
package eventDemo.configuration.route package eventDemo.configuration.route
import eventDemo.adapter.interfaceLayer.readGamesList import eventDemo.adapter.interfaceLayer.query.readGamesList
import eventDemo.adapter.interfaceLayer.readTheGameState import eventDemo.adapter.interfaceLayer.query.readTheGameState
import io.ktor.server.application.Application import io.ktor.server.application.Application
import io.ktor.server.routing.routing import io.ktor.server.routing.routing
import org.koin.ktor.ext.get import org.koin.ktor.ext.get

View File

@@ -1,6 +1,6 @@
package eventDemo.configuration.route package eventDemo.configuration.route
import eventDemo.adapter.interfaceLayer.gameWebSocket import eventDemo.adapter.interfaceLayer.query.gameWebSocket
import eventDemo.business.command.GameCommandHandler import eventDemo.business.command.GameCommandHandler
import eventDemo.business.event.projection.projectionListener.PlayerNotificationListener import eventDemo.business.event.projection.projectionListener.PlayerNotificationListener
import io.ktor.server.application.Application import io.ktor.server.application.Application

View File

@@ -1,4 +1,4 @@
package eventDemo.app package eventDemo
import eventDemo.business.entity.Card import eventDemo.business.entity.Card
import eventDemo.business.entity.Deck import eventDemo.business.entity.Deck

View File

@@ -1,4 +1,4 @@
package eventDemo.app.query package eventDemo.adapter.interfaceLayer.query
import eventDemo.business.entity.Player import eventDemo.business.entity.Player
import eventDemo.configuration.ktor.makeJwt import eventDemo.configuration.ktor.makeJwt

View File

@@ -1,4 +1,4 @@
package eventDemo.app.query package eventDemo.adapter.interfaceLayer.query
import eventDemo.business.entity.GameId import eventDemo.business.entity.GameId
import eventDemo.business.entity.Player import eventDemo.business.entity.Player

View File

@@ -1,4 +1,4 @@
package eventDemo.app.query package eventDemo.adapter.interfaceLayer.query
import eventDemo.business.command.GameCommandHandler import eventDemo.business.command.GameCommandHandler
import eventDemo.business.command.command.GameCommand import eventDemo.business.command.command.GameCommand

View File

@@ -1,4 +1,4 @@
package eventDemo.app.query package eventDemo.adapter.interfaceLayer.query
import eventDemo.business.entity.Card import eventDemo.business.entity.Card
import eventDemo.business.entity.GameId import eventDemo.business.entity.GameId

View File

@@ -1,4 +1,4 @@
package eventDemo.app.query package eventDemo.adapter.interfaceLayer.query
import eventDemo.configuration.ktor.defaultJsonSerializer import eventDemo.configuration.ktor.defaultJsonSerializer
import io.ktor.client.HttpClient import io.ktor.client.HttpClient
import io.ktor.client.plugins.contentnegotiation.ContentNegotiation import io.ktor.client.plugins.contentnegotiation.ContentNegotiation

View File

@@ -1,6 +1,5 @@
package eventDemo.app.command package eventDemo.business.command
import eventDemo.business.command.GameCommandHandler
import eventDemo.business.command.command.GameCommand import eventDemo.business.command.command.GameCommand
import eventDemo.business.command.command.IWantToJoinTheGameCommand import eventDemo.business.command.command.IWantToJoinTheGameCommand
import eventDemo.business.entity.GameId import eventDemo.business.entity.GameId

View File

@@ -1,4 +1,4 @@
package eventDemo.app.command package eventDemo.business.command
import io.kotest.core.spec.style.FunSpec import io.kotest.core.spec.style.FunSpec

View File

@@ -1,4 +1,4 @@
package eventDemo.app.command.command package eventDemo.business.command.command
import io.kotest.core.spec.style.FunSpec import io.kotest.core.spec.style.FunSpec

View File

@@ -1,4 +1,4 @@
package eventDemo.app.command.command package eventDemo.business.command.command
import io.kotest.core.spec.style.FunSpec import io.kotest.core.spec.style.FunSpec

View File

@@ -1,4 +1,4 @@
package eventDemo.app.command.command package eventDemo.business.command.command
import io.kotest.core.spec.style.FunSpec import io.kotest.core.spec.style.FunSpec

View File

@@ -1,4 +1,4 @@
package eventDemo.app.command.command package eventDemo.business.command.command
import io.kotest.core.spec.style.FunSpec import io.kotest.core.spec.style.FunSpec

View File

@@ -1,10 +1,7 @@
package eventDemo.app.entity package eventDemo.business.entity
import eventDemo.app.allCardCount import eventDemo.allCardCount
import eventDemo.app.allCards import eventDemo.allCards
import eventDemo.business.entity.Deck
import eventDemo.business.entity.Player
import eventDemo.business.entity.initHands
import io.kotest.core.spec.style.FunSpec import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.collections.shouldBeUnique import io.kotest.matchers.collections.shouldBeUnique
import io.kotest.matchers.ints.shouldBeExactly import io.kotest.matchers.ints.shouldBeExactly

View File

@@ -1,4 +1,4 @@
package eventDemo.app.entity package eventDemo.business.entity
import eventDemo.business.entity.Card import eventDemo.business.entity.Card
import eventDemo.business.entity.Player import eventDemo.business.entity.Player

View File

@@ -1,4 +1,4 @@
package eventDemo.app.entity package eventDemo.business.entity
import io.kotest.core.spec.style.FunSpec import io.kotest.core.spec.style.FunSpec

View File

@@ -1,4 +1,4 @@
package eventDemo.app.event package eventDemo.business.event
import io.kotest.core.spec.style.FunSpec import io.kotest.core.spec.style.FunSpec

View File

@@ -1,4 +1,4 @@
package eventDemo.app.event.projection package eventDemo.business.event.projection
import eventDemo.business.entity.Card import eventDemo.business.entity.Card
import eventDemo.business.entity.GameId import eventDemo.business.entity.GameId

View File

@@ -1,4 +1,4 @@
package eventDemo.app.event.projection package eventDemo.business.event.projection
import eventDemo.business.entity.GameId import eventDemo.business.entity.GameId
import eventDemo.business.entity.Player import eventDemo.business.entity.Player

View File

@@ -1,4 +1,4 @@
package eventDemo.app.event.projection package eventDemo.business.event.projection
import eventDemo.business.entity.Card import eventDemo.business.entity.Card
import eventDemo.business.entity.Deck import eventDemo.business.entity.Deck

View File

@@ -1,4 +1,4 @@
package eventDemo.app.event.projection package eventDemo.business.event.projection
import eventDemo.libs.event.AggregateId import eventDemo.libs.event.AggregateId
import eventDemo.libs.event.Event import eventDemo.libs.event.Event