myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r832570 - /myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/test/java/org/apache/myfaces/extensions/validator/test/core/mapper/
Date Tue, 03 Nov 2009 21:34:00 GMT
Author: gpetracek
Date: Tue Nov  3 21:33:54 2009
New Revision: 832570

URL: http://svn.apache.org/viewvc?rev=832570&view=rev
Log:
updated test case

Modified:
    myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/test/java/org/apache/myfaces/extensions/validator/test/core/mapper/RegistrationValidationStrategyToMetaDataTransformerNameMapperTestCase.java

Modified: myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/test/java/org/apache/myfaces/extensions/validator/test/core/mapper/RegistrationValidationStrategyToMetaDataTransformerNameMapperTestCase.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/test/java/org/apache/myfaces/extensions/validator/test/core/mapper/RegistrationValidationStrategyToMetaDataTransformerNameMapperTestCase.java?rev=832570&r1=832569&r2=832570&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/test/java/org/apache/myfaces/extensions/validator/test/core/mapper/RegistrationValidationStrategyToMetaDataTransformerNameMapperTestCase.java
(original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/test/java/org/apache/myfaces/extensions/validator/test/core/mapper/RegistrationValidationStrategyToMetaDataTransformerNameMapperTestCase.java
Tue Nov  3 21:33:54 2009
@@ -49,7 +49,7 @@
     {
         return new TestSuite(RegistrationValidationStrategyToMetaDataTransformerNameMapperTestCase.class);
     }
-    public void testValidationStrategyToMessageResolverNameMapperInitialization()
+    public void testValidationStrategyToMetaDataTransformerMapperInitialization()
     {
         ExtValUtils.registerValidationStrategyToMetaDataTransformerNameMapper(
                 new TestMetaDataTransformerNameMapper());
@@ -81,33 +81,36 @@
                     assertEquals(CustomConfiguredValidationStrategyToMetaDataTransformerNameMapper.class,
result.get(i).getClass());
                     break;
                 case 2:
-                    assertEquals(TestMetaDataTransformerNameMapper150.class, result.get(i).getClass());
+                    assertEquals(ValidationStrategyToMetaDataTransformerSubMapperAwareNameMapper.class,
result.get(i).getClass());
                     break;
                 case 3:
-                    assertEquals(CustomConventionValidationStrategyToMetaDataTransformerNameMapper.class,
result.get(i).getClass());
+                    assertEquals(TestMetaDataTransformerNameMapper150.class, result.get(i).getClass());
                     break;
                 case 4:
-                    assertEquals(TestMetaDataTransformerNameMapper250.class, result.get(i).getClass());
+                    assertEquals(CustomConventionValidationStrategyToMetaDataTransformerNameMapper.class,
result.get(i).getClass());
                     break;
                 case 5:
-                    assertEquals(DefaultValidationStrategyToMetaDataTransformerNameMapper.class,
result.get(i).getClass());
+                    assertEquals(TestMetaDataTransformerNameMapper250.class, result.get(i).getClass());
                     break;
                 case 6:
-                    assertEquals(TestMetaDataTransformerNameMapper350.class, result.get(i).getClass());
+                    assertEquals(DefaultValidationStrategyToMetaDataTransformerNameMapper.class,
result.get(i).getClass());
                     break;
                 case 7:
-                    assertEquals(SimpleValidationStrategyToMetaDataTransformerNameMapper.class,
result.get(i).getClass());
+                    assertEquals(TestMetaDataTransformerNameMapper350.class, result.get(i).getClass());
                     break;
                 case 8:
-                    assertEquals(TestMetaDataTransformerNameMapper450.class, result.get(i).getClass());
+                    assertEquals(SimpleValidationStrategyToMetaDataTransformerNameMapper.class,
result.get(i).getClass());
                     break;
                 case 9:
-                    assertEquals(BeanValidationStrategyToMetaDataTransformerNameMapper.class,
result.get(i).getClass());
+                    assertEquals(TestMetaDataTransformerNameMapper450.class, result.get(i).getClass());
                     break;
                 case 10:
-                    assertEquals(TestMetaDataTransformerNameMapper550.class, result.get(i).getClass());
+                    assertEquals(BeanValidationStrategyToMetaDataTransformerNameMapper.class,
result.get(i).getClass());
                     break;
                 case 11:
+                    assertEquals(TestMetaDataTransformerNameMapper550.class, result.get(i).getClass());
+                    break;
+                case 12:
                     assertEquals(TestMetaDataTransformerNameMapper.class, result.get(i).getClass());
                     break;
             }



Mime
View raw message