geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Quintin Beukes (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-4937) Geronimo Testsuite Test for Singletons
Date Wed, 28 Oct 2009 21:59:59 GMT

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

Quintin Beukes updated GERONIMO-4937:
-------------------------------------

    Attachment: testsuite-singleton.patch

Attached the patch to update the testsuite as well as create new files. If new files are preferred
in an archive, just let me know.

> Geronimo Testsuite Test for Singletons
> --------------------------------------
>
>                 Key: GERONIMO-4937
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4937
>             Project: Geronimo
>          Issue Type: Test
>      Security Level: public(Regular issues) 
>          Components: OpenEJB, testsuite
>    Affects Versions: 2.2
>            Reporter: Quintin Beukes
>             Fix For: 2.2
>
>         Attachments: testsuite-singleton.patch
>
>
> Created a Singleton test in the ejb-tests test suite.
> Tests local + remote invocations.
> Tests @Startup, @DependsOn and @PostConstruct annotations.
> Tests Remote invocations through InitialContext
> Tests Local invocations through injected beans in a Servlet and in another Singleton
EJB.
> Patch was generated from branches/2.2 by doing "svn add" on all the new files, and then
doing:
> svn diff testsuite/enterprise-testsuite/ejb-tests
> Tested the patch on a clean checkout, by running from the root of the the branches/2.2
working copy:
> patch -i testsuite-singleton.patch
> It asked for "paths to file" on 2 of the entries, for which I just copied/pasted the
exact path it suggests. From here I did a "mvn clean install" on the test suite and all tests
succeeded.
> Validated the changes to the tests by changed some of the code to ensure tests fail.

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


Mime
View raw message