T - language-specific type declarationC - language-specific compilation unitS - language-specific source codepublic class TestSourceCodeProjectContributor<T extends TypeDeclaration,C extends CompilationUnit<T>,S extends SourceCode<T,C>> extends Object implements ProjectContributor
ProjectContributor for the application's test source code.| Constructor and Description |
|---|
TestSourceCodeProjectContributor(ProjectDescription description,
Supplier<S> sourceFactory,
SourceCodeWriter<S> sourceWriter,
org.springframework.beans.factory.ObjectProvider<TestApplicationTypeCustomizer<?>> testApplicationTypeCustomizers,
org.springframework.beans.factory.ObjectProvider<TestSourceCodeCustomizer<?,?,?>> testSourceCodeCustomizers) |
| Modifier and Type | Method and Description |
|---|---|
void |
contribute(Path projectRoot) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOrderpublic TestSourceCodeProjectContributor(ProjectDescription description, Supplier<S> sourceFactory, SourceCodeWriter<S> sourceWriter, org.springframework.beans.factory.ObjectProvider<TestApplicationTypeCustomizer<?>> testApplicationTypeCustomizers, org.springframework.beans.factory.ObjectProvider<TestSourceCodeCustomizer<?,?,?>> testSourceCodeCustomizers)
public void contribute(Path projectRoot) throws IOException
contribute in interface ProjectContributorIOExceptionCopyright © 2022 Pivotal Software, Inc.. All rights reserved.