org.apache.lucene.util

## Annotation Type TestRuleLimitSysouts.Limit

-     @Documented
       @Inherited
       @Retention(value=RUNTIME)
       @Target(value=TYPE)
      public static @interface TestRuleLimitSysouts.Limit

  An annotation specifying the limit of bytes per class.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `long` | `bytes` The maximum number of bytes written to stdout or stderr.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `long` | `hardLimit` Maximum number of bytes passed to actual stdout or stderr.

- - ### Element Detail

    - #### bytes

          public abstract long bytes

      The maximum number of bytes written to stdout or stderr. If exceeded, a suite failure will be triggered.

  - - #### hardLimit

          public abstract long hardLimit

      Maximum number of bytes passed to actual stdout or stderr. Any writes beyond this limit will be ignored (will actually cause an IOException on the underlying output, but this is silently ignored by PrintStreams).
      Default:
        2147483648L

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.