OSCheckerTest.java revision 0a3e979529374fe2ce99e6b1658b77271eab90b2
0N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
8N/Apublic class OSCheckerTest {
8N/A public void testIsUnixOrWindows() {
0N/A public void testLinuxVersionStringParsing() {
0N/A public void testOSXVersionStringParsing() {
8N/A public void testWindowsVersionStringParsing() {
8N/A public void testNoMinorVersionStringParsing() {
0N/A public void testInvalidVersionStringParsing() {
504N/A // target/test-cases directory as set in the POM.
8N/A public void testAtLeast() {
8N/A public void testArchitecture() {
8N/A assertEquals(foundArch, 1, "Expected " + System.getProperty("os.arch") + " to be one of " + ARCHITECTURES);