incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r469250 - /incubator/adffaces/trunk/trinidad/trinidad-api/src/test/java/org/apache/myfaces/trinidad/validator/DateTimeRangeValidatorTest.java
Date Mon, 30 Oct 2006 19:40:28 GMT
Author: matzew
Date: Mon Oct 30 11:40:28 2006
New Revision: 469250

URL: http://svn.apache.org/viewvc?view=rev&rev=469250
Log:
testing DateTimeRangeVal instead of RegExpVal in tc for DateTimeRange...

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-api/src/test/java/org/apache/myfaces/trinidad/validator/DateTimeRangeValidatorTest.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-api/src/test/java/org/apache/myfaces/trinidad/validator/DateTimeRangeValidatorTest.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-api/src/test/java/org/apache/myfaces/trinidad/validator/DateTimeRangeValidatorTest.java?view=diff&rev=469250&r1=469249&r2=469250
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-api/src/test/java/org/apache/myfaces/trinidad/validator/DateTimeRangeValidatorTest.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-api/src/test/java/org/apache/myfaces/trinidad/validator/DateTimeRangeValidatorTest.java
Mon Oct 30 11:40:28 2006
@@ -24,8 +24,6 @@
 import junit.framework.Test;
 import junit.framework.TestSuite;
 
-import org.apache.myfaces.trinidad.validator.DateTimeRangeValidator;
-import org.apache.myfaces.trinidad.validator.RegExpValidator;
 import org.apache.myfaces.trinidadbuild.test.MockUIComponentWrapper;
 import org.apache.shale.test.mock.MockApplication;
 import org.jmock.Mock;
@@ -88,7 +86,7 @@
     Mock mock = buildMockUIComponent();
     UIComponent component = (UIComponent) mock.proxy();
     MockUIComponentWrapper wrapper = new MockUIComponentWrapper(mock, component);
-    RegExpValidator validator = new RegExpValidator();
+    DateTimeRangeValidator validator = new DateTimeRangeValidator();
 
     doTestNullContext(wrapper, validator);
   }
@@ -98,7 +96,7 @@
    */
   public void testNullComponent()
   {
-    RegExpValidator validator = new RegExpValidator();
+    DateTimeRangeValidator validator = new DateTimeRangeValidator();
 
     doTestNullComponent(facesContext, validator);
   }



Mime
View raw message