Skip to content

Commit

Permalink
feat(androidx): moved to androidx mauron85#42
Browse files Browse the repository at this point in the history
  • Loading branch information
CoooWeee committed Jun 23, 2021
1 parent 6493602 commit 6fa4e57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions VERSIONS.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ def RESOURCE_PREFIX = "mauron85_bgloc_"
ext {
getApplicationId = { ->
def applicationId = "com.marianhello.app"
if (findProject('..:app') != null) {
if (rootProject.hasProperty('applicationId')) {
applicationId = rootProject.applicationId
} else if (findProject('..:app') != null) {
applicationId = project('..:app').android.defaultConfig.applicationId
} else if (findProject(':app') != null) {
applicationId = project(':app').android.defaultConfig.applicationId
}
if (rootProject.hasProperty('applicationId')) {
applicationId = rootProject.applicationId
}
return applicationId
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
Expand Down Expand Up @@ -116,6 +115,8 @@ public void persistTask() throws ProtocolException, InterruptedException {

@Test
public void persistTaskShouldRejectAfterShutdown() {
exception.expect(RejectedExecutionException.class);

LocationDAO mockDAO = mock(LocationDAO.class);

PostLocationTaskListener mockListener = mock(PostLocationTaskListener.class);
Expand Down

0 comments on commit 6fa4e57

Please sign in to comment.