Uses of Interface
org.soliscode.test.OptionalMethod
Packages that use OptionalMethod
Package
Description
Test utilities for core JDK interfaces, excluding collection interfaces
Support for "breakable" objects that can be used to test contract classes.
Contract classes that test methods against their specifications
Support for testing the implementation of the
Collection
interface methods.This package contains support for testing the implementation of the Object interface methods.
-
Uses of OptionalMethod in org.soliscode.test
Methods in org.soliscode.test that return types with arguments of type OptionalMethodModifier and TypeMethodDescriptionprotected @NotNull Collection
<OptionalMethod> OptionalMethodSupport.unsupportedMethods()
Returns a collection if the methods that are not supported by the class being tested.Methods in org.soliscode.test with parameters of type OptionalMethodModifier and TypeMethodDescriptionvoid
OptionalMethodSupport.doesNotSupportMethod
(@NotNull OptionalMethod method) Specifies that the class does not support the method passed as an argument.boolean
OptionalMethodSupport.supportsMethod
(@NotNull OptionalMethod method) boolean
SupportedMethods.supportsMethod
(OptionalMethod method) Used to determine if this object supports an optional method. -
Uses of OptionalMethod in org.soliscode.test.breakable
Fields in org.soliscode.test.breakable with type parameters of type OptionalMethodModifier and TypeFieldDescriptionprotected final Collection
<OptionalMethod> BreakableCollection.AbstractBuilder.unsupportedMethods
protected final @NotNull Set
<OptionalMethod> BreakableIterable.AbstractBuilder.unsupportedMethods
Methods in org.soliscode.test.breakable with parameters of type OptionalMethodModifier and TypeMethodDescriptionfinal B
BreakableIterable.AbstractBuilder.doesNotSupport
(@NotNull OptionalMethod method) final B
BreakableCollection.AbstractBuilder.doesNotSupportMethod
(OptionalMethod method) Sets the builder to construct a collection that does not support the method provided as the argument. -
Uses of OptionalMethod in org.soliscode.test.contract
Classes in org.soliscode.test.contract that implement OptionalMethodModifier and TypeClassDescriptionenum
Values used to identify collection class methods for use with theCollectionContract.supportsMethod(OptionalMethod)
method. -
Uses of OptionalMethod in org.soliscode.test.contract.collection
Methods in org.soliscode.test.contract.collection with parameters of type OptionalMethodModifier and TypeMethodDescriptionvoid
CollectionContract.doesNotSupportMethod
(OptionalMethod method) Used to indicate that the class being tested does not support an optional method.boolean
CollectionContract.supportsMethod
(OptionalMethod method) -
Uses of OptionalMethod in org.soliscode.test.contract.object
Classes in org.soliscode.test.contract.object that implement OptionalMethodModifier and TypeClassDescriptionenum
Values used to identify object class methods for use with theSupportedMethods.supportsMethod(OptionalMethod)
method.