Tabnine Logo
AbstractMojoTestCase.setUp
Code IndexAdd Tabnine to your IDE (free)

How to use
setUp
method
in
org.apache.maven.plugin.testing.AbstractMojoTestCase

Best Java code snippets using org.apache.maven.plugin.testing.AbstractMojoTestCase.setUp (Showing top 8 results out of 315)

origin: apache/avro

@Override
protected void setUp() throws Exception {
 super.setUp();
}
origin: apache/avro

@Override
protected void setUp() throws Exception {
 String baseDir = getBasedir();
 schemaPom = new File(baseDir, "src/test/resources/unit/schema/induce-pom.xml");
 protocolPom = new File(baseDir, "src/test/resources/unit/protocol/induce-pom.xml");
 super.setUp();
}
origin: org.apache.maven.plugin-testing/maven-plugin-testing-harness

  @Override
  public void evaluate() throws Throwable 
  {
    testCase.setUp();
    before();
    try 
    {
      base.evaluate();
    } 
    finally 
    {
      after();
    }
  }            
};       
origin: org.sonatype.tycho/tycho-testing-harness

@Override
protected void setUp() throws Exception {
  super.setUp();
  maven = lookup(Maven.class);
}
origin: org.nuiton/maven-helper-plugin

@Override
public void setUp() throws Exception {
  super.setUp();
}
origin: org.eclipse.tycho/tycho-testing-harness

@Override
protected void setUp() throws Exception {
  super.setUp();
  maven = lookup(Maven.class);
  settingsBuilder = lookup(MavenSettingsBuilder.class);
  requestPopulator = lookup(MavenExecutionRequestPopulator.class);
}
origin: com.simpligility.org.apache.maven.plugin-testing/maven-plugin-testing-harness

  @Override
  public void evaluate() throws Throwable 
  {
    testCase.setUp();
    before();
    try 
    {
      base.evaluate();
    } 
    finally 
    {
      after();
    }
  }            
};       
origin: zanata/zanata-platform

@Override
protected void setUp() throws Exception {
  // required for mojo lookups to work
  super.setUp();
  control.reset();
  EasyMock.expect(getMockCommand().getName()).andReturn("mockCommand")
      .anyTimes();
  EasyMock.expect(getMockCommand().isDeprecated()).andReturn(false)
      .anyTimes();
}
org.apache.maven.plugin.testingAbstractMojoTestCasesetUp

Popular methods of AbstractMojoTestCase

  • tearDown
  • getContainer
  • lookupMojo
    lookup the mojo while we have all of the relavent information
  • assertNotNull
  • configureMojo
    Configure the mojo with the given plexus configuration
  • extractPluginConfiguration
  • fail
  • finalizeMojoConfiguration
  • getBasedir
  • getPluginDescriptorLocation
  • getPluginDescriptorPath
  • getPublicDescriptorStream
  • getPluginDescriptorPath,
  • getPublicDescriptorStream,
  • getVariableValueFromObject,
  • getVariablesAndValuesFromObject,
  • lookup,
  • lookupConfiguredMojo,
  • lookupEmptyMojo,
  • newMavenSession,
  • newMojoExecution

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • runOnUiThread (Activity)
  • scheduleAtFixedRate (Timer)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Path (java.nio.file)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JFrame (javax.swing)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now