ruper2/src/java/test/core/org/krysalis/ruper/util/text MessageTests.java,1.2,1.3

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/ruper2/src/java/test/core/org/krysalis/ruper/util/text
In directory sc8-pr-cvs1:/tmp/cvs-serv11617/src/java/test/core/org/krysalis/ruper/util/text

Modified Files:
	MessageTests.java 
Log Message:
Renamed Simple Logger to Standard (since it writes to StdOut)
More work on logging and messages

Index: MessageTests.java
===================================================================
RCS file: /cvsroot/metamorphosis/ruper2/src/java/test/core/org/krysalis/ruper/util/text/MessageTests.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MessageTests.java	22 Sep 2003 21:04:15 -0000	1.2
--- MessageTests.java	23 Sep 2003 00:19:18 -0000	1.3
***************
*** 28,31 ****
--- 28,42 ----
  	}
  
+ 	public void testForObsolete() throws Exception {
+ 		List messageCodes1 = MessageConstants.getCodes();
+ 		List messageCodes2 = Messages.getCodes();
+ 
+ 		for (Iterator i = messageCodes1.iterator(); i.hasNext();) {
+ 			String code = (String) i.next();
+ 
+ 			assertTrue("Obsolete : " + code, messageCodes2.contains(code));
+ 		}
+ 	}
+ 
  	public static void main(String[] args) {
  		junit.textui.TestRunner.run(MessageTests.class);




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
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.