| Modifier and Type | Class and Description |
|---|---|
| protected static class | AbstractOrderingVisitor.
the wrapper type for the children to order WRAPPER>
|
| protected static interface | |
| protected static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final DiscoveryIssueReporter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected < the parent container type to search in for matching children PARENT extends TestDescriptor> void | doWithMatchingDescriptor(Class<PARENT> parentTestDescriptorType, TestDescriptor testDescriptor, Consumer<PARENT> action, Function<PARENT, String> errorMessageBuilder)
|
| protected <PARENT extends TestDescriptor, the type of children (containers or tests) to order CHILD extends TestDescriptor, WRAPPER extends AbstractAnnotatedDescriptorWrapper | orderChildrenTestDescriptors(PARENT parentTestDescriptor, Class<CHILD> matchingChildrenType, Optional<Consumer<CHILD>> validationAction, Function<CHILD, WRAPPER> descriptorWrapperFactory, AbstractOrderingVisitor.
|
| private void | |
| protected abstract boolean |
| issueReporter | back to summary |
|---|---|
| private final DiscoveryIssueReporter issueReporter | |
| AbstractOrderingVisitor | back to summary |
|---|---|
| pack-priv AbstractOrderingVisitor(DiscoveryIssueReporter issueReporter) | |
| doWithMatchingDescriptor | back to summary |
|---|---|
protected <PARENT extends TestDescriptor> void doWithMatchingDescriptor(Class<PARENT> parentTestDescriptorType, TestDescriptor testDescriptor, Consumer<PARENT> action, Function<PARENT, String> errorMessageBuilder)
| |
| orderChildrenTestDescriptors | back to summary |
|---|---|
protected <PARENT extends TestDescriptor, CHILD extends TestDescriptor, WRAPPER extends AbstractAnnotatedDescriptorWrapper
| |
| reportWarning | back to summary |
|---|---|
| private void reportWarning(TestDescriptor parentTestDescriptor, String message) | |
| shouldNonMatchingDescriptorsComeBeforeOrderedOnes | back to summary |
|---|---|
| protected abstract boolean shouldNonMatchingDescriptorsComeBeforeOrderedOnes() | |
| Modifier and Type | Field and Description |
|---|---|
| private final AbstractOrderingVisitor. | |
| private final AbstractOrderingVisitor. | |
| private static final AbstractOrderingVisitor. | |
| private final @Nullable ORDERER | |
| private final @Nullable AbstractOrderingVisitor. |
| Access | Constructor and Description |
|---|---|
| pack-priv | DescriptorWrapperOrderer(@Nullable ORDERER orderer, @Nullable AbstractOrderingVisitor.
|
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private Map | |
| pack-priv @Nullable ORDERER | |
| pack-priv static <PARENT extends TestDescriptor, ORDERER, WRAPPER extends AbstractAnnotatedDescriptorWrapper | |
| private void | |
| private void | reportDescriptorsAddedWarning(int number, Consumer<String> errorHandler, PARENT parentTestDescriptor)
|
| private void | reportDescriptorsRemovedWarning(int number, Consumer<String> errorHandler, PARENT parentTestDescriptor)
|
| descriptorsAddedMessageGenerator | back to summary |
|---|---|
| private final AbstractOrderingVisitor. | |
| descriptorsRemovedMessageGenerator | back to summary |
|---|---|
| private final AbstractOrderingVisitor. | |
| NOOP | back to summary |
|---|---|
| private static final AbstractOrderingVisitor. | |
| orderer | back to summary |
|---|---|
| private final @Nullable ORDERER orderer | |
| orderingAction | back to summary |
|---|---|
| private final @Nullable AbstractOrderingVisitor. | |
| DescriptorWrapperOrderer | back to summary |
|---|---|
| pack-priv DescriptorWrapperOrderer(@Nullable ORDERER orderer, @Nullable AbstractOrderingVisitor. | |
| canOrderWrappers | back to summary |
|---|---|
| private boolean canOrderWrappers() | |
| distinctWrappersToIndex | back to summary |
|---|---|
| private Map | |
| getOrderer | back to summary |
|---|---|
| pack-priv @Nullable ORDERER getOrderer() | |
| noop | back to summary |
|---|---|
pack-priv static <PARENT extends TestDescriptor, ORDERER, WRAPPER extends AbstractAnnotatedDescriptorWrapper
| |
| orderWrappers | back to summary |
|---|---|
| private void orderWrappers(PARENT parentTestDescriptor, List<WRAPPER> wrappers, Consumer<String> errorHandler) | |
| reportDescriptorsAddedWarning | back to summary |
|---|---|
| private void reportDescriptorsAddedWarning(int number, Consumer<String> errorHandler, PARENT parentTestDescriptor) | |
| reportDescriptorsRemovedWarning | back to summary |
|---|---|
| private void reportDescriptorsRemovedWarning(int number, Consumer<String> errorHandler, PARENT parentTestDescriptor) | |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| generateMessage | back to summary |
|---|---|
| public String generateMessage(PARENT testDescriptor, int number) | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| order | back to summary |
|---|---|
| public void order(PARENT testDescriptor, List<WRAPPER> wrappers) | |