harmony-commits mailing list archives

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

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

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

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatFlagsExceptionTest.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/UnknownFormatFlagsExceptionTest.java?rev=430299&r1=430298&r2=430299&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatFlagsExceptionTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/java/org/apache/harmony/luni/tests/java/util/UnknownFormatFlagsExceptionTest.java
Thu Aug 10 01:00:48 2006
@@ -25,39 +25,38 @@
 
 public class UnknownFormatFlagsExceptionTest extends TestCase {
 
+    /**
+     * @tests java.util.UnknownFormatFlagsException#UnknownFormatFlagsException(String)
+     */
+    public void test_unknownFormatFlagsException() {
 
-	/**
-	 * @tests java.util.UnknownFormatFlagsException#UnknownFormatFlagsException(String)
-	 */
-	public void test_unknownFormatFlagsException() {
+        try {
+            new UnknownFormatFlagsException(null);
+            fail("should throw NullPointerExcepiton");
+        } catch (NullPointerException e) {
+            // expected
+        }
+    }
 
-		try {
-			new UnknownFormatFlagsException(null);
-			fail("should throw NullPointerExcepiton");
-		} catch (NullPointerException e) {
-			// expected
-		}
-	}
+    /**
+     * @tests java.util.UnknownFormatFlagsException#getFlags()
+     */
+    public void test_getFlags() {
+        String s = "MYTESTSTRING";
+        UnknownFormatFlagsException UnknownFormatFlagsException = new UnknownFormatFlagsException(
+                s);
+        assertEquals(s, UnknownFormatFlagsException.getFlags());
+    }
 
-	/**
-	 * @tests java.util.UnknownFormatFlagsException#getFlags()
-	 */
-	public void test_getFlags() {
-		String s = "MYTESTSTRING";
-		UnknownFormatFlagsException UnknownFormatFlagsException = new UnknownFormatFlagsException(
-				s);
-		assertEquals(s, UnknownFormatFlagsException.getFlags());
-	}
-
-	/**
-	 * @tests java.util.UnknownFormatFlagsException#getMessage()
-	 */
-	public void test_getMessage() {
-		String s = "MYTESTSTRING";
-		UnknownFormatFlagsException UnknownFormatFlagsException = new UnknownFormatFlagsException(
-				s);
-		assertNotNull(UnknownFormatFlagsException.getMessage());
-	}
+    /**
+     * @tests java.util.UnknownFormatFlagsException#getMessage()
+     */
+    public void test_getMessage() {
+        String s = "MYTESTSTRING";
+        UnknownFormatFlagsException UnknownFormatFlagsException = new UnknownFormatFlagsException(
+                s);
+        assertNotNull(UnknownFormatFlagsException.getMessage());
+    }
 
     // comparator for comparing UnknownFormatFlagsException objects
     private static final SerializableAssert exComparator = new SerializableAssert() {



Mime
View raw message