Skip to content

Commit

Permalink
fix super calls
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssaruth committed Mar 7, 2024
1 parent 0fc195a commit faa6ccb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/kotlin/dartzee/e2e/AbstractE2ETest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Tag

@Tag("e2e")
abstract class AbstractE2ETest : AbstractRegistryTest() {
open class AbstractE2ETest : AbstractRegistryTest() {
override fun getPreferencesAffected() =
listOf(
PREFERENCES_INT_AI_SPEED,
Expand Down
2 changes: 2 additions & 0 deletions src/test/kotlin/dartzee/e2e/SyncE2E.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ import java.util.*
import javax.swing.JButton
import javax.swing.JOptionPane
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test

class SyncE2E : AbstractE2ETest() {
@BeforeEach
override fun beforeEach() {
super.beforeEach()

Expand Down
2 changes: 2 additions & 0 deletions src/test/kotlin/dartzee/e2e/TestGameLoadE2E.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ import io.kotest.matchers.collections.shouldContainExactly
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import javax.swing.SwingUtilities
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test

class TestGameLoadE2E : AbstractE2ETest() {
@BeforeEach
override fun beforeEach() {
super.beforeEach()
PreferenceUtil.saveBoolean(PREFERENCES_BOOLEAN_AI_AUTO_CONTINUE, false)
Expand Down
3 changes: 3 additions & 0 deletions src/test/kotlin/dartzee/e2e/TestMatchE2E.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ import io.kotest.matchers.collections.shouldContainExactlyInAnyOrder
import io.kotest.matchers.shouldBe
import io.kotest.matchers.shouldNotBe
import javax.swing.JTabbedPane
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test

class TestMatchE2E : AbstractE2ETest() {
@BeforeEach
override fun beforeEach() {
super.beforeEach()
PreferenceUtil.saveBoolean(PREFERENCES_BOOLEAN_AI_AUTO_CONTINUE, false)
}

Expand Down

0 comments on commit faa6ccb

Please sign in to comment.