Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 147591 Details for
Bug 289894
Need to merge Oracle proxy authentication tests into the JPA LRG
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch file
289894.patch (text/plain), 5.18 KB, created by
Edwin Tang
on 2009-09-18 15:04:20 EDT
(
hide
)
Description:
patch file
Filename:
MIME Type:
Creator:
Edwin Tang
Created:
2009-09-18 15:04:20 EDT
Size:
5.18 KB
patch
obsolete
>Index: jpa/eclipselink.jpa.test/build.xml >=================================================================== >--- jpa/eclipselink.jpa.test/build.xml (revision 5174) >+++ jpa/eclipselink.jpa.test/build.xml (working copy) >@@ -111,6 +111,14 @@ > <contains string="${db.driver}" substring="oracle"/> > </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> >+ > <!-- This checks if the Apllication Server is WebSphere --> > <condition property="is.websphere"> > <contains string="${server.name}" substring="websphere"/> >@@ -683,10 +691,11 @@ > <param name="RUN_PATH" value="run.classpath"/> > <param name="DB_URL" value="${db.url}"/> > </antcall> >+ <antcall target="test-oracle-proxy" inheritRefs="true"/> > </target> > >- <!-- Runs JPA Oracle-specific tests. --> >- <target name="test-oracle-proxy" if="is.oracle" depends="clean-test, config-trunk, config-flat"> >+ <!-- Oracle proxy authentication needs to be setup for the tests. --> >+ <target name="test-oracle-proxy" if="is.ready.for.proxy.authentication" depends="clean-test, config-trunk, config-flat"> > <antcall target="run-test" inheritRefs="true"> > <param name="TEST_CLASS" value="org.eclipse.persistence.testing.tests.jpa.proxyauthentication.ProxyAuthenticationServerTestSuite"/> > <param name="TEST_AGENT" value="${test.agent}"/> >@@ -939,6 +948,7 @@ > </condition> > > <junit printsummary="yes" haltonfailure="yes" fork="yes" showoutput="true" maxmemory="512m" dir="${eclipselink.jpa.test}/${run.dir}"> >+ <sysproperty key="proxy.user.name" value="${oracle.proxy.user}"/> > <jvmarg value="${TEST_AGENT}"/> > <jvmarg value="${TEST_WEAVING}"/> > <jvmarg value="${ORM_TESTING}"/> >@@ -1414,7 +1424,7 @@ > <echo>Running test ${EAR_NAME} on ${server.name}</echo> > <mkdir dir="${eclipselink.jpa.test}/${report.dir}"/> > <junit printsummary="yes" haltonfailure="yes" failureproperty="junit.failed" fork="yes" showoutput="true" maxmemory="256m" dir="${run.dir}"> >- <sysproperty key="proxy.user.name" value="${proxy.user.name}"/> >+ <sysproperty key="proxy.user.name" value="${oracle.proxy.user}"/> > <sysproperty key="server.platform" value="${server.platform}"/> > <sysproperty key="server.user" value="${server.user}"/> > <sysproperty key="server.password" value="${server.pwd}"/> >@@ -1511,13 +1521,11 @@ > <antcall target="server-test-validation" inheritRefs="true"/> > <antcall target="server-test-xml-mergeinherited" inheritRefs="true"/> > <antcall target="server-test-xmltest" inheritRefs="true"/> >+ <!-- The following models are oracle specific --> > <antcall target="server-test-oracle-timestamptz" inheritRefs="true"/> > <antcall target="server-test-custom-features" inheritRefs="true"/> > <antcall target="server-test-struct-converter" inheritRefs="true"/> >- <antcall target="generate-servertest-report" inheritRefs="true"/> >- </target> >- >- <target name="server-test-oracle-proxy" depends="clean-test"> >+ <!-- Oracle proxy authentication needs to be setup properly for the following model --> > <antcall target="server-test-proxy-authentication" inheritRefs="true"/> > <antcall target="generate-servertest-report" inheritRefs="true"/> > </target> >@@ -1846,7 +1854,7 @@ > </antcall> > </target> > >- <target name="server-test-custom-features" if="run.jpa.customfeatures.model"> >+ <target name="server-test-custom-features" if="run.jpa.customfeatures.model" if="is.oracle"> > <antcall target="server-run-all" inheritRefs="true"> > <param name="PERSISTENCE_UNIT_NAME" value="customfeatures"/> > <param name="MODEL_DIR" value="org/eclipse/persistence/testing/models/jpa/customfeatures"/> >@@ -1884,7 +1892,7 @@ > </antcall> > </target> > >- <target name="server-test-proxy-authentication" if="is.oracle"> >+ <target name="server-test-proxy-authentication" if="is.ready.for.proxy.authentication"> > <antcall target="server-run-all" inheritRefs="true"> > <param name="PERSISTENCE_UNIT_NAME" value="proxyauthentication"/> > <param name="MODEL_DIR" value="org/eclipse/persistence/testing/models/jpa/proxyauthentication"/> >Index: jpa/eclipselink.jpa.test/test.properties >=================================================================== >--- jpa/eclipselink.jpa.test/test.properties (revision 5174) >+++ jpa/eclipselink.jpa.test/test.properties (working copy) >@@ -64,6 +64,9 @@ > # db.user=scott > # db.pwd=tiger > # db.platform=org.eclipse.persistence.platform.database.OraclePlatform >+## Oracle proxy authentication needs to be setup to run proxy authentication tests >+# oracle.proxy.user=PAS_PROXY >+# oracle.proxy.authentication.is.setup=false > > ## MySQL > # jdbc.driver.jar=${extensions.depend.dir}/mysql-connector-java-5.0.7-bin.jar
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 289894
: 147591