Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- afterEach(ExtensionContext) - Method in class rife.bld.extension.testing.CaptureOutputExtension
-
Restores original output streams after each test method execution.
- afterEach(ExtensionContext) - Method in class rife.bld.extension.testing.LoggingExtension
-
Restores the original logger and handler configuration after each test method completes.
- ALPHANUMERIC_CHARACTERS - Static variable in class rife.bld.extension.testing.TestingUtils
-
A string constant containing all uppercase letters, lowercase letters, and numeric digits.
B
- beforeEach(ExtensionContext) - Method in class rife.bld.extension.testing.CaptureOutputExtension
-
Sets up output capture before each test method execution.
- beforeEach(ExtensionContext) - Method in class rife.bld.extension.testing.LoggingExtension
-
Configures the logger with console output before each test method runs.
C
- CapturedOutput - Class in rife.bld.extension.testing
-
Container for captured stdout and stderr output during test execution.
- CapturedOutput.OutputEntry - Class in rife.bld.extension.testing
-
Represents a single output entry with type, content, and timestamp.
- CapturedOutput.OutputType - Enum Class in rife.bld.extension.testing
-
Enumeration of output types for distinguishing between stdout and stderr.
- CaptureOutput - Annotation Interface in rife.bld.extension.testing
-
JUnit annotation to capture stdout and stderr output for specific test methods.
- CaptureOutputExtension - Class in rife.bld.extension.testing
-
JUnit extension that captures stdout and stderr during test execution.
- CaptureOutputExtension() - Constructor for class rife.bld.extension.testing.CaptureOutputExtension
- characters() - Element in annotation interface rife.bld.extension.testing.RandomString
-
The alphanumeric character set to use for random string generation.
- clear() - Method in class rife.bld.extension.testing.TestLogHandler
-
Clears all captured log records and messages.
- close() - Method in class rife.bld.extension.testing.TestLogHandler
-
Closes this log handler and prevents further logging.
- contains(String) - Method in class rife.bld.extension.testing.CapturedOutput
-
Searches for the specified text within both stdout and stderr content.
- containsExactMessage(String) - Method in class rife.bld.extension.testing.TestLogHandler
-
Checks if the log contains the exact message.
- containsMessage(String) - Method in class rife.bld.extension.testing.TestLogHandler
-
Checks if the log contains a message containing the given text.
- containsMessageMatching(Pattern) - Method in class rife.bld.extension.testing.TestLogHandler
-
Checks if the log contains a message matching the given regex pattern.
- countMessagesContaining(String) - Method in class rife.bld.extension.testing.TestLogHandler
-
Counts the number of messages containing the given text.
- countRecordsAtLevel(Level) - Method in class rife.bld.extension.testing.TestLogHandler
-
Counts the number of log records at the specified level.
D
- DisabledOnCi - Annotation Interface in rife.bld.extension.testing
-
JUnit annotation for disabling tests on CI/CD environments.
- DisabledOnCiCondition - Class in rife.bld.extension.testing
-
Implementation of JUnit's
ExecutionCondition
to conditionally disable tests when running in a CI/CD environment. - DisabledOnCiCondition() - Constructor for class rife.bld.extension.testing.DisabledOnCiCondition
E
- errContains(String) - Method in class rife.bld.extension.testing.CapturedOutput
-
Searches for the specified text within the captured stderr content.
- evaluateExecutionCondition(ExtensionContext) - Method in class rife.bld.extension.testing.DisabledOnCiCondition
-
Evaluates whether the execution of a test should be enabled or disabled based on the CI environment.
F
- flush() - Method in class rife.bld.extension.testing.TestLogHandler
-
Flushes this log handler.
G
- generateRandomInt(int, int) - Static method in class rife.bld.extension.testing.TestingUtils
-
Generates a random integer within the specified range.
- generateRandomString() - Static method in class rife.bld.extension.testing.TestingUtils
-
Generates a random string with default parameters.
- generateRandomString(int) - Static method in class rife.bld.extension.testing.TestingUtils
-
Generates a random string with a specified length.
- generateRandomString(int, String) - Static method in class rife.bld.extension.testing.TestingUtils
-
Generates a random string with specified parameters.
- getAll() - Method in class rife.bld.extension.testing.CapturedOutput
-
Combines and retrieves both stdout and stderr content as a single string.
- getAllLines() - Method in class rife.bld.extension.testing.CapturedOutput
-
Retrieves the combined stdout and stderr content as a list of lines.
- getChronologicalContent() - Method in class rife.bld.extension.testing.CapturedOutput
-
Retrieves all output content in chronological order as a single string.
- getChronologicalEntries() - Method in class rife.bld.extension.testing.CapturedOutput
-
Retrieves all output entries in chronological order.
- getChronologicalLines() - Method in class rife.bld.extension.testing.CapturedOutput
-
Retrieves all output content in chronological order as a list of lines.
- getContent() - Method in class rife.bld.extension.testing.CapturedOutput.OutputEntry
-
Returns the content of this output entry.
- getErr() - Method in class rife.bld.extension.testing.CapturedOutput
-
Retrieves the captured stderr content as a string.
- getErrAsBytes() - Method in class rife.bld.extension.testing.CapturedOutput
-
Retrieves the captured stderr content as a raw byte array.
- getErrLines() - Method in class rife.bld.extension.testing.CapturedOutput
-
Retrieves the captured stderr content as a list of lines.
- getFirstRecordContaining(String) - Method in class rife.bld.extension.testing.TestLogHandler
-
Gets the first log record containing the given text.
- getLastRecord() - Method in class rife.bld.extension.testing.TestLogHandler
-
Gets the most recent log record, if any.
- getLastRecordContaining(String) - Method in class rife.bld.extension.testing.TestLogHandler
-
Gets the last log record containing the given text.
- getLogMessages() - Method in class rife.bld.extension.testing.TestLogHandler
-
Gets all captured log messages as strings.
- getLogRecords() - Method in class rife.bld.extension.testing.TestLogHandler
-
Gets all captured log records.
- getOut() - Method in class rife.bld.extension.testing.CapturedOutput
-
Retrieves the captured stdout content as a string.
- getOutAsBytes() - Method in class rife.bld.extension.testing.CapturedOutput
-
Retrieves the captured stdout content as a raw byte array.
- getOutLines() - Method in class rife.bld.extension.testing.CapturedOutput
-
Retrieves the captured stdout content as a list of lines.
- getRecordCount() - Method in class rife.bld.extension.testing.TestLogHandler
-
Gets the total number of captured log records.
- getRecordsAtOrAboveLevel(Level) - Method in class rife.bld.extension.testing.TestLogHandler
-
Gets all log records at or above the specified level.
- getTimestamp() - Method in class rife.bld.extension.testing.CapturedOutput.OutputEntry
-
Returns the timestamp of this output entry.
- getType() - Method in class rife.bld.extension.testing.CapturedOutput.OutputEntry
-
Returns the type of this output entry.
H
- hasLogLevel(Level) - Method in class rife.bld.extension.testing.TestLogHandler
-
Checks if the log contains a record with the given level.
- HEXADECIMAL_CHARACTERS - Static variable in class rife.bld.extension.testing.TestingUtils
-
A string constant containing all hexadecimal digits and letters.
I
- isCi() - Static method in class rife.bld.extension.testing.DisabledOnCiCondition
-
Returns
true
if the environment variableCI
is set. - isClosed() - Method in class rife.bld.extension.testing.TestLogHandler
-
Checks if this handler has been closed.
- isEmpty() - Method in class rife.bld.extension.testing.CapturedOutput
-
Determines if any output was captured to either stdout or stderr.
- isEmpty() - Method in class rife.bld.extension.testing.TestLogHandler
-
Checks if any log records have been captured.
- isStderr() - Method in class rife.bld.extension.testing.CapturedOutput.OutputEntry
-
Determines if this output entry is from stderr.
- isStdout() - Method in class rife.bld.extension.testing.CapturedOutput.OutputEntry
-
Determines if this output entry is from stdout.
L
- length() - Element in annotation interface rife.bld.extension.testing.RandomString
-
The length of the generated random string.
- LoggingExtension - Class in rife.bld.extension.testing
-
JUnit extension for configuring console logging for test suites.
- LoggingExtension() - Constructor for class rife.bld.extension.testing.LoggingExtension
-
Creates a LoggingExtension with the default logger and
Level.ALL
. - LoggingExtension(String) - Constructor for class rife.bld.extension.testing.LoggingExtension
-
Creates a LoggingExtension with a custom logger name and
Level.ALL
. - LoggingExtension(String, Handler) - Constructor for class rife.bld.extension.testing.LoggingExtension
-
Creates a LoggingExtension with a custom logger name and existing handler.
- LoggingExtension(String, Handler, Level) - Constructor for class rife.bld.extension.testing.LoggingExtension
-
Creates a LoggingExtension with a custom logger name, existing handler, and logging level override.
- LoggingExtension(String, Level) - Constructor for class rife.bld.extension.testing.LoggingExtension
-
Creates a LoggingExtension with a custom logger name and logging level.
- LoggingExtension(Logger) - Constructor for class rife.bld.extension.testing.LoggingExtension
-
Creates a LoggingExtension with a custom logger and
Level.ALL
. - LoggingExtension(Logger, Handler) - Constructor for class rife.bld.extension.testing.LoggingExtension
-
Creates a LoggingExtension with a custom logger and existing handler.
- LoggingExtension(Logger, Handler, Level) - Constructor for class rife.bld.extension.testing.LoggingExtension
-
Creates a LoggingExtension with a custom logger, existing handler, and logging level override.
- LoggingExtension(Logger, Level) - Constructor for class rife.bld.extension.testing.LoggingExtension
-
Creates a LoggingExtension with a custom logger and logging level.
- LOWERCASE_CHARACTERS - Static variable in class rife.bld.extension.testing.TestingUtils
-
A string constant containing all lowercase letters.
M
- max() - Element in annotation interface rife.bld.extension.testing.RandomRange
-
The maximum value (inclusive) for the random number generation.
- min() - Element in annotation interface rife.bld.extension.testing.RandomRange
-
The minimum value (inclusive) for the random number generation.
N
- NUMERIC_CHARACTERS - Static variable in class rife.bld.extension.testing.TestingUtils
-
A string constant containing all numeric digits.
O
- outContains(String) - Method in class rife.bld.extension.testing.CapturedOutput
-
Searches for the specified text within the captured stdout content.
P
- postProcessTestInstance(Object, ExtensionContext) - Method in class rife.bld.extension.testing.RandomRangeResolver
-
Processes fields of the test instance annotated with
RandomRange
. - postProcessTestInstance(Object, ExtensionContext) - Method in class rife.bld.extension.testing.RandomStringResolver
-
Processes fields of the test instance annotated with
RandomString
. - publish(LogRecord) - Method in class rife.bld.extension.testing.TestLogHandler
-
Publishes a log record if the handler is not closed.
R
- RandomRange - Annotation Interface in rife.bld.extension.testing
-
JUnit annotation for generating random integer values within a specified range.
- RandomRangeResolver - Class in rife.bld.extension.testing
-
Parameter and field resolver for the
RandomRange
annotation. - RandomRangeResolver() - Constructor for class rife.bld.extension.testing.RandomRangeResolver
- RandomString - Annotation Interface in rife.bld.extension.testing
-
JUnit annotation for configuring random string generation in test method parameters.
- RandomStringResolver - Class in rife.bld.extension.testing
-
Parameter and field resolver for the
RandomString
annotation. - RandomStringResolver() - Constructor for class rife.bld.extension.testing.RandomStringResolver
- resolveParameter(ParameterContext, ExtensionContext) - Method in class rife.bld.extension.testing.CaptureOutputExtension
-
Resolves the
CapturedOutput
parameter for injection into test methods. - resolveParameter(ParameterContext, ExtensionContext) - Method in class rife.bld.extension.testing.RandomRangeResolver
-
Resolves a parameter by generating a random integer within the specified range.
- resolveParameter(ParameterContext, ExtensionContext) - Method in class rife.bld.extension.testing.RandomStringResolver
-
Resolves the parameter by generating a random string based on annotation configuration.
- rife.bld.extension.testing - package rife.bld.extension.testing
-
Provides a collection of testing helpers used by various bld Extensions.
S
- STDERR - Enum constant in enum class rife.bld.extension.testing.CapturedOutput.OutputType
-
Represents output written to stderr (System.err).
- STDOUT - Enum constant in enum class rife.bld.extension.testing.CapturedOutput.OutputType
-
Represents output written to stdout (System.out).
- supportsParameter(ParameterContext, ExtensionContext) - Method in class rife.bld.extension.testing.CaptureOutputExtension
-
Determines if this extension can resolve the given parameter.
- supportsParameter(ParameterContext, ExtensionContext) - Method in class rife.bld.extension.testing.RandomRangeResolver
-
Determines if this resolver can resolve a parameter.
- supportsParameter(ParameterContext, ExtensionContext) - Method in class rife.bld.extension.testing.RandomStringResolver
-
Determines if this resolver can resolve a parameter.
T
- TestingUtils - Class in rife.bld.extension.testing
-
Provides static methods for generating random values and predefined character sets.
- TestLogHandler - Class in rife.bld.extension.testing
-
Thread-safe custom log handler for capturing log messages during tests.
- TestLogHandler() - Constructor for class rife.bld.extension.testing.TestLogHandler
- toString() - Method in class rife.bld.extension.testing.CapturedOutput.OutputEntry
-
Provides a string representation of this output entry for debugging purposes.
- toString() - Method in class rife.bld.extension.testing.CapturedOutput
-
Provides a string representation of this captured output for debugging purposes.
U
- UPPERCASE_CHARACTERS - Static variable in class rife.bld.extension.testing.TestingUtils
-
A string constant containing all uppercase letters.
- URL_SAFE_CHARACTERS - Static variable in class rife.bld.extension.testing.TestingUtils
-
A string constant representing a set of characters that are safe for use in URLs.
V
- valueOf(String) - Static method in enum class rife.bld.extension.testing.CapturedOutput.OutputType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class rife.bld.extension.testing.CapturedOutput.OutputType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values