Class W3CMatchers


  • public final class W3CMatchers
    extends Object
    Matchers for validating HTML and CSS content.
    Since:
    0.1
    • Method Detail

      • validHtml

        public static org.hamcrest.Matcher<String> validHtml()
        Matcher for validating HTML content against W3C validation servers.
        Returns:
        Matcher for validating HTML content.
      • validCss

        public static org.hamcrest.Matcher<String> validCss()
        Matcher for validating CSS content against W3C validation servers.
        Returns:
        Matcher for validating CSS content.