Class EnvironmentUtil

java.lang.Object
org.eclipse.tycho.test.util.EnvironmentUtil

public class EnvironmentUtil extends Object
Provides system properties and certain properties from the test code build ("outer build"), like the location of the local Maven repository. For this class to work, the outer build must configure the maven-properties-plugin to capture the values in a file called baseTest.properties (see tycho-its/pom.xml for an example).
  • Field Details

  • Constructor Details

    • EnvironmentUtil

      public EnvironmentUtil()
  • Method Details

    • isWindows

      public static boolean isWindows()
    • isLinux

      public static boolean isLinux()
    • isFreeBSD

      public static boolean isFreeBSD()
    • isMac

      public static boolean isMac()
    • getTargetPlatform

      public static String getTargetPlatform()
    • getTestSettings

      public static String getTestSettings()
    • getMavenHome

      public static String getMavenHome()
    • getTychoVersion

      public static String getTychoVersion()
    • getHttpServerPort

      public static int getHttpServerPort()
    • getLocalRepo

      public static String getLocalRepo()