|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBaseComponentTestCase
org.apache.tapestry.junit.TapestryTestCase
org.apache.tapestry.junit.parse.TestSpecificationParser
public class TestSpecificationParser
Tests the specification parser (which reads page and component specifications). Came into being somewhat late, so it just tests new features for the meantime.
Field Summary |
---|
Fields inherited from class org.apache.tapestry.junit.TapestryTestCase |
---|
IS_JDK13 |
Constructor Summary | |
---|---|
TestSpecificationParser()
|
Method Summary | |
---|---|
void |
tes_Message_Binding()
Test 3.0 <message-binding> element. |
void |
test_Malformed_Xml_Tag()
|
void |
testAssets_3_0()
Tests that assets read using the 3.0 DTD are converted properly into paths with the proper prefix. |
void |
testAssets()
|
void |
testAttributeAndBody()
|
void |
testBeanDescription()
|
void |
testBeanInitializer()
|
void |
testBeanInject()
|
void |
testBeanProperty()
|
void |
testBeanSet()
|
void |
testBinding40()
Tests the 4.0 style <binding> element. |
void |
testComponentBadCopy()
And here's what happens when copy-of doesn't match a known component. |
void |
testComponentCopyOf()
Tests the use of copy-of attribute inside <component>. |
void |
testComponentInjectProperty()
|
void |
testComponentProperty()
|
void |
testComponentSlashInComponentType()
|
void |
testComponentType()
Test new DTD 1.4 syntax for declaring components. |
void |
testComponentWithoutType()
Tests that <component> must have either type or copy-of attribute. |
void |
testComponentWithTypeAndCopyOf()
Tests that a <component> element may not have both type and copy-of attributes. |
void |
testConfigureExtension()
|
void |
testConfigureExtensionProperty()
|
void |
testConfigureValue()
Tests the new (in DTD 1.4) value attribute on a configure element. |
void |
testDeprecatedComponent()
|
void |
testExpressionBeanInitializer()
Tests the DTD 3.0 |
void |
testInheritInformalParameters()
|
void |
testInject()
|
void |
testInvalidAssetName()
Test invalid parameter name. |
void |
testInvalidComponentAlias()
Test invalid component type ("alias" in older parlance). |
void |
testInvalidComponentId()
Test invalid component id. |
void |
testInvalidExtensionName()
Test invalid extension name. |
void |
testInvalidLibraryId()
Test invalid library id in a library specification. |
void |
testInvalidPageName()
Test invalid page name. |
void |
testInvalidParameterName()
Test invalid parameter name. |
void |
testInvalidPublicId()
Test case where the public id of the document is not known. |
void |
testLibraryDescription()
|
void |
testLibraryFrameworkNamespace()
Checks to make sure that a application or library may not defined a lbirary with id 'framework'. |
void |
testLibrarySlashInComponentType()
|
void |
testListenerBinding()
Tests the new <listener-binding> element in the 1.4 DTD. |
void |
testMessageBeanInitializer()
|
void |
testMeta()
|
void |
testMissingDoctype()
Test case where the document does not have a DOCTYPE |
void |
testMissingRequiredExtendedAttribute()
|
void |
testNulledApplication()
Test an an application specification can omit the name and engine-class attributes. |
void |
testNulledComponent()
Test omitting the class name from a component specification (new, in DTD 1.4). |
void |
testNulledPage()
Test omitting the class name from a component specification (new, in DTD 1.4). |
void |
testPageDescription()
|
void |
testParameter_3_0()
Tests parameters specification from a 3.0 DTD |
void |
testParameter()
Tests the new way default-value is interpreted (as a binding-like value, prefixed to indicate type). |
void |
testProperty()
Test that the new <property> element (was <property-specification> in release 3.0) works correctly. |
void |
testPropertySpecifications()
|
void |
testPropertyValue()
Test the value attribute for the property element (which is new in DTD 1.4). |
void |
testRootElementMismatch()
Excercies the check that the correct root element is used. |
void |
testStaticBindingValue()
Tests the new (in DTD 1.4) value attribute on static-binding element. |
void |
testValidLibrary()
Parse a valid library. |
void |
testValidParameterName()
Test valid parameter name. |
Methods inherited from class org.apache.tapestry.junit.TapestryTestCase |
---|
checkException, checkList, checkList, checkProperty, createValueConverter, getSpecificationResourceLocation, newBindingSource, newComponent, parseApp, parseComponent, parseLib, parsePage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestSpecificationParser()
Method Detail |
---|
public void tes_Message_Binding() throws Exception
Exception
public void testBinding40() throws Exception
Exception
public void testValidParameterName() throws Exception
Exception
public void testInvalidParameterName() throws Exception
Exception
public void testInvalidComponentId() throws Exception
Exception
public void testInvalidLibraryId() throws Exception
Exception
public void testValidLibrary() throws Exception
Exception
public void testInvalidAssetName() throws Exception
Exception
public void testInvalidPageName() throws Exception
Exception
public void testInvalidComponentAlias() throws Exception
Exception
public void testInvalidExtensionName() throws Exception
Exception
public void test_Malformed_Xml_Tag() throws Exception
Exception
public void testMissingDoctype() throws Exception
Exception
public void testInvalidPublicId() throws Exception
Exception
public void testNulledApplication() throws Exception
Exception
public void testComponentType() throws Exception
Exception
public void testNulledComponent() throws Exception
Exception
public void testNulledPage() throws Exception
Exception
public void testPropertyValue() throws Exception
Exception
public void testStaticBindingValue() throws Exception
Exception
public void testAttributeAndBody() throws Exception
Exception
public void testConfigureValue() throws Exception
Exception
public void testListenerBinding() throws Exception
Exception
public void testPropertySpecifications() throws Exception
Exception
public void testMissingRequiredExtendedAttribute() throws Exception
Exception
public void testMessageBeanInitializer() throws Exception
Exception
public void testExpressionBeanInitializer() throws Exception
Exception
public void testBeanSet() throws Exception
Exception
public void testInheritInformalParameters() throws Exception
Exception
public void testConfigureExtension() throws Exception
Exception
public void testConfigureExtensionProperty() throws Exception
Exception
public void testComponentProperty() throws Exception
Exception
public void testComponentInjectProperty() throws Exception
Exception
public void testBeanDescription() throws Exception
Exception
public void testBeanProperty() throws Exception
Exception
public void testBeanInject() throws Exception
Exception
public void testBeanInitializer() throws Exception
Exception
public void testLibraryDescription() throws Exception
Exception
public void testPageDescription() throws Exception
Exception
public void testRootElementMismatch() throws Exception
Exception
public void testLibraryFrameworkNamespace() throws Exception
Exception
public void testComponentWithTypeAndCopyOf() throws Exception
Exception
public void testComponentWithoutType() throws Exception
Exception
public void testComponentCopyOf() throws Exception
Exception
public void testComponentBadCopy()
public void testMeta() throws Exception
Exception
public void testInject() throws Exception
Exception
public void testProperty() throws Exception
Exception
public void testParameter_3_0() throws Exception
Exception
public void testParameter() throws Exception
Exception
public void testAssets_3_0() throws Exception
Exception
public void testAssets() throws Exception
Exception
public void testDeprecatedComponent() throws Exception
Exception
public void testLibrarySlashInComponentType() throws Exception
Exception
public void testComponentSlashInComponentType() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |