Searched refs:isOSNameMatch (Results 1 – 2 of 2) sorted by relevance
1908 return isOSNameMatch(OS_NAME, osNamePrefix); in getOsMatchesName()2037 return isOSNameMatch(osName, osNamePrefix) && isOSVersionMatch(osVersion, osVersionPrefix); in isOSMatch()2050 static boolean isOSNameMatch(final String osName, final String osNamePrefix) { in isOSNameMatch() method in SystemUtils
811 assertFalse(SystemUtils.isOSNameMatch(osName, "Windows")); in testOSMatchesName()813 assertFalse(SystemUtils.isOSNameMatch(osName, "Windows")); in testOSMatchesName()815 assertTrue(SystemUtils.isOSNameMatch(osName, "Windows")); in testOSMatchesName()817 assertTrue(SystemUtils.isOSNameMatch(osName, "Windows")); in testOSMatchesName()819 assertFalse(SystemUtils.isOSNameMatch(osName, "Windows")); in testOSMatchesName()