public class ConstraintHandlersConfigTest
extends org.alfresco.util.BaseTest
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.extensions.config.xml.XMLConfigService |
configService |
protected FormConfigElement |
defaultFormConfigElement |
protected DefaultControlsConfigElement |
defltCtrlsConfElement |
protected FormsConfigElement |
formsConfigElement |
protected org.springframework.extensions.config.Config |
globalConfig |
protected org.springframework.extensions.config.ConfigElement |
globalConstraintHandlers |
protected org.springframework.extensions.config.ConfigElement |
globalDefaultControls |
| Constructor and Description |
|---|
ConstraintHandlersConfigTest() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getConfigXmlFile() |
protected void |
setUp() |
void |
testCombineConstraintHandlersWithAddedParam()
Tests the combination of a ConstraintHandlersConfigElement with another that
contains additional data.
|
void |
testCombineConstraintHandlersWithDeletedParam()
Tests the combination of a ConstraintHandlersConfigElement with another that
contains deleted data.
|
void |
testCombineConstraintHandlersWithModifiedParam()
Tests the combination of a ConstraintHandlersConfigElement with another that
contains modified data.
|
void |
testConstraintHandlerElementShouldHaveNoChildren() |
void |
testReadConstraintHandlersFromConfigXml() |
assertFileIsValid, getResourcesDir, initXMLConfigService, initXMLConfigService, initXMLConfigServicecountTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, 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, formatprotected org.springframework.extensions.config.xml.XMLConfigService configService
protected org.springframework.extensions.config.Config globalConfig
protected org.springframework.extensions.config.ConfigElement globalDefaultControls
protected org.springframework.extensions.config.ConfigElement globalConstraintHandlers
protected FormsConfigElement formsConfigElement
protected FormConfigElement defaultFormConfigElement
protected DefaultControlsConfigElement defltCtrlsConfElement
protected java.lang.String getConfigXmlFile()
public void testReadConstraintHandlersFromConfigXml()
public void testConstraintHandlerElementShouldHaveNoChildren()
public void testCombineConstraintHandlersWithAddedParam()
public void testCombineConstraintHandlersWithModifiedParam()
public void testCombineConstraintHandlersWithDeletedParam()
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.ExceptionTestCase.setUp()Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.