org.specrunner.plugins.core.language
Annotation Type Sentence


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Sentence

Expected message on test execution.

Author:
Thiago Santos

Optional Element Summary
 int options
          Expression options.
 String value
          Regular expression.
 

value

public abstract String value
Regular expression.

Default:
""

options

public abstract int options
Expression options. Values of Pattern constants. Default is Pattern.CASE_INSENSITIVE.

Default:
2


Copyright © 2014. All rights reserved.