From 6df8f25250543f34db527bf76ca3a85b955470bd Mon Sep 17 00:00:00 2001 From: Andrei Bechet Date: Tue, 16 Jun 2015 11:33:44 +0200 Subject: [PATCH] refactored package name from esrlabs.com to com.esrlabs --- 2015/android/Geofence/app/src/main/AndroidManifest.xml | 2 +- .../{esrlabs/com => com/esrlabs}/geofence/MyService.java | 2 +- .../esrlabs/geofence}/MyServiceTest.java | 8 ++++++-- 3 files changed, 8 insertions(+), 4 deletions(-) rename 2015/android/Geofence/app/src/main/java/{esrlabs/com => com/esrlabs}/geofence/MyService.java (98%) rename 2015/android/Geofence/app/src/test/java/{esrlabs.com.geofence => com/esrlabs/geofence}/MyServiceTest.java (92%) diff --git a/2015/android/Geofence/app/src/main/AndroidManifest.xml b/2015/android/Geofence/app/src/main/AndroidManifest.xml index d0e2fa3..c84fdfd 100644 --- a/2015/android/Geofence/app/src/main/AndroidManifest.xml +++ b/2015/android/Geofence/app/src/main/AndroidManifest.xml @@ -7,7 +7,7 @@ android:icon="@mipmap/ic_launcher" android:label="@string/app_name"> diff --git a/2015/android/Geofence/app/src/main/java/esrlabs/com/geofence/MyService.java b/2015/android/Geofence/app/src/main/java/com/esrlabs/geofence/MyService.java similarity index 98% rename from 2015/android/Geofence/app/src/main/java/esrlabs/com/geofence/MyService.java rename to 2015/android/Geofence/app/src/main/java/com/esrlabs/geofence/MyService.java index c790346..3c221e3 100644 --- a/2015/android/Geofence/app/src/main/java/esrlabs/com/geofence/MyService.java +++ b/2015/android/Geofence/app/src/main/java/com/esrlabs/geofence/MyService.java @@ -1,4 +1,4 @@ -package esrlabs.com.geofence; +package com.esrlabs.geofence; import android.app.Service; import android.content.Context; diff --git a/2015/android/Geofence/app/src/test/java/esrlabs.com.geofence/MyServiceTest.java b/2015/android/Geofence/app/src/test/java/com/esrlabs/geofence/MyServiceTest.java similarity index 92% rename from 2015/android/Geofence/app/src/test/java/esrlabs.com.geofence/MyServiceTest.java rename to 2015/android/Geofence/app/src/test/java/com/esrlabs/geofence/MyServiceTest.java index c70e331..dacf07b 100644 --- a/2015/android/Geofence/app/src/test/java/esrlabs.com.geofence/MyServiceTest.java +++ b/2015/android/Geofence/app/src/test/java/com/esrlabs/geofence/MyServiceTest.java @@ -1,12 +1,14 @@ -package esrlabs.com.geofence; +package com.esrlabs.geofence; -import static esrlabs.com.geofence.MyService.CAN_PROVIDER; +import static com.esrlabs.geofence.MyService.CAN_PROVIDER; import android.content.Context; import android.location.Location; import android.location.LocationManager; import android.test.ServiceTestCase; +import com.esrlabs.geofence.MyService; + import org.junit.After; import org.junit.Before; import org.junit.Test; @@ -17,6 +19,8 @@ import org.robolectric.Shadows; import org.robolectric.annotation.Config; import org.robolectric.shadows.ShadowLocationManager; +import esrlabs.com.geofence.BuildConfig; + @RunWith(RobolectricGradleTestRunner.class) @Config(constants = BuildConfig.class, emulateSdk = 17)