7011840: TEST_BUG java/util/Locale/LocaleEnhanceTest.java

Outputting extra information in LocaleEnhanceTest.java

Reviewed-by: peytoia, naoto
This commit is contained in:
Rachna Goel 2015-11-24 14:46:09 +05:30
parent 7fafbde248
commit da87510683

View File

@ -1180,8 +1180,11 @@ public class LocaleEnhanceTest extends LocaleTestFmwk {
dataDir = new File(dataDirName);
}
if (dataDir == null || !dataDir.isDirectory()) {
errln("Could not locate the serialized test case data location");
if (dataDir == null) {
errln("'dataDir' is null. serialized.data.dir Property value is "+dataDirName);
return;
} else if (!dataDir.isDirectory()) {
errln("'dataDir' is not a directory. dataDir: "+dataDir.toString());
return;
}