From 3ed49c83cb54382e28cc6b210d2e7c75c8da8ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Fri, 2 Dec 2011 02:21:07 +0100 Subject: [PATCH] Added tests for positional substitutions in string and string-array. --- .../resources/brut/apktool/testapp/res/values-mcc001/arrays.xml | 1 + .../resources/brut/apktool/testapp/res/values-mcc001/strings.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/apktool-lib/src/test/resources/brut/apktool/testapp/res/values-mcc001/arrays.xml b/apktool-lib/src/test/resources/brut/apktool/testapp/res/values-mcc001/arrays.xml index aed93e4c..8cc3d152 100644 --- a/apktool-lib/src/test/resources/brut/apktool/testapp/res/values-mcc001/arrays.xml +++ b/apktool-lib/src/test/resources/brut/apktool/testapp/res/values-mcc001/arrays.xml @@ -4,6 +4,7 @@ TEST1 TEST2 TEST3 + %2$s foo %1$d -1 diff --git a/apktool-lib/src/test/resources/brut/apktool/testapp/res/values-mcc001/strings.xml b/apktool-lib/src/test/resources/brut/apktool/testapp/res/values-mcc001/strings.xml index 5ce32982..68fbe5c7 100644 --- a/apktool-lib/src/test/resources/brut/apktool/testapp/res/values-mcc001/strings.xml +++ b/apktool-lib/src/test/resources/brut/apktool/testapp/res/values-mcc001/strings.xml @@ -18,4 +18,5 @@ bar" az"foo %d of %d foo %d bar % + %2$s foo %1$d