geronimo-dev mailing list archives

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

                 Key: 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
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.

View raw message