Skip to content

Commit 6d9c058

Browse files
committed
Revert "Move util to test_utils"
This reverts commit f94a8aa.
1 parent c6f7d6c commit 6d9c058

35 files changed

+84
-84
lines changed

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/ClearAllStoreTests.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import kotlinx.coroutines.test.TestScope
66
import kotlinx.coroutines.test.advanceUntilIdle
77
import kotlinx.coroutines.test.runTest
88
import org.mobilenativefoundation.store.core5.ExperimentalStoreApi
9-
import org.mobilenativefoundation.store.store5.test_utils.InMemoryPersister
10-
import org.mobilenativefoundation.store.store5.test_utils.asSourceOfTruth
11-
import org.mobilenativefoundation.store.store5.test_utils.getData
9+
import org.mobilenativefoundation.store.store5.util.InMemoryPersister
10+
import org.mobilenativefoundation.store.store5.util.asSourceOfTruth
11+
import org.mobilenativefoundation.store.store5.util.getData
1212
import kotlin.test.BeforeTest
1313
import kotlin.test.Test
1414
import kotlin.test.assertEquals

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/ClearStoreByKeyTests.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import kotlinx.coroutines.FlowPreview
55
import kotlinx.coroutines.test.TestScope
66
import kotlinx.coroutines.test.runTest
77
import org.mobilenativefoundation.store.store5.StoreReadResponse.Data
8-
import org.mobilenativefoundation.store.store5.test_utils.InMemoryPersister
9-
import org.mobilenativefoundation.store.store5.test_utils.asSourceOfTruth
10-
import org.mobilenativefoundation.store.store5.test_utils.getData
8+
import org.mobilenativefoundation.store.store5.util.InMemoryPersister
9+
import org.mobilenativefoundation.store.store5.util.asSourceOfTruth
10+
import org.mobilenativefoundation.store.store5.util.getData
1111
import kotlin.test.Test
1212
import kotlin.test.assertEquals
1313
import kotlin.test.assertNull

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/FallbackTests.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import kotlinx.coroutines.flow.take
44
import kotlinx.coroutines.flow.toList
55
import kotlinx.coroutines.test.TestScope
66
import kotlinx.coroutines.test.runTest
7-
import org.mobilenativefoundation.store.store5.test_utils.fake.fallback.HardcodedPages
8-
import org.mobilenativefoundation.store.store5.test_utils.fake.fallback.Page
9-
import org.mobilenativefoundation.store.store5.test_utils.fake.fallback.PagesDatabase
10-
import org.mobilenativefoundation.store.store5.test_utils.fake.fallback.PrimaryPagesApi
11-
import org.mobilenativefoundation.store.store5.test_utils.fake.fallback.SecondaryPagesApi
7+
import org.mobilenativefoundation.store.store5.util.fake.fallback.HardcodedPages
8+
import org.mobilenativefoundation.store.store5.util.fake.fallback.Page
9+
import org.mobilenativefoundation.store.store5.util.fake.fallback.PagesDatabase
10+
import org.mobilenativefoundation.store.store5.util.fake.fallback.PrimaryPagesApi
11+
import org.mobilenativefoundation.store.store5.util.fake.fallback.SecondaryPagesApi
1212
import kotlin.test.BeforeTest
1313
import kotlin.test.Test
1414
import kotlin.test.assertEquals

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/FetcherResponseTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import kotlinx.coroutines.flow.map
77
import kotlinx.coroutines.flow.toList
88
import kotlinx.coroutines.test.TestScope
99
import kotlinx.coroutines.test.runTest
10-
import org.mobilenativefoundation.store.store5.test_utils.assertEmitsExactly
10+
import org.mobilenativefoundation.store.store5.util.assertEmitsExactly
1111
import kotlin.test.Test
1212
import kotlin.test.assertEquals
1313
import kotlin.test.assertFailsWith

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/FlowStoreTests.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ import kotlinx.coroutines.test.runTest
3434
import org.mobilenativefoundation.store.store5.StoreReadResponse.Data
3535
import org.mobilenativefoundation.store.store5.StoreReadResponse.Loading
3636
import org.mobilenativefoundation.store.store5.impl.extensions.fresh
37-
import org.mobilenativefoundation.store.store5.test_utils.FakeFetcher
38-
import org.mobilenativefoundation.store.store5.test_utils.FakeFlowingFetcher
39-
import org.mobilenativefoundation.store.store5.test_utils.InMemoryPersister
40-
import org.mobilenativefoundation.store.store5.test_utils.asFlowable
41-
import org.mobilenativefoundation.store.store5.test_utils.asSourceOfTruth
42-
import org.mobilenativefoundation.store.store5.test_utils.assertEmitsExactly
37+
import org.mobilenativefoundation.store.store5.util.FakeFetcher
38+
import org.mobilenativefoundation.store.store5.util.FakeFlowingFetcher
39+
import org.mobilenativefoundation.store.store5.util.InMemoryPersister
40+
import org.mobilenativefoundation.store.store5.util.asFlowable
41+
import org.mobilenativefoundation.store.store5.util.asSourceOfTruth
42+
import org.mobilenativefoundation.store.store5.util.assertEmitsExactly
4343
import kotlin.test.Test
4444
import kotlin.test.assertContains
4545
import kotlin.test.assertEquals

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/HotFlowStoreTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import kotlinx.coroutines.flow.Flow
66
import kotlinx.coroutines.flow.flowOf
77
import kotlinx.coroutines.test.TestScope
88
import kotlinx.coroutines.test.runTest
9-
import org.mobilenativefoundation.store.store5.test_utils.assertEmitsExactly
9+
import org.mobilenativefoundation.store.store5.util.assertEmitsExactly
1010
import kotlin.test.Test
1111
import kotlin.test.assertEquals
1212

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/KeyTrackerTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import kotlinx.coroutines.launch
1010
import kotlinx.coroutines.test.TestScope
1111
import kotlinx.coroutines.test.advanceUntilIdle
1212
import kotlinx.coroutines.test.runTest
13-
import org.mobilenativefoundation.store.store5.test_utils.KeyTracker
13+
import org.mobilenativefoundation.store.store5.util.KeyTracker
1414
import kotlin.test.Test
1515
import kotlin.test.assertEquals
1616

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/LocalOnlyTests.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import kotlinx.coroutines.flow.first
55
import kotlinx.coroutines.test.TestScope
66
import kotlinx.coroutines.test.runTest
77
import org.mobilenativefoundation.store.store5.impl.extensions.get
8-
import org.mobilenativefoundation.store.store5.test_utils.InMemoryPersister
9-
import org.mobilenativefoundation.store.store5.test_utils.asSourceOfTruth
8+
import org.mobilenativefoundation.store.store5.util.InMemoryPersister
9+
import org.mobilenativefoundation.store.store5.util.asSourceOfTruth
1010
import kotlin.test.Test
1111
import kotlin.test.assertEquals
1212
import kotlin.test.assertTrue

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/MapIndexedTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import kotlinx.coroutines.flow.flowOf
55
import kotlinx.coroutines.test.TestScope
66
import kotlinx.coroutines.test.runTest
77
import org.mobilenativefoundation.store.store5.impl.operators.mapIndexed
8-
import org.mobilenativefoundation.store.store5.test_utils.assertEmitsExactly
8+
import org.mobilenativefoundation.store.store5.util.assertEmitsExactly
99
import kotlin.test.Test
1010

1111
@OptIn(ExperimentalCoroutinesApi::class)

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/SourceOfTruthErrorsTests.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import kotlinx.coroutines.test.TestScope
1212
import kotlinx.coroutines.test.runTest
1313
import org.mobilenativefoundation.store.store5.SourceOfTruth.ReadException
1414
import org.mobilenativefoundation.store.store5.SourceOfTruth.WriteException
15-
import org.mobilenativefoundation.store.store5.test_utils.FakeFetcher
16-
import org.mobilenativefoundation.store.store5.test_utils.InMemoryPersister
17-
import org.mobilenativefoundation.store.store5.test_utils.asSourceOfTruth
18-
import org.mobilenativefoundation.store.store5.test_utils.assertEmitsExactly
15+
import org.mobilenativefoundation.store.store5.util.FakeFetcher
16+
import org.mobilenativefoundation.store.store5.util.InMemoryPersister
17+
import org.mobilenativefoundation.store.store5.util.asSourceOfTruth
18+
import org.mobilenativefoundation.store.store5.util.assertEmitsExactly
1919
import kotlin.test.Test
2020

2121
@OptIn(ExperimentalCoroutinesApi::class)

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/SourceOfTruthWithBarrierTests.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ import org.mobilenativefoundation.store.store5.SourceOfTruth.ReadException
3131
import org.mobilenativefoundation.store.store5.SourceOfTruth.WriteException
3232
import org.mobilenativefoundation.store.store5.impl.PersistentSourceOfTruth
3333
import org.mobilenativefoundation.store.store5.impl.SourceOfTruthWithBarrier
34-
import org.mobilenativefoundation.store.store5.test_utils.InMemoryPersister
35-
import org.mobilenativefoundation.store.store5.test_utils.assertEmitsExactly
34+
import org.mobilenativefoundation.store.store5.util.InMemoryPersister
35+
import org.mobilenativefoundation.store.store5.util.assertEmitsExactly
3636
import kotlin.test.Test
3737
import kotlin.test.assertEquals
3838
import kotlin.test.assertNull

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/StreamWithoutSourceOfTruthTests.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import kotlinx.coroutines.flow.take
88
import kotlinx.coroutines.flow.toList
99
import kotlinx.coroutines.test.TestScope
1010
import kotlinx.coroutines.test.runTest
11-
import org.mobilenativefoundation.store.store5.test_utils.FakeFetcher
12-
import org.mobilenativefoundation.store.store5.test_utils.assertEmitsExactly
11+
import org.mobilenativefoundation.store.store5.util.FakeFetcher
12+
import org.mobilenativefoundation.store.store5.util.assertEmitsExactly
1313
import kotlin.test.Test
1414
import kotlin.test.assertEquals
1515

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/UpdaterTests.kt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ import kotlinx.coroutines.test.TestScope
99
import kotlinx.coroutines.test.runTest
1010
import org.mobilenativefoundation.store.core5.ExperimentalStoreApi
1111
import org.mobilenativefoundation.store.store5.impl.extensions.inHours
12-
import org.mobilenativefoundation.store.store5.test_utils.assertEmitsExactly
13-
import org.mobilenativefoundation.store.store5.test_utils.fake.Notes
14-
import org.mobilenativefoundation.store.store5.test_utils.fake.NotesApi
15-
import org.mobilenativefoundation.store.store5.test_utils.fake.NotesBookkeeping
16-
import org.mobilenativefoundation.store.store5.test_utils.fake.NotesConverterProvider
17-
import org.mobilenativefoundation.store.store5.test_utils.fake.NotesDatabase
18-
import org.mobilenativefoundation.store.store5.test_utils.fake.NotesKey
19-
import org.mobilenativefoundation.store.store5.test_utils.fake.NotesUpdaterProvider
20-
import org.mobilenativefoundation.store.store5.test_utils.fake.NotesValidator
21-
import org.mobilenativefoundation.store.store5.test_utils.model.InputNote
22-
import org.mobilenativefoundation.store.store5.test_utils.model.NetworkNote
23-
import org.mobilenativefoundation.store.store5.test_utils.model.NoteData
24-
import org.mobilenativefoundation.store.store5.test_utils.model.NotesWriteResponse
25-
import org.mobilenativefoundation.store.store5.test_utils.model.OutputNote
12+
import org.mobilenativefoundation.store.store5.util.assertEmitsExactly
13+
import org.mobilenativefoundation.store.store5.util.fake.Notes
14+
import org.mobilenativefoundation.store.store5.util.fake.NotesApi
15+
import org.mobilenativefoundation.store.store5.util.fake.NotesBookkeeping
16+
import org.mobilenativefoundation.store.store5.util.fake.NotesConverterProvider
17+
import org.mobilenativefoundation.store.store5.util.fake.NotesDatabase
18+
import org.mobilenativefoundation.store.store5.util.fake.NotesKey
19+
import org.mobilenativefoundation.store.store5.util.fake.NotesUpdaterProvider
20+
import org.mobilenativefoundation.store.store5.util.fake.NotesValidator
21+
import org.mobilenativefoundation.store.store5.util.model.InputNote
22+
import org.mobilenativefoundation.store.store5.util.model.NetworkNote
23+
import org.mobilenativefoundation.store.store5.util.model.NoteData
24+
import org.mobilenativefoundation.store.store5.util.model.NotesWriteResponse
25+
import org.mobilenativefoundation.store.store5.util.model.OutputNote
2626
import kotlin.test.BeforeTest
2727
import kotlin.test.Test
2828
import kotlin.test.assertEquals

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/ValueFetcherTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import kotlinx.coroutines.flow.flow
66
import kotlinx.coroutines.flow.flowOf
77
import kotlinx.coroutines.test.TestScope
88
import kotlinx.coroutines.test.runTest
9-
import org.mobilenativefoundation.store.store5.test_utils.assertEmitsExactly
9+
import org.mobilenativefoundation.store.store5.util.assertEmitsExactly
1010
import kotlin.test.Test
1111

1212
@ExperimentalCoroutinesApi

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/test_utils/AsFlowable.kt renamed to store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/util/AsFlowable.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils
1+
package org.mobilenativefoundation.store.store5.util
22

33
import kotlinx.coroutines.NonCancellable
44
import kotlinx.coroutines.channels.BufferOverflow
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils
1+
package org.mobilenativefoundation.store.store5.util
22

33
import kotlinx.coroutines.flow.Flow
44
import kotlinx.coroutines.flow.take

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/test_utils/FakeFetcher.kt renamed to store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/util/FakeFetcher.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.mobilenativefoundation.store.store5.test_utils
16+
package org.mobilenativefoundation.store.store5.util
1717

1818
import kotlinx.coroutines.delay
1919
import kotlinx.coroutines.flow.Flow
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils
1+
package org.mobilenativefoundation.store.store5.util
22

33
import org.mobilenativefoundation.store.store5.SourceOfTruth
44

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/test_utils/TestApi.kt renamed to store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/util/TestApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils
1+
package org.mobilenativefoundation.store.store5.util
22

33
internal interface TestApi<Key : Any, Network : Any, Output : Any, Response : Any> {
44
fun get(
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils
1+
package org.mobilenativefoundation.store.store5.util
22

33
import kotlinx.coroutines.flow.filterNot
44
import kotlinx.coroutines.flow.first
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake
1+
package org.mobilenativefoundation.store.store5.util.fake
22

3-
import org.mobilenativefoundation.store.store5.test_utils.model.NoteData
3+
import org.mobilenativefoundation.store.store5.util.model.NoteData
44

55
internal object NoteCollections {
66
object Keys {

store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/test_utils/fake/Notes.kt renamed to store/src/commonTest/kotlin/org/mobilenativefoundation/store/store5/util/fake/Notes.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake
1+
package org.mobilenativefoundation.store.store5.util.fake
22

3-
import org.mobilenativefoundation.store.store5.test_utils.model.Note
3+
import org.mobilenativefoundation.store.store5.util.model.Note
44

55
internal object Notes {
66
val One = Note("1", "Title-1", "Content-1")
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake
1+
package org.mobilenativefoundation.store.store5.util.fake
22

3-
import org.mobilenativefoundation.store.store5.test_utils.TestApi
4-
import org.mobilenativefoundation.store.store5.test_utils.model.InputNote
5-
import org.mobilenativefoundation.store.store5.test_utils.model.NetworkNote
6-
import org.mobilenativefoundation.store.store5.test_utils.model.NoteData
7-
import org.mobilenativefoundation.store.store5.test_utils.model.NotesWriteResponse
3+
import org.mobilenativefoundation.store.store5.util.TestApi
4+
import org.mobilenativefoundation.store.store5.util.model.InputNote
5+
import org.mobilenativefoundation.store.store5.util.model.NetworkNote
6+
import org.mobilenativefoundation.store.store5.util.model.NoteData
7+
import org.mobilenativefoundation.store.store5.util.model.NotesWriteResponse
88

99
internal class NotesApi : TestApi<NotesKey, NetworkNote, InputNote, NotesWriteResponse> {
1010
internal val db = mutableMapOf<NotesKey, NetworkNote>()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake
1+
package org.mobilenativefoundation.store.store5.util.fake
22

33
class NotesBookkeeping {
44
private val log: MutableMap<NotesKey, Long?> = mutableMapOf()
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake
1+
package org.mobilenativefoundation.store.store5.util.fake
22

33
import org.mobilenativefoundation.store.store5.Converter
44
import org.mobilenativefoundation.store.store5.impl.extensions.inHours
5-
import org.mobilenativefoundation.store.store5.test_utils.model.InputNote
6-
import org.mobilenativefoundation.store.store5.test_utils.model.NetworkNote
7-
import org.mobilenativefoundation.store.store5.test_utils.model.OutputNote
5+
import org.mobilenativefoundation.store.store5.util.model.InputNote
6+
import org.mobilenativefoundation.store.store5.util.model.NetworkNote
7+
import org.mobilenativefoundation.store.store5.util.model.OutputNote
88

99
internal class NotesConverterProvider {
1010
fun provide(): Converter<NetworkNote, InputNote, OutputNote> =
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake
1+
package org.mobilenativefoundation.store.store5.util.fake
22

3-
import org.mobilenativefoundation.store.store5.test_utils.model.InputNote
4-
import org.mobilenativefoundation.store.store5.test_utils.model.OutputNote
3+
import org.mobilenativefoundation.store.store5.util.model.InputNote
4+
import org.mobilenativefoundation.store.store5.util.model.OutputNote
55

66
internal class NotesDatabase {
77
private val db: MutableMap<NotesKey, OutputNote?> = mutableMapOf()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake
1+
package org.mobilenativefoundation.store.store5.util.fake
22

33
sealed class NotesKey {
44
data class Single(val id: String) : NotesKey()
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake
1+
package org.mobilenativefoundation.store.store5.util.fake
22

33
import org.mobilenativefoundation.store.store5.Updater
44
import org.mobilenativefoundation.store.store5.UpdaterResult
5-
import org.mobilenativefoundation.store.store5.test_utils.model.InputNote
6-
import org.mobilenativefoundation.store.store5.test_utils.model.NotesWriteResponse
7-
import org.mobilenativefoundation.store.store5.test_utils.model.OutputNote
5+
import org.mobilenativefoundation.store.store5.util.model.InputNote
6+
import org.mobilenativefoundation.store.store5.util.model.NotesWriteResponse
7+
import org.mobilenativefoundation.store.store5.util.model.OutputNote
88

99
internal class NotesUpdaterProvider(private val api: NotesApi) {
1010
fun provide(): Updater<NotesKey, OutputNote, NotesWriteResponse> =
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake
1+
package org.mobilenativefoundation.store.store5.util.fake
22

33
import org.mobilenativefoundation.store.store5.Validator
44
import org.mobilenativefoundation.store.store5.impl.extensions.now
5-
import org.mobilenativefoundation.store.store5.test_utils.model.OutputNote
5+
import org.mobilenativefoundation.store.store5.util.model.OutputNote
66

77
internal class NotesValidator(private val expiration: Long = now()) : Validator<OutputNote> {
88
override suspend fun isValid(item: OutputNote): Boolean =
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake.fallback
1+
package org.mobilenativefoundation.store.store5.util.fake.fallback
22

33
class HardcodedPages {
44
val name = "HardcodedPages"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake.fallback
1+
package org.mobilenativefoundation.store.store5.util.fake.fallback
22

33
sealed class Page {
44
data class Data(
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake.fallback
1+
package org.mobilenativefoundation.store.store5.util.fake.fallback
22

33
class PagesDatabase {
44
private val db: MutableMap<String, Page?> = mutableMapOf()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake.fallback
1+
package org.mobilenativefoundation.store.store5.util.fake.fallback
22

33
class PrimaryPagesApi {
44
val name = "PrimaryPagesApi"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.fake.fallback
1+
package org.mobilenativefoundation.store.store5.util.fake.fallback
22

33
class SecondaryPagesApi() {
44
val name: String = "SecondaryPagesApi"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
package org.mobilenativefoundation.store.store5.test_utils.model
1+
package org.mobilenativefoundation.store.store5.util.model
22

3-
import org.mobilenativefoundation.store.store5.test_utils.fake.NotesKey
3+
import org.mobilenativefoundation.store.store5.util.fake.NotesKey
44

55
internal sealed class NoteData {
66
data class Single(val item: Note) : NoteData()

0 commit comments

Comments
 (0)