Skip to content

Commit bebd45d

Browse files
committed
update to disable BigText tests as the bundled BigText is no longer in use and refactored as a separated library
1 parent 951a851 commit bebd45d

File tree

10 files changed

+20
-0
lines changed

10 files changed

+20
-0
lines changed

src/jvmTest/kotlin/com/sunnychung/application/multiplatform/hellohttp/test/bigtext/BigTextImplLayoutTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.BigTextImpl
66
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.MonospaceTextLayouter
77
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.isD
88
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.logL
9+
import org.junit.jupiter.api.Disabled
910
import org.junit.jupiter.api.MethodOrderer
1011
import org.junit.jupiter.api.Order
1112
import org.junit.jupiter.api.TestMethodOrder
@@ -19,6 +20,7 @@ import kotlin.test.assertEquals
1920

2021
internal var random: Random = Random
2122

23+
@Disabled("Refactored to the BigText library")
2224
@TestMethodOrder(MethodOrderer.OrderAnnotation::class)
2325
class BigTextImplLayoutTest {
2426

src/jvmTest/kotlin/com/sunnychung/application/multiplatform/hellohttp/test/bigtext/BigTextImplQueryTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ package com.sunnychung.application.multiplatform.hellohttp.test.bigtext
22

33
import com.sunnychung.application.multiplatform.hellohttp.extension.insert
44
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.BigTextImpl
5+
import org.junit.jupiter.api.Disabled
56
import org.junit.jupiter.params.ParameterizedTest
67
import org.junit.jupiter.params.provider.ValueSource
78
import kotlin.random.Random
89
import kotlin.test.Test
910
import kotlin.test.assertEquals
1011

12+
@Disabled("Refactored to the BigText library")
1113
class BigTextImplQueryTest {
1214

1315
@Test

src/jvmTest/kotlin/com/sunnychung/application/multiplatform/hellohttp/test/bigtext/BigTextImplTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package com.sunnychung.application.multiplatform.hellohttp.test.bigtext
33
import com.sunnychung.application.multiplatform.hellohttp.extension.length
44
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.BigTextImpl
55
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.isD
6+
import org.junit.jupiter.api.Disabled
67
import org.junit.jupiter.params.ParameterizedTest
78
import org.junit.jupiter.params.provider.MethodSource
89
import org.junit.jupiter.params.provider.ValueSource
@@ -13,6 +14,7 @@ import kotlin.test.assertEquals
1314
/**
1415
* Some cases in this test may look very specific, but they had consistently failed before.
1516
*/
17+
@Disabled("Refactored to the BigText library")
1618
class BigTextImplTest {
1719

1820
companion object {

src/jvmTest/kotlin/com/sunnychung/application/multiplatform/hellohttp/test/bigtext/BigTextUndoRedoTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
package com.sunnychung.application.multiplatform.hellohttp.test.bigtext
22

33
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.BigTextImpl
4+
import org.junit.jupiter.api.Disabled
45
import org.junit.jupiter.params.ParameterizedTest
56
import org.junit.jupiter.params.provider.ValueSource
67
import kotlin.test.Test
78
import kotlin.test.assertEquals
89

10+
@Disabled("Refactored to the BigText library")
911
class BigTextUndoRedoTest {
1012

1113
@ParameterizedTest

src/jvmTest/kotlin/com/sunnychung/application/multiplatform/hellohttp/test/bigtext/BigTextVerifyImpl.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.Inefficient
1313
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.LengthTree
1414
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.TextBuffer
1515
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.TextLayouter
16+
import org.junit.jupiter.api.Disabled
1617
import java.util.TreeMap
1718
import kotlin.test.assertEquals
1819

20+
@Disabled("Refactored to the BigText library")
1921
internal class BigTextVerifyImpl(bigTextImpl: BigTextImpl) : BigText {
2022
val bigTextImpl: BigTextImpl = bigTextImpl
2123
val stringImpl = InefficientBigText("")

src/jvmTest/kotlin/com/sunnychung/application/multiplatform/hellohttp/test/bigtext/ConcurrentBigTextThreadSafetyTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ import kotlinx.coroutines.Dispatchers
99
import kotlinx.coroutines.launch
1010
import kotlinx.coroutines.runBlocking
1111
import kotlinx.coroutines.withContext
12+
import org.junit.jupiter.api.Disabled
1213
import kotlin.random.Random
1314
import kotlin.test.Test
1415
import kotlin.test.assertEquals
1516

17+
@Disabled("Refactored to the BigText library")
1618
class ConcurrentBigTextThreadSafetyTest {
1719

1820
@Test

src/jvmTest/kotlin/com/sunnychung/application/multiplatform/hellohttp/test/bigtext/transform/BigTextTransformPositionCalculatorTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.BigTextTran
77
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.BigTextTransformerImpl
88
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.MonospaceTextLayouter
99
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.isD
10+
import org.junit.jupiter.api.Disabled
1011
import org.junit.jupiter.params.ParameterizedTest
1112
import org.junit.jupiter.params.provider.ValueSource
1213

14+
@Disabled("Refactored to the BigText library")
1315
class BigTextTransformPositionCalculatorTest {
1416

1517
@ParameterizedTest

src/jvmTest/kotlin/com/sunnychung/application/multiplatform/hellohttp/test/bigtext/transform/BigTextTransformerImplTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.BigTextTran
77
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.BigTextTransformerImpl
88
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.isD
99
import org.junit.jupiter.api.BeforeEach
10+
import org.junit.jupiter.api.Disabled
1011
import org.junit.jupiter.params.ParameterizedTest
1112
import org.junit.jupiter.params.provider.ValueSource
1213
import kotlin.test.assertEquals
1314

15+
@Disabled("Refactored to the BigText library")
1416
class BigTextTransformerImplTest {
1517

1618
@ParameterizedTest

src/jvmTest/kotlin/com/sunnychung/application/multiplatform/hellohttp/test/bigtext/transform/BigTextTransformerLayoutTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import com.sunnychung.application.multiplatform.hellohttp.test.bigtext.verifyBig
99
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.BigTextImpl
1010
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.BigTextTransformerImpl
1111
import com.sunnychung.application.multiplatform.hellohttp.ux.bigtext.MonospaceTextLayouter
12+
import org.junit.jupiter.api.Disabled
1213
import org.junit.jupiter.api.MethodOrderer
1314
import org.junit.jupiter.api.Order
1415
import org.junit.jupiter.api.TestMethodOrder
@@ -18,6 +19,7 @@ import java.util.TreeMap
1819
import kotlin.random.Random
1920
import kotlin.test.assertEquals
2021

22+
@Disabled("Refactored to the BigText library")
2123
@TestMethodOrder(MethodOrderer.OrderAnnotation::class)
2224
class BigTextTransformerLayoutTest {
2325

src/jvmTest/kotlin/com/sunnychung/application/multiplatform/hellohttp/test/bigtext/transform/ConcurrentBigTextTransformedThreadSafetyTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ import kotlinx.coroutines.CoroutineScope
1010
import kotlinx.coroutines.Dispatchers
1111
import kotlinx.coroutines.launch
1212
import kotlinx.coroutines.runBlocking
13+
import org.junit.jupiter.api.Disabled
1314
import kotlin.random.Random
1415
import kotlin.test.Test
1516
import kotlin.test.assertEquals
1617

18+
@Disabled("Refactored to the BigText library")
1719
class ConcurrentBigTextTransformedThreadSafetyTest {
1820

1921
@Test

0 commit comments

Comments
 (0)