public class IncrementalBuildRule
extends io.takari.maven.testing.TestMavenRuntime
| Constructor and Description |
|---|
IncrementalBuildRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertBuildOutputs(File basedir,
String... paths)
Asserts specified paths were output during the build
|
void |
assertCarriedOverOutputs(File basedir,
String... paths) |
void |
assertDeletedOutputs(File basedir,
String... paths)
Asserts specified paths were deleted during the build
|
void |
assertMessages(File basedir,
String path,
String... messages)
Asserts messages were associated with the specified path during the build.
|
void |
executeMojo(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.MojoExecution execution) |
IncrementalBuildLog |
getBuildContextLog() |
public void executeMojo(org.apache.maven.execution.MavenSession session,
org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.MojoExecution execution)
throws Exception
executeMojo in class io.takari.maven.testing.TestMavenRuntimeExceptionpublic IncrementalBuildLog getBuildContextLog() throws Exception
Exceptionpublic void assertBuildOutputs(File basedir, String... paths) throws Exception
Exceptionpublic void assertDeletedOutputs(File basedir, String... paths) throws Exception
Exceptionpublic void assertCarriedOverOutputs(File basedir, String... paths) throws Exception
ExceptionCopyright © 2015. All rights reserved.