Added more tests for string substitutions.

This commit is contained in:
Ryszard Wiśniewski 2011-12-08 01:32:16 +01:00
parent 39c4416b24
commit c3db7dcbab

View File

@ -19,4 +19,9 @@ bar"</string>
<string name="test_string17" formatted="false">%d of %d</string> <string name="test_string17" formatted="false">%d of %d</string>
<string name="test_string18">foo %d bar %</string> <string name="test_string18">foo %d bar %</string>
<string name="test_string19">%2$s foo %1$d</string> <string name="test_string19">%2$s foo %1$d</string>
<string name="test_string20" formatted="false">%-e foo %,d</string>
<string name="test_string21">%2$-e foo %1$,d</string>
<string name="test_string22" formatted="false">%02d foo %01d</string>
<string name="test_string23" formatted="false">%d foo %1</string>
<string name="test_string24" formatted="false">%1% foo %2%</string>
</resources> </resources>