< prev index next >

test/javax/xml/jaxp/unittest/util/BaseStAXUT.java

Print this page




 540          * 27-Sep-2005, TSa: Should probably use some other mechanism for
 541          * reporting this. Does JUnit have something applicable?
 542          */
 543         System.err.println("Skipping " + clsName + "#" + method + ": property '" + prop + "' (or one of its values) not supported.");
 544     }
 545 
 546     protected void reportNADueToNS(String method) {
 547         reportNADueToProperty(method, "IS_NAMESPACE_AWARE");
 548     }
 549 
 550     protected void reportNADueToExtEnt(String method) {
 551         reportNADueToProperty(method, "IS_SUPPORTING_EXTERNAL_ENTITIES");
 552     }
 553 
 554     protected void reportNADueToEntityExpansion(String method, int type) {
 555         String clsName = getClass().getName();
 556         String msg = (type > 0) ? " (next event: " + tokenTypeDesc(type) + ")" : "";
 557         System.err.println("Skipping " + clsName + "#" + method + ": entity expansion does not seem to be functioning properly" + msg + ".");
 558     }
 559 }
 560 


 540          * 27-Sep-2005, TSa: Should probably use some other mechanism for
 541          * reporting this. Does JUnit have something applicable?
 542          */
 543         System.err.println("Skipping " + clsName + "#" + method + ": property '" + prop + "' (or one of its values) not supported.");
 544     }
 545 
 546     protected void reportNADueToNS(String method) {
 547         reportNADueToProperty(method, "IS_NAMESPACE_AWARE");
 548     }
 549 
 550     protected void reportNADueToExtEnt(String method) {
 551         reportNADueToProperty(method, "IS_SUPPORTING_EXTERNAL_ENTITIES");
 552     }
 553 
 554     protected void reportNADueToEntityExpansion(String method, int type) {
 555         String clsName = getClass().getName();
 556         String msg = (type > 0) ? " (next event: " + tokenTypeDesc(type) + ")" : "";
 557         System.err.println("Skipping " + clsName + "#" + method + ": entity expansion does not seem to be functioning properly" + msg + ".");
 558     }
 559 }

< prev index next >