mirror of https://github.com/apache/jmeter.git
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:
parent
fb45be9174
commit
19a32f034d
|
|
@ -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++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue