bjoernQ / unmock-plugin

Gradle plugin to be used in combination with the new unit testing feature of the Gradle Plugin / Android Studio to use real classes for e.g. SparseArray.
Apache License 2.0
323 stars 22 forks source link

UNMOCK does not copy data files inside the jar #42

Closed OleksandrKucherenko closed 6 years ago

OleksandrKucherenko commented 6 years ago
        keepStartingWith "android.icu.impl.data.icudt58b."

package contains a resources data files. They are not copied during the processing. as result - class Currency cannot be un-mocked.

java.util.MissingResourceException: Could not find the bundle android/icu/impl/data/icudt58b/curr/en_US.res

bjoernQ commented 6 years ago

Yes - currently it just processes class files. I'll have a look into that. Thanks for letting me know about this.

bjoernQ commented 6 years ago

should work with 0.6.5 - there is a new test covering this in "examplelib"