jakarta-ecs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertdon...@mac.com>
Subject Re: test case
Date Sun, 01 Jul 2001 22:08:59 GMT
On Sunday, June 10, 2001, at 11:27 PM, Jon Stevens wrote:

> on 6/10/01 3:21 PM, "robert burrell donkin" <robertdonkin@mac.com> 
> wrote:
>> what about building this test directory?
>> should i add additional tasks into the build-ecs.xml or is there a
>> better way?
>> - robert
> Make another .xml file and then call that XML file. Take a look at how
> Velocity does the test suite.

i have now managed to create a junit-based test for the international 
character encoding problem bug. creating a reasonable test was actually 
a little tricky but i think it was worth the work since some of the code 
might be useful elsewhere.

since there's quite a lot of changes needed, here's an outline of the 
additions i'd like to make

1. replaced ant-1.2 with ant-1.3.1 in bin
2. added jakarta-ant-optional.jar and junit-3.2.jar into lib
3. created new test directory.
4. added the classes i need to test for the international character set 
problem under org/apache/ecs.
5. added a new ant build file - testcases.xml - into the build directory 
which compiles the test classes under bin/test, jar's them into ecs-
test.jar and then runs the junit test tasks
6. added an antcall a complete test task into build-ecs.xml

does anyone have any improvements or objections?

or shall i go ahead and commit these changes?

- robert

To unsubscribe, e-mail: ecs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-dev-help@jakarta.apache.org

View raw message