Class AllOfFailingFast<T>

    • Constructor Detail

      • AllOfFailingFast

        @SafeVarargs
        public AllOfFailingFast​(Quality<? super T>... delegates)
        Creates a Quality that passes if all the given Qualitys match or if no Quality was given. In contrast to AllOf this Quality stops evaluating delegates when the first Quality mismatches.

        The delegates' descriptions are delimited with "\nand\n"

      • AllOfFailingFast

        @SafeVarargs
        public AllOfFailingFast​(Description delimiter,
                                Quality<? super T>... delegates)
        Creates a Quality that passes if all the given Qualitys match or if no Quality was given. In contrast to AllOf this Quality stops evaluating delegates when the first Quality mismatches.

        The delegates' descriptions are delimited with the given Description

      • AllOfFailingFast

        public AllOfFailingFast​(java.lang.Iterable<? extends Quality<? super T>> delegates)
        Matches if all the given Qualitys match or if no Quality was given. In contrast to AllOf this Matcher stops evaluating delegates when the first Quality mismatches.

        The delegates' descriptions are delimited with "\nand\n"

      • AllOfFailingFast

        public AllOfFailingFast​(Description delimiter,
                                java.lang.Iterable<? extends Quality<? super T>> delegates)
        Matches if all the given Qualitys match or if no Quality was given. In contrast to AllOf this Matcher stops evaluating delegates when the first Quality mismatches.

        The delegates' descriptions are delimited with the given Description