You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by or...@apache.org on 2005/02/22 02:22:56 UTC

cvs commit: incubator-myfaces/src/cactus/org/apache/myfaces/renderkit/html Bug1050122CactusTest.java

oros        2005/02/21 17:22:56

  Modified:    src/cactus/org/apache/myfaces/renderkit/html
                        Bug1050122CactusTest.java
  Log:
  sf issue #1050122: test case
  
  Revision  Changes    Path
  1.2       +2 -2      incubator-myfaces/src/cactus/org/apache/myfaces/renderkit/html/Bug1050122CactusTest.java
  
  Index: Bug1050122CactusTest.java
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/src/cactus/org/apache/myfaces/renderkit/html/Bug1050122CactusTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Bug1050122CactusTest.java	22 Feb 2005 01:17:56 -0000	1.1
  +++ Bug1050122CactusTest.java	22 Feb 2005 01:22:56 -0000	1.2
  @@ -42,10 +42,10 @@
           WebConversation conversation = new WebConversation();
           response = conversation.getResponse(response.getURL().toExternalForm());
           WebForm form = response.getFormWithID("testForm");
  -        form.setParameter("size", "12");
  +        form.setParameter("testForm:size", "12");
           SubmitButton submitButton = form.getSubmitButtonWithID("testForm:submit");
           response = form.submit(submitButton);
  -        
  +
           // is it a Long?
           assertTrue(response.getText().indexOf("12class java.lang.Long") != -1);
       }