-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#2860] Move common test values to Fakes in order to share
- Loading branch information
1 parent
5eaa8b1
commit 4614c97
Showing
2 changed files
with
45 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...persistence/src/commonTest/kotlin/com/oztechan/ccc/client/core/persistence/fakes/Fakes.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.oztechan.ccc.client.core.persistence.fakes | ||
|
||
import kotlin.random.Random | ||
|
||
object Fakes { | ||
const val KEY = "key" | ||
val mockFloat = Random.nextFloat() | ||
val mockBoolean = Random.nextBoolean() | ||
val mockInt = Random.nextInt() | ||
val mockString = Random.nextInt().toString() | ||
val mockLong = Random.nextLong() | ||
} |