Class AbstractTychoIntegrationTest

java.lang.Object
org.eclipse.tycho.test.AbstractTychoIntegrationTest

public abstract class AbstractTychoIntegrationTest extends Object
  • Field Details

    • name

      public org.junit.rules.TestName name
  • Constructor Details

    • AbstractTychoIntegrationTest

      public AbstractTychoIntegrationTest()
  • Method Details

    • getBasedir

      protected File getBasedir(String test) throws IOException
      Throws:
      IOException
    • getVerifier

      protected org.apache.maven.it.Verifier getVerifier(String test, boolean setTargetPlatform) throws Exception
      Throws:
      Exception
    • getVerifier

      protected org.apache.maven.it.Verifier getVerifier(String test, boolean setTargetPlatform, boolean ignoreLocalArtifacts) throws Exception
      Throws:
      Exception
    • getVerifier

      protected org.apache.maven.it.Verifier getVerifier(String test, boolean setTargetPlatform, File userSettings) throws Exception
      Throws:
      Exception
    • getVerifier

      protected org.apache.maven.it.Verifier getVerifier(String test, boolean setTargetPlatform, File userSettings, boolean ignoreLocalArtifacts) throws Exception
      Throws:
      Exception
    • isForked

      protected boolean isForked()
    • getVerifier

      protected org.apache.maven.it.Verifier getVerifier(String test) throws Exception
      Throws:
      Exception
    • getTargetPlatform

      protected String getTargetPlatform()
    • getMavenHome

      protected String getMavenHome()
    • getTychoVersion

      protected String getTychoVersion()
    • assertFileExists

      protected File[] assertFileExists(File baseDir, String pattern)
      Check that at least one file matching the given pattern exits and returns an array of matching files
      Parameters:
      baseDir - the base directory to scan
      pattern - the pattern to match
      Returns:
      an array of matching files (will contain at least one file)
    • assertDirectoryExists

      protected void assertDirectoryExists(File targetdir, String pattern)
    • assertFileDoesNotExist

      protected void assertFileDoesNotExist(File targetdir, String pattern)
    • assertDirectoryDoesNotExist

      protected void assertDirectoryDoesNotExist(File baseDir, String pattern)
    • toURI

      protected String toURI(File file) throws IOException
      Throws:
      IOException
    • verifyTextInLogMatches

      public static void verifyTextInLogMatches(org.apache.maven.it.Verifier verifier, Pattern pattern) throws org.apache.maven.it.VerificationException
      Throws:
      org.apache.maven.it.VerificationException
    • verifyTextNotInLog

      public static void verifyTextNotInLog(org.apache.maven.it.Verifier verifier, String text) throws org.apache.maven.it.VerificationException
      Throws:
      org.apache.maven.it.VerificationException
    • verifyErrorFreeLog

      protected static void verifyErrorFreeLog(org.apache.maven.it.Verifier verifier) throws org.apache.maven.it.VerificationException
      Variant of verifyErrorFreeLog that do not skip stacktraces
      Parameters:
      verifier -
      Throws:
      org.apache.maven.it.VerificationException