Package org.apache.lucene.tests.util
Annotation Type TestRuleLimitSysouts.Limit
- Enclosing class:
- TestRuleLimitSysouts
@Documented
@Inherited
@Retention(RUNTIME)
@Target(TYPE)
public static @interface TestRuleLimitSysouts.Limit
An annotation specifying the limit of bytes per class.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionlong
The maximum number of bytes written to stdout or stderr. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionlong
Maximum number of bytes passed to actual stdout or stderr.
-
Element Details
-
bytes
long bytesThe maximum number of bytes written to stdout or stderr. If exceeded, a suite failure will be triggered.
-
-
-
hardLimit
long hardLimitMaximum 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
-