Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addListifier(Class<T>, Listifier<T>) - Method in class org.bct.api.BasicBeanConverter.Builder
-
Registers a custom listifier for a specific type.
- addPropertyExtractor(PropertyExtractor) - Method in class org.bct.api.BasicBeanConverter.Builder
-
Registers a custom property extractor for specialized property access logic.
- addSetting(String, Object) - Method in class org.bct.api.BasicBeanConverter.Builder
-
Adds a configuration setting to the converter.
- addStringifier(Class<T>, Stringifier<T>) - Method in class org.bct.api.BasicBeanConverter.Builder
-
Registers a custom stringifier for a specific type.
- addSwapper(Class<T>, Swapper<T>) - Method in class org.bct.api.BasicBeanConverter.Builder
-
Registers a custom swapper for a specific type.
- args() - Static method in class org.bct.api.BctAssertions
-
Creates a new
AssertionArgsinstance for configuring assertion behavior. - arrayToList(Object) - Static method in class org.bct.api.Utils
-
Converts an array to a
Listof objects. - assertArg(boolean, String, Object...) - Static method in class org.bct.api.Utils
-
Validates a boolean expression and throws an
IllegalArgumentExceptionif false. - assertArgNotNull(String, T) - Static method in class org.bct.api.Utils
-
Validates that an argument is not null and throws an
IllegalArgumentExceptionif it is. - assertBean(Object, String, String) - Static method in class org.bct.api.BctAssertions
-
Asserts that the fields/properties on the specified bean are the specified values after being converted to strings.
- assertBean(AssertionArgs, Object, String, String) - Static method in class org.bct.api.BctAssertions
-
Same as
assertBean(Object, String, String)but with configurable assertion behavior. - assertBeans(Object, String, String...) - Static method in class org.bct.api.BctAssertions
-
Asserts that multiple beans in a collection have the expected property values.
- assertBeans(AssertionArgs, Object, String, String...) - Static method in class org.bct.api.BctAssertions
-
Same as
assertBeans(Object, String, String...)but with configurable assertion behavior. - assertContains(String, Object) - Static method in class org.bct.api.BctAssertions
-
Asserts that the string representation of an object contains the expected substring.
- assertContains(AssertionArgs, String, Object) - Static method in class org.bct.api.BctAssertions
-
Same as
assertContains(String, Object)but with configurable assertion behavior. - assertContainsAll(Object, String...) - Static method in class org.bct.api.BctAssertions
-
Asserts that the string representation of an object contains all specified substrings.
- assertContainsAll(AssertionArgs, Object, String...) - Static method in class org.bct.api.BctAssertions
-
Same as
assertContainsAll(Object, String...)but with configurable assertion behavior. - assertEmpty(Object) - Static method in class org.bct.api.BctAssertions
-
Asserts that a collection-like object or Optional is not null and empty.
- assertEmpty(AssertionArgs, Object) - Static method in class org.bct.api.BctAssertions
-
Same as
assertEmpty(Object)but with configurable assertion behavior. - assertEqualsFailed(Object, Object, Supplier<String>) - Static method in class org.bct.api.Utils
-
Creates an
AssertionFailedErrorfor failed equality assertions. - AssertionArgs - Class in org.bct.api
-
Configuration and context object for advanced assertion operations.
- AssertionArgs() - Constructor for class org.bct.api.AssertionArgs
-
Creates a new instance with default settings.
- assertList(Object, Object...) - Static method in class org.bct.api.BctAssertions
-
Asserts that a List or List-like object contains the expected values using flexible comparison logic.
- assertList(AssertionArgs, Object, Object...) - Static method in class org.bct.api.BctAssertions
-
Same as
assertList(Object, Object...)but with configurable assertion behavior. - assertMapped(AssertionArgs, T, BiFunction<T, String, Object>, String, String) - Static method in class org.bct.api.BctAssertions
-
Same as
assertMapped(Object, BiFunction, String, String)but with configurable assertion behavior. - assertMapped(T, BiFunction<T, String, Object>, String, String) - Static method in class org.bct.api.BctAssertions
-
Asserts that mapped property access on an object returns expected values using a custom BiFunction.
- assertMatchesGlob(String, Object) - Static method in class org.bct.api.BctAssertions
-
Asserts that an object's string representation matches the specified glob-style pattern.
- assertMatchesGlob(AssertionArgs, String, Object) - Static method in class org.bct.api.BctAssertions
-
Same as
assertMatchesGlob(String, Object)but with configurable assertion behavior. - assertNotEmpty(Object) - Static method in class org.bct.api.BctAssertions
-
Asserts that a collection-like object or Optional is not null and not empty.
- assertNotEmpty(AssertionArgs, Object) - Static method in class org.bct.api.BctAssertions
-
Same as
assertNotEmpty(Object)but with configurable assertion behavior. - assertSize(int, Object) - Static method in class org.bct.api.BctAssertions
-
Asserts that a collection-like object or string is not null and of the specified size.
- assertSize(AssertionArgs, int, Object) - Static method in class org.bct.api.BctAssertions
-
Same as
assertSize(int, Object)but with configurable assertion behavior. - assertString(String, Object) - Static method in class org.bct.api.BctAssertions
-
Asserts that an object's string representation exactly matches the expected value.
- assertString(AssertionArgs, String, Object) - Static method in class org.bct.api.BctAssertions
-
Same as
assertString(String, Object)but with configurable assertion behavior.
B
- BasicBeanConverter - Class in org.bct.api
-
Default implementation of
BeanConverterfor Bean-Centric Test (BCT) object conversion. - BasicBeanConverter(BasicBeanConverter.Builder) - Constructor for class org.bct.api.BasicBeanConverter
- BasicBeanConverter.Builder - Class in org.bct.api
-
Builder for creating customized BasicBeanConverter instances.
- BasicBeanConverter.ListifierEntry<T> - Class in org.bct.api
- BasicBeanConverter.StringifierEntry<T> - Class in org.bct.api
- BasicBeanConverter.SwapperEntry<T> - Class in org.bct.api
- BctAssertions - Class in org.bct.api
-
Comprehensive utility class for Bean-Centric Tests (BCT) and general testing operations.
- BeanConverter - Interface in org.bct.api
-
Abstract interface for Bean-Centric Test (BCT) object conversion and property access.
- build() - Method in class org.bct.api.BasicBeanConverter.Builder
-
Builds the configured BasicBeanConverter instance.
- builder() - Static method in class org.bct.api.BasicBeanConverter
-
Creates a new builder for configuring a BasicBeanConverter instance.
- Builder() - Constructor for class org.bct.api.BasicBeanConverter.Builder
- byteArrayStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for byte arrays that converts them to hex strings.
C
- calendarStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
GregorianCalendarobjects that formats them as ISO-8601 strings. - canExtract(BeanConverter, Object, String) - Method in interface org.bct.api.PropertyExtractor
-
Determines if this extractor can handle property access for the given object and property name.
- canExtract(BeanConverter, Object, String) - Method in class org.bct.api.PropertyExtractors.ListPropertyExtractor
- canExtract(BeanConverter, Object, String) - Method in class org.bct.api.PropertyExtractors.MapPropertyExtractor
- canExtract(BeanConverter, Object, String) - Method in class org.bct.api.PropertyExtractors.ObjectPropertyExtractor
- canListify(Object) - Method in class org.bct.api.BasicBeanConverter
- canListify(Object) - Method in interface org.bct.api.BeanConverter
-
Determines if an object can be converted to a list.
- classStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
Classobjects that formats them according to configured settings. - collectionListifier() - Static method in class org.bct.api.Listifiers
-
Returns a listifier for
Collectionobjects that converts them toArrayList. - constructorStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
Constructorobjects that formats them as readable signatures.
D
- dateStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
Dateobjects that formats them as ISO instant strings. - DEFAULT - Static variable in class org.bct.api.BasicBeanConverter
- defaultSettings() - Method in class org.bct.api.BasicBeanConverter.Builder
-
Adds default handlers and settings for common Java types.
E
- enumerationListifier() - Static method in class org.bct.api.Listifiers
-
Returns a listifier for
Enumerationobjects that converts them to lists. - enumStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
Enumobjects that converts them to name format. - eq(T, T) - Static method in class org.bct.api.Utils
-
Tests two objects for equality using
Objects.equals(Object, Object). - eq(T, U, BiPredicate<T, U>) - Static method in class org.bct.api.Utils
-
Tests two objects for equality using the provided test predicate.
- equals(Object) - Method in class org.bct.api.NestedTokenizer.Token
- escapeForJava(String) - Static method in class org.bct.api.Utils
-
Escapes a string for safe inclusion in Java source code.
- extract(BeanConverter, Object, String) - Method in interface org.bct.api.PropertyExtractor
-
Extracts the specified property value from the given object.
- extract(BeanConverter, Object, String) - Method in class org.bct.api.PropertyExtractors.ListPropertyExtractor
- extract(BeanConverter, Object, String) - Method in class org.bct.api.PropertyExtractors.MapPropertyExtractor
- extract(BeanConverter, Object, String) - Method in class org.bct.api.PropertyExtractors.ObjectPropertyExtractor
F
- f(String, Object...) - Static method in class org.bct.api.Utils
-
Formats a message template with parameters using
MessageFormat. - fileStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
Fileobjects that converts file content to strings. - fs(String, Object...) - Static method in class org.bct.api.Utils
-
Creates a
Supplierthat formats a message template with parameters. - futureSwapper() - Static method in class org.bct.api.Swappers
-
Returns a swapper for
Futureobjects that extracts completed results or status information.
G
- get() - Method in interface org.bct.api.ThrowingSupplier
- getBeanConverter() - Method in class org.bct.api.AssertionArgs
-
Gets the configured bean converter, if any.
- getGlobMatchPattern(String) - Static method in class org.bct.api.Utils
-
Converts a string containing glob-style wildcard characters to a regular expression
Pattern. - getGlobMatchPattern(String, int) - Static method in class org.bct.api.Utils
-
Converts a string containing glob-style wildcard characters to a regular expression
Patternwith flags. - getMessage() - Method in class org.bct.api.AssertionArgs
-
Gets the base message supplier for composition with assertion-specific messages.
- getMessage(String, Object...) - Method in class org.bct.api.AssertionArgs
-
Composes the final error message by combining custom and assertion-specific messages.
- getNested() - Method in class org.bct.api.NestedTokenizer.Token
-
Returns an unmodifiable view of the nested tokens.
- getNested(Object, NestedTokenizer.Token) - Method in class org.bct.api.BasicBeanConverter
- getNested(Object, NestedTokenizer.Token) - Method in interface org.bct.api.BeanConverter
-
Extracts a nested property value using structured field access syntax.
- getProperty(Object, String) - Method in class org.bct.api.BasicBeanConverter
- getProperty(Object, String) - Method in interface org.bct.api.BeanConverter
-
Accesses a named property or field from an object.
- getSetting(String, T) - Method in class org.bct.api.BasicBeanConverter
- getSetting(String, T) - Method in interface org.bct.api.BeanConverter
-
Retrieves a configuration setting value with a fallback default.
- getValue() - Method in class org.bct.api.NestedTokenizer.Token
-
Returns the main value of this token.
H
- hashCode() - Method in class org.bct.api.NestedTokenizer.Token
- hasNested() - Method in class org.bct.api.NestedTokenizer.Token
-
Returns true if this token has nested content.
I
- IN_ESCAPE - Enum constant in enum class org.bct.api.NestedTokenizer.ParseState
-
Processing an escaped character
- inputStreamStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
InputStreamobjects that converts content to hex strings. - iterableListifier() - Static method in class org.bct.api.Listifiers
-
Returns a listifier for
Iterableobjects that converts them using streams. - iteratorListifier() - Static method in class org.bct.api.Listifiers
-
Returns a listifier for
Iteratorobjects that converts them to lists.
L
- Listifier<T> - Interface in org.bct.api
-
Functional interface for converting collection-like objects to standardized List<Object> format.
- Listifiers - Class in org.bct.api
-
Collection of standard listifier implementations for the Bean-Centric Testing framework.
- listify(Object) - Method in class org.bct.api.BasicBeanConverter
- listify(Object) - Method in interface org.bct.api.BeanConverter
-
Converts a collection-like object to a standardized List<Object> format.
- ListPropertyExtractor() - Constructor for class org.bct.api.PropertyExtractors.ListPropertyExtractor
- listStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
Listobjects that formats them with configurable delimiters.
M
- mapEntryStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
Map.Entryobjects that formats them as"key=value" . - mapListifier() - Static method in class org.bct.api.Listifiers
- MapPropertyExtractor() - Constructor for class org.bct.api.PropertyExtractors.MapPropertyExtractor
- mapStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
Mapobjects that formats them with configurable delimiters. - methodStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
Methodobjects that formats them as readable signatures.
N
- ne(T, T) - Static method in class org.bct.api.Utils
-
Tests two objects for inequality using
Objects.equals(Object, Object). - NestedTokenizer - Class in org.bct.api
-
Splits a nested comma-delimited string into a list of Token objects using a state machine parser.
- NestedTokenizer() - Constructor for class org.bct.api.NestedTokenizer
- NestedTokenizer.ParseState - Enum Class in org.bct.api
-
Parser states for the finite state machine.
- NestedTokenizer.Token - Class in org.bct.api
-
Represents a parsed token with optional nested sub-tokens.
O
- ObjectPropertyExtractor() - Constructor for class org.bct.api.PropertyExtractors.ObjectPropertyExtractor
- optionalSwapper() - Static method in class org.bct.api.Swappers
-
Returns a swapper for
Optionalobjects that unwraps them to their contained values. - org.bct.api - package org.bct.api
-
Bean-Centric Testing Framework.
P
- PARSING_NESTED - Enum constant in enum class org.bct.api.NestedTokenizer.ParseState
-
Parsing nested content within braces
- PARSING_VALUE - Enum constant in enum class org.bct.api.NestedTokenizer.ParseState
-
Parsing a token value outside of nested braces
- PropertyExtractor - Interface in org.bct.api
-
Interface for custom property extraction strategies in the Bean-Centric Testing framework.
- PropertyExtractors - Class in org.bct.api
-
Collection of standard property extractor implementations for the Bean-Centric Testing framework.
- PropertyExtractors.ListPropertyExtractor - Class in org.bct.api
-
Property extractor for array and collection objects with numeric indexing and size access.
- PropertyExtractors.MapPropertyExtractor - Class in org.bct.api
-
Property extractor for Map objects with direct key access and size property.
- PropertyExtractors.ObjectPropertyExtractor - Class in org.bct.api
-
Standard JavaBean property extractor using reflection.
- PropertyNotFoundException - Exception in org.bct.api
-
Exception thrown when a requested property cannot be found on an object.
- PropertyNotFoundException(String) - Constructor for exception org.bct.api.PropertyNotFoundException
-
Constructs a new PropertyNotFoundException with the specified detail message.
- PropertyNotFoundException(String, Class<?>) - Constructor for exception org.bct.api.PropertyNotFoundException
-
Constructs a new PropertyNotFoundException for a specific property name and object type.
- PropertyNotFoundException(String, Class<?>, Throwable) - Constructor for exception org.bct.api.PropertyNotFoundException
-
Constructs a new PropertyNotFoundException for a specific property name and object type with a cause.
- PropertyNotFoundException(String, Throwable) - Constructor for exception org.bct.api.PropertyNotFoundException
-
Constructs a new PropertyNotFoundException with the specified detail message and cause.
R
- readerStringifier() - Static method in class org.bct.api.Stringifiers
-
Returns a stringifier for
Readerobjects that converts content to strings.
S
- safe(ThrowingSupplier<T>) - Static method in class org.bct.api.Utils
-
Safely executes a
ThrowingSupplierand wraps checked exceptions asRuntimeException. - safeToString(Object) - Static method in class org.bct.api.Utils
-
Safely converts an object to its string representation, handling any exceptions that may occur.
- setBeanConverter(BeanConverter) - Method in class org.bct.api.AssertionArgs
-
Sets a custom
BeanConverterfor object introspection and property access. - setMessage(String, Object...) - Method in class org.bct.api.AssertionArgs
-
Sets a parameterized error message for assertion failures.
- setMessage(Supplier<String>) - Method in class org.bct.api.AssertionArgs
-
Sets a custom error message supplier for assertion failures.
- setNested(List<NestedTokenizer.Token>) - Method in class org.bct.api.NestedTokenizer.Token
-
Sets the nested tokens for this token (package-private for tokenizer use).
- SETTING_calendarFormat - Static variable in class org.bct.api.BasicBeanConverter
- SETTING_classNameFormat - Static variable in class org.bct.api.BasicBeanConverter
- SETTING_collectionPrefix - Static variable in class org.bct.api.BasicBeanConverter
- SETTING_collectionSuffix - Static variable in class org.bct.api.BasicBeanConverter
- SETTING_fieldSeparator - Static variable in class org.bct.api.BasicBeanConverter
- SETTING_mapEntrySeparator - Static variable in class org.bct.api.BasicBeanConverter
- SETTING_mapPrefix - Static variable in class org.bct.api.BasicBeanConverter
- SETTING_mapSuffix - Static variable in class org.bct.api.BasicBeanConverter
- SETTING_nullValue - Static variable in class org.bct.api.BasicBeanConverter
- SETTING_selfValue - Static variable in class org.bct.api.BasicBeanConverter
- streamListifier() - Static method in class org.bct.api.Listifiers
-
Returns a listifier for
Streamobjects that converts them to lists. - Stringifier<T> - Interface in org.bct.api
-
Functional interface for converting objects of a specific type to their string representation.
- Stringifiers - Class in org.bct.api
-
Collection of standard stringifier implementations for the Bean-Centric Testing framework.
- stringify(Object) - Method in class org.bct.api.BasicBeanConverter
- stringify(Object) - Method in interface org.bct.api.BeanConverter
-
Converts an object to its string representation for testing purposes.
- supplierSwapper() - Static method in class org.bct.api.Swappers
-
Returns a swapper for
Supplierobjects that evaluates them to get their supplied values. - swap(Object) - Method in class org.bct.api.BasicBeanConverter
- swap(Object) - Method in interface org.bct.api.BeanConverter
-
Pre-processes objects before conversion operations.
- Swapper<T> - Interface in org.bct.api
-
Functional interface for pre-processing and transforming objects before conversion.
- Swappers - Class in org.bct.api
-
Collection of standard swapper implementations for the Bean-Centric Testing framework.
T
- t(Object) - Static method in class org.bct.api.Utils
-
Returns the simple class name of an object, or null if the object is null.
- ThrowingSupplier<T> - Interface in org.bct.api
-
A supplier that throws an exception.
- Token(String) - Constructor for class org.bct.api.NestedTokenizer.Token
-
Creates a new token with the specified value.
- tokenize(String) - Static method in class org.bct.api.NestedTokenizer
- tokenize(String) - Static method in class org.bct.api.Utils
-
Tokenizes a string into a list of
NestedTokenizer.Tokenobjects. - toString() - Method in class org.bct.api.NestedTokenizer.Token
U
- Utils - Class in org.bct.api
-
Utility class providing common helper methods for testing operations.
V
- valueOf(String) - Static method in enum class org.bct.api.NestedTokenizer.ParseState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.bct.api.NestedTokenizer.ParseState
-
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|Serialized Form