From 52482d112d6355d01f3d0a12621c4f06bfbfeeea Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 21 Mar 2019 22:31:44 +0100 Subject: [PATCH] typo --- app/src/main/res/values/strings.xml | 2 +- app/src/test/java/info/AAPSMocker.java | 2 +- .../general/smsCommunicator/SmsCommunicatorPluginTest.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ca44a72f82..cb8329872e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -384,7 +384,7 @@ Extended bolus canceled Canceling temp basal failed Canceling extended bolus failed - Uknown command or wrong reply + Unknown command or wrong reply QuickWizard QuickWizard settings diff --git a/app/src/test/java/info/AAPSMocker.java b/app/src/test/java/info/AAPSMocker.java index dcbb3263c1..24542f12e9 100644 --- a/app/src/test/java/info/AAPSMocker.java +++ b/app/src/test/java/info/AAPSMocker.java @@ -128,7 +128,7 @@ public class AAPSMocker { when(MainApp.gs(R.string.smscommunicator_wrongduration)).thenReturn("Wrong duration"); when(MainApp.gs(R.string.smscommunicator_suspendreplywithcode)).thenReturn("To suspend loop for %1$d minutes reply with code %2$s"); when(MainApp.gs(R.string.smscommunicator_loopsuspended)).thenReturn("Loop suspended"); - when(MainApp.gs(R.string.smscommunicator_unknowncommand)).thenReturn("Uknown command or wrong reply"); + when(MainApp.gs(R.string.smscommunicator_unknowncommand)).thenReturn("Unknown command or wrong reply"); when(MainApp.gs(R.string.notconfigured)).thenReturn("Not configured"); when(MainApp.gs(R.string.smscommunicator_profilereplywithcode)).thenReturn("To switch profile to %1$s %2$d%% reply with code %3$s"); when(MainApp.gs(R.string.profileswitchcreated)).thenReturn("Profile switch created"); diff --git a/app/src/test/java/info/nightscout/androidaps/plugins/general/smsCommunicator/SmsCommunicatorPluginTest.java b/app/src/test/java/info/nightscout/androidaps/plugins/general/smsCommunicator/SmsCommunicatorPluginTest.java index f570e20f97..aecc98de24 100644 --- a/app/src/test/java/info/nightscout/androidaps/plugins/general/smsCommunicator/SmsCommunicatorPluginTest.java +++ b/app/src/test/java/info/nightscout/androidaps/plugins/general/smsCommunicator/SmsCommunicatorPluginTest.java @@ -96,7 +96,7 @@ public class SmsCommunicatorPluginTest { sms = new Sms("1234", "UNKNOWN"); smsCommunicatorPlugin.processSms(sms); Assert.assertEquals("UNKNOWN", smsCommunicatorPlugin.messages.get(0).text); - Assert.assertEquals("Uknown command or wrong reply", smsCommunicatorPlugin.messages.get(1).text); + Assert.assertEquals("Unknown command or wrong reply", smsCommunicatorPlugin.messages.get(1).text); //BG smsCommunicatorPlugin.messages = new ArrayList<>(); @@ -251,7 +251,7 @@ public class SmsCommunicatorPluginTest { //then correct code should not work smsCommunicatorPlugin.processSms(new Sms("1234", passCode)); Assert.assertEquals(passCode, smsCommunicatorPlugin.messages.get(4).text); - Assert.assertEquals("Uknown command or wrong reply", smsCommunicatorPlugin.messages.get(5).text); + Assert.assertEquals("Unknown command or wrong reply", smsCommunicatorPlugin.messages.get(5).text); //LOOP BLABLA smsCommunicatorPlugin.messages = new ArrayList<>();