Interface MayVerb.StringMayWrapperForVerb

Enclosing interface:
MayVerb

public static interface MayVerb.StringMayWrapperForVerb
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    may(scala.Function0<scala.runtime.BoxedUnit> right, org.scalatest.verbs.StringVerbBlockRegistration fun, org.scalactic.source.Position pos)
    Block of tests which MAY pass, and if not should be ignored.
  • Method Details

    • leftSideString

      String leftSideString()
    • may

      void may(scala.Function0<scala.runtime.BoxedUnit> right, org.scalatest.verbs.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

      See Also: