Class AbstractScmMetadataMavenPluginMojoIntegrationTest

    • Field Detail

      • TARGET_FOLDER

        protected static final File TARGET_FOLDER
      • random

        protected static final Random random
      • rule

        public final org.apache.maven.plugin.testing.MojoRule rule
      • DEFAULT_PROPERTIES

        protected final String[] DEFAULT_PROPERTIES

        implementation note:

        not marked static so that separate test runs cannot interfere with each other if one of them mutates the array
      • className

        protected final String className
      • folder

        protected File folder
        Transient temporary folder into which test files can be written
    • Constructor Detail

      • AbstractScmMetadataMavenPluginMojoIntegrationTest

        public AbstractScmMetadataMavenPluginMojoIntegrationTest()
    • Method Detail

      • setup

        public void setup()
      • cleanup

        public void cleanup()
      • newFile

        protected static File newFile​(File parent,
                                      String... parts)
      • readProject

        protected org.apache.maven.project.MavenProject readProject()
      • readScmMetadataMavenPluginMojo

        protected zone.gryphon.maven.plugins.scm.ScmMetadataMavenPluginMojo readScmMetadataMavenPluginMojo​(org.apache.maven.project.MavenProject project)
      • hex

        protected String hex()
      • copy

        protected void copy​(File source,
                            File dest)