Skip to content

Commit ead7ff5

Browse files
committed
AGP 8.7.1
1 parent f40bde9 commit ead7ff5

File tree

5 files changed

+15
-12
lines changed

5 files changed

+15
-12
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Mon May 15 03:22:49 CEST 2023
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

mobile/src/androidTest/java/io/syslogic/github/TestProfile.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
import static org.hamcrest.MatcherAssert.assertThat;
1515

1616
/**
17-
* Profile Test Case
17+
* Profile Test-Case
1818
*
1919
* @author Martin Zeitler
2020
*/
21-
@RunWith(AndroidJUnit4.class)
21+
// @RunWith(AndroidJUnit4.class)
2222
public class TestProfile extends TestSuite {
2323

2424
private final String className = TestProfile.class.getSimpleName().concat("Activity").replace("Test", "");
@@ -34,4 +34,4 @@ public void WebView() {
3434
UiObject2 layout = this.mDevice.findObject(By.res(this.packageName, "webview"));
3535
assertThat(true, is(equalTo(true)));
3636
}
37-
}
37+
}

mobile/src/androidTest/java/io/syslogic/github/TestRepositories.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
import static org.hamcrest.MatcherAssert.assertThat;
1515

1616
/**
17-
* Repositories Test Case
17+
* Repositories Test-Case
1818
*
1919
* @author Martin Zeitler
2020
*/
21-
@RunWith(AndroidJUnit4.class)
21+
// @RunWith(AndroidJUnit4.class)
2222
public class TestRepositories extends TestSuite {
2323

2424
private final String className = TestRepositories.class.getSimpleName().concat("Activity").replace("Test", "");

mobile/src/androidTest/java/io/syslogic/github/TestRepository.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
import static org.hamcrest.MatcherAssert.assertThat;
1515

1616
/**
17-
* Repository Test Case
17+
* Repository Test-Case
1818
*
1919
* @author Martin Zeitler
2020
*/
2121
@Deprecated
22-
@RunWith(AndroidJUnit4.class)
22+
// @RunWith(AndroidJUnit4.class)
2323
public class TestRepository extends TestSuite {
2424

2525
private final String className = TestRepository.class.getSimpleName().concat("Activity").replace("Test", "");

mobile/src/androidTest/java/io/syslogic/github/TestSuite.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import java.util.List;
1717

1818
import androidx.annotation.NonNull;
19+
import androidx.annotation.Nullable;
1920
import androidx.test.platform.app.InstrumentationRegistry;
2021
import androidx.test.uiautomator.By;
2122
import androidx.test.uiautomator.Direction;
@@ -34,7 +35,7 @@
3435
import static org.hamcrest.core.IsNull.notNullValue;
3536

3637
/**
37-
* Application Test Suite
38+
* Test-Suite
3839
*
3940
* @author Martin Zeitler
4041
*/
@@ -52,10 +53,11 @@ public class TestSuite {
5253
UiDevice mDevice;
5354

5455
/**
55-
* uses package manager to find the package name of the device launcher.
56+
* Uses package manager to find the package name of the device launcher.
5657
* usually this package is "com.android.launcher" but can be different at times.
5758
* this is a generic solution which works on all platforms.`
5859
**/
60+
@Nullable
5961
private String getLauncherPackageName() {
6062

6163
/* create a launcher Intent */
@@ -147,6 +149,7 @@ void grantPermission() {
147149
}
148150
}
149151

152+
/** @noinspection SameParameterValue */
150153
void flingUp(UiObject2 view, int speed, int pause) {
151154
assertThat(view, not(equalTo(null)));
152155
try {
@@ -161,7 +164,7 @@ void sleep(int ms){
161164
try {
162165
Thread.sleep(ms);
163166
} catch (InterruptedException e) {
164-
e.printStackTrace();
167+
Log.e("", e.getMessage(), e);
165168
}
166169
}
167-
}
170+
}

0 commit comments

Comments
 (0)