harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivaschenko, Aleksei V (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3597) [testing] Apache Struts2 on Tomcat automated test scenario for B&T 2.0 infrastructure
Date Thu, 31 May 2007 17:04:21 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Ivaschenko, Aleksei V updated HARMONY-3597:

    Attachment: struts.patch

Looks like complete change of EOL characters doesn't solve the problem, because initially
some etalon files contained different EOL characters even within one file. I've fixed this
problem by implementing EOL-insensitive comparision in scenario. The fix is in attached patch.
The attached patch also contains fixes for 2 more issues:
1) restoring original bootclasspath.properties in case if scenario fails,
2) removing generated files from tests/ directory.

P.S. It's not safe to change DRLVM's bootclasspath.properties, I'll try to find more safe

> [testing] Apache Struts2 on Tomcat automated test scenario for B&T 2.0 infrastructure
> -------------------------------------------------------------------------------------
>                 Key: HARMONY-3597
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3597
>             Project: Harmony
>          Issue Type: Test
>          Components: build - test - ci
>            Reporter: Vladimir Molotkov
>            Assignee: Stepan Mishura
>            Priority: Minor
>         Attachments: struts.patch, struts_test.zip, struts_test.zip
> I've created automated test scenario for Apache Struts 2 Java web application framework
testing. The scenario should be integrated into new build-test infrastructure proposed in
> https://issues.apache.org/jira/browse/HARMONY-3501 
> The scenario starts Jacarta Tomcat server with Struts 2 demo application 'Showcase' (deployed
during test's setup phase) on tested JRE. Then it starts test driver (client) using any stable
JDK. Test driver performs test scenario interacting with anchors/forms it receives from the
server and comparing the server responses with pregenerated (using JDK 1.5.0_06) 'golden'
data. Tested JRE and stable JDK locations can be specified using test's 'parameters.xml' file.
> The bundle contains sources required for building the executables, server setup and test
run. The files in the bundle should be placed into adapters/ and tests/ directories proposed
in new BT infrastructure. Just unzip the bundle into the root dir of the new buildtest and
follow instructions in README in the HARMONY-3501. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message