Chris,

Could you please get a fresh cvs co and try again before doing so.
The test runs fine for me.

Im running 'build unittest' from the old build. 
Not sure how to run it from maven.

Here is what I get from the TestRegistryCategories unit test:

    [junit] Running
org.apache.jetspeed.services.registry.TestRegistryCategories

    [junit] Group: [Jetspeed]
    [junit] ....Cat: [rss]
    [junit] ........Apacheweek
    [junit] ........Mozilla
    [junit] ........XMLHack
    [junit] ........AdminInfo
    [junit] ........RSS
    [junit] ........Jetspeed
    [junit] [RSS] count = 6
    [junit] ------------------
    [junit] [Everything] count = 106
    [junit] ------------------
    [junit] [General] count = 8
    [junit] ------------------
    [junit] [base][xml.rss] count = 0
    [junit] ------------------
    [junit] [] count = 106
    [junit] ------------------
    [junit] [][] count = 106
    [junit] ------------------
    [junit] [Jetspeed][] count = 106
    [junit] ------------------
    [junit] [news] count = 4
    [junit] ------------------
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.19 sec
    [junit] Testsuite:
org.apache.jetspeed.services.registry.TestRegistryCategor
ies
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.19 sec
    [junit]
    [junit] Testcase: testCategories took 0.19 sec

Regards,

David

> -----Original Message-----
> From: Chris Kimpton [mailto:[EMAIL PROTECTED]] 
> Sent: Saturday, April 06, 2002 1:45 AM
> To: [EMAIL PROTECTED]
> Subject: Running unittest target - errors in TestRegistryCategories
> 
> 
> Hi,
> 
> I am getting errors in this junit test.
> 
> Mainly due to it finding less than its expecting - has this 
> been working recently?
> 
> For example, it expects 6 portlets with category 'rss'- but I 
> can only find 2 in the portlets.xreg and demo-portlets.xreg 
> files - and this is what the test is finding...
> 
> I plan to change it to match what I am finding in the registry files.
> 
> OK?
> 
> Once I get clean test runs on these, I plan to move the junit 
> test classes into a parallel test source tree in src/test, 
> rather than src/java... to match the maven standard.
> 
> Chris
> 
> =====
> ------------------------------------------
> http://www.soccer2002.org.uk
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax 
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to