From b2402f9166c431b29cd03837732dedd8d848ae98 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Tue, 26 Feb 2019 14:10:08 +0400 Subject: [PATCH] Renamed package and app name, temporary removed unit-tests. --- .idea/vcs.xml | 6 +++++ app/build.gradle | 2 +- .../ExampleInstrumentedTest.java | 26 ------------------- app/src/main/AndroidManifest.xml | 2 +- .../chronosx88/influence}/MainActivity.java | 2 +- app/src/main/res/values/strings.xml | 2 +- .../influence_android/ExampleUnitTest.java | 17 ------------ 7 files changed, 10 insertions(+), 47 deletions(-) create mode 100644 .idea/vcs.xml delete mode 100644 app/src/androidTest/java/com/example/influence_android/ExampleInstrumentedTest.java rename app/src/main/java/{com/example/influence_android => io/github/chronosx88/influence}/MainActivity.java (88%) delete mode 100644 app/src/test/java/com/example/influence_android/ExampleUnitTest.java diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 178d8b0..c9242df 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { - applicationId "com.example.influence_android" + applicationId "io.github.chronosx88.influence" minSdkVersion 19 targetSdkVersion 28 versionCode 1 diff --git a/app/src/androidTest/java/com/example/influence_android/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/example/influence_android/ExampleInstrumentedTest.java deleted file mode 100644 index 6a23261..0000000 --- a/app/src/androidTest/java/com/example/influence_android/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.example.influence_android; - -import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - assertEquals("com.example.influence_android", appContext.getPackageName()); - } -} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 7a57f95..cea2d5c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="io.github.chronosx88.influence"> - Influence-android + Influence diff --git a/app/src/test/java/com/example/influence_android/ExampleUnitTest.java b/app/src/test/java/com/example/influence_android/ExampleUnitTest.java deleted file mode 100644 index 47669e7..0000000 --- a/app/src/test/java/com/example/influence_android/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.example.influence_android; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file