Annotation Type TestParamFilter


  • public @interface TestParamFilter
    Filter Test Set by Parameter.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String nameContains
      Select a test parameter which name should contain specified String.
      java.lang.String nameEndsWith
      Select a test parameter which name ends with specified String.
      java.lang.String nameStartsWith
      Select a test parameter which name starts with specified String.
      int paramIndex
      Parameter index to which this filter should be applied.
      java.lang.String valueContains
      Select a test parameter which value should contain specified String.
      java.lang.String valueEndsWith
      Select a test parameter which value ends with specified String.
      java.lang.String valueStartsWith
      Select a test parameter which value starts with specified String.
    • Element Detail

      • paramIndex

        int paramIndex
        Parameter index to which this filter should be applied. If it's not specified then the filter try to match every parameter.
        Returns:
        parameter index
        Default:
        -1
      • nameStartsWith

        java.lang.String nameStartsWith
        Select a test parameter which name starts with specified String. Designed to use with ParameterKey annotation, since there is no parameter names in Java runtime.
        Returns:
        required prefix
        Default:
        ""
      • nameEndsWith

        java.lang.String nameEndsWith
        Select a test parameter which name ends with specified String. Designed to use with ParameterKey annotation, since there is no parameter names in Java runtime.
        Returns:
        required prefix
        Default:
        ""
      • nameContains

        java.lang.String nameContains
        Select a test parameter which name should contain specified String. Designed to use with ParameterKey annotation, since there is no parameter names in Java runtime.
        Returns:
        required prefix
        Default:
        ""
      • valueStartsWith

        java.lang.String valueStartsWith
        Select a test parameter which value starts with specified String. Non-string parameter values convert with Object.toString(), method.
        Returns:
        required prefix
        Default:
        ""
      • valueEndsWith

        java.lang.String valueEndsWith
        Select a test parameter which value ends with specified String. Non-string parameter values convert with Object.toString(), method.
        Returns:
        required prefix
        Default:
        ""
      • valueContains

        java.lang.String valueContains
        Select a test parameter which value should contain specified String. Non-string parameter values convert with Object.toString(), method.
        Returns:
        required prefix
        Default:
        ""