ICU-329 show context

X-SVN-Rev: 959
This commit is contained in:
Alan Liu 2000-03-18 01:48:44 +00:00
parent af7124308c
commit 0c83d908ad

View File

@ -73,8 +73,10 @@ void TransliteratorTest::TestInstantiation() {
Transliterator::getDisplayName(id, name);
if (t == 0) {
errln(UnicodeString("FAIL: Couldn't create ") + id +
", parse error " + parseError.code + ", line " +
parseError.line + ", offset " + parseError.offset);
", parse error " + parseError.code +
", line " + parseError.line +
", offset " + parseError.offset +
", context \"" + parseError.context + "\"");
// When createInstance fails, it deletes the failing
// entry from the available ID list. We detect this
// here by looking for a change in countAvailableIDs.