Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18019

Webstandard validation tests don't fail if the error or warning is in lowercase in the logs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 12.10
    • 11.10
    • None
    • Unknown
    • N/A
    • N/A

    Description

      In DefaultValidationTest and RSSValidationTest:

          protected boolean hasLogErrors(String output)
          {
              return output.indexOf("ERROR") >= 0 || output.indexOf("ERR") >= 0;
          }
      
          protected boolean hasLogWarnings(String output)
          {
              return output.indexOf("WARNING") >= 0 || output.indexOf("WARN") >= 0;
          }
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: