Adding testing for Java 1.8, confirming that 1.9 is not there to test the null handling and confirming that the wrapper method works
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065232 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8ae1df8b87
commit
c2ff15b0d0
|
@ -39,6 +39,9 @@ public class JavaVersionTest extends TestCase {
|
|||
assertEquals("1.5 failed", JAVA_1_5, get("1.5"));
|
||||
assertEquals("1.6 failed", JAVA_1_6, get("1.6"));
|
||||
assertEquals("1.7 failed", JAVA_1_7, get("1.7"));
|
||||
assertEquals("1.8 failed", JAVA_1_8, get("1.8"));
|
||||
assertNull("1.9 unexpectedly worked", get("1.9"));
|
||||
assertEquals("Wrapper method failed", get("1.5"), getJavaVersion("1.5"));
|
||||
}
|
||||
|
||||
public void testAtLeast() {
|
||||
|
|
Loading…
Reference in New Issue