commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r394763 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/CompositeFormatTest.java
Date Mon, 17 Apr 2006 19:56:10 GMT
Author: bayard
Date: Mon Apr 17 12:56:08 2006
New Revision: 394763

URL: http://svn.apache.org/viewcvs?rev=394763&view=rev
Log:
Test the getXxx methods

Modified:
    jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/CompositeFormatTest.java

Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/CompositeFormatTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/CompositeFormatTest.java?rev=394763&r1=394762&r2=394763&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/CompositeFormatTest.java
(original)
+++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/text/CompositeFormatTest.java
Mon Apr 17 12:56:08 2006
@@ -86,10 +86,12 @@
             }
         };
 
-        Format composite = new CompositeFormat(parser, formatter);
+        CompositeFormat composite = new CompositeFormat(parser, formatter);
 
         composite.parseObject("", null);
         composite.format(new Object(), new StringBuffer(), null);
+        assertEquals( "Parser get method incorrectly implemented", parser, composite.getParser()
);
+        assertEquals( "Formatter get method incorrectly implemented", formatter, composite.getFormatter()
);
     }
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message