Added tests for positional substitutions in string and string-array.

This commit is contained in:
Ryszard Wiśniewski 2011-12-02 02:21:07 +01:00
parent 2aa7a70b74
commit 3ed49c83cb
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<item>TEST1</item>
<item>TEST2</item>
<item>TEST3</item>
<item>%2$s foo %1$d</item>
</string-array>
<integer-array name="test_array2">
<item>-1</item>

View File

@ -18,4 +18,5 @@ bar"</string>
az"</i></b>foo</string>
<string name="test_string17" formatted="false">%d of %d</string>
<string name="test_string18">foo %d bar %</string>
<string name="test_string19">%2$s foo %1$d</string>
</resources>