ICU-10945 Test log might be emitted through AbstractTestLog, which was missed in the previous change.
X-SVN-Rev: 35966
This commit is contained in:
parent
ac70eab7a3
commit
4ad6bfe991
@ -1964,7 +1964,8 @@ public class TestFmwk extends AbstractTestLog {
|
||||
// Walk up the stack to the first call site outside this file
|
||||
StackTraceElement[] st = new Throwable().getStackTrace();
|
||||
for (int i = 0; i < st.length; ++i) {
|
||||
if (!"TestFmwk.java".equals(st[i].getFileName())) {
|
||||
String source = st[i].getFileName();
|
||||
if (!source.equals("TestFmwk.java") && !source.equals("AbstractTestLog.java")) {
|
||||
return "(" + st[i].getFileName() + ":" + st[i].getLineNumber() + ") ";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user