Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests in ejb30/lite/stateful/concurrency/metadata/descriptor (#1035)
* new client and separare folder for ejblitejsf tests in ejb30/lite/stateful/concurrency/metadata/descriptor * correct the package name ejb30/lite/stateful/concurrency/metadata/jsfdescriptor
- Loading branch information
1 parent
e9fc4fa
commit 3211926
Showing
5 changed files
with
99 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
src/com/sun/ts/tests/ejb30/lite/stateful/concurrency/metadata/jsfdescriptor/build.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2022 Oracle and/or its affiliates. All rights reserved. | ||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0, which is available at | ||
http://www.eclipse.org/legal/epl-2.0. | ||
This Source Code may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the | ||
Eclipse Public License v. 2.0 are satisfied: GNU General Public License, | ||
version 2 with the GNU Classpath Exception, which is available at | ||
https://www.gnu.org/software/classpath/license.html. | ||
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | ||
--> | ||
|
||
<project name="ejb3 lite" basedir="." default="usage"> | ||
<import file="../../../../../common/import.xml"/> | ||
<property name="app.name" value="ejblite_stateful_concurrency_metadata_jsfdescriptor"/> | ||
<property name="app.common" value="com/sun/ts/tests/ejb30/lite/stateful/concurrency/metadata/common"/> | ||
<property name="app.common.2" value="com/sun/ts/tests/ejb30/lite/stateful/concurrency/common"/> | ||
|
||
<target name="package"> | ||
<ts.vehicles name="${app.name}" buildleveloverride="2" classes=" | ||
com/sun/ts/tests/ejb30/common/helper/ServiceLocator.class, | ||
com/sun/ts/tests/ejb30/lite/stateful/concurrency/common/Pinger.class, | ||
com/sun/ts/tests/ejb30/lite/stateful/concurrency/common/StatefulConcurrencyIF.class, | ||
com/sun/ts/tests/ejb30/lite/stateful/concurrency/common/StatefulConcurrencyJsfClientBase.class, | ||
com/sun/ts/tests/ejb30/lite/stateful/concurrency/metadata/common/JsfClientBase.class, | ||
com/sun/ts/tests/ejb30/lite/stateful/concurrency/metadata/common/StatefulConcurrencyBeanBase.class | ||
"> | ||
</ts.vehicles> | ||
</target> | ||
</project> |
58 changes: 58 additions & 0 deletions
58
src/com/sun/ts/tests/ejb30/lite/stateful/concurrency/metadata/jsfdescriptor/ejb-jar.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2022 Oracle and/or its affiliates. All rights reserved. | ||
This program and the accompanying materials are made available under the | ||
terms of the Eclipse Public License v. 2.0, which is available at | ||
http://www.eclipse.org/legal/epl-2.0. | ||
This Source Code may also be made available under the following Secondary | ||
Licenses when the conditions for such availability set forth in the | ||
Eclipse Public License v. 2.0 are satisfied: GNU General Public License, | ||
version 2 with the GNU Classpath Exception, which is available at | ||
https://www.gnu.org/software/classpath/license.html. | ||
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | ||
--> | ||
|
||
<ejb-jar xmlns="https://jakarta.ee/xml/ns/jakartaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
version="4.0" xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/ejb-jar_4_0.xsd"> | ||
<enterprise-beans> | ||
<session> | ||
<ejb-name>DefaultConcurrencyBean</ejb-name> | ||
<business-local>com.sun.ts.tests.ejb30.lite.stateful.concurrency.common.StatefulConcurrencyIF</business-local> | ||
<local-bean /> | ||
<ejb-class>com.sun.ts.tests.ejb30.lite.stateful.concurrency.metadata.common.StatefulConcurrencyBeanBase</ejb-class> | ||
<session-type>Stateful</session-type> | ||
</session> | ||
<session> | ||
<ejb-name>ContainerConcurrencyBean</ejb-name> | ||
<business-local>com.sun.ts.tests.ejb30.lite.stateful.concurrency.common.StatefulConcurrencyIF</business-local> | ||
<local-bean /> | ||
<ejb-class>com.sun.ts.tests.ejb30.lite.stateful.concurrency.metadata.common.StatefulConcurrencyBeanBase</ejb-class> | ||
<session-type>Stateful</session-type> | ||
<concurrency-management-type>Container</concurrency-management-type> | ||
</session> | ||
<session> | ||
<ejb-name>NotAllowedConcurrencyBean</ejb-name> | ||
<business-local>com.sun.ts.tests.ejb30.lite.stateful.concurrency.common.StatefulConcurrencyIF</business-local> | ||
<local-bean /> | ||
<ejb-class>com.sun.ts.tests.ejb30.lite.stateful.concurrency.metadata.common.StatefulConcurrencyBeanBase</ejb-class> | ||
<session-type>Stateful</session-type> | ||
<concurrent-method> | ||
<method> | ||
<method-name>ping</method-name> | ||
<method-params/> | ||
</method> | ||
<lock>Write</lock> | ||
<access-timeout> | ||
<timeout>0</timeout> | ||
<unit>Nanoseconds</unit> | ||
</access-timeout> | ||
</concurrent-method> | ||
|
||
</session> | ||
</enterprise-beans> | ||
</ejb-jar> |