Remove VisibleForTesting.

Change-Id: Icd7005ec38495a1a4bc6f1594f70a2c1228538ab
pull/1291/head
Jaehwa Noh 8 months ago
parent 27ca860745
commit 5d99f381e9

@ -14,7 +14,6 @@
* limitations under the License. * limitations under the License.
*/ */
import androidx.annotation.VisibleForTesting
import com.google.samples.apps.nowinandroid.core.network.demo.DemoAssetManager import com.google.samples.apps.nowinandroid.core.network.demo.DemoAssetManager
import java.io.File import java.io.File
import java.io.InputStream import java.io.InputStream
@ -25,7 +24,7 @@ import java.util.Properties
* It must remain on the root package for an easier [Class.getResource] with relative paths. * It must remain on the root package for an easier [Class.getResource] with relative paths.
* @see <a href="https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/dsl/UnitTestOptions">UnitTestOptions</a> * @see <a href="https://developer.android.com/reference/tools/gradle-api/7.3/com/android/build/api/dsl/UnitTestOptions">UnitTestOptions</a>
*/ */
@VisibleForTesting
internal object JvmUnitTestDemoAssetManager : DemoAssetManager { internal object JvmUnitTestDemoAssetManager : DemoAssetManager {
private val config = private val config =
requireNotNull(javaClass.getResource("com/android/tools/test_config.properties")) { requireNotNull(javaClass.getResource("com/android/tools/test_config.properties")) {

Loading…
Cancel
Save