org.seasar.cubby.tags
クラス FormTagTest

java.lang.Object
  上位を拡張 junit.framework.Assert
      上位を拡張 junit.framework.TestCase
          上位を拡張 org.seasar.framework.unit.S2FrameworkTestCase
              上位を拡張 org.seasar.extension.unit.S2TestCase
                  上位を拡張 org.seasar.cubby.tags.FormTagTest
すべての実装されたインタフェース:
junit.framework.Test

public class FormTagTest
extends S2TestCase


フィールドの概要
protected  MockJspContext context
           
protected  MockJspFragment jspBody
           
 HttpServletRequest request
           
 org.seasar.cubby.tags.FormTag tag
           
 
クラス org.seasar.framework.unit.S2FrameworkTestCase から継承されたフィールド
ENV_PATH, ENV_VALUE
 
コンストラクタの概要
FormTagTest()
           
 
メソッドの概要
protected  void doLifecycle(Tag tag)
           
protected  void doLifecycle(Tag tag, org.seasar.cubby.tags.AbstractStandardTagTestCase.ChildrenFactory childrenFactory)
           
protected  org.jdom.Element getResultAsElementFromContext()
           
protected  void setUp()
           
protected  void setupBodyTag(BodyTag tag)
           
 void setupErrors(JspContext context)
           
 void testDoTagEmptyBody()
           
 void testDoTagNoChild()
           
 void testDoTagWithSpecifiedAction()
           
 void testDoTagWithSpecifiedActionAndParam()
           
 void testDoTagWithTextAreaAndSpecifiedActionAndParam()
           
 void testDoTagWithTextAreaTag()
           
 
クラス org.seasar.extension.unit.S2TestCase から継承されたメソッド
assertBeanEquals, assertBeanListEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertMapEquals, assertMapListEquals, deleteDb, deleteTable, doRunTest, getConnection, getDatabaseMetaData, getDataSource, getSqlWriter, needTransaction, readDb, readDbBySql, readDbByTable, readDbByTable, readXls, readXls, readXlsAllReplaceDb, readXlsAllReplaceDb, readXlsReplaceDb, readXlsReplaceDb, readXlsWriteDb, readXlsWriteDb, reload, reload, reloadOrReadDb, setUpAfterContainerInit, setupDataSource, tearDownBeforeContainerDestroy, tearDownDataSource, writeDb, writeXls
 
クラス org.seasar.framework.unit.S2FrameworkTestCase から継承されたメソッド
bindField, bindFields, convertPath, getComponent, getComponent, getComponentDef, getComponentDef, getContainer, getNamingConvention, getOriginalClassLoader, getRequest, getResponse, getRootDicon, getServlet, getServletConfig, getServletContext, getTargetMethod, getTargetName, include, invoke, isAutoBindable, isRegisterNamingConvention, isWarmDeploy, normalizeName, register, register, register, register, register, resolveRootDicon, runBare, setRegisterNamingConvention, setRequest, setResponse, setServlet, setServletConfig, setServletContext, setUpAfterBindFields, setUpContainer, setUpForEachTestMethod, setWarmDeploy, tearDownBeforeUnbindFields, tearDownContainer, tearDownForEachTestMethod, unbindFields
 
クラス junit.framework.TestCase から継承されたメソッド
countTestCases, createResult, getName, run, run, runTest, setName, tearDown, toString
 
クラス 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, failNotEquals, failNotSame, failSame, format
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

request

public HttpServletRequest request

tag

public org.seasar.cubby.tags.FormTag tag

jspBody

protected MockJspFragment jspBody

context

protected MockJspContext context
コンストラクタの詳細

FormTagTest

public FormTagTest()
メソッドの詳細

setUp

protected void setUp()
              throws Exception
例外:
Exception

testDoTagNoChild

public void testDoTagNoChild()
                      throws Exception
例外:
Exception

testDoTagEmptyBody

public void testDoTagEmptyBody()
                        throws Exception
例外:
Exception

testDoTagWithTextAreaTag

public void testDoTagWithTextAreaTag()
                              throws Exception
例外:
Exception

testDoTagWithSpecifiedAction

public void testDoTagWithSpecifiedAction()
                                  throws Exception
例外:
Exception

testDoTagWithSpecifiedActionAndParam

public void testDoTagWithSpecifiedActionAndParam()
                                          throws Exception
例外:
Exception

testDoTagWithTextAreaAndSpecifiedActionAndParam

public void testDoTagWithTextAreaAndSpecifiedActionAndParam()
                                                     throws Exception
例外:
Exception

setupBodyTag

protected void setupBodyTag(BodyTag tag)

doLifecycle

protected void doLifecycle(Tag tag)
                    throws JspException,
                           IOException
例外:
JspException
IOException

doLifecycle

protected void doLifecycle(Tag tag,
                           org.seasar.cubby.tags.AbstractStandardTagTestCase.ChildrenFactory childrenFactory)
                    throws JspException,
                           IOException
例外:
JspException
IOException

getResultAsElementFromContext

protected org.jdom.Element getResultAsElementFromContext()
                                                  throws org.jdom.JDOMException,
                                                         IOException
例外:
org.jdom.JDOMException
IOException

setupErrors

public void setupErrors(JspContext context)


Copyright © 2006-2008 The Seasar Foundation. All Rights Reserved.