Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABIGAIL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Abigail.
- aBigDecimal() - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
Builds a randomizer which will generate a random
BigDecimal
. - aBigInteger() - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
Builds a randomizer which will generate a random
BigInteger
. - aBoolean() - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
A randomizer which will generate a random boolean value.
- aByte() - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
A randomizer which will generate a random byte value.
- aChar() - Static method in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Randomly generates a character (letters only).
- ADDISON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Addison.
- additive() - Element in annotation interface io.github.cjstehno.testthings.junit.PrepareDatabase
-
Defines whether the setup and teardown scripts will be added to or overrides of any defined at the class level.
- aDouble() - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
A randomizer which will generate a random double value.
- aDoubleBetween(double, double) - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
Builds a randomizer which will generate a random double between the min (inclusive) and max (exclusive) bounds.
- aFloat() - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
A randomizer which will generate a random float value.
- aFloatBetween(float, float) - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
Builds a randomizer which will generate a random float between the min (inclusive) and max (exclusive) bounds.
- AFTER_ALL - Enum constant in enum class io.github.cjstehno.testthings.junit.Lifecycle.LifecyclePoint
-
Denotes a static method that will be called after all of the test methods are executed.
- AFTER_EACH - Enum constant in enum class io.github.cjstehno.testthings.junit.Lifecycle.LifecyclePoint
-
Denotes a method that will be called after each of the tests are executed.
- afterAll(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.LifecycleExtension
- afterAll(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.ResourcesExtension
- afterEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.DatabaseExtension
- afterEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.LifecycleExtension
-
Finds all the methods annotated with the
Lifecycle(AFTER)
annotation, and executes them. - afterEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.LogAppenderExtension
- afterEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.ResourcesExtension
- afterEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.SharedRandomExtension
- afterEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.SystemPropertiesExtension
- AIDEN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Aiden.
- ALABAMA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Alabama.
- ALASKA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Alaska.
- ALEXANDER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Alexander.
- ALEXIS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Alexis.
- aLong() - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
A randomizer which will generate a random long value.
- aLongBetween(long, long) - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
Builds a randomizer which will generate a random long between the min (inclusive) and max (exclusive) bounds.
- ALPHA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Alpha - A.
- alphabetic(Randomizer<Integer>) - Static method in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Generates a random alphabetic string (upper and lower case).
- alphanumeric(Randomizer<Integer>) - Static method in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Generates a random alphanumeric string (upper and lower case).
- AMARI - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Amari.
- AMELIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Amelia.
- ANGEL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Angel.
- anInt() - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
A randomizer which will generate a random int value.
- anIntBetween(int, int) - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
Builds a randomizer which will generate a random int between the min (inclusive) and max (exclusive) bounds.
- ANTHONY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Anthony.
- append(ILoggingEvent) - Method in class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Called when a logging event is to be added to the appender.
- AppenderConfig - Interface in io.github.cjstehno.testthings.slf4j
-
The configuration interface for the
InMemoryLogAppender
. - AppenderConfigImpl - Class in io.github.cjstehno.testthings.slf4j
-
Implementation of the
AppenderConfig
interface used by theInMemoryLogAppender
. - AppenderConfigImpl() - Constructor for class io.github.cjstehno.testthings.slf4j.AppenderConfigImpl
- apply(T) - Method in class io.github.cjstehno.testthings.inject.InjectionsImpl
-
Applies the configured injections to the given instance.
- ApplyLogging - Annotation Interface in io.github.cjstehno.testthings.junit
-
When used with the
LogAppenderExtension
on a test method, it will use theAppenderConfig
orConsumer<AppenderConfig>
field named in the value property as the configuration for the log appender. - ApplyProperties - Annotation Interface in io.github.cjstehno.testthings.junit
-
When used with the
SystemPropertiesExtension
on a test method, it will use theProperties
orMap
object data as the properties to be injected. - ApplySeed - Annotation Interface in io.github.cjstehno.testthings.junit
-
When used with the
SharedRandomExtension
on a test method, it will inject the specified seed value and use it rather than any other configured value. - AQUAMARINE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Aquamarine.
- ARI - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Ari.
- ARIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Aria.
- ARIEL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Ariel.
- ARIZONA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Arizona.
- ARKANSAS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Arkansas.
- ARMANI - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Armani.
- arrayContains(byte[]) - Static method in class io.github.cjstehno.testthings.match.ByteArrayMatcher
-
Matches a sub-array of bytes in the provided byte array.
- arrayEqualTo(byte[]) - Static method in class io.github.cjstehno.testthings.match.ByteArrayMatcher
-
Matches a byte array equal to the provided byte array.
- arrayLengthIs(int) - Static method in class io.github.cjstehno.testthings.match.ByteArrayMatcher
-
Matches a byte array with the specified length.
- arrayOf(Randomizer<Integer>, Randomizer<V>) - Static method in class io.github.cjstehno.testthings.rando.CoreRandomizers
-
A randomizer which will generate an array of random values.
- arrayStartsWith(byte[]) - Static method in class io.github.cjstehno.testthings.match.ByteArrayMatcher
-
Matches a byte array starting with the provided byte array.
- ASHER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Asher.
- aShort() - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
A randomizer which will generate a random short value.
- ASPEN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Aspen.
- asProperties(Map<String, String>) - Static method in class io.github.cjstehno.testthings.junit.SystemPropertiesExtension
-
A helper method that may be used to convert a
Map
to aProperties
object containing the same data. - atomicBooleanEqualTo(boolean) - Static method in class io.github.cjstehno.testthings.match.AtomicMatcher
-
Creates a matcher for matching an
AtomicBoolean
value. - atomicIntIs(Matcher<Integer>) - Static method in class io.github.cjstehno.testthings.match.AtomicMatcher
-
Creates a matcher for matching an
AtomicInteger
value against a provided matcher. - AtomicMatcher - Class in io.github.cjstehno.testthings.match
-
Hamcrest matchers for matching Atomic values.
- AtomicMatcher() - Constructor for class io.github.cjstehno.testthings.match.AtomicMatcher
- atomicReferenceIs(Matcher<V>) - Static method in class io.github.cjstehno.testthings.match.AtomicMatcher
-
Creates a matcher for matching an
AtomicReference
value against a provided matcher. - attach() - Method in class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Must be called to initiate the log event recording - to register the log appender with the logger.
- AURORA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Aurora.
- AVA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Ava.
- AVERY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Avery.
- AVERY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Avery.
- AZURE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Azure.
B
- BEFORE_ALL - Enum constant in enum class io.github.cjstehno.testthings.junit.Lifecycle.LifecyclePoint
-
Denotes a static method that will be called before any of the tests are executed.
- BEFORE_EACH - Enum constant in enum class io.github.cjstehno.testthings.junit.Lifecycle.LifecyclePoint
-
Denotes a method that will be called before each of the test are executed.
- beforeAll(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.LifecycleExtension
- beforeAll(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.ResourcesExtension
- beforeEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.DatabaseExtension
- beforeEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.LifecycleExtension
-
Finds all the methods annotated with the
Lifecycle(BEFORE)
annotation and executes them. - beforeEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.LogAppenderExtension
- beforeEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.ResourcesExtension
- beforeEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.SharedRandomExtension
- beforeEach(ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.SystemPropertiesExtension
- BENJAMIN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Benjamin.
- BirthGender - Enum Class in io.github.cjstehno.testthings.fixtures
-
An enumeration of birth genders.
- BLACK - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Black.
- BLAKE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Blake.
- BLUE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Blue.
- BRAVO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Bravo - B.
- BROWN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Brown.
- byteArray(int) - Static method in class io.github.cjstehno.testthings.rando.NumberRandomizers
-
A randomizer which will generate a random byte array value.
- ByteArrayMatcher - Class in io.github.cjstehno.testthings.match
-
Hamcrest matchers for working with byte arrays.
- ByteArrayMatcher() - Constructor for class io.github.cjstehno.testthings.match.ByteArrayMatcher
C
- CALIFORNIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
California.
- CAMERON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Cameron.
- CAMILA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Camila.
- CARTER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Carter.
- charArray(Randomizer<Integer>) - Static method in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Randomly generates a character array of random length.
- CHARCOAL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Charcoal.
- CHARLES - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
CHARLES.
- CHARLIE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Charlie - C.
- CHARLIE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Charlie.
- CHARLOTTE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Charlotte.
- CHLOE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Chloe.
- ChronoLocalDateMatcher - Class in io.github.cjstehno.testthings.match
-
Provides some matchers for working with
ChronoLocalDate
objects - most of these are just syntax aliases on top of standard Hamcrest matchers - useful to make code more clear. - ChronoLocalDateMatcher() - Constructor for class io.github.cjstehno.testthings.match.ChronoLocalDateMatcher
- ChronoLocalDateTimeMatcher - Class in io.github.cjstehno.testthings.match
-
Provides some matchers for working with
ChronoLocalDateTime
objects - most of these are just syntax aliases on top of standard Hamcrest matchers - useful to make code more clear. - ChronoLocalDateTimeMatcher() - Constructor for class io.github.cjstehno.testthings.match.ChronoLocalDateTimeMatcher
- COLORADO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Colorado.
- ColorName - Enum Class in io.github.cjstehno.testthings.fixtures
-
An enumeration of some color names.
- configure() - Static method in interface io.github.cjstehno.testthings.slf4j.AppenderConfig
-
Creates an instance of
AppenderConfig
which may be used to populate the configuration options. - CONNECTICUT - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Connecticut.
- constant(V) - Static method in class io.github.cjstehno.testthings.rando.CoreRandomizers
-
Defines a randomizer which will always return the same value...
- copyResourceTo(String, File) - Static method in class io.github.cjstehno.testthings.Resources
-
Copies the classpath resource at the specified path to the provided destination file.
- copyResourceTo(String, Path) - Static method in class io.github.cjstehno.testthings.Resources
-
Copies the classpath resource at the specified path to the provided destination path.
- CORAL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Coral (no, not Rick's son)
- CoreRandomizers - Class in io.github.cjstehno.testthings.rando
-
Defines the core randomizers.
- CoreRandomizers() - Constructor for class io.github.cjstehno.testthings.rando.CoreRandomizers
- count() - Method in class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Counts all captured logging events.
- count(Matcher<ILoggingEvent>) - Method in class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Counts the number of captured events matching the provided matcher.
- creator() - Element in annotation interface io.github.cjstehno.testthings.junit.PrepareDatabase
-
Defines the method (by name) on the test instance (static or non-static) which will be executed to create the
DataSource
instance used by the extension. - CRIMSON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Crimson.
- current() - Static method in class io.github.cjstehno.testthings.rando.SharedRandom
-
Retrieves the singleton instance of the RandomGenerator for the current thread.
- CYAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Cyan.
D
- DAKOTA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Dakota.
- DALLAS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Dallas.
- DANIEL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Daniel.
- DatabaseExtension - Class in io.github.cjstehno.testthings.junit
-
A JUnit 5 extension used to setup and tear down a database using a provided
DataSource
. - DatabaseExtension() - Constructor for class io.github.cjstehno.testthings.junit.DatabaseExtension
- DAVID - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
David.
- DEFAULT_KNOWN_SEED - Static variable in class io.github.cjstehno.testthings.junit.SharedRandomExtension
-
The default known seed value - should be good enough for most cases.
- DELAWARE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Delaware.
- DELTA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Delta - D.
- describeTo(Description) - Method in class io.github.cjstehno.testthings.match.PredicateMatcher
- describeTo(Description) - Method in class io.github.cjstehno.testthings.match.TemporalMatcher
- describeTo(Description) - Method in class io.github.cjstehno.testthings.slf4j.match.LogMessageMatcher
- describeTo(Description) - Method in class io.github.cjstehno.testthings.slf4j.match.LogNameMatcher
- deserialize(byte[], Class<? extends T>) - Method in class io.github.cjstehno.testthings.serdes.JacksonJsonSerdes
- deserialize(byte[], Class<? extends T>) - Method in class io.github.cjstehno.testthings.serdes.JacksonXmlSerdes
- deserialize(byte[], Class<? extends T>) - Method in class io.github.cjstehno.testthings.serdes.JavaObjectSerdes
- deserialize(byte[], Class<? extends T>) - Method in interface io.github.cjstehno.testthings.serdes.SerdesProvider
-
Deserializes the byte array to an object of the specified type.
- deserialize(String, Class<? extends T>) - Method in class io.github.cjstehno.testthings.serdes.JacksonJsonSerdes
- deserialize(String, Class<? extends T>) - Method in class io.github.cjstehno.testthings.serdes.JacksonXmlSerdes
- deserialize(String, Class<? extends T>) - Method in class io.github.cjstehno.testthings.serdes.JavaObjectSerdes
-
String-based deserialization is not supported.
- deserialize(String, Class<? extends T>) - Method in interface io.github.cjstehno.testthings.serdes.SerdesProvider
-
Deserializes the string to an object of the specified type.
- destroyer() - Element in annotation interface io.github.cjstehno.testthings.junit.PrepareDatabase
-
Defines the method (by name) on the test instance (static or non-static) which will be executed to destroy the
DataSource
instance used by the extension. - detach() - Method in class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Should be called when done using the appender to clean up resources.
- DYLAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Dylan.
E
- EARTH - Enum constant in enum class io.github.cjstehno.testthings.fixtures.Planet
-
Earth.
- ECHO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Echo - E.
- EDEN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Eden.
- ELEANOR - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Elenor.
- ELIANA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Eliana.
- ELIAS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Elias.
- ELIJAH - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Elijah.
- ELIZABETH - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Elizabeth.
- ELLA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Ella.
- ELLIE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Ellie.
- ELLIOT - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Elliot.
- ELLIOTT - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Elliott.
- ELLIS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Ellis.
- EMERSON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Emerson.
- EMERY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Emery.
- EMILIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Emilia.
- EMILY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Emily.
- EMMA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Emma.
- ETHAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Ethan.
- EVELYN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Evelyn.
- events() - Method in class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Retrieves all captured logging events.
- events(Matcher<ILoggingEvent>) - Method in class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Retrieves all captured logging events matching the provided matcher.
- EVERLY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Everly.
- extensionEqualTo(String) - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
Creates a file matcher for matching the file extension (not including the dot).
- extensionMatches(Matcher<String>) - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
Creates a file matcher for matching the file extension (not including the dot).
- extractValue(Object, Field, Class<? extends R>) - Static method in class io.github.cjstehno.testthings.util.Reflections
-
Extracts the value from the field of the specified instance or class with the given type.
- EZRA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Ezra.
F
- FEMALE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.BirthGender
-
Female birth gender.
- FemaleName - Enum Class in io.github.cjstehno.testthings.fixtures
-
An enumeration of some female names.
- fieldIsEqualTo(TemporalField, int) - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a temporal field that is equal to the specified value.
- fieldIsGreaterThan(TemporalField, int) - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a temporal field that is greater than the specified value.
- fieldIsGreaterThanOrEqualTo(TemporalField, int) - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a temporal field that is greater than or equal to the specified value.
- fieldIsLessThan(TemporalField, int) - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a temporal field that is less than the specified value.
- fieldIsLessThanOrEqualTo(TemporalField, int) - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a temporal field that is less than or equal to the specified value.
- fileBytesMatch(Matcher<byte[]>) - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
Creates a file matcher for matching the content bytes.
- fileExists() - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
Creates a file matcher for matching whether a file exists.
- FileMatcher - Class in io.github.cjstehno.testthings.match
-
Matchers useful for matching File information.
- FileMatcher() - Constructor for class io.github.cjstehno.testthings.match.FileMatcher
- fileSizeMatches(Matcher<Long>) - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
Creates a file matcher for matching the size of a file.
- fileTextMatches(Matcher<String>) - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
Creates a file matcher for matching the content as a string.
- filter(Predicate<ILoggingEvent>) - Method in interface io.github.cjstehno.testthings.slf4j.AppenderConfig
-
Configures a filter which will be used to allow only log events matching the filter to be appended.
- filter(Matcher<ILoggingEvent>) - Method in interface io.github.cjstehno.testthings.slf4j.AppenderConfig
-
Configures a filter which will be used to allow only log events matching the filter to be appended.
- filter(Matcher<ILoggingEvent>) - Method in class io.github.cjstehno.testthings.slf4j.AppenderConfigImpl
- FINLEY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Finley.
- FLORIDA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Florida.
- FOXTROT - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Foxtrot - F.
- FUCHSIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Fuchsia.
G
- GABRIEL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Gabriel.
- generator() - Static method in class io.github.cjstehno.testthings.rando.SharedRandom
-
Builds a SharedRandom with the default seed.
- generator(Long) - Static method in class io.github.cjstehno.testthings.rando.SharedRandom
-
Builds a SharedRandom with the specified seed.
- GEORGIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Georgia.
- getMessage() - Method in exception io.github.cjstehno.testthings.inject.InjectionFailedException
- GIANNA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Gianna.
- GOLF - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Golf - G.
- GRACE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Grace.
- GRAY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Gray.
- GRAYSON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Grayson.
- GREEN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Green.
H
- HANNAH - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Hannah, without her sisters.
- HARPER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Harper.
- hasEvent(Matcher<ILoggingEvent>) - Method in class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Returns
true
if there is at least one captured logging event matching the provided matcher. - HAWAII - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Hawaii.
- HAYDEN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Hayden.
- HAZEL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Hazel.
- HENRY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Henry.
- HOT_PINK - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Hot Pink.
- HOTEL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Hotel - H.
- HUDSON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Hudson.
I
- IDAHO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Idaho.
- ILLINOIS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Illinois.
- INDIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
India - I.
- INDIANA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Indiana.
- inject(T) - Method in class io.github.cjstehno.testthings.inject.Injector
-
Injects the configured injections into the provided object instance.
- inject(T, Consumer<Injections>) - Static method in class io.github.cjstehno.testthings.inject.Injector
-
Applies the configured injections on the object instance.
- injectInto(Object) - Method in interface io.github.cjstehno.testthings.inject.Injection
-
Performs the injection into the provided instance.
- injectInto(Object) - Method in class io.github.cjstehno.testthings.inject.TypeSetInjection
-
Injects the value into all properties/fields of the configured type.
- Injection - Interface in io.github.cjstehno.testthings.inject
-
Defines an injection of an Object into another Object.
- InjectionFailedException - Exception in io.github.cjstehno.testthings.inject
-
An exception noting that an injection failed.
- Injections - Interface in io.github.cjstehno.testthings.inject
-
Defines some standard injection utilities.
- InjectionsImpl - Class in io.github.cjstehno.testthings.inject
-
Default Injections implementation.
- InjectionsImpl() - Constructor for class io.github.cjstehno.testthings.inject.InjectionsImpl
- injector(Injections) - Static method in class io.github.cjstehno.testthings.inject.Injector
-
Creates a new Injector with the provided injections configured.
- injector(Consumer<Injections>) - Static method in class io.github.cjstehno.testthings.inject.Injector
-
Creates an injector with the provided configured injections.
- Injector - Class in io.github.cjstehno.testthings.inject
-
The entry point for the injection framework, providing a simple configurable means of injecting values into an instance via reflection.
- Injector() - Constructor for class io.github.cjstehno.testthings.inject.Injector
- InMemoryLogAppender - Class in io.github.cjstehno.testthings.slf4j
-
An
Appender
for the SLF4J logging library (with logback backend) that allows for verifying results that may only appear in log messages. - InMemoryLogAppender(AppenderConfig) - Constructor for class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Creates a log appender with the provided configuration object.
- InMemoryLogAppender(Consumer<AppenderConfig>) - Constructor for class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Creates an in-memory Logback
Appender
for testing with the provided configuration. - invokeMethod(Object, Method) - Static method in class io.github.cjstehno.testthings.util.Reflections
-
Invokes a non-returning method on the specified class or instance.
- io.github.cjstehno.testthings - package io.github.cjstehno.testthings
- io.github.cjstehno.testthings.fixtures - package io.github.cjstehno.testthings.fixtures
- io.github.cjstehno.testthings.inject - package io.github.cjstehno.testthings.inject
- io.github.cjstehno.testthings.junit - package io.github.cjstehno.testthings.junit
- io.github.cjstehno.testthings.match - package io.github.cjstehno.testthings.match
- io.github.cjstehno.testthings.rando - package io.github.cjstehno.testthings.rando
- io.github.cjstehno.testthings.serdes - package io.github.cjstehno.testthings.serdes
- io.github.cjstehno.testthings.slf4j - package io.github.cjstehno.testthings.slf4j
- io.github.cjstehno.testthings.slf4j.match - package io.github.cjstehno.testthings.slf4j.match
- io.github.cjstehno.testthings.util - package io.github.cjstehno.testthings.util
- IOWA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Iowa.
- ISAAC - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Isaac.
- ISABELLA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Isabella.
- isAfter(ChronoLocalDate) - Static method in class io.github.cjstehno.testthings.match.ChronoLocalDateMatcher
-
Matches a date that is after (greater than but not equal to) the specified date value.
- isAfter(ChronoLocalDateTime<?>) - Static method in class io.github.cjstehno.testthings.match.ChronoLocalDateTimeMatcher
-
Matches a date-time that is after (greater than but not equal to) the specified date-time value.
- isBefore(ChronoLocalDate) - Static method in class io.github.cjstehno.testthings.match.ChronoLocalDateMatcher
-
Matches a date that is before (less than but not equal to) the specified date value.
- isBefore(ChronoLocalDateTime<?>) - Static method in class io.github.cjstehno.testthings.match.ChronoLocalDateTimeMatcher
-
Matches a date-time that is before (less than but not equal to) the specified date value.
- isDayOfWeek(int) - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a DAY_OF_WEEK value with the specified value.
- isDayOfWeek(DayOfWeek) - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a DAY_OF_WEEK value with the specified value.
- isDirectory() - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
Creates a file matcher for matching whether a file is a directory.
- isEqualOrAfter(ChronoLocalDate) - Static method in class io.github.cjstehno.testthings.match.ChronoLocalDateMatcher
-
Matches a date that is after or equal to the specified date value.
- isEqualOrAfter(ChronoLocalDateTime<?>) - Static method in class io.github.cjstehno.testthings.match.ChronoLocalDateTimeMatcher
-
Matches a date-time that is after or equal to the specified date-time value.
- isEqualOrBefore(ChronoLocalDate) - Static method in class io.github.cjstehno.testthings.match.ChronoLocalDateMatcher
-
Matches a date that is before or equal to the specified date value.
- isEqualOrBefore(ChronoLocalDateTime<?>) - Static method in class io.github.cjstehno.testthings.match.ChronoLocalDateTimeMatcher
-
Matches a date-time that is before or equal to the specified date-time value.
- isFile() - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
Creates a file matcher for matching whether a file is a file (not a directory).
- isInAfternoon() - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches an HOUR_OF_DAY value of noon or later, but before midnight.
- isInHourOfDay(int) - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a HOUR_OF_DAY value with the specified value.
- isInMonth(int) - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a MONTH_OF_YEAR value with the specified value.
- isInMonth(Month) - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a MONTH_OF_YEAR value with the specified value.
- isInMorning() - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches an HOUR_OF_DAY value after midnight and before noon.
- isInYear(int) - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a YEAR value with the specified value.
- ISLA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Isla.
- isReadable() - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
Creates a file matcher for matching whether is readable.
- isWeekday() - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a DAY_OF_WEEK value for a weekday (i.e.
- isWeekend() - Static method in class io.github.cjstehno.testthings.match.TemporalMatcher
-
Matches a DAY_OF_WEEK value for a weekend (i.e.
- isWritable() - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
/** Creates a file matcher for matching whether a file is writable.
- IVORY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Ivory.
- IVY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Ivy.
J
- JACK - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Jack.
- JACKSON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Jackson.
- JacksonJsonSerdes - Class in io.github.cjstehno.testthings.serdes
-
A
SerdesProvider
implementation based on the Jackson JSON framework. - JacksonJsonSerdes() - Constructor for class io.github.cjstehno.testthings.serdes.JacksonJsonSerdes
-
Creates a serdes provider for JSON with an instantiated
ObjectMapper
. - JacksonXmlSerdes - Class in io.github.cjstehno.testthings.serdes
-
A
SerdesProvider
that uses the Jackson XML data format for serialization and deserialization. - JacksonXmlSerdes() - Constructor for class io.github.cjstehno.testthings.serdes.JacksonXmlSerdes
-
Creates an instance with the default configured
XmlMapper
. - JACOB - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Jacom.
- JAMES - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
James.
- JavaObjectSerdes - Class in io.github.cjstehno.testthings.serdes
-
A
SerdesProvider
based on the Java object serialization framework. - JavaObjectSerdes() - Constructor for class io.github.cjstehno.testthings.serdes.JavaObjectSerdes
- JAYDEN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Jayden.
- JOHN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
John.
- JORDAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Jordan.
- JOSEPH - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Joseph.
- JOSIAH - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Josiah.
- JULIAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Julian.
- JULIET - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Juliet - J.
- JUPITER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.Planet
-
Jupiter.
K
- KANSAS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Kansas.
- KARTER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Karter.
- KENTUCKY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Kentucky.
- KHAKI - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Khaki.
- KILO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Kilo - K.
L
- LAYLA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Layla.
- LEAH - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Leah.
- LENNON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Lennon.
- LENNOX - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Lennox.
- LEO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Leo.
- letter() - Static method in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Generates a random letter (upper or lower case).
- LETTERS - Static variable in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Letters of the alphabet (upper case).
- LEVI - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Levi.
- LIAM - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Liam.
- Lifecycle - Annotation Interface in io.github.cjstehno.testthings.junit
-
Annotation used by the
LifecycleExtension
to annotate methods that should be run by the extension. - Lifecycle.LifecyclePoint - Enum Class in io.github.cjstehno.testthings.junit
-
The test lifecycle extension point identifier.
- LifecycleExtension - Class in io.github.cjstehno.testthings.junit
-
JUnit 5 extension used to provide a bit more control of the before/after lifecycle methods.
- LifecycleExtension() - Constructor for class io.github.cjstehno.testthings.junit.LifecycleExtension
- LILY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Lily.
- LIMA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Lima - L.
- LIME - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Lime.
- LINCOLN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Lincoln.
- listOf(Randomizer<Integer>, Randomizer<V>) - Static method in class io.github.cjstehno.testthings.rando.CoreRandomizers
-
A randomizer which will generate a list of random values.
- LOGAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Logan.
- LOGAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Logan.
- LogAppenderExtension - Class in io.github.cjstehno.testthings.junit
-
JUnit 5 extension used to provide and manage the
InMemoryLogAppender
for testing. - LogAppenderExtension() - Constructor for class io.github.cjstehno.testthings.junit.LogAppenderExtension
- loggedClass(Class<?>) - Method in interface io.github.cjstehno.testthings.slf4j.AppenderConfig
-
Configures a logger by type to be captured by the appender.
- logger(Logger) - Method in interface io.github.cjstehno.testthings.slf4j.AppenderConfig
-
Configures a logger instance to be captured by the appender.
- logger(Logger) - Method in class io.github.cjstehno.testthings.slf4j.AppenderConfigImpl
- loggerName(Matcher<String>) - Static method in class io.github.cjstehno.testthings.slf4j.match.LogNameMatcher
-
Creates a logging event matcher for matching the logger name.
- loggerNamed(String) - Method in interface io.github.cjstehno.testthings.slf4j.AppenderConfig
-
Configures a logger by name to be captured by the appender.
- logLevelAtLeast(Level) - Static method in class io.github.cjstehno.testthings.slf4j.match.LogLevelMatcher
-
Creates a log level matcher matching the configured or higher log level.
- logLevelEqualTo(Level) - Static method in class io.github.cjstehno.testthings.slf4j.match.LogLevelMatcher
-
Creates a log level matcher matching the configured log level.
- LogLevelMatcher - Class in io.github.cjstehno.testthings.slf4j.match
-
A Hamcrest matcher used to match log level criteria on a logging event.
- LogLevelMatcher() - Constructor for class io.github.cjstehno.testthings.slf4j.match.LogLevelMatcher
- logMessage(Matcher<String>) - Static method in class io.github.cjstehno.testthings.slf4j.match.LogMessageMatcher
-
Creates a log message matcher to match against the message string.
- LogMessageMatcher - Class in io.github.cjstehno.testthings.slf4j.match
-
A Hamcrest matcher used to match criteria against a log event message.
- LogMessageMatcher() - Constructor for class io.github.cjstehno.testthings.slf4j.match.LogMessageMatcher
- LogNameMatcher - Class in io.github.cjstehno.testthings.slf4j.match
-
A Hamcrest matcher used to match criteria on a logging event based on the logger name.
- LogNameMatcher() - Constructor for class io.github.cjstehno.testthings.slf4j.match.LogNameMatcher
- LONDON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
London.
- LOUISIANA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Louisiana.
- LUCA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Luca.
- LUCAS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Lucas.
- LUCY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Lucy.
- LUKE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Luke, I am NOT your father.
- LUNA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Luna.
M
- MADISON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Madison.
- MAGENTA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Magenta.
- MAINE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Maine.
- MALE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.BirthGender
-
Male birth gender.
- MaleName - Enum Class in io.github.cjstehno.testthings.fixtures
-
An enumeration of some male names.
- many(int) - Method in interface io.github.cjstehno.testthings.rando.Randomizer
-
Used to generate a list of `count` randomly generated instances of the target class.
- mapOf(Randomizer<Integer>, Randomizer<K>, Randomizer<V>) - Static method in class io.github.cjstehno.testthings.rando.CoreRandomizers
-
A randomizer which will generate a map of random values.
- mapOf(Map<K, Randomizer<V>>) - Static method in class io.github.cjstehno.testthings.rando.CoreRandomizers
-
Given a map containing Randomizers mapped to keys, the generated randomizer will generate random values for the mapped keys, based on the configured randomizers.
- MARLEY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Marley.
- MAROON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Maroon.
- MARS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.Planet
-
Mars.
- MARYLAND - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Maryland.
- MASON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Mason.
- MASSACHUSETTS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Massachusetts.
- matches(Object) - Method in class io.github.cjstehno.testthings.match.PredicateMatcher
- matches(Object) - Method in class io.github.cjstehno.testthings.match.TemporalMatcher
- matches(Object) - Method in class io.github.cjstehno.testthings.slf4j.match.LogMessageMatcher
- matches(Object) - Method in class io.github.cjstehno.testthings.slf4j.match.LogNameMatcher
- matchesPredicate(Predicate<T>) - Static method in class io.github.cjstehno.testthings.match.PredicateMatcher
-
Creates the predicate matcher with a default description ("a supplied predicate").
- matchesPredicate(Predicate<T>, String) - Static method in class io.github.cjstehno.testthings.match.PredicateMatcher
-
Creates the predicate matcher with the provided description.
- MATEO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Mateo.
- MATTHEW - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Matthew.
- MAVERICK - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Maverick.
- MERCURY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.Planet
-
Mercury.
- MIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Mia.
- MICHAEL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Michael.
- MICHIGAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Michigan.
- MIKE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Mike - M.
- MILA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Mila.
- MINNESOTA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Minnesota.
- MISSISSIPPI - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Mississippi.
- MISSOURI - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Missouri.
- modify(String, Consumer<Object>, boolean) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Allows in-place modification of a value reference from the target instance.
- modify(String, Consumer<Object>, boolean) - Method in class io.github.cjstehno.testthings.inject.InjectionsImpl
- modifyField(String, Consumer<Object>) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Allows in-place modification of a value reference from the target instance.
- modifyProperty(String, Consumer<Object>) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Allows in-place modification of a value reference from the target instance.
- MONTANA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Montana.
- MORGAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Morgan.
N
- nameEqualTo(String) - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
Creates a file matcher for matching the file name.
- nameMatches(Matcher<String>) - Static method in class io.github.cjstehno.testthings.match.FileMatcher
-
Creates a file matcher for matching the file name.
- NAVY_BLUE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Navy blue.
- NEBRASKA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Nebraska.
- NEPTUNE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.Planet
-
Neptune.
- NEVADA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Nevada.
- NEW_HAMPSHIRE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
New Hampshire.
- NEW_JERSEY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
New Jersey.
- NEW_MEXICO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
New Mexico.
- NEW_YORK - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
New York.
- nextLong() - Method in class io.github.cjstehno.testthings.rando.SharedRandom
- NOAH - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Noah.
- NORA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Nora.
- NORTH_CAROLINA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
North Carolina.
- NORTH_DAKOTA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
North Dakota.
- NOVA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Nova.
- NOVEMBER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
November - N.
- number() - Static method in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Generates a random number string (one number).
- NumberRandomizers - Class in io.github.cjstehno.testthings.rando
-
A collection of randomizers for generating numbers.
- NumberRandomizers() - Constructor for class io.github.cjstehno.testthings.rando.NumberRandomizers
- NUMBERS - Static variable in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Numbers from 0 to 9.
- numeric(Randomizer<Integer>) - Static method in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Generates a random numeric string (with multiple digits).
O
- OAKLEY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Oakley.
- ObjectRandomizers - Class in io.github.cjstehno.testthings.rando
-
Randomizers useful for generating more complex objects using the injector framework.
- ObjectRandomizers() - Constructor for class io.github.cjstehno.testthings.rando.ObjectRandomizers
- OHIO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Ohio.
- OKLAHOMA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Oklahoma.
- OLDEN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Olden.
- OLIVE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Olive.
- OLIVER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Oliver.
- OLIVIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Olivia.
- onceEachOf(Collection<V>) - Static method in class io.github.cjstehno.testthings.rando.CoreRandomizers
-
A randomizer which will randomly select a value from the collection, popping that value off so that each value will only be used once.
- one() - Method in class io.github.cjstehno.testthings.rando.PersonRandomizer
- one() - Method in interface io.github.cjstehno.testthings.rando.Randomizer
-
Used to generate a single random instance of the target class.
- oneFrom(String) - Static method in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Selects a random value from the characters of the given string.
- oneOf(Class<V>) - Static method in class io.github.cjstehno.testthings.rando.CoreRandomizers
-
A randomizer that returns a value from one of the defined enum values.
- oneOf(V...) - Static method in class io.github.cjstehno.testthings.rando.CoreRandomizers
-
A randomizer that returns a value from a collection of values.
- ORANGE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Orange.
- OREGON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Oregon.
- OSCAR - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Oscar - O.
- OWEN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Owen.
P
- PAPA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Papa - P.
- PARKER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Parker.
- PEA_GREEN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Pea Green.
- PENELOPE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Penelope.
- PENNSYLVANIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Pennsylvania.
- Person - Class in io.github.cjstehno.testthings.fixtures
-
A standardized person object for use in testing.
- Person() - Constructor for class io.github.cjstehno.testthings.fixtures.Person
- PersonRandomizer - Class in io.github.cjstehno.testthings.rando
-
A randomizer used to generate random
Person
instances from the fixtures. - PersonRandomizer() - Constructor for class io.github.cjstehno.testthings.rando.PersonRandomizer
- PEYTON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Peyton.
- PHOENIX - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Phoenix.
- PhoneticAlphabet - Enum Class in io.github.cjstehno.testthings.fixtures
-
An enumeration of the military phonetic alphabet.
- Planet - Enum Class in io.github.cjstehno.testthings.fixtures
-
An enumeration of the planets in our solar system.
- PLUM - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Plum.
- PLUTO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.Planet
-
Pluto (sill a plant in my heart).
- PredicateMatcher<T> - Class in io.github.cjstehno.testthings.match
-
A Hamcrest matcher used to wrap a
Predicate
where the matcher will match if the predicate resolves totrue
. - PredicateMatcher() - Constructor for class io.github.cjstehno.testthings.match.PredicateMatcher
- PrepareDatabase - Annotation Interface in io.github.cjstehno.testthings.junit
-
Annotation used by the
DatabaseExtension
to define the setup and teardown SQL scripts. - PURPLE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Purple.
Q
- QUEBEC - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Quebec - Q.
- QUINN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Quinn.
R
- randomized(Supplier<O>, Injections) - Static method in class io.github.cjstehno.testthings.rando.ObjectRandomizers
-
Creates a randomizer to generate an object based on the instance returned by the provider and using the injections to populate the instance (by injecting randomizers).
- randomized(Supplier<O>, Injector) - Static method in class io.github.cjstehno.testthings.rando.ObjectRandomizers
-
Creates a randomizer to generate an object based on the instance returned by the provider and using the injector to populate the instance (by injecting randomizers).
- randomized(Supplier<O>, Consumer<Injections>) - Static method in class io.github.cjstehno.testthings.rando.ObjectRandomizers
-
Creates a randomizer to generate an object based on the instance returned by the provider and using the injections to populate the instance (by injecting randomizers).
- randomized(O, Injections) - Static method in class io.github.cjstehno.testthings.rando.ObjectRandomizers
-
Creates a randomizer to generate an object based on the instance using the injections to populate the instance (by injecting randomizers).
- randomized(O, Injector) - Static method in class io.github.cjstehno.testthings.rando.ObjectRandomizers
-
Creates a randomizer to generate an object based on the instance using the injector to populate the instance (by injecting randomizers).
- randomized(O, Consumer<Injections>) - Static method in class io.github.cjstehno.testthings.rando.ObjectRandomizers
-
Creates a randomizer to generate an object based on the instance using the injections to populate the instance (by injecting randomizers).
- Randomizer<T> - Interface in io.github.cjstehno.testthings.rando
-
`Randomizer` implementations are used to produce random instances of the specified object type on-demand.
- RED - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Red.
- REESE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Reese.
- Reflections - Class in io.github.cjstehno.testthings.util
-
Some utility methods for working with reflection.
- Reflections() - Constructor for class io.github.cjstehno.testthings.util.Reflections
- REIGN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Reign.
- REMI - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Remi.
- REMINGTON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Remington.
- REMY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Remy.
- reseed(long) - Method in class io.github.cjstehno.testthings.rando.SharedRandom
-
Updates the seed value and rebuilds the internal random generator.
- resolveParameter(ParameterContext, ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.DatabaseExtension
- resolveParameter(ParameterContext, ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.LogAppenderExtension
- resolveParameter(ParameterContext, ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.ResourcesExtension
- Resource - Annotation Interface in io.github.cjstehno.testthings.junit
-
Annotation used by the
ResourcesExtension
to annotate fields and parameters that should be populated with resource paths or data. - resourceDeserialized(SerdesProvider, String, Class<? extends T>) - Static method in class io.github.cjstehno.testthings.Resources
-
Loads the resource at the specified path as bytes and then deserializes it to the specified object type.
- resourceDeserialized(String, Class<? extends T>) - Static method in class io.github.cjstehno.testthings.Resources
-
Loads the resource at the specified path as bytes and then deserializes as JSON it to the specified object type.
- resourceFile(String) - Static method in class io.github.cjstehno.testthings.Resources
-
Retrieves the
File
reference to the classpath resource. - resourcePath(String) - Static method in class io.github.cjstehno.testthings.Resources
-
Retrieves the
Path
reference to the classpath resource. - resourceReader(String) - Static method in class io.github.cjstehno.testthings.Resources
-
Loads the specified classpath resource as a
Reader
, specifically aBufferedReader
. - Resources - Class in io.github.cjstehno.testthings
-
Some useful utilities for working with classpath resources.
- Resources() - Constructor for class io.github.cjstehno.testthings.Resources
- ResourcesExtension - Class in io.github.cjstehno.testthings.junit
-
A JUnit 5 extension that provides injection of classpath resources based on object type annotated with the
Resource
annotation - the supported types are as follows: - ResourcesExtension() - Constructor for class io.github.cjstehno.testthings.junit.ResourcesExtension
- resourceStream(String) - Static method in class io.github.cjstehno.testthings.Resources
-
Loads the specified classpath resource as an InputStream.
- resourceToBytes(String) - Static method in class io.github.cjstehno.testthings.Resources
-
Loads the specified classpath resource as a byte array.
- resourceToString(String) - Static method in class io.github.cjstehno.testthings.Resources
-
Loads the specified resource path as a UTF-8 string.
- resourceToString(String, Charset) - Static method in class io.github.cjstehno.testthings.Resources
-
Loads the specified resource path as a String with the specified charset.
- resourceUri(String) - Static method in class io.github.cjstehno.testthings.Resources
-
Retrieves the URI for the specified resource.
- resourceUrl(String) - Static method in class io.github.cjstehno.testthings.Resources
-
Retrieves the URL for the specified resource.
- RHODE_ISLAND - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Rhode Island.
- RILEY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Riley.
- RILEY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Riley.
- RIVER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
River.
- ROMEO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Romeo - R.
- RORY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Rory.
- ROWAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Rowan.
- RYAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Ryan.
S
- SAGE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Sage.
- SAMUEL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Samuel.
- SATURN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.Planet
-
Saturn.
- SAWYER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Sawyer.
- SCARLETT - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Scarlett.
- SEBASTIAN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Sebastian.
- SEED_PROPERTY - Static variable in class io.github.cjstehno.testthings.rando.SharedRandom
-
The System property which may be used to specify a custom seed value (e.g "test-things.rando.seed").
- serdes() - Element in annotation interface io.github.cjstehno.testthings.junit.Resource
-
Defines the
SerdesProvider
to be used when deserializing an object (seeResourcesExtension
for details). - SerdesProvider - Interface in io.github.cjstehno.testthings.serdes
-
An interface to allow for different serialization/deserialization framework implementations to use the same testing framework methods.
- SerdesVerifiers - Class in io.github.cjstehno.testthings.serdes
-
Test result verifiers useful for working with serialization and deserialization (serdes).
- SerdesVerifiers() - Constructor for class io.github.cjstehno.testthings.serdes.SerdesVerifiers
- serializeToBytes(Object) - Method in class io.github.cjstehno.testthings.serdes.JacksonJsonSerdes
- serializeToBytes(Object) - Method in class io.github.cjstehno.testthings.serdes.JacksonXmlSerdes
- serializeToBytes(Object) - Method in class io.github.cjstehno.testthings.serdes.JavaObjectSerdes
- serializeToBytes(Object) - Method in interface io.github.cjstehno.testthings.serdes.SerdesProvider
-
Serialize the object to bytes.
- serializeToString(Object) - Method in class io.github.cjstehno.testthings.serdes.JacksonJsonSerdes
- serializeToString(Object) - Method in class io.github.cjstehno.testthings.serdes.JacksonXmlSerdes
- serializeToString(Object) - Method in class io.github.cjstehno.testthings.serdes.JavaObjectSerdes
-
String-based serialization is not supported.
- serializeToString(Object) - Method in interface io.github.cjstehno.testthings.serdes.SerdesProvider
-
Serialize the object to a string.
- set(Class<?>, Object, boolean) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Injects a value into the setters setting the specified type - if a setter does not exist, it will try to inject directly into a field of the type.
- set(Class<?>, Object, boolean) - Method in class io.github.cjstehno.testthings.inject.InjectionsImpl
- set(String, Object, boolean) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
If
preferSetter
istrue
, an attempt will be made to inject the value using a setter method for the named property, otherwise the field itself will be injected. - set(String, Object, boolean) - Method in class io.github.cjstehno.testthings.inject.InjectionsImpl
- setField(Class<?>, Object) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Injects a value directly into all of the fields of the specified type.
- setField(String, Object) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Injects a value directly into an object field, if it exists, it not, an error is thrown.
- setOf(Randomizer<Integer>, Randomizer<V>) - Static method in class io.github.cjstehno.testthings.rando.CoreRandomizers
-
A randomizer which will generate a set of random values.
- setProperty(Class<?>, Object) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Injects a value into the setters setting the specified type - if a setter does not exist, it will try to inject directly into a field of the type.
- setProperty(String, Object) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Trys to inject the value using a setter, if it exists, otherwise direct field injection is performed.
- setup() - Element in annotation interface io.github.cjstehno.testthings.junit.PrepareDatabase
-
A list of setup SQL scripts which will be run in order to setup the database.
- SharedRandom - Class in io.github.cjstehno.testthings.rando
-
A thread-safe "random" number generated similar to the
ThreadLocalRandom
, but with the ability to have its seed changed after construction. - SharedRandomExtension - Class in io.github.cjstehno.testthings.junit
-
A JUnit test extension used to test randomized scenarios in a way that removes the randomness.
- SharedRandomExtension() - Constructor for class io.github.cjstehno.testthings.junit.SharedRandomExtension
- SIERRA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Sierra - S.
- SILVER - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Silver.
- SOFIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Sofia.
- SOPHIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Sophia.
- SOUTH_CAROLINA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
South Carolina.
- SOUTH_DAKOTA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
South Dakota.
- STELLA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Stella!
- stream() - Method in class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Retrieves the captured logging events as a Stream.
- stream(int) - Method in interface io.github.cjstehno.testthings.rando.Randomizer
-
Used to generate a stream of `count` randomly generated instances of the target class.
- stream(Matcher<ILoggingEvent>) - Method in class io.github.cjstehno.testthings.slf4j.InMemoryLogAppender
-
Retrieves the captured logging events matching the provided matcher, as a Stream.
- streamOf(Randomizer<Integer>, Randomizer<V>) - Static method in class io.github.cjstehno.testthings.rando.CoreRandomizers
-
A randomizer which will generate a stream of random values.
- StringRandomizers - Class in io.github.cjstehno.testthings.rando
-
A collection of randomizers for generating strings.
- StringRandomizers() - Constructor for class io.github.cjstehno.testthings.rando.StringRandomizers
- supportsParameter(ParameterContext, ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.DatabaseExtension
- supportsParameter(ParameterContext, ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.LogAppenderExtension
- supportsParameter(ParameterContext, ExtensionContext) - Method in class io.github.cjstehno.testthings.junit.ResourcesExtension
- SUTTON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Sutton.
- SystemPropertiesExtension - Class in io.github.cjstehno.testthings.junit
-
A test extension used to update the System properties with a configured set of properties, resetting it back to the original values after each test.
- SystemPropertiesExtension() - Constructor for class io.github.cjstehno.testthings.junit.SystemPropertiesExtension
T
- TANGO - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Tango - T.
- TATUM - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Tatum.
- TAYLOR - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Taylor.
- TEAL - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Teal.
- teardown() - Element in annotation interface io.github.cjstehno.testthings.junit.PrepareDatabase
-
A list of tear-down SQL scripts which will be run in order to tear down the database.
- template(String, Map<String, Object>) - Static method in class io.github.cjstehno.testthings.Resources
-
Loads the content at the specified classpath location as a string template.
- TemporalMatcher - Class in io.github.cjstehno.testthings.match
-
Matchers used to match temporal-based criteria.
- TemporalMatcher() - Constructor for class io.github.cjstehno.testthings.match.TemporalMatcher
- TENNESSEE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Tennessee.
- TEXAS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Texas.
- THEODORE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Theodore.
- THOMAS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Thomas.
- toLetter() - Method in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Retrieves the letter associated with the phonetic item.
- toString() - Method in enum class io.github.cjstehno.testthings.fixtures.ColorName
- toString() - Method in enum class io.github.cjstehno.testthings.fixtures.FemaleName
- toString() - Method in enum class io.github.cjstehno.testthings.fixtures.MaleName
- toString() - Method in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
- toString() - Method in enum class io.github.cjstehno.testthings.fixtures.Planet
- toString() - Method in enum class io.github.cjstehno.testthings.fixtures.UnisexName
- toString() - Method in enum class io.github.cjstehno.testthings.fixtures.UsState
- toString() - Method in class io.github.cjstehno.testthings.serdes.JacksonJsonSerdes
- toString() - Method in class io.github.cjstehno.testthings.serdes.JacksonXmlSerdes
- toString() - Method in class io.github.cjstehno.testthings.serdes.JavaObjectSerdes
- TypeSetInjection - Class in io.github.cjstehno.testthings.inject
-
Provides injection of values based on the field/property type rather than the name.
- TypeSetInjection() - Constructor for class io.github.cjstehno.testthings.inject.TypeSetInjection
U
- UNIFORM - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Uniform - U.
- UnisexName - Enum Class in io.github.cjstehno.testthings.fixtures
-
An enumeration of some unisex names.
- update(String, Function<Object, Object>, boolean) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Updates a field value by applying given function to the current value.
- update(String, Function<Object, Object>, boolean, boolean) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Updates a field value by applying given function to the current value.
- update(String, Function<Object, Object>, boolean, boolean) - Method in class io.github.cjstehno.testthings.inject.InjectionsImpl
- updateField(String, Function<Object, Object>) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Updates a field value by applying given function to the current value.
- updateProperty(String, Function<Object, Object>) - Method in interface io.github.cjstehno.testthings.inject.Injections
-
Updates a field value by applying given function to the current value of the field.
- URANUS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.Planet
-
Uranus (he he).
- UsState - Enum Class in io.github.cjstehno.testthings.fixtures
-
An enumeration of US States.
- UTAH - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Utah.
V
- value() - Element in annotation interface io.github.cjstehno.testthings.junit.ApplyLogging
-
The name of the static field containing an
AppenderConfig
orConsumer<AppenderConfig>
object. - value() - Element in annotation interface io.github.cjstehno.testthings.junit.ApplyProperties
-
The name of the static field containing a
Properties
orMap<String,String>
object. - value() - Element in annotation interface io.github.cjstehno.testthings.junit.ApplySeed
-
The configured seed value.
- value() - Element in annotation interface io.github.cjstehno.testthings.junit.Lifecycle
-
The lifecycle extension point represented by the annotation.
- value() - Element in annotation interface io.github.cjstehno.testthings.junit.Resource
-
The resource classpath path.
- valueOf(String) - Static method in enum class io.github.cjstehno.testthings.fixtures.BirthGender
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.cjstehno.testthings.fixtures.Planet
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.cjstehno.testthings.junit.Lifecycle.LifecyclePoint
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.cjstehno.testthings.fixtures.BirthGender
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.cjstehno.testthings.fixtures.Planet
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.cjstehno.testthings.junit.Lifecycle.LifecyclePoint
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VENUS - Enum constant in enum class io.github.cjstehno.testthings.fixtures.Planet
-
Venus.
- Verifiers - Class in io.github.cjstehno.testthings
-
Some utility methods useful for verifying common functionality of objects.
- Verifiers() - Constructor for class io.github.cjstehno.testthings.Verifiers
- verifyDeserialization(byte[], Object) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the object deserializes from the bytes to the expected object.
- verifyDeserialization(SerdesProvider, byte[], Object) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the object deserializes from the bytes to the expected object.
- verifyDeserialization(SerdesProvider, String, Object) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the object deserializes from the bytes to the expected object.
- verifyDeserialization(String, Object) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the object deserializes from the bytes to the expected object.
- verifyEqualsAndHashCode(Object, Object) - Static method in class io.github.cjstehno.testthings.Verifiers
-
Used to verify that the
equals(Object)
andhashCode()
methods return values that meet with the standard contract for those methods. - verifyEqualsAndHashCode(Supplier<Object>) - Static method in class io.github.cjstehno.testthings.Verifiers
-
An alias to the
verifyEqualsAndHashCode(Object,Object)
method, calling the providedSupplier<Object>
for each. - verifySerdes(SerdesProvider, Object) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the serialized object deserializes properly.
- verifySerdes(SerdesProvider, Object, byte[]) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the serialized object deserializes properly and that the generated bytes are as expected.
- verifySerdes(SerdesProvider, Object, String) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the serialized object deserializes properly and that the generated string equals the provided one.
- verifySerdes(SerdesProvider, Object, Matcher<String>) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the serialized object deserializes properly and that the generated string matches the provided matcher.
- verifySerdes(Object) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the serialized object deserializes properly.
- verifySerdes(Object, byte[]) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the serialized object deserializes properly and that the generated bytes are as expected.
- verifySerdes(Object, String) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the serialized object deserializes properly and that the generated string equals the provided one.
- verifySerdes(Object, Matcher<String>) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the serialized object deserializes properly and that the generated string matches the provided matcher.
- verifySerialization(SerdesProvider, Object, byte[]) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the object serializes to the expected bytes.
- verifySerialization(SerdesProvider, Object, String) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the object serializes to the expected string.
- verifySerialization(Object, byte[]) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the object serializes to the expected bytes.
- verifySerialization(Object, String) - Static method in class io.github.cjstehno.testthings.serdes.SerdesVerifiers
-
Verifies that the object serializes to the expected string.
- verifyToString(String, Object) - Static method in class io.github.cjstehno.testthings.Verifiers
-
Used to verify that the
toString()
method of the object provided by the matches the given string. - verifyToString(String, Supplier<Object>) - Static method in class io.github.cjstehno.testthings.Verifiers
-
Used to verify that the
toString()
method of the object provided by theSupplier<Object>
matches the expected String. - verifyToString(Matcher<String>, Object) - Static method in class io.github.cjstehno.testthings.Verifiers
-
Used to verify that the
toString()
method of the object provided by the matches the given Matcher. - verifyToString(Matcher<String>, Supplier<Object>) - Static method in class io.github.cjstehno.testthings.Verifiers
-
Used to verify that the
toString()
method of the object provided by theSupplier<Object>
matches the given Matcher. - VERMONT - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Vermont.
- VICTOR - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Victor - V.
- VICTORIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Victoria.
- VIOLET - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Violet.
- VIRGINIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Virginia.
W
- WASHINGTON - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Washington.
- WEST_VIRGINIA - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
West Virginia.
- WHEAT - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Wheat.
- WHISKEY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Whisky - W.
- WHITE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
White.
- WILLIAM - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
William.
- WILLOW - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Willow.
- WISCONSIN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Wisconsin.
- wordFrom(String) - Static method in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Randomly selects a word from the provided sentence (words are delimited by spaces).
- wordFrom(String[]) - Static method in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Randomly selects a word from the provided words.
- words(Randomizer<Integer>, Randomizer<Integer>) - Static method in class io.github.cjstehno.testthings.rando.StringRandomizers
-
Generates multiple alphabetic strings of random size, returned as an array of words.
- WREN - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UnisexName
-
Wren.
- WYATT - Enum constant in enum class io.github.cjstehno.testthings.fixtures.MaleName
-
Wyatt.
- WYOMING - Enum constant in enum class io.github.cjstehno.testthings.fixtures.UsState
-
Wyoming.
X
- XRAY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
X-ray - X.
Y
- YANKEE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Yankee - Y.
- YELLOW - Enum constant in enum class io.github.cjstehno.testthings.fixtures.ColorName
-
Yellow.
Z
- ZOE - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Zoe.
- ZOEY - Enum constant in enum class io.github.cjstehno.testthings.fixtures.FemaleName
-
Zoey.
- ZULU - Enum constant in enum class io.github.cjstehno.testthings.fixtures.PhoneticAlphabet
-
Zulu - Z.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form