French values are sometimes same as English ones

Show the key for badly formatted messages

git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@701185 13f79535-47bb-0310-9956-ffa450edef68

Former-commit-id: f8b2070857
This commit is contained in:
Sebastian Bazley 2008-10-02 16:46:06 +00:00
parent fb45be9174
commit 19a32f034d
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ public class PackageTest extends TestCase {
String m = java.text.MessageFormat.format(val, DUMMY_PARAMS);
if (m.indexOf("{") > 0) {
fails++;
System.out.println("Incorrect message format ? (input/output): ");
System.out.println("Incorrect message format ? (input/output) for: "+key);
System.out.println(val);
System.out.println(m);
}
@ -151,7 +151,7 @@ public class PackageTest extends TestCase {
try {
key = (String) enumr.nextElement();
String val =defaultPRB.getString(key);
if (!resname.equalsIgnoreCase("de") && val.equals(prb.getString(key))){
if (!resname.equalsIgnoreCase("de") && !resname.equalsIgnoreCase("fr") && val.equals(prb.getString(key))){
System.out.println("Possible duplicate value for "+key+" in "+res);
subTestFailures++;
}