Bug 289894

Summary: Need to merge Oracle proxy authentication tests into the JPA LRG
Product: z_Archived Reporter: Edwin Tang <edwin.tang>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: yiping.zhao
Version: unspecifiedKeywords: test
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch file none

Description Edwin Tang CLA 2009-09-18 14:51:49 EDT
Since Oracle proxy authentication tests have special setting requirement, the tests are separated from the JPA LRG. We may merge the tests into the JPA LRG, and introduce a flag to indicate if Oracle database is setup for the tests. The tests will be run along with the JPA LRG, if the Oracle db is setup properly. Thus, it will save a lot of time to run all JPA tests, specially on servers.
Comment 1 Edwin Tang CLA 2009-09-18 15:04:20 EDT
Created attachment 147591 [details]
patch file

Change Summary:
1. Introduced 2 properties in trunk/jpa/eclipselink.jpa.test/test.properties
## Oracle proxy authentication needs to be setup to run proxy authentication tests
# oracle.proxy.user=PAS_PROXY
# oracle.proxy.authentication.is.setup=false

2. Introduced the following condition
    <!-- This checks if the environment is ready for proxy authentication tests -->
    <condition property="is.ready.for.proxy.authentication">
        <and>
            <isset property="is.oracle"/>
            <contains string="${oracle.proxy.authentication.is.setup}" substring="true"/>
        </and>
    </condition>
3. Oracle proxy authentication tests run only if property  is.ready.for.proxy.authentication is true

4. Oracle proxy authentication tests are added in targets <test-lrg>, <test-oracle> and <server-test-lrg>
Comment 2 Edwin Tang CLA 2009-09-18 15:08:18 EDT
The patch has been checked in the trunk at revision 5182
Code reviewed by: Yiping Zhao
Comment 3 Edwin Tang CLA 2009-09-18 15:18:33 EDT
The patch has been checked in 1.1.0 branch at revision 5183
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:25:41 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink