@Test public void testIsMac() throws Exception { assertThat(ExecUtils.isMac("Windows 95")).isFalse(); assertThat(ExecUtils.isMac("Mac OS")).isTrue(); assertThat(ExecUtils.isMac("Mac OS X")).isTrue(); }
public static boolean isMac() { return isMac(System.getProperty("os.name")); }
ExecUtils { public static boolean isMac() { return isMac(System.getProperty("os.name")); } }
ExecUtils { public static boolean isMac() { return isMac(System.getProperty("os.name")); }  }
ExecUtils { public static boolean isMac() { return isMac(System.getProperty("os.name")); }  static File find(String executable, File... dirs); static File findExecutableInDirectory(String executable, File directory); static File findExecutableInSystemPath(String executable); static boolean isWindows(); static boolean isWindows(String os); static boolean isMac(); static boolean isMac(String os); static boolean isLinux(); static boolean isLinux(String os); static boolean is64bits(); static boolean is64bits(String arch); static boolean isARM(); }
ExecUtils { public static boolean isMac() { return isMac(System.getProperty("os.name")); }  static File find(String executable, File... dirs); static File findExecutableInDirectory(String executable, File directory); static File findExecutableInSystemPath(String executable); static boolean isWindows(); static boolean isWindows(String os); static boolean isMac(); static boolean isMac(String os); static boolean isLinux(); static boolean isLinux(String os); static boolean is64bits(); static boolean is64bits(String arch); static boolean isARM();  }