Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- 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.LoggingExtension
-
Configures the logger with console output before each test method runs.
C
- 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.
- 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
-
Disables tests on CI condition.
- DisabledOnCiCondition() - Constructor for class rife.bld.extension.testing.DisabledOnCiCondition
E
- evaluateExecutionCondition(ExtensionContext) - Method in class rife.bld.extension.testing.DisabledOnCiCondition
-
Evaluates the execution condition.
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.
- 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.
- 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.
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.TestLogHandler
-
Checks if any log records have been captured.
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.
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.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
-
Defines Testing Helpers for bld Extensions.
S
- 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
-
Utility class that provides 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
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.
All Classes and Interfaces|All Packages|Constant Field Values