harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r360095 - /incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/test/java/org/apache/harmony/tests/java/io/FileTest.java
Date Fri, 30 Dec 2005 15:05:12 GMT
Author: tellison
Date: Fri Dec 30 07:05:08 2005
New Revision: 360095

URL: http://svn.apache.org/viewcvs?rev=360095&view=rev
Log:
Added extra regression test for HARMONY-21

Modified:
    incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/test/java/org/apache/harmony/tests/java/io/FileTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/test/java/org/apache/harmony/tests/java/io/FileTest.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/test/java/org/apache/harmony/tests/java/io/FileTest.java?rev=360095&r1=360094&r2=360095&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/test/java/org/apache/harmony/tests/java/io/FileTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/java-src/luni/src/test/java/org/apache/harmony/tests/java/io/FileTest.java
Fri Dec 30 07:05:08 2005
@@ -31,7 +31,8 @@
 		File file = new File(root, "/dir/file");
 		assertEquals("Assert 1: wrong path result ", path.getPath(), file
 				.getPath());
-
+		assertTrue("Assert 1.1: path not absolute ", new File("\\\\\\a\b").isAbsolute());
+		
 		// Test data used in a few places below
 		String dirName = System.getProperty("user.dir");
 		String fileName = "input.tst";



Mime
View raw message