CVS: plexus-container-new/src/test/org/apache/plexus/util InterpolationFilterReaderTest.java,1.1.1.1,1.2

[email protected]
Newsgroups gmane.comp.java.plexus.devel
Message-ID <[email protected]>
Update of /cvsroot/plexus/plexus-container-new/src/test/org/apache/plexus/util
In directory eng.werken.com:/tmp/cvs-serv18422

Modified Files:
	InterpolationFilterReaderTest.java 
Log Message:
o Adding test for values that don't get interpolated.

Index: InterpolationFilterReaderTest.java
===================================================================
RCS file: /cvsroot/plexus/plexus-container-new/src/test/org/apache/plexus/util/InterpolationFilterReaderTest.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- InterpolationFilterReaderTest.java	29 Mar 2003 03:49:44 -0000	1.1.1.1
+++ InterpolationFilterReaderTest.java	25 Apr 2003 18:11:19 -0000	1.2
@@ -43,7 +43,7 @@
         m.put( "name", "jason" );
         m.put( "noun", "asshole" );
 
-        String foo = "${name} is an ${noun}.";
+        String foo = "${name} is an ${noun}. ${not.interpolated}";
 
         InterpolationFilterReader reader = new InterpolationFilterReader( new StringReader( foo ), m );
 
@@ -54,6 +54,6 @@
 
         System.out.println( "interpolated string: " + bar );
 
-        assertEquals( "jason is an asshole.", bar );
+        assertEquals( "jason is an asshole. ${not.interpolated}", bar );
     }
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.