Interface MayVerb.StringMayWrapperForVerb

  • Enclosing interface:
    MayVerb

    public static interface MayVerb.StringMayWrapperForVerb
    Block of tests which MAY pass, and if not should be ignored. Such as rules which may be optionally implemented by Journals.

    MUST be used in conjunction with MayVerb.optional(java.lang.String, scala.Function0<scala.runtime.BoxedUnit>) to provide explanation as to why it may be ok to fail this spec.

    The word MAY is to be understood as defined in RFC 2119

    See Also:
    RFC 2119
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String leftSideString()  
      void may​(scala.Function0<scala.runtime.BoxedUnit> right, org.scalatest.words.StringVerbBlockRegistration fun, org.scalactic.source.Position pos)
      Block of tests which MAY pass, and if not should be ignored.
    • Method Detail

      • leftSideString

        java.lang.String leftSideString()
      • may

        void may​(scala.Function0<scala.runtime.BoxedUnit> right,
                 org.scalatest.words.StringVerbBlockRegistration fun,
                 org.scalactic.source.Position pos)
        Block of tests which MAY pass, and if not should be ignored. Such as rules which may be optionally implemented by Journals.

        MUST be used in conjunction with MayVerb.optional(java.lang.String, scala.Function0<scala.runtime.BoxedUnit>) to provide explanation as to why it may be ok to fail this spec.

        The word MAY is to be understood as defined in RFC 2119

        Parameters:
        right - (undocumented)
        fun - (undocumented)
        pos - (undocumented)
        See Also:
        RFC 2119