Skip to content

Commit

Permalink
Merged 1.3.34
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislavin committed Mar 9, 2017
2 parents 1ce4aed + d679629 commit c70e1d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This guide is designed to get you up and running with Mobile Messaging SDK integ
```groovy
dependencies {
...
compile ('org.infobip.mobile.messaging.api:infobip-mobile-messaging-android-sdk:1.3.33@aar') {
compile ('org.infobip.mobile.messaging.api:infobip-mobile-messaging-android-sdk:1.3.34@aar') {
transitive = true;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import android.preference.PreferenceManager;
import android.test.InstrumentationTestCase;

import org.infobip.mobile.messaging.storage.SQLiteMessageStore;
import org.infobip.mobile.messaging.geo.GeoSQLiteMessageStore;
import org.infobip.mobile.messaging.storage.TestMessageStore;
import org.infobip.mobile.messaging.util.PreferenceHelper;

Expand Down Expand Up @@ -34,15 +34,15 @@ protected void setUp() throws Exception {
PreferenceHelper.saveString(getInstrumentation().getContext(), MobileMessagingProperty.INFOBIP_REGISTRATION_ID, "TestDeviceInstanceId");
}

public void test_shouldUseSqlStoreForGeo_whenConfiguredWithoutMessageStore() {
public void test_shouldUseGeoSqlStoreForGeo_whenConfiguredWithoutMessageStore() {
MobileMessagingCore.setMessageStoreClass(context, null);

assertTrue(MobileMessagingCore.getInstance(context).getMessageStoreForGeo() instanceof SQLiteMessageStore);
assertTrue(MobileMessagingCore.getInstance(context).getMessageStoreForGeo() instanceof GeoSQLiteMessageStore);
}

public void test_shouldUseUserStoreForGeo_whenConfiguredWithMessageStore() {
public void test_shouldUseGeoSqlStoreForGeo_whenConfiguredWithMessageStore() {
MobileMessagingCore.setMessageStoreClass(context, TestMessageStore.class);

assertTrue(MobileMessagingCore.getInstance(context).getMessageStoreForGeo() instanceof TestMessageStore);
assertTrue(MobileMessagingCore.getInstance(context).getMessageStoreForGeo() instanceof GeoSQLiteMessageStore);
}
}

0 comments on commit c70e1d4

Please sign in to comment.