harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r430305 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java
Date Thu, 10 Aug 2006 08:17:20 GMT
Author: smishura
Date: Thu Aug 10 01:17:19 2006
New Revision: 430305

URL: http://svn.apache.org/viewvc?rev=430305&view=rev
Log:
Formatting

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java?rev=430305&r1=430304&r2=430305&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatConversionExceptionTest.java
Thu Aug 10 01:17:19 2006
@@ -24,42 +24,39 @@
 
 public class UnknownFormatConversionExceptionTest extends TestCase {
 
-	/**
-	 * @tests java.util.UnknownFormatConversionException#UnknownFormatConversionException(String)
-	 */
-	public void test_unknownFormatConversionException() {
-
-		// RI 5.0 will not throw NullPointerException, it is the bug according
-		// to spec.
-		try {
+    /**
+     * @tests java.util.UnknownFormatConversionException#UnknownFormatConversionException(String)
+     */
+    public void test_unknownFormatConversionException() {
+
+        // RI 5.0 will not throw NullPointerException, it is the bug according
+        // to spec.
+        try {
             new UnknownFormatConversionException(null);
-		} catch (NullPointerException e) {
-			fail("should not throw NullPointerExcepiton");
-		}
-
-	}
-
-	/**
-	 * @tests java.util.UnknownFormatConversionException#getConversion()
-	 */
-	public void test_getConversion() {
-		String s = "MYTESTSTRING";
-		UnknownFormatConversionException UnknownFormatConversionException = new UnknownFormatConversionException(
-				s);
-		assertEquals(s, UnknownFormatConversionException.getConversion());
-
-	}
-
-	/**
-	 * @tests java.util.UnknownFormatConversionException#getMessage()
-	 */
-	public void test_getMessage() {
-		String s = "MYTESTSTRING";
-		UnknownFormatConversionException UnknownFormatConversionException = new UnknownFormatConversionException(
-				s);
-		assertTrue(null != UnknownFormatConversionException.getMessage());
-
-	}
+        } catch (NullPointerException e) {
+            fail("should not throw NullPointerExcepiton");
+        }
+    }
+
+    /**
+     * @tests java.util.UnknownFormatConversionException#getConversion()
+     */
+    public void test_getConversion() {
+        String s = "MYTESTSTRING";
+        UnknownFormatConversionException UnknownFormatConversionException = new UnknownFormatConversionException(
+                s);
+        assertEquals(s, UnknownFormatConversionException.getConversion());
+    }
+
+    /**
+     * @tests java.util.UnknownFormatConversionException#getMessage()
+     */
+    public void test_getMessage() {
+        String s = "MYTESTSTRING";
+        UnknownFormatConversionException UnknownFormatConversionException = new UnknownFormatConversionException(
+                s);
+        assertTrue(null != UnknownFormatConversionException.getMessage());
+    }
 
     // comparator for comparing UnknownFormatConversionException objects
     private static final SerializableAssert exComparator = new SerializableAssert() {



Mime
View raw message