Skip to content

Commit

Permalink
Make release 1.6.0 aka 23
Browse files Browse the repository at this point in the history
  • Loading branch information
koelleChristian committed Sep 30, 2018
1 parent 74b60a0 commit 77868c8
Show file tree
Hide file tree
Showing 9 changed files with 37,878 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId 'de.koelle.christian.trickytripper'
minSdkVersion 14
targetSdkVersion 28
versionCode 22
versionName '1.5.9'
versionCode 23
versionName '1.6.0'
multiDexEnabled true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/raw-de/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
</head>
<body>

$ 1.6.0
% Version 1.6.0
_ 2018-10-01
* Download von Wechselkursen jetzt wieder verfügbar (jedoch ohne die Währungen Colon und Kwacha).

$ 1.5.9
% Version 1.5.9
_ 2017-09-23
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/raw/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
</head>
<body>

$ 1.6.0
% Version 1.6.0
_ 2018-10-01
* Fix online retrieval of currencies, but without support for El Salvador Colon and Sambian Kwacha.

$ 1.5.9
% Version 1.5.9
_ 2017-09-23
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

import org.junit.Test;

import java.util.Arrays;
import java.util.Currency;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import de.koelle.christian.common.utils.CurrencyUtil;

public class CurrencyUtilTest {
Expand All @@ -23,4 +29,16 @@ public void testCalcExpectedAmountOfExchangeRates() {
CurrencyUtil.getAllCurrenciesAlive().size()));
}

@Test
public void testNonOnlineSupportedCurrencies() {
Set<String> supported = new HashSet<>(Arrays.asList("ALL", "XCD", "EUR", "BBD", "BTN", "BND", "XAF", "CUP", "USD", "FKP", "GIP", "HUF", "IRR", "JMD", "AUD", "LAK", "LYD", "MKD", "XOF", "NZD", "OMR", "PGK", "RWF", "WST", "RSD", "SEK", "TZS", "AMD", "BSD", "BAM", "CVE", "CNY", "CRC", "CZK", "ERN", "GEL", "HTG", "INR", "JOD", "KRW", "LBP", "MWK", "MRO", "MZN", "ANG", "PEN", "QAR", "STD", "SLL", "SOS", "SDG", "SYP", "AOA", "AWG", "BHD", "BZD", "BWP", "BIF", "KYD", "COP", "DKK", "GTQ", "HNL", "IDR", "ILS", "KZT", "KWD", "LSL", "MYR", "MUR", "MNT", "MMK", "NGN", "PAB", "PHP", "RON", "SAR", "SGD", "ZAR", "SRD", "TWD", "TOP", "VEF", "DZD", "ARS", "AZN", "BYR", "BOB", "BGN", "CAD", "CLP", "CDF", "DOP", "FJD", "GMD", "GYD", "ISK", "IQD", "JPY", "KPW", "LVL", "CHF", "MGA", "MDL", "MAD", "NPR", "NIO", "PKR", "PYG", "SHP", "SCR", "SBD", "LKR", "THB", "TRY", "AED", "VUV", "YER", "AFN", "BDT", "BRL", "KHR", "KMF", "HRK", "DJF", "EGP", "ETB", "XPF", "GHS", "GNF", "HKD", "XDR", "KES", "KGS", "LRD", "MOP", "MVR", "MXN", "NAD", "NOK", "PLN", "RUB", "SZL", "TJS", "TTD", "UGX", "UYU", "VND", "TND", "UAH", "UZS", "TMT", "GBP", "ZMW", "BTC", "BYN"));
List<Currency> allCurrenciesAlive = CurrencyUtil.getAllCurrenciesAlive();
for (Currency o : allCurrenciesAlive) {
if(!supported.contains(o.getCurrencyCode())){
System.out.println(o.getDisplayName());
}
}
}


}
Binary file added releases/181001_1_6_0_V23/app-release.apk
Binary file not shown.
19,831 changes: 19,831 additions & 0 deletions releases/181001_1_6_0_V23/mapping/mapping.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 77868c8

Please sign in to comment.