-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
152 additions
and
33 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
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
3 changes: 3 additions & 0 deletions
3
library/src/androidInstrumentedTest/kotlin/com/chrisjenx/yakcov/PhoneNumberTest.android.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,3 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
actual fun initPhoneNumberUtil() = Unit |
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 |
---|---|---|
@@ -1,2 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest></manifest> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools"> | ||
|
||
<application> | ||
<provider | ||
android:name="androidx.startup.InitializationProvider" | ||
android:authorities="${applicationId}.androidx-startup" | ||
android:exported="false" | ||
tools:node="merge"> | ||
<meta-data | ||
android:name="com.chrisjenx.yakcov.PhoneNumberUtilInitializer" | ||
android:value="androidx.startup" /> | ||
</provider> | ||
</application> | ||
|
||
</manifest> |
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
4 changes: 4 additions & 0 deletions
4
library/src/androidUnitTest/kotlin/com/chrisjenx/yakcov/IOSIgnore.android.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,4 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) | ||
actual annotation class IOSIgnore |
8 changes: 8 additions & 0 deletions
8
library/src/androidUnitTest/kotlin/com/chrisjenx/yakcov/PhoneNumberTest.android.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,8 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
import io.michaelrocks.libphonenumber.android.PhoneNumberUtil | ||
import io.michaelrocks.libphonenumber.android.metadata.init.ClassPathResourceMetadataLoader | ||
|
||
actual fun initPhoneNumberUtil() { | ||
phoneUtil = PhoneNumberUtil.createInstance(ClassPathResourceMetadataLoader()) | ||
} |
Binary file added
BIN
+2.79 KB
...nitTest/resources/io/michaelrocks/libphonenumber/android/data/PhoneNumberMetadataProto_GB
Binary file not shown.
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
4 changes: 4 additions & 0 deletions
4
library/src/commonTest/kotlin/com/chrisjenx/yakcov/IOSIgnore.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,4 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) | ||
expect annotation class IOSIgnore() |
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
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
3 changes: 3 additions & 0 deletions
3
library/src/iosTest/kotlin/com/chrisjenx/yakcov/IOSIgnore.ios.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,3 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
actual typealias IOSIgnore = kotlin.test.Ignore |
3 changes: 3 additions & 0 deletions
3
library/src/iosTest/kotlin/com/chrisjenx/yakcov/PhoneNumberTest.ios.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,3 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
actual fun initPhoneNumberUtil() = Unit |
4 changes: 4 additions & 0 deletions
4
library/src/jsTest/kotlin/com/chrisjenx/yakcov/IOSIgnore.js.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,4 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) | ||
actual annotation class IOSIgnore |
3 changes: 3 additions & 0 deletions
3
library/src/jsTest/kotlin/com/chrisjenx/yakcov/PhoneNumberTest.js.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,3 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
actual fun initPhoneNumberUtil() = Unit |
4 changes: 4 additions & 0 deletions
4
library/src/jvmTest/kotlin/com/chrisjenx/yakcov/IOSIgnore.jvm.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,4 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) | ||
actual annotation class IOSIgnore |
3 changes: 3 additions & 0 deletions
3
library/src/jvmTest/kotlin/com/chrisjenx/yakcov/PhoneNumberTest.jvm.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,3 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
actual fun initPhoneNumberUtil() = Unit |
4 changes: 4 additions & 0 deletions
4
library/src/wasmJsTest/kotlin/com/chrisjenx/yakcov/IOSIgnore.wasmJs.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,4 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) | ||
actual annotation class IOSIgnore |
3 changes: 3 additions & 0 deletions
3
library/src/wasmJsTest/kotlin/com/chrisjenx/yakcov/PhoneNumberTest.wasmJs.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,3 @@ | ||
package com.chrisjenx.yakcov | ||
|
||
actual fun initPhoneNumberUtil() = Unit |
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