public abstract class AbstractNonNullTest extends Object
Nullable are checked for null-values.| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractNonNullTest.MemberHolder
holder for what is needed to test method or constructor invocations.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNonNullTest(AbstractNonNullTest.MemberHolder holder)
constructor for a parameterized test class.
|
| Modifier and Type | Method and Description |
|---|---|
protected static Collection<Object[]> |
parametersDoNotScanProject(Object... targets)
construct the right instance+method parameters for the @
AvcParameterized test class that inherits this one, from a list
of classes or instance objects: Classes will be tested with default
instances, whereas instance objects will be tested for themselves. |
protected static Collection<Object[]> |
parametersScanProject(Object... targets)
construct the right instance+method parameters for the @
AvcParameterized test class that inherits this one, from a list
of classes or instance objects: Classes will be tested with default
instances, whereas instance objects will be tested for themselves. |
void |
testAllNonNullableParametersAreChecked() |
String |
toString() |
protected AbstractNonNullTest(AbstractNonNullTest.MemberHolder holder) throws Exception
holder - the instance+member to testExceptionprotected static Collection<Object[]> parametersDoNotScanProject(Object... targets)
AvcParameterized test class that inherits this one, from a list
of classes or instance objects: Classes will be tested with default
instances, whereas instance objects will be tested for themselves.targets - the list of classes or instance objectsAvcParameterized test class that inherits this oneprotected static Collection<Object[]> parametersScanProject(Object... targets) throws ClassNotFoundException
AvcParameterized test class that inherits this one, from a list
of classes or instance objects: Classes will be tested with default
instances, whereas instance objects will be tested for themselves.targets - the list of classes or instance objectsAvcParameterized test class that inherits this oneClassNotFoundExceptionpublic final String toString()
Copyright © 2018 David Andrianavalontsalama. All rights reserved.