You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2009/11/27 21:20:20 UTC

[jira] Closed: (GERONIMO-4937) Geronimo Testsuite Test for Singletons

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

David Jencks closed GERONIMO-4937.
----------------------------------

    Resolution: Fixed

patch applied to 2.2 in rev 884982.  Would be great to port to trunk...

> 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
>            Assignee: David Jencks
>             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.