From 2bf5e9efde28cce8186b2cdf75d8fafb6c9125ad Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 9 Jul 2017 00:46:24 -0700 Subject: Clean up and optimize --- .../ca/allanwang/kau/ExampleInstrumentedTest.java | 26 --------------------- .../kotlin/ca/allanwang/kau/about/CutoutIItem.kt | 1 - .../kotlin/ca/allanwang/kau/about/LibraryIItem.kt | 1 - about/src/main/res/values/strings_about.xml | 27 ++++++++++++++++++++++ .../java/ca/allanwang/kau/ExampleUnitTest.java | 17 -------------- 5 files changed, 27 insertions(+), 45 deletions(-) delete mode 100644 about/src/androidTest/java/ca/allanwang/kau/ExampleInstrumentedTest.java create mode 100644 about/src/main/res/values/strings_about.xml delete mode 100644 about/src/test/java/ca/allanwang/kau/ExampleUnitTest.java (limited to 'about/src') diff --git a/about/src/androidTest/java/ca/allanwang/kau/ExampleInstrumentedTest.java b/about/src/androidTest/java/ca/allanwang/kau/ExampleInstrumentedTest.java deleted file mode 100644 index 7b079b2..0000000 --- a/about/src/androidTest/java/ca/allanwang/kau/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package ca.allanwang.kau; - -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.*; - -/** - * Instrumentation test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() throws Exception { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - assertEquals("ca.allanwang.kau.test", appContext.getPackageName()); - } -} diff --git a/about/src/main/kotlin/ca/allanwang/kau/about/CutoutIItem.kt b/about/src/main/kotlin/ca/allanwang/kau/about/CutoutIItem.kt index 9a4f6bf..1ba5815 100644 --- a/about/src/main/kotlin/ca/allanwang/kau/about/CutoutIItem.kt +++ b/about/src/main/kotlin/ca/allanwang/kau/about/CutoutIItem.kt @@ -2,7 +2,6 @@ package ca.allanwang.kau.about import android.support.v7.widget.RecyclerView import android.view.View -import ca.allanwang.kau.about.R import ca.allanwang.kau.adapters.ThemableIItem import ca.allanwang.kau.adapters.ThemableIItemDelegate import ca.allanwang.kau.ui.views.CutoutView diff --git a/about/src/main/kotlin/ca/allanwang/kau/about/LibraryIItem.kt b/about/src/main/kotlin/ca/allanwang/kau/about/LibraryIItem.kt index 82d71dc..b5e2c28 100644 --- a/about/src/main/kotlin/ca/allanwang/kau/about/LibraryIItem.kt +++ b/about/src/main/kotlin/ca/allanwang/kau/about/LibraryIItem.kt @@ -6,7 +6,6 @@ import android.support.v7.widget.RecyclerView import android.text.Html import android.view.View import android.widget.TextView -import ca.allanwang.kau.about.R import ca.allanwang.kau.adapters.ThemableIItem import ca.allanwang.kau.adapters.ThemableIItemDelegate import ca.allanwang.kau.utils.bindView diff --git a/about/src/main/res/values/strings_about.xml b/about/src/main/res/values/strings_about.xml new file mode 100644 index 0000000..35ffeb2 --- /dev/null +++ b/about/src/main/res/values/strings_about.xml @@ -0,0 +1,27 @@ + + 1.5 + + + + Allan Wang + https://www.allanwang.ca/dev/ + + KAU + +
+ KAU aims to make many common functions executable in one line. It adds numerous extensions to match Kotlin\'s DSL, + and supports completely customizable view groups that are used in almost any app project. + ]]> +
+ https://allanwang.github.io/KAU/ + + true + https://github.com/AllanWang/KAU + + ca.allanwang.kau + + apache_2_0 + +
\ No newline at end of file diff --git a/about/src/test/java/ca/allanwang/kau/ExampleUnitTest.java b/about/src/test/java/ca/allanwang/kau/ExampleUnitTest.java deleted file mode 100644 index a29b447..0000000 --- a/about/src/test/java/ca/allanwang/kau/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package ca.allanwang.kau; - -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() throws Exception { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file -- cgit v1.2.3