aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/cgeo/geocaching/utils/ProcessUtilsTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/cgeo/geocaching/utils/ProcessUtilsTest.java')
-rw-r--r--tests/src/cgeo/geocaching/utils/ProcessUtilsTest.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/src/cgeo/geocaching/utils/ProcessUtilsTest.java b/tests/src/cgeo/geocaching/utils/ProcessUtilsTest.java
index f34faa6..2c6ed18 100644
--- a/tests/src/cgeo/geocaching/utils/ProcessUtilsTest.java
+++ b/tests/src/cgeo/geocaching/utils/ProcessUtilsTest.java
@@ -1,21 +1,22 @@
package cgeo.geocaching.utils;
+import static org.assertj.core.api.Assertions.assertThat;
import junit.framework.TestCase;
public class ProcessUtilsTest extends TestCase {
public static void testIsInstalled() {
- assertTrue(ProcessUtils.isInstalled("com.android.launcher"));
+ assertThat(ProcessUtils.isInstalled("com.android.launcher")).isTrue();
}
public static void testIsInstalledNotLaunchable() {
final String packageName = "com.android.systemui";
- assertTrue(ProcessUtils.isInstalled(packageName));
- assertFalse(ProcessUtils.isLaunchable(packageName));
+ assertThat(ProcessUtils.isInstalled(packageName)).isTrue();
+ assertThat(ProcessUtils.isLaunchable(packageName)).isFalse();
}
public static void testIsLaunchable() {
- assertTrue(ProcessUtils.isInstalled("com.android.settings"));
+ assertThat(ProcessUtils.isInstalled("com.android.settings")).isTrue();
}
}