File tree Expand file tree Collapse file tree
client/src/test/kotlin/bean Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ import game.Suit
66import io.kotest.matchers.shouldBe
77import org.junit.jupiter.api.Test
88import testCore.makeEntropyBidAction
9+ import util.AbstractClientTest
910
10- class BidListCellRendererTest {
11+ class BidListCellRendererTest : AbstractClientTest () {
1112 @Test
1213 fun `HTML rendering - blind challenge` () {
1314 val challenge = ChallengeAction (" Alyssa" , true )
@@ -28,7 +29,7 @@ class BidListCellRendererTest {
2829
2930 val result = makeRenderer().toHtmlString(bid)
3031 result shouldBe
31- " <html><b><font color=\" red\" >Alyssa: </b></font><font color=\" #000000FF\" face=\" Segoe UI Symbol\" >2♠</font><i><font color=\" #5C5C3D\" >&emsp(Shows: </i></font><font color=\" #008000FF \" face=\" Segoe UI Symbol\" >Ac</font><i><font color=\" #5C5C3D\" >)</i></font></html>"
32+ " <html><b><font color=\" red\" >Alyssa: </b></font><font color=\" #000000FF\" face=\" Segoe UI Symbol\" >2♠</font><i><font color=\" #5C5C3D\" >&emsp(Shows: </i></font><font color=\" #000000FF \" face=\" Segoe UI Symbol\" >Ac</font><i><font color=\" #5C5C3D\" >)</i></font></html>"
3233 }
3334
3435 private fun makeRenderer () =
You can’t perform that action at this time.
0 commit comments