Этот коммит содержится в:
Anton Tananaev
2020-06-10 21:14:19 -07:00
родитель 330dc27f0f
Коммит a3d43294ce
7 изменённых файлов: 17 добавлений и 11 удалений
+6 -5
Просмотреть файл
@@ -8,8 +8,8 @@ android {
buildConfigField 'boolean', 'HIDDEN_APP', 'false'
minSdkVersion 16
targetSdkVersion 29
versionCode 63
versionName '6.2'
versionCode 64
versionName '6.3'
}
lintOptions {
@@ -36,18 +36,19 @@ android {
}
dependencies {
implementation 'com.google.android.material:material:1.2.0-alpha06'
implementation 'com.google.android.material:material:1.3.0-alpha01'
implementation 'androidx.preference:preference:1.1.1'
testImplementation 'junit:junit:4.13'
testImplementation 'org.robolectric:robolectric:4.1'
googleImplementation 'com.google.firebase:firebase-core:17.3.0'
googleImplementation 'com.google.firebase:firebase-core:17.4.3'
googleImplementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
googleImplementation 'com.google.firebase:firebase-analytics:17.4.3'
googleImplementation 'com.google.android.gms:play-services-location:17.0.0'
}
if (getGradle().getStartParameter().getTaskRequests().toString().contains('Google')) {
apply plugin: 'com.google.gms.google-services'
apply plugin: 'io.fabric'
apply plugin: 'com.google.firebase.crashlytics'
task copyJson(type: Copy) {
from '../../traccar-shared/google-services'
+2
Просмотреть файл
@@ -2,6 +2,7 @@
package org.traccar.client;
import android.location.Location;
import android.os.Build;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -14,6 +15,7 @@ import java.util.Date;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
@Config(sdk = Build.VERSION_CODES.P)
@RunWith(RobolectricTestRunner.class)
public class DatabaseHelperTest {
+2
Просмотреть файл
@@ -2,6 +2,7 @@
package org.traccar.client;
import android.location.Location;
import android.os.Build;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -12,6 +13,7 @@ import java.util.Date;
import static org.junit.Assert.assertEquals;
@Config(sdk = Build.VERSION_CODES.P)
@RunWith(RobolectricTestRunner.class)
public class ProtocolFormatterTest {
+4 -1
Просмотреть файл
@@ -1,6 +1,8 @@
package org.traccar.client;
import android.os.Build;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -9,10 +11,11 @@ import org.robolectric.annotation.Config;
import static org.junit.Assert.assertTrue;
@Config(sdk = Build.VERSION_CODES.P)
@RunWith(RobolectricTestRunner.class)
public class RequestManagerTest {
@Ignore
@Ignore("Not a real unit test")
@Test
public void testSendRequest() throws Exception {