org.jboss.jsfunit.test.richfaces
Class RichInplaceInputTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.cactus.internal.AbstractCactusTestCase
              extended by org.apache.cactus.ServletTestCase
                  extended by org.jboss.jsfunit.test.richfaces.RichInplaceInputTest
All Implemented Interfaces:
junit.framework.Test, org.apache.cactus.internal.CactusTestCase

public class RichInplaceInputTest
extends org.apache.cactus.ServletTestCase


Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.cactus.ServletTestCase
config, request, response, session
 
Constructor Summary
RichInplaceInputTest()
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void tearDown()
           
 void testInplaceInput_CustomControls()
          This test will set the value of an richface inplace input control.
 void testInplaceInput_Raw()
          This test will make sure the inner workings of the inplace input control behave as we expect.
 void testInplaceInput_SimpleDefault()
          This test will set the value of an richface inplace input control.
 void testInplaceInput_SimpleWithControls()
          This test will set the value of an richface inplace input control.
 
Methods inherited from class org.apache.cactus.ServletTestCase
createProtocolHandler
 
Methods inherited from class org.apache.cactus.internal.AbstractCactusTestCase
runBare, runBareServer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.cactus.internal.CactusTestCase
runBareServer
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

RichInplaceInputTest

public RichInplaceInputTest()
Method Detail

suite

public static junit.framework.Test suite()

setUp

public void setUp()
           throws IOException
Overrides:
setUp in class junit.framework.TestCase
Throws:
IOException

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testInplaceInput_Raw

public void testInplaceInput_Raw()
                          throws IOException
This test will make sure the inner workings of the inplace input control behave as we expect. This is a easy way to determine if something has changed/broken in htmlunit or richfaces and where the change might be located.

Throws:
IOException

testInplaceInput_SimpleDefault

public void testInplaceInput_SimpleDefault()
                                    throws IOException
This test will set the value of an richface inplace input control. This version is for the "Simple Default" version of the control in the richfaces demo.

Throws:
IOException

testInplaceInput_SimpleWithControls

public void testInplaceInput_SimpleWithControls()
                                         throws IOException
This test will set the value of an richface inplace input control. This version is for the "Simple With Controls" version of the control in the richfaces demo and tests the ok action only.

Throws:
IOException

testInplaceInput_CustomControls

public void testInplaceInput_CustomControls()
                                     throws IOException
This test will set the value of an richface inplace input control. This version is for the "Custom Controls" version of the control in the richfaces demo and tests the save action only.

Throws:
IOException


Copyright © 2007-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.