Commits

Anonymous committed 2ef8ef2

Fixing compilation errors due to previously ailped refactorings

git-svn-id: http://svn.opensymphony.com/svn/xwork/branches/xwork_1-2@1390e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits c54ee33
  • Branches xwork_1-2

Comments (0)

Files changed (1)

File tiger/src/test/com/opensymphony/xwork/validator/AnnotationActionValidatorManagerTest.java

 import com.opensymphony.xwork.validator.validators.*;
 
 import java.util.List;
+import java.util.Collections;
 
 
 /**
             user.setEmail2("bad_email");
 
             ValidatorContext context = new GenericValidatorContext(user);
-            annotationActionValidatorManager.validate(user, null, context);
+            annotationActionValidatorManager.validate(user, "", context);
             assertTrue(context.hasFieldErrors());
 
             // check field errors
             user.setEmail2("mark_bad_email_for_field_val@foo.com");
 
             ValidatorContext context = new GenericValidatorContext(user);
-            annotationActionValidatorManager.validate(user, null, context);
+            annotationActionValidatorManager.validate(user, "", context);
             assertTrue(context.hasFieldErrors());
 
             // check field errors
 
 
         ValidatorContext context = new GenericValidatorContext(user);
-        annotationActionValidatorManager.validate(user, null, context);
+        annotationActionValidatorManager.validate(user, "", context);
     	
     	// check field level errors
         // shouldn't have any because action error prevents validation of anything else
             user.setEmail2("mark@mycompany.com");
 
             ValidatorContext context = new GenericValidatorContext(user);
-            annotationActionValidatorManager.validate(user, null, context);
+            annotationActionValidatorManager.validate(user, "", context);
             assertFalse(context.hasErrors());
         } catch (ValidationException ex) {
             ex.printStackTrace();