harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r414500 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/net/URLConnectionTest.java
Date Thu, 15 Jun 2006 07:40:51 GMT
Author: smishura
Date: Thu Jun 15 00:40:50 2006
New Revision: 414500

URL: http://svn.apache.org/viewvc?rev=414500&view=rev
Log:
Formating to 4-space indentation

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/net/URLConnectionTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/net/URLConnectionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/net/URLConnectionTest.java?rev=414500&r1=414499&r2=414500&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/net/URLConnectionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/tests/java/net/URLConnectionTest.java
Thu Jun 15 00:40:50 2006
@@ -24,48 +24,48 @@
 
 public class URLConnectionTest extends TestCase {
 
-	/**
-	 * @tests java.net.URLConnection#setUseCaches(boolean)
-	 */
-	public void test_setUseCachesZ() throws MalformedURLException, IOException {
+    /**
+     * @tests java.net.URLConnection#setUseCaches(boolean)
+     */
+    public void test_setUseCachesZ() throws MalformedURLException, IOException {
 
         // Regression for HARMONY-71
         MockURLConnection u = new MockURLConnection(new URL(
                 "http://www.apache.org"));
-		u.connect();
-		try {
-			u.setUseCaches(true);
-			fail("Assert 0: expected an IllegalStateException");
-		} catch (IllegalStateException e) {
-			// expected
-		}
-	}
-
-	/**
-	 * @tests java.net.URLConnection#setAllowUserInteraction(boolean)
-	 */
-	public void test_setAllowUserInteractionZ() throws MalformedURLException,
-			IOException {
-		
+        u.connect();
+        try {
+            u.setUseCaches(true);
+            fail("Assert 0: expected an IllegalStateException");
+        } catch (IllegalStateException e) {
+            // expected
+        }
+    }
+
+    /**
+     * @tests java.net.URLConnection#setAllowUserInteraction(boolean)
+     */
+    public void test_setAllowUserInteractionZ() throws MalformedURLException,
+            IOException {
+
         // Regression for HARMONY-72
         MockURLConnection u = new MockURLConnection(new URL(
                 "http://www.apache.org"));
-		u.connect();
-		try {
-			u.setAllowUserInteraction(false);
-			fail("Assert 0: expected an IllegalStateException");
-		} catch (IllegalStateException e) {
-			// expected
-		}
-	}
+        u.connect();
+        try {
+            u.setAllowUserInteraction(false);
+            fail("Assert 0: expected an IllegalStateException");
+        } catch (IllegalStateException e) {
+            // expected
+        }
+    }
 }
 
 class MockURLConnection extends URLConnection {
-    
-    public MockURLConnection(URL url){
+
+    public MockURLConnection(URL url) {
         super(url);
     }
-    
+
     public void connect() {
         connected = true;
     }



Mime
View raw message