Skip to content

Commit a4ba12d

Browse files
committed
[RENAME/#351] 테스팅 모듈 패키지 명 변경
1 parent 9c89cd3 commit a4ba12d

5 files changed

Lines changed: 21 additions & 6 deletions

File tree

core/testing/src/main/java/com/watcha/testing/util/MainDispatcherRule.kt renamed to core/testing/src/main/java/com/terning/testing/util/MainDispatcherRule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.watcha.testing.util
1+
package com.terning.testing.util
22

33
import kotlinx.coroutines.Dispatchers
44
import kotlinx.coroutines.ExperimentalCoroutinesApi
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package com.terning.testing
2+
3+
import org.junit.Test
4+
5+
import org.junit.Assert.*
6+
7+
/**
8+
* Example local unit test, which will execute on the development machine (host).
9+
*
10+
* See [testing documentation](http://d.android.com/tools/testing).
11+
*/
12+
class ExampleUnitTest {
13+
@Test
14+
fun addition_isCorrect() {
15+
assertEquals(4, 2 + 2)
16+
}
17+
}

feature/intern/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ dependencies {
1515
// feature
1616
implementation(projects.feature.dialog)
1717

18-
testImplementation(projects.core.testing)
1918
}

feature/intern/src/test/java/com/terning/intern/InternViewModelTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class InternViewModelTest {
5353
.`when`(internRepository).getInternInfo(1)
5454

5555
viewModel.getInternInfo(1)
56-
advanceUntilIdle()
5756

5857
val uiState = viewModel.internUiState.first()
5958
assert(uiState.loadState is UiState.Success)

settings.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ include(
3838
":core:designsystem",
3939
":core:navigation",
4040
":core:network",
41-
":core:local",
42-
":core:testing"
41+
":core:local"
4342
)
4443

4544
// data
@@ -81,4 +80,5 @@ include(
8180
":feature:mypage",
8281
":feature:onboarding",
8382
":feature:search"
84-
)
83+
)
84+
include(":core:testing")

0 commit comments

Comments
 (0)