java/src/org/apache/qetest/trax/LoggingErrorListener.java [382:414]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected void logOrCheck(int type, String desc, String exInfo)
    {
        String tmp = getQuickCounters() + " " + desc;
        // Either log the exception or call checkPass/checkFail 
        //  as requested by setExpected for this type
        if (ITEM_DONT_CARE == expected[type])
        {
            // We don't care about this, just log it
            logger.logMsg(level, desc + " threw: " + exInfo);
        }
        else if (ITEM_CHECKFAIL == expected[type])
        {
            // We shouldn't have been called here, so fail
            logger.checkFail(desc + " threw-unexpected: " + exInfo);
        }
        else if (exInfo.indexOf(expected[type]) > -1)
        {   
            // We got a warning the user expected, so pass
            logger.checkPass(desc + " threw-matching: " + exInfo);
            // Also reset this counter
            //@todo needswork: this is very state-dependent, and 
            //  might not be what the user expects, but at least it 
            //  won't give lots of extra false fails or passes
            expected[type] = ITEM_DONT_CARE;
        }
        else
        {
            // We got a warning the user didn't expect, so fail
            logger.checkFail(desc + " threw-notmatching: " + exInfo);
            // Also reset this counter
            expected[type] = ITEM_DONT_CARE;
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java/src/org/apache/qetest/xsl/LoggingSAXErrorHandler.java [419:451]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected void logOrCheck(int type, String desc, String exInfo)
    {
        String tmp = getQuickCounters() + " " + desc;
        // Either log the exception or call checkPass/checkFail 
        //  as requested by setExpected for this type
        if (ITEM_DONT_CARE == expected[type])
        {
            // We don't care about this, just log it
            logger.logMsg(level, desc + " threw: " + exInfo);
        }
        else if (ITEM_CHECKFAIL == expected[type])
        {
            // We shouldn't have been called here, so fail
            logger.checkFail(desc + " threw-unexpected: " + exInfo);
        }
        else if (exInfo.indexOf(expected[type]) > -1)
        {   
            // We got a warning the user expected, so pass
            logger.checkPass(desc + " threw-matching: " + exInfo);
            // Also reset this counter
            //@todo needswork: this is very state-dependent, and 
            //  might not be what the user expects, but at least it 
            //  won't give lots of extra false fails or passes
            expected[type] = ITEM_DONT_CARE;
        }
        else
        {
            // We got a warning the user didn't expect, so fail
            logger.checkFail(desc + " threw-notmatching: " + exInfo);
            // Also reset this counter
            expected[type] = ITEM_DONT_CARE;
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



