You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by sm...@apache.org on 2006/08/16 05:09:24 UTC
svn commit: r431783 -
/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/
Author: smishura
Date: Tue Aug 15 20:09:23 2006
New Revision: 431783
URL: http://svn.apache.org/viewvc?rev=431783&view=rev
Log:
Formatting
Modified:
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/DuplicateFormatFlagsExceptionTest.java
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/FormatFlagsConversionMismatchExceptionTest.java
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatCodePointExceptionTest.java
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatConversionExceptionTest.java
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatFlagsExceptionTest.java
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatPrecisionExceptionTest.java
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatWidthExceptionTest.java
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/DuplicateFormatFlagsExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/DuplicateFormatFlagsExceptionTest.java?rev=431783&r1=431782&r2=431783&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/DuplicateFormatFlagsExceptionTest.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/DuplicateFormatFlagsExceptionTest.java Tue Aug 15 20:09:23 2006
@@ -25,38 +25,38 @@
public class DuplicateFormatFlagsExceptionTest extends TestCase {
- /**
- * @tests java.util.DuplicateFormatFlagsException#DuplicateFormatFlagsException(String)
- */
- public void test_duplicateFormatFlagsException() {
- try {
+ /**
+ * @tests java.util.DuplicateFormatFlagsException#DuplicateFormatFlagsException(String)
+ */
+ public void test_duplicateFormatFlagsException() {
+ try {
new DuplicateFormatFlagsException(null);
- fail("should throw NullPointerException.");
- } catch (NullPointerException e) {
- // desired
- }
- }
+ fail("should throw NullPointerException.");
+ } catch (NullPointerException e) {
+ // desired
+ }
+ }
- /**
- * @tests java.util.DuplicateFormatFlagsException#getFlags()
- */
- public void test_getFlags() {
- String strFlags = "MYTESTFLAGS";
- DuplicateFormatFlagsException duplicateFormatException = new DuplicateFormatFlagsException(
- strFlags);
- assertEquals(strFlags, duplicateFormatException.getFlags());
- }
+ /**
+ * @tests java.util.DuplicateFormatFlagsException#getFlags()
+ */
+ public void test_getFlags() {
+ String strFlags = "MYTESTFLAGS";
+ DuplicateFormatFlagsException duplicateFormatException = new DuplicateFormatFlagsException(
+ strFlags);
+ assertEquals(strFlags, duplicateFormatException.getFlags());
+ }
- /**
- * @tests java.util.DuplicateFormatFlagsException#getMessage()
- */
- public void test_getMessage() {
- String strFlags = "MYTESTFLAGS";
- DuplicateFormatFlagsException duplicateFormatException = new DuplicateFormatFlagsException(
- strFlags);
- assertTrue(null != duplicateFormatException.getFlags());
+ /**
+ * @tests java.util.DuplicateFormatFlagsException#getMessage()
+ */
+ public void test_getMessage() {
+ String strFlags = "MYTESTFLAGS";
+ DuplicateFormatFlagsException duplicateFormatException = new DuplicateFormatFlagsException(
+ strFlags);
+ assertTrue(null != duplicateFormatException.getFlags());
- }
+ }
// comparator for DuplicateFormatFlagsException objects
private static final SerializableAssert exComparator = new SerializableAssert() {
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/FormatFlagsConversionMismatchExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/FormatFlagsConversionMismatchExceptionTest.java?rev=431783&r1=431782&r2=431783&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/FormatFlagsConversionMismatchExceptionTest.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/FormatFlagsConversionMismatchExceptionTest.java Tue Aug 15 20:09:23 2006
@@ -25,55 +25,55 @@
public class FormatFlagsConversionMismatchExceptionTest extends TestCase {
- /**
- * @tests java.util.FormatFlagsConversionMismatchException#FormatFlagsConversionMismatchException(String,
- * char)
- */
- public void test_formatFlagsConversionMismatchException() {
- try {
+ /**
+ * @tests java.util.FormatFlagsConversionMismatchException#FormatFlagsConversionMismatchException(String,
+ * char)
+ */
+ public void test_formatFlagsConversionMismatchException() {
+ try {
new FormatFlagsConversionMismatchException(null, ' ');
- fail("should throw NullPointerException.");
- } catch (NullPointerException e) {
- // expected
- }
-
- }
-
- /**
- * @tests java.util.FormatFlagsConversionMismatchException#getFlags()
- */
- public void test_getFlags() {
- String flags = "MYTESTFLAGS";
- char conversion = 'T';
- FormatFlagsConversionMismatchException formatFlagsConversionMismatchException = new FormatFlagsConversionMismatchException(
- flags, conversion);
- assertEquals(flags, formatFlagsConversionMismatchException.getFlags());
- }
-
- /**
- * @tests java.util.FormatFlagsConversionMismatchException#getConversion()
- */
- public void test_getConversion() {
- String flags = "MYTESTFLAGS";
- char conversion = 'T';
- FormatFlagsConversionMismatchException formatFlagsConversionMismatchException = new FormatFlagsConversionMismatchException(
- flags, conversion);
- assertEquals(conversion, formatFlagsConversionMismatchException
- .getConversion());
-
- }
-
- /**
- * @tests java.util.FormatFlagsConversionMismatchException#getMessage()
- */
- public void test_getMessage() {
- String flags = "MYTESTFLAGS";
- char conversion = 'T';
- FormatFlagsConversionMismatchException formatFlagsConversionMismatchException = new FormatFlagsConversionMismatchException(
- flags, conversion);
- assertTrue(null != formatFlagsConversionMismatchException.getMessage());
+ fail("should throw NullPointerException.");
+ } catch (NullPointerException e) {
+ // expected
+ }
+
+ }
+
+ /**
+ * @tests java.util.FormatFlagsConversionMismatchException#getFlags()
+ */
+ public void test_getFlags() {
+ String flags = "MYTESTFLAGS";
+ char conversion = 'T';
+ FormatFlagsConversionMismatchException formatFlagsConversionMismatchException = new FormatFlagsConversionMismatchException(
+ flags, conversion);
+ assertEquals(flags, formatFlagsConversionMismatchException.getFlags());
+ }
+
+ /**
+ * @tests java.util.FormatFlagsConversionMismatchException#getConversion()
+ */
+ public void test_getConversion() {
+ String flags = "MYTESTFLAGS";
+ char conversion = 'T';
+ FormatFlagsConversionMismatchException formatFlagsConversionMismatchException = new FormatFlagsConversionMismatchException(
+ flags, conversion);
+ assertEquals(conversion, formatFlagsConversionMismatchException
+ .getConversion());
+
+ }
+
+ /**
+ * @tests java.util.FormatFlagsConversionMismatchException#getMessage()
+ */
+ public void test_getMessage() {
+ String flags = "MYTESTFLAGS";
+ char conversion = 'T';
+ FormatFlagsConversionMismatchException formatFlagsConversionMismatchException = new FormatFlagsConversionMismatchException(
+ flags, conversion);
+ assertTrue(null != formatFlagsConversionMismatchException.getMessage());
- }
+ }
// comparator for FormatFlagsConversionMismatchException objects
private static final SerializableAssert exComparator = new SerializableAssert() {
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatCodePointExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatCodePointExceptionTest.java?rev=431783&r1=431782&r2=431783&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatCodePointExceptionTest.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatCodePointExceptionTest.java Tue Aug 15 20:09:23 2006
@@ -25,34 +25,34 @@
public class IllegalFormatCodePointExceptionTest extends TestCase {
- /**
- * @tests java.util.IllegalFormatCodePointException.IllegalFormatCodePointException(int)
- */
- public void test_illegalFormatCodePointException() {
- IllegalFormatCodePointException illegalFormatCodePointException = new IllegalFormatCodePointException(
- -1);
- assertTrue(null != illegalFormatCodePointException);
- }
+ /**
+ * @tests java.util.IllegalFormatCodePointException.IllegalFormatCodePointException(int)
+ */
+ public void test_illegalFormatCodePointException() {
+ IllegalFormatCodePointException illegalFormatCodePointException = new IllegalFormatCodePointException(
+ -1);
+ assertTrue(null != illegalFormatCodePointException);
+ }
- /**
- * @tests java.util.IllegalFormatCodePointException.getCodePoint()
- */
- public void test_getCodePoint() {
- int codePoint = 12345;
- IllegalFormatCodePointException illegalFormatCodePointException = new IllegalFormatCodePointException(
- codePoint);
- assertEquals(codePoint, illegalFormatCodePointException.getCodePoint());
- }
+ /**
+ * @tests java.util.IllegalFormatCodePointException.getCodePoint()
+ */
+ public void test_getCodePoint() {
+ int codePoint = 12345;
+ IllegalFormatCodePointException illegalFormatCodePointException = new IllegalFormatCodePointException(
+ codePoint);
+ assertEquals(codePoint, illegalFormatCodePointException.getCodePoint());
+ }
- /**
- * @tests java.util.IllegalFormatCodePointException.getMessage()
- */
- public void test_getMessage() {
- int codePoint = 12345;
- IllegalFormatCodePointException illegalFormatCodePointException = new IllegalFormatCodePointException(
- codePoint);
- assertTrue(null != illegalFormatCodePointException.getMessage());
- }
+ /**
+ * @tests java.util.IllegalFormatCodePointException.getMessage()
+ */
+ public void test_getMessage() {
+ int codePoint = 12345;
+ IllegalFormatCodePointException illegalFormatCodePointException = new IllegalFormatCodePointException(
+ codePoint);
+ assertTrue(null != illegalFormatCodePointException.getMessage());
+ }
// comparator for IllegalFormatCodePointException objects
private static final SerializableAssert exComparator = new SerializableAssert() {
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatConversionExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatConversionExceptionTest.java?rev=431783&r1=431782&r2=431783&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatConversionExceptionTest.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatConversionExceptionTest.java Tue Aug 15 20:09:23 2006
@@ -25,55 +25,55 @@
public class IllegalFormatConversionExceptionTest extends TestCase {
- /**
- * @tests java.util.IllegalFormatConversionException#IllegalFormatConversionException(char,
- * Class)
- */
- public void test_illegalFormatConversionException() {
- try {
+ /**
+ * @tests java.util.IllegalFormatConversionException#IllegalFormatConversionException(char,
+ * Class)
+ */
+ public void test_illegalFormatConversionException() {
+ try {
new IllegalFormatConversionException(' ', null);
- fail("should throw NullPointerExcetpion.");
- } catch (NullPointerException e) {
- // desired
- }
- }
-
- /**
- * @tests java.util.IllegalFormatConversionException#getArgumentClass()
- */
- public void test_getArgumentClass() {
- char c = '*';
- Class argClass = String.class;
- IllegalFormatConversionException illegalFormatConversionException = new IllegalFormatConversionException(
- c, argClass);
- assertEquals(argClass, illegalFormatConversionException
- .getArgumentClass());
-
- }
-
- /**
- * @tests java.util.IllegalFormatConversionException#getConversion()
- */
- public void test_getConversion() {
- char c = '*';
- Class argClass = String.class;
- IllegalFormatConversionException illegalFormatConversionException = new IllegalFormatConversionException(
- c, argClass);
- assertEquals(c, illegalFormatConversionException.getConversion());
-
- }
-
- /**
- * @tests java.util.IllegalFormatConversionException#getMessage()
- */
- public void test_getMessage() {
- char c = '*';
- Class argClass = String.class;
- IllegalFormatConversionException illegalFormatConversionException = new IllegalFormatConversionException(
- c, argClass);
- assertTrue(null != illegalFormatConversionException.getMessage());
+ fail("should throw NullPointerExcetpion.");
+ } catch (NullPointerException e) {
+ // desired
+ }
+ }
+
+ /**
+ * @tests java.util.IllegalFormatConversionException#getArgumentClass()
+ */
+ public void test_getArgumentClass() {
+ char c = '*';
+ Class argClass = String.class;
+ IllegalFormatConversionException illegalFormatConversionException = new IllegalFormatConversionException(
+ c, argClass);
+ assertEquals(argClass, illegalFormatConversionException
+ .getArgumentClass());
+
+ }
+
+ /**
+ * @tests java.util.IllegalFormatConversionException#getConversion()
+ */
+ public void test_getConversion() {
+ char c = '*';
+ Class argClass = String.class;
+ IllegalFormatConversionException illegalFormatConversionException = new IllegalFormatConversionException(
+ c, argClass);
+ assertEquals(c, illegalFormatConversionException.getConversion());
+
+ }
+
+ /**
+ * @tests java.util.IllegalFormatConversionException#getMessage()
+ */
+ public void test_getMessage() {
+ char c = '*';
+ Class argClass = String.class;
+ IllegalFormatConversionException illegalFormatConversionException = new IllegalFormatConversionException(
+ c, argClass);
+ assertTrue(null != illegalFormatConversionException.getMessage());
- }
+ }
// comparator for IllegalFormatConversionException objects
private static final SerializableAssert exComparator = new SerializableAssert() {
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatFlagsExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatFlagsExceptionTest.java?rev=431783&r1=431782&r2=431783&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatFlagsExceptionTest.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatFlagsExceptionTest.java Tue Aug 15 20:09:23 2006
@@ -25,38 +25,38 @@
public class IllegalFormatFlagsExceptionTest extends TestCase {
- /**
- * @tests java.util.IllegalFormatFlagsException#IllegalFormatFlagsException(String)
- */
- public void test_illegalFormatFlagsException() {
- try {
+ /**
+ * @tests java.util.IllegalFormatFlagsException#IllegalFormatFlagsException(String)
+ */
+ public void test_illegalFormatFlagsException() {
+ try {
new IllegalFormatFlagsException(null);
- fail("should throw NullPointerException");
- } catch (NullPointerException e) {
- // expected
- }
- }
+ fail("should throw NullPointerException");
+ } catch (NullPointerException e) {
+ // expected
+ }
+ }
- /**
- * @tests java.util.IllegalFormatFlagsException.getFlags()
- */
- public void test_getFlags() {
- String flags = "TESTFLAGS";
- IllegalFormatFlagsException illegalFormatFlagsException = new IllegalFormatFlagsException(
- flags);
- assertEquals(flags, illegalFormatFlagsException.getFlags());
- }
+ /**
+ * @tests java.util.IllegalFormatFlagsException.getFlags()
+ */
+ public void test_getFlags() {
+ String flags = "TESTFLAGS";
+ IllegalFormatFlagsException illegalFormatFlagsException = new IllegalFormatFlagsException(
+ flags);
+ assertEquals(flags, illegalFormatFlagsException.getFlags());
+ }
- /**
- * @tests java.util.IllegalFormatFlagsException.getMessage()
- */
- public void test_getMessage() {
- String flags = "TESTFLAGS";
- IllegalFormatFlagsException illegalFormatFlagsException = new IllegalFormatFlagsException(
- flags);
- assertTrue(null != illegalFormatFlagsException.getMessage());
+ /**
+ * @tests java.util.IllegalFormatFlagsException.getMessage()
+ */
+ public void test_getMessage() {
+ String flags = "TESTFLAGS";
+ IllegalFormatFlagsException illegalFormatFlagsException = new IllegalFormatFlagsException(
+ flags);
+ assertTrue(null != illegalFormatFlagsException.getMessage());
- }
+ }
// comparator for IllegalFormatFlagsException objects
private static final SerializableAssert exComparator = new SerializableAssert() {
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatPrecisionExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatPrecisionExceptionTest.java?rev=431783&r1=431782&r2=431783&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatPrecisionExceptionTest.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatPrecisionExceptionTest.java Tue Aug 15 20:09:23 2006
@@ -24,36 +24,36 @@
public class IllegalFormatPrecisionExceptionTest extends TestCase {
- /**
- * @tests java.util.IllegalFormatPrecisionException#IllegalFormatPrecisionException(int)
- */
- public void test_illegalFormatPrecisionException() {
- IllegalFormatPrecisionException illegalFormatPrecisionException = new IllegalFormatPrecisionException(
- Integer.MIN_VALUE);
- assertEquals(Integer.MIN_VALUE, illegalFormatPrecisionException
- .getPrecision());
- }
+ /**
+ * @tests java.util.IllegalFormatPrecisionException#IllegalFormatPrecisionException(int)
+ */
+ public void test_illegalFormatPrecisionException() {
+ IllegalFormatPrecisionException illegalFormatPrecisionException = new IllegalFormatPrecisionException(
+ Integer.MIN_VALUE);
+ assertEquals(Integer.MIN_VALUE, illegalFormatPrecisionException
+ .getPrecision());
+ }
- /**
- * @tests java.util.IllegalFormatPrecisionException#getPrecision()
- */
- public void test_getPrecision() {
- int precision = 12345;
- IllegalFormatPrecisionException illegalFormatPrecisionException = new IllegalFormatPrecisionException(
- precision);
- assertEquals(precision, illegalFormatPrecisionException.getPrecision());
- }
+ /**
+ * @tests java.util.IllegalFormatPrecisionException#getPrecision()
+ */
+ public void test_getPrecision() {
+ int precision = 12345;
+ IllegalFormatPrecisionException illegalFormatPrecisionException = new IllegalFormatPrecisionException(
+ precision);
+ assertEquals(precision, illegalFormatPrecisionException.getPrecision());
+ }
- /**
- * @tests method for 'java.util.IllegalFormatPrecisionException#getMessage()
- */
- public void test_getMessage() {
- int precision = 12345;
- IllegalFormatPrecisionException illegalFormatPrecisionException = new IllegalFormatPrecisionException(
- precision);
- assertTrue(null != illegalFormatPrecisionException.getMessage());
+ /**
+ * @tests method for 'java.util.IllegalFormatPrecisionException#getMessage()
+ */
+ public void test_getMessage() {
+ int precision = 12345;
+ IllegalFormatPrecisionException illegalFormatPrecisionException = new IllegalFormatPrecisionException(
+ precision);
+ assertTrue(null != illegalFormatPrecisionException.getMessage());
- }
+ }
// comparator for IllegalFormatPrecisionException objects
private static final SerializableAssert exComparator = new SerializableAssert() {
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatWidthExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatWidthExceptionTest.java?rev=431783&r1=431782&r2=431783&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatWidthExceptionTest.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/org/apache/harmony/luni/tests/java/util/IllegalFormatWidthExceptionTest.java Tue Aug 15 20:09:23 2006
@@ -24,38 +24,38 @@
public class IllegalFormatWidthExceptionTest extends TestCase {
- /**
- * @tests java.util.IllegalFormatWidthException#IllegalFormatWidthException(int)
- */
- public void test_illegalFormatWidthException() {
- int width = Integer.MAX_VALUE;
- IllegalFormatWidthException illegalFormatWidthException = new IllegalFormatWidthException(
- width);
- assertEquals(width, illegalFormatWidthException.getWidth());
+ /**
+ * @tests java.util.IllegalFormatWidthException#IllegalFormatWidthException(int)
+ */
+ public void test_illegalFormatWidthException() {
+ int width = Integer.MAX_VALUE;
+ IllegalFormatWidthException illegalFormatWidthException = new IllegalFormatWidthException(
+ width);
+ assertEquals(width, illegalFormatWidthException.getWidth());
- }
+ }
- /**
- * @tests java.util.IllegalFormatWidthException#getWidth()
- */
- public void test_getWidth() {
- int width = 12345;
- IllegalFormatWidthException illegalFormatWidthException = new IllegalFormatWidthException(
- width);
- assertEquals(width, illegalFormatWidthException.getWidth());
+ /**
+ * @tests java.util.IllegalFormatWidthException#getWidth()
+ */
+ public void test_getWidth() {
+ int width = 12345;
+ IllegalFormatWidthException illegalFormatWidthException = new IllegalFormatWidthException(
+ width);
+ assertEquals(width, illegalFormatWidthException.getWidth());
- }
+ }
- /**
- * @tests java.util.IllegalFormatWidthException#getMessage()
- */
- public void test_getMessage() {
- int width = 12345;
- IllegalFormatWidthException illegalFormatWidthException = new IllegalFormatWidthException(
- width);
- assertTrue(null != illegalFormatWidthException.getMessage());
+ /**
+ * @tests java.util.IllegalFormatWidthException#getMessage()
+ */
+ public void test_getMessage() {
+ int width = 12345;
+ IllegalFormatWidthException illegalFormatWidthException = new IllegalFormatWidthException(
+ width);
+ assertTrue(null != illegalFormatWidthException.getMessage());
- }
+ }
// comparator for IllegalFormatWidthException objects
private static final SerializableAssert exComparator = new SerializableAssert() {