Author: michiel
Date: 2010-03-25 11:48:18 +0100 (Thu, 25 Mar 2010)
New Revision: 41599

Added:
   
mmbase/branches/MMBase-1_9/core/src/test/java/org/mmbase/util/SortedBundleTest.java
Log:
started on test-cases for SortedBundle

Added: 
mmbase/branches/MMBase-1_9/core/src/test/java/org/mmbase/util/SortedBundleTest.java
===================================================================
--- 
mmbase/branches/MMBase-1_9/core/src/test/java/org/mmbase/util/SortedBundleTest.java
                         (rev 0)
+++ 
mmbase/branches/MMBase-1_9/core/src/test/java/org/mmbase/util/SortedBundleTest.java
 2010-03-25 10:48:18 UTC (rev 41599)
@@ -0,0 +1,30 @@
+/*
+
+This software is OSI Certified Open Source Software.
+OSI Certified is a certification mark of the Open Source Initiative.
+
+The license (Mozilla version 1.0) can be read at the MMBase site.
+See http://www.MMBase.org/license
+
+*/
+package org.mmbase.util;
+import java.util.*;
+import org.junit.*;
+import static org.junit.Assert.*;
+
+/**
+ *
+ * @author Michiel Meeuwissen
+ * @verion $Id: LocalizedEntryListFactoryTest.java 39842 2009-11-23 10:41:32Z 
michiel $
+ */
+public class SortedBundleTest {
+
+
+    @Test
+    public void enums() {
+        Map<String, Object> map = 
SortedBundle.getConstantsProvider(org.mmbase.framework.WindowState.class);
+        assertEquals(3, map.size());
+
+    }
+
+}

_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to