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)
Contribute additional resources to the project in the specified root directory.
|
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
ProjectContributorcontribute in interface ProjectContributorprojectRoot - the root directory of the projectIOException - if contributing a resource failedCopyright © 2021 Pivotal Software, Inc.. All rights reserved.