You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2008/01/17 11:02:40 UTC
svn commit: r612779 -
/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/FileURLConnectionTest.java
Author: hindessm
Date: Thu Jan 17 02:02:11 2008
New Revision: 612779
URL: http://svn.apache.org/viewvc?rev=612779&view=rev
Log:
Fix order of junit arguments spotted in recent commit message.
Modified:
harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/FileURLConnectionTest.java
Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/FileURLConnectionTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/FileURLConnectionTest.java?rev=612779&r1=612778&r2=612779&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/FileURLConnectionTest.java (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/FileURLConnectionTest.java Thu Jan 17 02:02:11 2008
@@ -37,12 +37,12 @@
public void testGetContentType() throws IOException {
// Regression for HARMONY-4699
- assertEquals(getContentType("test.rtf"), "application/rtf");
- assertEquals(getContentType("test.java"), "text/plain");
+ assertEquals("application/rtf", getContentType("test.rtf"));
+ assertEquals("text/plain", getContentType("test.java"));
// RI would return "content/unknown"
- assertEquals(getContentType("test.doc"), "application/msword");
- assertEquals(getContentType("test.htx"), "text/html");
- assertEquals(getContentType("test.xml"), "application/xml");
- assertEquals(getContentType("."), "text/plain");
+ assertEquals("application/msword", getContentType("test.doc"));
+ assertEquals("text/html", getContentType("test.htx"));
+ assertEquals("application/xml", getContentType("test.xml"));
+ assertEquals("text/plain", getContentType("."));
}
}