commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1395965 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
Date Tue, 09 Oct 2012 11:02:03 GMT
Author: sebb
Date: Tue Oct  9 11:02:02 2012
New Revision: 1395965

URL: http://svn.apache.org/viewvc?rev=1395965&view=rev
Log:
Add test for FreeBSD

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java?rev=1395965&r1=1395964&r2=1395965&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
Tue Oct  9 11:02:02 2012
@@ -185,6 +185,10 @@ public class SystemUtilsTest {
             assertTrue(SystemUtils.IS_OS_SUN_OS);
             assertTrue(SystemUtils.IS_OS_UNIX);
             assertFalse(SystemUtils.IS_OS_WINDOWS);
+        } else if (osName.startsWith("FreeBSD")) {
+            assertTrue(SystemUtils.IS_OS_FREE_BSD);
+            assertTrue(SystemUtils.IS_OS_UNIX);
+            assertFalse(SystemUtils.IS_OS_WINDOWS);
         } else {
             System.out.println("Can't test IS_OS value: "+osName);
         }



Mime
View raw message