Commits

Anonymous committed 039bead

XW-455
Complete coverage for ActionSupport

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1275e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits da91001

Comments (0)

Files changed (1)

src/test/com/opensymphony/xwork2/ActionSupportTest.java

 
 import com.opensymphony.xwork2.util.ValueStack;
 import com.opensymphony.xwork2.util.ValueStackFactory;
+import com.uwyn.rife.continuations.exceptions.PauseException;
 
 /**
  * Unit test for {@link ActionSupport}.
         assertEquals(false, as.hasFieldErrors());
         
         assertNull(as.getText(null));
+        try{
+        	as.pause(null);
+        catch(PauseException e){
+        	fail("Should not fail");
+        }
         
         assertEquals(Action.INPUT, as.input());
         assertEquals(Action.SUCCESS, as.doDefault());