[dna-issues] [JBoss JIRA] Updated: (DNA-488) Revamp TCK testing infrastructure to support running against multiple configurations

Brian Carothers (JIRA) jira-events at lists.jboss.org
Sun Jul 12 19:58:29 EDT 2009


     [ https://jira.jboss.org/jira/browse/DNA-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Carothers updated DNA-488:
--------------------------------

    Attachment: DNA-488.patch


Attached patch that renames InMemoryRepositoryStub to DnaRepositoryStub and changes its behavior to allow it to load from one of multiple configurations.

The configurations expect a certain file structure in the src/test/resources folder:

repositoryStubImpl.properties - the default properties to use for initializing the TCK tests.  The JR TCK tests hardcode this lookup, causing all of the other complications
tck/repositoryForTckTests.xml - the data load for the repository tests.  This cannot currently be overridden in a per-config file.
tck/tck_test_types.cnd - the CND definition for the extra node types needed for the TCK tests
tck/<configurationName>/configRepository.xml - The DNA repository configuration to use for a particular TCK configuration
tck/<configurationName>/repositoryOverlay.properties - Properties file containing any properties for the DNA configuration that should override defaults in repositoryStubImpl.properties

The default in-memory test has been migrated over to this new structure and runs successfully.


> Revamp TCK testing infrastructure to support running against multiple configurations
> ------------------------------------------------------------------------------------
>
>                 Key: DNA-488
>                 URL: https://jira.jboss.org/jira/browse/DNA-488
>             Project: DNA
>          Issue Type: Sub-task
>          Components: JCR, Testing
>    Affects Versions: 0.5
>            Reporter: Brian Carothers
>         Attachments: DNA-488.patch
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the dna-issues mailing list