Annotation Type MirrorOutput


@API(status=MAINTAINED)
@Documented
@Retention(RUNTIME)
@Target({TYPE,METHOD,ANNOTATION_TYPE})
public @interface MirrorOutput
This annotation can be applied to a class or method and tells the IOTester, whether to pipe the output to the original standard output as well (mirroring everything received). It does not affect the test result (unless the standard output throws an exception).

A MirrorOutput annotation on a method always overrides the one on the class level.

maxCharCount is used to restrict the number of characters that are stored and printed to the original standard output.

Since:
0.1.0
Version:
1.1.0
Author:
Christian Femers
  • Field Summary

    Fields 
    Modifier and Type Fields Description
    static long DEFAULT_MAX_STD_OUT  
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    long maxCharCount
    This is used to restrict the number of characters that are stored and printed to the original standard output.
    MirrorOutput.MirrorOutputPolicy value  
  • Field Details

  • Element Details

    • value

      Default:
      ENABLED
    • maxCharCount

      long maxCharCount
      This is used to restrict the number of characters that are stored and printed to the original standard output.

      Default value is 100_000_000

      Default:
      100000000L