org.apache.tapestry.junit
Class TapestryTestCase
java.lang.Object
BaseComponentTestCase
org.apache.tapestry.junit.TapestryTestCase
- Direct Known Subclasses:
- BaseValidatorTestCase, ContentTypeTest, FormComponentContributorTestCase, TestAbsoluteURLBuilder, TestApplicationSpecification, TestComponentMessages, TestComponentSpecification, TestIdAllocator, TestListEditMap, TestLocalizedProperties, TestMultipart, TestRegexpMatcher, TestScript, TestSpecificationParser, TestStaticLink, TestTapestryCheckMethodInvocation, TestValidatorFactory
public abstract class TapestryTestCase
- extends BaseComponentTestCase
Base class for Tapestry test cases.
- Since:
- 2.2
- Author:
- Howard Lewis Ship
Field Summary |
protected static boolean |
IS_JDK13
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IS_JDK13
protected static final boolean IS_JDK13
TapestryTestCase
public TapestryTestCase()
newBindingSource
protected org.apache.tapestry.junit.TapestryTestCase.BindingSourceFixture newBindingSource()
- Since:
- 4.0
parseComponent
protected IComponentSpecification parseComponent(String simpleName)
throws Exception
- Throws:
Exception
parsePage
protected IComponentSpecification parsePage(String simpleName)
throws Exception
- Throws:
Exception
parseApp
protected IApplicationSpecification parseApp(String simpleName)
throws Exception
- Throws:
Exception
getSpecificationResourceLocation
protected org.apache.hivemind.Resource getSpecificationResourceLocation(String simpleName)
parseLib
protected ILibrarySpecification parseLib(String simpleName)
throws Exception
- Throws:
Exception
checkList
public static void checkList(String propertyName,
Object[] expected,
Object[] actual)
checkList
public static void checkList(String propertyName,
Object[] expected,
List actual)
checkProperty
public static void checkProperty(IPropertyHolder h,
String propertyName,
String expectedValue)
checkException
public static void checkException(Throwable ex,
String string)
createValueConverter
protected ValueConverter createValueConverter()
newComponent
protected IComponent newComponent()
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.