Bug 117557 - BaseTestSetup doesn't transitively add required initializers
Summary: BaseTestSetup doesn't transitively add required initializers
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: other
Version: nightly
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-05 11:58 UTC by Daniel Berrangé
Modified: 2007-04-18 17:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-02 17:36:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2004-03-05 11:58:12 UTC
Description of problem:
The BaseTestSetup class allows specification of required initializers,
 however, it does not use the init_requirements table to transitively
add the dependant intiializers. This makes it very tedious / error
prone to write unit tests for custom applications since you've got to
make sure you keep your unit test in sync with the <applcation>.load
file & all the dependant .load files.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a TestSetup class for 'Dublin Core' application
2. Add the 'com.arsdigita.london.cms.dublin.Initializer' class as a
requirement
3. Run the tests
  
Actual results:
Only Core & Dublin intiializers are run.

Expected results:
All dependant initializers are run, ie Core, CMS, AtoZ, Dublin, Terms,
Navigation, Util.


Additional info:

Comment 1 Daniel Berrangé 2006-09-02 17:36:13 UTC
Closing old tickets



Note You need to log in before you can comment on or make changes to this bug.