Index
All Classes and Interfaces|All Packages|Constant Field Values
S
- scanBeanTypeForProperties(Class<?>, PropertyReflectionConfig) - Static method in class de.cuioss.test.valueobjects.util.ReflectionHelper
-
Uses
MoreReflection
to scan the concrete bean and describe the properties with fittingPropertyMetadata
. - SERIALIZABLE - Enum constant in enum class de.cuioss.test.valueobjects.api.object.ObjectTestContracts
-
Tests whether the object under test is
Serializable
by first checking whether the object implementsSerializable
and than actually serializing and deserializing it. - serializableBasicOnly() - Element in annotation interface de.cuioss.test.valueobjects.api.object.ObjectTestConfig
- serializableCompareUsingEquals() - Element in annotation interface de.cuioss.test.valueobjects.api.object.ObjectTestConfig
- SerializableContractImpl - Class in de.cuioss.test.valueobjects.contract
-
Tests whether the object in hand implements
Serializable
and than serializes / deserializes the object, and compares the newly created object with the original by usingObject.equals(Object)
- SerializableContractImpl() - Constructor for class de.cuioss.test.valueobjects.contract.SerializableContractImpl
- serializableExclude() - Element in annotation interface de.cuioss.test.valueobjects.api.object.ObjectTestConfig
- serializableOf() - Element in annotation interface de.cuioss.test.valueobjects.api.object.ObjectTestConfig
- SERIALIZABLES - Static variable in class de.cuioss.test.valueobjects.generator.JavaTypesGenerator
-
Creates an instance of of
PropertyMetadata
forSerializable
. - serializeAndDeserialize(Object) - Static method in class de.cuioss.test.valueobjects.contract.SerializableContractImpl
-
Shorthand combining the calls
SerializableContractImpl.serializeObject(Object)
SerializableContractImpl.deserializeObject(byte[])
- serializeObject(Object) - Static method in class de.cuioss.test.valueobjects.contract.SerializableContractImpl
-
Serializes an object into a newly created byteArray
- SET - Enum constant in enum class de.cuioss.test.valueobjects.property.util.CollectionType
-
Represents a
Set
. - SHORTS - Static variable in class de.cuioss.test.valueobjects.generator.JavaTypesGenerator
-
Creates an instance of of
PropertyMetadata
forShort
. - SHORTS_PRIMITIVE - Static variable in class de.cuioss.test.valueobjects.generator.JavaTypesGenerator
-
Creates an instance of of
PropertyMetadata
for short-primitives with a default value of0
. - shouldBeNotNull() - Method in interface de.cuioss.test.valueobjects.junit5.contracts.ShouldBeNotNull
-
Simple check whether the returned
TestObjectProvider.getUnderTest()
returns a non-null value - ShouldBeNotNull<T> - Interface in de.cuioss.test.valueobjects.junit5.contracts
-
Simple check whether the returned
TestObjectProvider.getUnderTest()
returns a non-null value - ShouldBeSerializable<T> - Interface in de.cuioss.test.valueobjects.junit5.contracts
-
Simple check whether the returned
TestObjectProvider.getUnderTest()
implementsSerializable
correctly - ShouldHandleObjectContracts<T> - Interface in de.cuioss.test.valueobjects.junit5.contracts
-
Combination of all test-object contracts
ShouldBeNotNull
,ShouldBeSerializable
,ShouldImplementEqualsAndHashCode
,ShouldImplementToString
- shouldImplementEqualsAndHashcode() - Method in interface de.cuioss.test.valueobjects.junit5.contracts.ShouldImplementEqualsAndHashCode
-
Simple check whether the returned
TestObjectProvider.getUnderTest()
implementsObject.equals(Object)
andObject.hashCode()
- ShouldImplementEqualsAndHashCode<T> - Interface in de.cuioss.test.valueobjects.junit5.contracts
-
Simple check whether the returned
TestObjectProvider.getUnderTest()
implementsObject.equals(Object)
andObject.hashCode()
- shouldImplementObjectContracts() - Method in interface de.cuioss.test.valueobjects.api.ObjectContractTestSupport
-
Base test for ValueObjects verifying the correctness of
Object.equals(Object)
Object.hashCode()
,Object.toString()
andSerializable
implementations. - shouldImplementObjectContracts() - Method in class de.cuioss.test.valueobjects.ValueObjectTest
- shouldImplementSerializable() - Method in interface de.cuioss.test.valueobjects.junit5.contracts.ShouldBeSerializable
-
Simple check whether the returned
TestObjectProvider.getUnderTest()
implementsSerializable
correctly - shouldImplementToString() - Method in interface de.cuioss.test.valueobjects.junit5.contracts.ShouldImplementToString
-
Simple check whether the
TestObjectProvider.getUnderTest()
implementsObject.equals(Object)
andObject.hashCode()
- ShouldImplementToString<T> - Interface in de.cuioss.test.valueobjects.junit5.contracts
-
Simple check whether the
TestObjectProvider.getUnderTest()
implementsObject.equals(Object)
andObject.hashCode()
- shouldScanClass(PropertyReflectionConfig) - Static method in class de.cuioss.test.valueobjects.util.ReflectionHelper
-
Checks the given type for the annotation
PropertyReflectionConfig
if it is there it checks on the valuePropertyReflectionConfig.skip()
- shouldScanClass(Class<?>) - Static method in class de.cuioss.test.valueobjects.util.ReflectionHelper
-
Checks the given type for the annotation
PropertyReflectionConfig
if it is there it checks on the valuePropertyReflectionConfig.skip()
- shouldVerifyTestContracts() - Method in class de.cuioss.test.valueobjects.ValueObjectTest
-
Tests all configured
TestContract
s. - shuffleCase(String) - Static method in class de.cuioss.test.valueobjects.util.StringCaseShuffler
-
Shuffles the case of a given string.
- skip() - Element in annotation interface de.cuioss.test.valueobjects.api.property.PropertyReflectionConfig
- SORTED_SET - Enum constant in enum class de.cuioss.test.valueobjects.property.util.CollectionType
-
Represents a
SortedSet
. - StringCaseShuffler - Class in de.cuioss.test.valueobjects.util
-
Simple Helper that shuffle lower / uppercase for strings.
- StringCaseShuffler() - Constructor for class de.cuioss.test.valueobjects.util.StringCaseShuffler
- STRINGS - Static variable in class de.cuioss.test.valueobjects.generator.JavaTypesGenerator
-
Creates an instance of of
PropertyMetadata
forString
. - STRINGS_LETTER - Static variable in class de.cuioss.test.valueobjects.generator.JavaTypesGenerator
-
Creates an instance of of
PropertyMetadata
forString
.
All Classes and Interfaces|All Packages|Constant Field Values