From d8696412b16243aa10f717c2e216d67d9fad5623 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Wed, 21 Dec 2016 14:48:36 +0100 Subject: [PATCH] temporary disable korean danar --- .../java/info/nightscout/androidaps/Config.java | 1 + .../java/info/nightscout/androidaps/MainApp.java | 2 +- .../nightscout/androidaps/ExampleUnitTest.java | 15 --------------- 3 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 app/src/test/java/info/nightscout/androidaps/ExampleUnitTest.java diff --git a/app/src/main/java/info/nightscout/androidaps/Config.java b/app/src/main/java/info/nightscout/androidaps/Config.java index c0bdda68c5..6bbd7c5079 100644 --- a/app/src/main/java/info/nightscout/androidaps/Config.java +++ b/app/src/main/java/info/nightscout/androidaps/Config.java @@ -15,6 +15,7 @@ public class Config { public static final boolean SMSCOMMUNICATORENABLED = true; public static final boolean DANAR = true && BuildConfig.PUMPDRIVERS; + public static final boolean DANARKOREAN = false && BuildConfig.PUMPDRIVERS; public static final boolean detailedLog = true; public static final boolean logFunctionCalls = true; diff --git a/app/src/main/java/info/nightscout/androidaps/MainApp.java b/app/src/main/java/info/nightscout/androidaps/MainApp.java index 638128af10..505aecbaca 100644 --- a/app/src/main/java/info/nightscout/androidaps/MainApp.java +++ b/app/src/main/java/info/nightscout/androidaps/MainApp.java @@ -70,7 +70,7 @@ public class MainApp extends Application { pluginsList.add(OverviewFragment.getPlugin()); pluginsList.add(ActionsFragment.getPlugin()); if (Config.DANAR) pluginsList.add(DanaRFragment.getPlugin()); - if (Config.DANAR) pluginsList.add(DanaRKoreanFragment.getPlugin()); + if (Config.DANARKOREAN) pluginsList.add(DanaRKoreanFragment.getPlugin()); if (Config.CAREPORTALENABLED) pluginsList.add(CareportalFragment.getPlugin()); pluginsList.add(VirtualPumpFragment.getPlugin()); if (Config.LOOPENABLED) pluginsList.add(LoopFragment.getPlugin()); diff --git a/app/src/test/java/info/nightscout/androidaps/ExampleUnitTest.java b/app/src/test/java/info/nightscout/androidaps/ExampleUnitTest.java deleted file mode 100644 index fb97638c7b..0000000000 --- a/app/src/test/java/info/nightscout/androidaps/ExampleUnitTest.java +++ /dev/null @@ -1,15 +0,0 @@ -package info.nightscout.androidaps; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * To work on unit tests, switch the Test Artifact in the Build Variants view. - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() throws Exception { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file