Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample191.wsdl')
-rw-r--r--tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample191.wsdl38
1 files changed, 0 insertions, 38 deletions
diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample191.wsdl b/tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample191.wsdl
deleted file mode 100644
index 6f3d0f700..000000000
--- a/tests/org.eclipse.wst.wsdl.tests.performance/data/1000WSDLsXSDDepends/sample191.wsdl
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<wsdl:definitions name="sample" targetNamespace="http://www.example.org/sample191" xmlns:tns="http://www.example.org/sample191" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
-<wsdl:types>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/sample191">
-<xsd:element name="NewOperationResponse" type="xsd:string"/><xsd:element name="NewOperationRequest" type="xsd:string"/></xsd:schema>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.sample.org/sample191"><xsd:import namespace="http://www.sample.org/93" schemaLocation="sample93.xsd"/>
-</xsd:schema>
-</wsdl:types>
-<wsdl:message name="NewOperationResponse">
-<wsdl:part name="NewOperationResponse" element="tns:NewOperationResponse"/>
-</wsdl:message>
-<wsdl:message name="NewOperationRequest">
-<wsdl:part name="NewOperationRequest" element="tns:NewOperationRequest"/>
-</wsdl:message>
-<wsdl:portType name="sample">
-<wsdl:operation name="NewOperation">
-<wsdl:input message="tns:NewOperationRequest"/>
-<wsdl:output message="tns:NewOperationResponse"/>
-</wsdl:operation>
-</wsdl:portType>
-<wsdl:binding name="sampleSOAP" type="tns:sample">
-<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
-<wsdl:operation name="NewOperation">
-<soap:operation soapAction="http://www.example.org/sample/NewOperation"/>
-<wsdl:input>
-<soap:body use="literal" parts=" NewOperationRequest"/>
-</wsdl:input>
-<wsdl:output>
-<soap:body use="literal" parts=" NewOperationResponse"/>
-</wsdl:output>
-</wsdl:operation>
-</wsdl:binding>
-<wsdl:service name="sample">
-<wsdl:port name="sampleSOAP" binding="tns:sampleSOAP">
-<soap:address location="http://www.example.org/"/>
-</wsdl:port>
-</wsdl:service>
-</wsdl:definitions> \ No newline at end of file

Back to the top

c/jeetools/webtools.javaee.tests.git/diff/tests/org.eclipse.jst.j2ee.core.tests.performance/build.properties?h=R_1_2_0_RC2-20060530_1400'>tests/org.eclipse.jst.j2ee.core.tests.performance/build.properties7
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests.performance/plugin.xml26
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests.performance/src/org/eclipse/jst/j2ee/core/tests/performance/AllCorePerformanceTests.java79
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests.performance/src/org/eclipse/jst/j2ee/core/tests/performance/CorePerformanceTestPlugin.java72
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests.performance/test.xml51
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests.performance/testcase.xml47
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/.classpath8
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/.cvsignore5
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/.project27
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/about.html34
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/build.properties11
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/build/buildcontrol.properties6
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/build/package.xml20
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/build/wsBuild.xml41
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/.cvsignore2
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/application-client.xml142
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/application.xml54
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/ejb-jar.xml2869
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/ra.xml102
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/web.xml1284
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/application-client.xml142
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/application.xml54
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar.xml1864
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar1-1.xml2831
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar2-0.xml2818
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar2-0sax.xml2859
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ra.xml103
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/web.xml1285
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/.metadata/.plugins/com.ibm.etools.j2ee/looseApp.xmi8
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/.metadata/.plugins/com.ibm.etools.j2ee/looseConfig.xmi10
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/META-INF/application.xml7
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/fooRAR/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/fooRAR/META-INF/ra.xml103
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/.modulemaps9
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/application.xml13
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/ibm-application-ext.xmi10
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/META-INF/application.xml7
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/fooAPP/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/fooAPP/META-INF/application-client.xml272
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.classpath7
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.j2ee4
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.project41
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.runtime2
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/MANIFEST.MF3
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ejb-jar.xml19
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ibm-ejb-jar-bnd.xmi7
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ibm-ejb-jar-ext.xmi4
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMP.classbin135 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPBean.classbin2291 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPHome.classbin417 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPKey.classbin831 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ejb-jar.xml35
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ibm-ejb-jar-bnd.xmi11
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ibm-ejb-jar-ext.xmi4
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMP.java6
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPBean.java97
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPHome.java14
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPKey.java39
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Bean.java72
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Key.java38
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Local.java6
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1LocalHome.java16
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Bean.java72
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Key.java38
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Local.java6
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2LocalHome.java16
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/.classpath11
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/.websettings4
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/source/com/ibm/test/web/C.java14
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/META-INF/MANIFEST.MF3
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/classes/com/ibm/test/web/C.classbin384 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/ibm-web-bnd.xmi3
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/ibm-web-ext.xmi10
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/web.xml13
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/.classpath6
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/bin/com/ibm/test/A.classbin376 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/src/com/ibm/test/A.java14
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/.classpath6
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/bin/com/ibm/web/test/B.classbin384 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/src/com/ibm/web/test/B.java14
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/boo.jar/META-INF/MANIFEST.MF4
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/foobar.jar0
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/readme.txt1
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllDOMTests.java64
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllSAXTests.java64
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllTests.java33
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AppClientEMFEditTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AppClientEMFTest.java141
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EarEMFEditTest.java142
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EarEMFTest.java186
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EjbEMFEditTest.java341
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EjbEMFTest.java364
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/GeneralEMFEditingTest.java459
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/GeneralEMFPopulationTest.java457
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/RarEMFEditTest.java88
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/RarEMFTest.java158
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/ResolverTest.java290
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WarEMFEditTest.java163
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WarEMFTest.java234
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WebServicesEMFTest.java222
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AbstractArchiveTest.java84
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AllArchiveTestsEclipse.java20
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AllArchiveTestsJava.java58
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/ClientContainerResourceLoadTest.java106
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/CopyTests.java234
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DefectVerificationTests.java389
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DiscriminatorTest.java107
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DomComparitor.java285
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/InitializationTests.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/JavaTests.java61
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/LooseArchiveTests.java282
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/RarFileTests.java207
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/ResourceTests.java112
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SaveTests.java106
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SecurityRoleTests.java119
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SimpleTests.java433
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/TestInvalidXmlMultiplicity.java79
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/TestModuleClassLoading.java98
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/WARFileTests.java108
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/EAttributeDescriptor.java70
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/EMFAttributeFeatureGenerator.java413
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/J2EEVersionCheck.java199
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/TestUtilities.java115
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/core/tests/bvt/AutomatedBVT.java68
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/core/tests/bvt/AutomatedBVTEclipse.java34
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/emfload/LoadJaxRPCMapOutsideWorkspace.java86
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/emfload/LoadWebServicesOutsideWorkspace.java83
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/application/test/ApplicationFactoryTest.java76
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/application/test/ApplicationTest.java237
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/client/test/ApplicationClientTest.java185
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/client/test/ClientFactoryTest.java37
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/CommonFactoryTest.java218
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/CompatibilityDescriptionGroupTest.java99
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/EjbRefTest.java257
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/ListenerTest.java56
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/QNameTest.java96
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CommonExample.java128
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CommonTests.java49
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CompatibilityDescriptionGroupTest.java70
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DescriptionGroupTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DescriptionTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DisplayNameTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EJBLocalRefTest.java70
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EjbRefTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EnvEntryTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/IconTypeTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/IdentityTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/JNDIEnvRefsGroupTest.java38
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ListenerTest.java70
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/MessageDestinationRefTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/MessageDestinationTest.java70
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ParamValueTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/QNameTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ResourceEnvRefTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ResourceRefTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/RunAsSpecifiedIdentityTest.java70
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityIdentityTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityRoleRefTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityRoleTest.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/UseCallerIdentityTest.java70
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/api/test/AllCoreAPITests.java33
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/api/test/AutomatedAPIBVT.java64
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/tests/api/AllAPITest.java86
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/AssemblyDescriptorTest.java220
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/CMPAttributeTest.java186
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/CMRFieldTest.java87
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/ContainerManagedEntityTest.java388
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBJarTest.java589
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBRelationTest.java154
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBRelationshipRoleTest.java307
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EjbEMFTestBase.java50
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EjbFactoryTest.java275
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EntityTest.java142
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodElementTest.java517
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodPermissionTest.java187
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodTransactionTest.java160
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/QueryMethodTest.java96
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/QueryTest.java130
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/SessionTest.java116
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jca/test/ConnectorTest.java45
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jca/test/JcaFactoryTest.java159
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jsp/test/JspFactoryTest.java56
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webapplication/test/WebapplicationFactoryTest.java281
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webservice/wscommon/test/WscommonFactoryTest.java82
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webservice/wsdd/test/WsddFactoryTest.java101
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/out.xmi110
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/plugin.xml28
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/test.xml58
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/MANIFEST.MF5
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/Table.ddl13
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/Map.mapxmi34
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/Table.ddl13
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB.dbxmi6
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID.schxmi5
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi27
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/ibm_pmbab.properties2
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ejb-jar.xml77
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-bnd.xmi14
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-ext-pme.xmi34
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-ext.xmi22
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/META-INF/ejb-jar.xml16
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1.classbin117 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1Bean.classbin925 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1Home.classbin240 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/sl/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/sl/META-INF/ejb-jar.xml15
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1.classbin117 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1Bean.classbin925 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1Home.classbin240 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/AnnuityServices_mapping.xml461
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/ibm-webservices-bnd.xmi7
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/ibm-webservices-ext.xmi6
-rw-r--r--tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/webservices.xml21
-rw-r--r--tests/org.eclipse.jst.j2ee.tests.performance/.classpath7
-rw-r--r--tests/org.eclipse.jst.j2ee.tests.performance/.cvsignore4
-rw-r--r--tests/org.eclipse.jst.j2ee.tests.performance/.project28
-rw-r--r--tests/org.eclipse.jst.j2ee.tests.performance/about.html34
-rw-r--r--tests/org.eclipse.jst.j2ee.tests.performance/build.properties5
-rw-r--r--tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/BasePerformanceTestCase.java166
-rw-r--r--tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformancePlugin.java72
-rw-r--r--tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformanceTestCaseWrapper.java159
-rw-r--r--tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformanceTestObject.java47
-rw-r--r--tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/TestCaseSAXParser.java139
-rw-r--r--tests/org.eclipse.jst.j2ee.tests.performance/plugin.xml24
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/.classpath12
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/.cvsignore4
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/.project28
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/DefectTestData/BeenThere.earbin96578 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/DefectTestData/Collision.earbin3048 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Client.jarbin1213 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Connector.rarbin608 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158EJB.jarbin644 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Util.jarbin1754 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Web.warbin843 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/META-INF/application.xml20
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/DefectTestData/EJBLocalAndRemoteRefEARWithClientJars.earbin25120 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/DefectTestData/sib.test.mediations.m5.JsMBR.earbin1253903 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/.cvsignore1
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/12AppClientTest.jarbin947 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/13AppClient.jarbin1297 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/13AppClientTest.jarbin933 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientExpTest.jarbin1331 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientNoSource.jarbin1540 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientSomeSource.jarbin2136 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientSource.jarbin2444 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/BindingsHelperTests/BindingsTestEAR.earbin4464 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/DefectTests/EJB100441NoClient.jarbin3079 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/SimpleEAR.earbin6085 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test12EJBEAR.earbin9063 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test12WEBEJBEAR.earbin15237 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test13EJBEAR.earbin11766 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test13WEBEJBEAR.earbin14410 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14EJBEAR.earbin10612 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14WEBEJBEAR.earbin14057 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14WEBEJBEARWithMetaData.earbin17158 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/UtilityJarTestEAR.earbin3810 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/UtilityJarWebLibWithMetaDataFilesEAR.earbin5775 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EJBImportTests/Test13EJB.jarbin14438 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/EJBImportTests/Test14EJB.jarbin9410 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/J2EEArtifactEditTestProjects.zipbin197813 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/TEST0_7.zipbin68263 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/perfWAR.zipbin701471 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/RARImportTests/JDEConnector.rarbin2753855 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/SaveStrategyTests/AppClient.zipbin1801 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/SaveStrategyTests/WarImportFlexProject.zipbin5902 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Example1.warbin1562 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test12Web.warbin2843 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test13Web.warbin2632 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test14Web.warbin3842 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebContainerClientApp.warbin24605 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebNoSource.warbin2413 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebSomeSource.warbin3130 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebSource.warbin3478 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/12AppClientTest_withoutSource.jarbin928 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/13AppClientTest_withoutSource.jarbin916 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/13AppClient_withoutSource.jarbin536 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientExpTest_withoutSource.jarbin564 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientNoSource_withoutSource.jarbin1525 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientSomeSource_withoutSource.jarbin847 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientSource_withoutSource.jarbin542 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.j2ee.tests/about.html34
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/build.properties18
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/defect-tests/org/eclipse/jst/j2ee/defect/tests/DefectVerificationTests.java213
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/defect-tests/org/eclipse/jst/j2ee/defect/tests/DefectVerificationTestsSuite.java29
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/AllTests.java33
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/EJBExportOperationTest.java95
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/EJBProjectCreationOperationTest.java75
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/StructureEditStressTest.java114
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBExportDataModelVerifier.java19
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBImportDataModelVerifier.java20
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBProjectCreationDataModelVerifier.java65
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/common/annotations/tests/AnnotationProviderTest.java39
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/common/annotations/tests/TestAnnotationProvider.java25
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/BarBindingsHelper.java23
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/BindingsHelperTest.java222
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/FooBindingsHelper.java22
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/TestBindingsHelper.java90
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/AppClientArtifactEditFVTest.java110
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/AppClientArtifactEditTest.java580
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/ConnectorArtifactEditFVTest.java113
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/ConnectorArtifactEditTest.java243
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EARArtifactEditTest.java338
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EJBArtifactEditFVTest.java107
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EJBArtifactEditTest.java334
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EarArtiFactEditFVTest.java115
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EnterpriseArtifactEditTest.java82
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/J2EEArtifactEditAPIAllTest.java34
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/JaxRPCMapArtifactEditFVTest.java78
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/Test0_7Workspace.java77
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/TestWorkspace.java115
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WSDDArtifactEditFVTest.java95
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WebArtifactEditFVTest.java152
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WebArtifactEditTest.java414
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/ArchiveComponentCreationTest.java106
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/EJBArtifactEditFvTest.java6
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/J2EEFlexProjDeployablePerfTest.java79
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/PortedComponentCreationTest.java156
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/ProjectMigrationTest.java94
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/tests/FlexibleProjectEditTest.java19
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/tests/Migrate07EJBTest.java83
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/project/facet/tests/EjbProjectFacetCreationTest.java33
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/project/facet/tests/ProjectFacetCreationTest.java79
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/bvt/AutomatedBVT.java63
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/bvt/AutomatedBVTEclipse.java34
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/AllTests.java52
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/FlexibleProjectBuilderTest.java260
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/ModuleStructuralModelTest.java409
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AllTests.java31
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AppClientExportOperationTest.java70
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AppClientProjectCreationOperationTest.java54
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/FlexibleAppClientModuleCreationTest.java48
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/AllTests.java32
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARExportOperationTest.java73
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARImportOperationTest.java306
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARProjectCreationOperationTest.java65
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/operations/ModuleExportOperationTestCase.java184
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/operations/ModuleProjectCreationOperationTest.java92
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/operations/RandomObjectGenerator.java101
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/AppClientExportDataModelVerifier.java18
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/AppClientImportDataModelVerifier.java17
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/AppClientProjectCreationDataModelVerifier.java59
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/DataModelVerifierFactory.java53
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/EARExportDataModelVerifier.java17
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/EARImportDataModelVerifier.java30
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/EARProjectCreationDataModelVerifier.java17
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/J2EEExportDataModelVerifier.java31
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/J2EEImportDataModelVerifier.java53
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/J2EEProjectCreationDataModelVerifier.java28
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/ModuleExportDataModelVerifier.java30
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/ModuleImportDataModelVerifier.java31
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/verifiers/ModuleProjectCreationDataModelVerifier.java29
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/plugin/AllPluginTests.java62
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/plugin/AllTestsSuite.java74
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/plugin/HeadlessTestsPlugin.java65
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/jcamodule-tests/org/eclipse/wtp/j2ee/headless/tests/jca/operations/AllTests.java31
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/jcamodule-tests/org/eclipse/wtp/j2ee/headless/tests/jca/operations/ConnectorProjectCreationOperationTest.java45
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/jcamodule-tests/org/eclipse/wtp/j2ee/headless/tests/jca/operations/RARExportOperationTest.java75
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/jcamodule-tests/org/eclipse/wtp/j2ee/headless/tests/jca/verifiers/JCAExportDataModelVerifier.java19
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/jcamodule-tests/org/eclipse/wtp/j2ee/headless/tests/jca/verifiers/JCAImportDataModelVerifier.java19
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/jcamodule-tests/org/eclipse/wtp/j2ee/headless/tests/jca/verifiers/JCAProjectCreationDataModelVerifier.java59
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/plugin.xml79
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/savestrategy-tests/org/eclipse/wtp/headless/tests/savestrategy/AllTests.java36
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/savestrategy-tests/org/eclipse/wtp/headless/tests/savestrategy/AppClientImportOperationTest.java33
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/savestrategy-tests/org/eclipse/wtp/headless/tests/savestrategy/AppClientSaveStrategyTests.java57
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/savestrategy-tests/org/eclipse/wtp/headless/tests/savestrategy/EJBImportOperationTest.java74
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/savestrategy-tests/org/eclipse/wtp/headless/tests/savestrategy/ModuleImportOperationTestCase.java161
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/savestrategy-tests/org/eclipse/wtp/headless/tests/savestrategy/RARImportOperationTest.java46
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/savestrategy-tests/org/eclipse/wtp/headless/tests/savestrategy/SaveStrategyTest.java127
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/savestrategy-tests/org/eclipse/wtp/headless/tests/savestrategy/ThreadingTest.java222
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/savestrategy-tests/org/eclipse/wtp/headless/tests/savestrategy/WebImportOperationTest.java63
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/savestrategy-tests/org/eclipse/wtp/headless/tests/savestrategy/WebSaveStrategyTests.java62
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/test.xml56
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/webmodule-tests/org/eclipse/wtp/j2ee/headless/tests/web/operations/AddServletOperationTest.java116
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/webmodule-tests/org/eclipse/wtp/j2ee/headless/tests/web/operations/AllTests.java78
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/webmodule-tests/org/eclipse/wtp/j2ee/headless/tests/web/operations/StaticWebProjectCreationOperationTest.java39
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/webmodule-tests/org/eclipse/wtp/j2ee/headless/tests/web/operations/WebExportOperationTest.java125
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/webmodule-tests/org/eclipse/wtp/j2ee/headless/tests/web/operations/WebProjectCreationOperationTest.java51
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/webmodule-tests/org/eclipse/wtp/j2ee/headless/tests/web/verifiers/WebExportDataModelVerifier.java19
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/webmodule-tests/org/eclipse/wtp/j2ee/headless/tests/web/verifiers/WebImportDataModelVerifier.java19
-rw-r--r--tests/org.eclipse.jst.j2ee.tests/webmodule-tests/org/eclipse/wtp/j2ee/headless/tests/web/verifiers/WebProjectCreationDataModelVerifier.java61
-rw-r--r--tests/org.eclipse.jst.servlet.tests/.classpath7
-rw-r--r--tests/org.eclipse.jst.servlet.tests/.cvsignore5
-rw-r--r--tests/org.eclipse.jst.servlet.tests/.project28
-rw-r--r--tests/org.eclipse.jst.servlet.tests/WARImportTests/Example1.warbin1562 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.servlet.tests/WARImportTests/Test12Web.warbin2843 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.servlet.tests/WARImportTests/Test13Web.warbin2632 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.servlet.tests/WARImportTests/Test14Web.warbin3842 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.servlet.tests/WARImportTests/YourCompanyExample.warbin888392 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.servlet.tests/about.html34
-rw-r--r--tests/org.eclipse.jst.servlet.tests/build.properties8
-rw-r--r--tests/org.eclipse.jst.servlet.tests/plugin.properties13
-rw-r--r--tests/org.eclipse.jst.servlet.tests/plugin.xml33
-rw-r--r--tests/org.eclipse.jst.servlet.tests/test.xml50
-rw-r--r--tests/org.eclipse.jst.servlet.tests/webmodule-tomcat-tests/org/eclipse/jst/servlet/tests/ServletTestsPlugin.java74
-rw-r--r--tests/org.eclipse.jst.servlet.tests/webmodule-tomcat-tests/org/eclipse/jst/servlet/tests/bvt/AutomatedBVT.java60
-rw-r--r--tests/org.eclipse.jst.servlet.tests/webmodule-tomcat-tests/org/eclipse/jst/servlet/tests/bvt/AutomatedBVTEclipse.java32
-rw-r--r--tests/org.eclipse.jst.servlet.tests/webmodule-tomcat-tests/org/eclipse/jst/servlet/tomcat/tests/AllTomcatTests.java55
-rw-r--r--tests/org.eclipse.jst.servlet.tests/webmodule-tomcat-tests/org/eclipse/jst/servlet/tomcat/tests/WebExportOperationTomcatTest.java93
-rw-r--r--tests/org.eclipse.jst.servlet.tests/webmodule-tomcat-tests/org/eclipse/jst/servlet/tomcat/tests/WebImportOperationTomcatTest.java71
-rw-r--r--tests/org.eclipse.jst.servlet.tests/webmodule-tomcat-tests/org/eclipse/jst/servlet/tomcat/tests/WebProjectCreationTomcatTest.java210
-rw-r--r--tests/org.eclipse.jst.validation.sample/.classpath10
-rw-r--r--tests/org.eclipse.jst.validation.sample/.cvsignore4
-rw-r--r--tests/org.eclipse.jst.validation.sample/.project30
-rw-r--r--tests/org.eclipse.jst.validation.sample/about.html34
-rw-r--r--tests/org.eclipse.jst.validation.sample/build.properties11
-rw-r--r--tests/org.eclipse.jst.validation.sample/filesystem.bat46
-rw-r--r--tests/org.eclipse.jst.validation.sample/filesystemFWK/filesystem.properties21
-rw-r--r--tests/org.eclipse.jst.validation.sample/filesystemFWK/org/eclipse/jst/validation/sample/filesystem/FilesystemApplication.java82
-rw-r--r--tests/org.eclipse.jst.validation.sample/filesystemFWK/org/eclipse/jst/validation/sample/filesystem/FilesystemLoader.java62
-rw-r--r--tests/org.eclipse.jst.validation.sample/filesystemFWK/org/eclipse/jst/validation/sample/filesystem/FilesystemManager.java220
-rw-r--r--tests/org.eclipse.jst.validation.sample/filesystemFWK/org/eclipse/jst/validation/sample/filesystem/FullReporter.java92
-rw-r--r--tests/org.eclipse.jst.validation.sample/filesystemFWK/org/eclipse/jst/validation/sample/filesystem/IFilesystemHelper.java34
-rw-r--r--tests/org.eclipse.jst.validation.sample/filesystemFWK/org/eclipse/jst/validation/sample/filesystem/IncrementalReporter.java168
-rw-r--r--tests/org.eclipse.jst.validation.sample/filesystemFWK/org/eclipse/jst/validation/sample/filesystem/MessageManager.java254
-rw-r--r--tests/org.eclipse.jst.validation.sample/filesystemFWK/org/eclipse/jst/validation/sample/filesystem/ValidatorMessages.java171
-rw-r--r--tests/org.eclipse.jst.validation.sample/plugin.xml79
-rw-r--r--tests/org.eclipse.jst.validation.sample/prop.bat45
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValFS/org/eclipse/jst/validation/sample/filesystemimpl/FilesystemPropertiesHelper.java203
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValWB/org/eclipse/jst/validation/sample/workbenchimpl/PluginPropertyFile.java232
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValWB/org/eclipse/jst/validation/sample/workbenchimpl/PropertiesHelper.java234
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValWB/org/eclipse/jst/validation/sample/workbenchimpl/PropertiesValidatorPlugin.java51
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/PModelEnum.java35
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/PropertiesValidator.java107
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/ValidatorPropertyFile.java115
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/parser/APropertyFile.java728
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/parser/CompareProperties.java377
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/parser/IValidationConstants.java46
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/parser/Main.java451
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/parser/MessageMetaData.java211
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/parser/PropertyFile.java106
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/parser/PropertyLine.java642
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/parser/PropertyLineComparator.java254
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/org/eclipse/jst/validation/sample/parser/ResourceHandler.java90
-rw-r--r--tests/org.eclipse.jst.validation.sample/propertiesValidator/propertiesValidator.properties41
-rw-r--r--tests/org.eclipse.jst.validation.sample/test/test.properties67
-rw-r--r--tests/org.eclipse.jst.validation.sample/test/test2.properties24
-rw-r--r--tests/org.eclipse.jst.validation.sample/tvtplugin.xml52
-rw-r--r--tests/org.eclipse.jst.validation.test/.classpath9
-rw-r--r--tests/org.eclipse.jst.validation.test/.cvsignore4
-rw-r--r--tests/org.eclipse.jst.validation.test/.project32
-rw-r--r--tests/org.eclipse.jst.validation.test/.settings/org.eclipse.jdt.core.prefs49
-rw-r--r--tests/org.eclipse.jst.validation.test/about.html34
-rw-r--r--tests/org.eclipse.jst.validation.test/build.properties11
-rw-r--r--tests/org.eclipse.jst.validation.test/build/buildcontrol.properties6
-rw-r--r--tests/org.eclipse.jst.validation.test/build/package.xml20
-rw-r--r--tests/org.eclipse.jst.validation.test/build/sourcejar.txt6
-rw-r--r--tests/org.eclipse.jst.validation.test/build/wsBuild.xml25
-rw-r--r--tests/org.eclipse.jst.validation.test/jUnitWrapper/org/eclipse/jst/validation/test/junit/AutomatedValidationBVT.java72
-rw-r--r--tests/org.eclipse.jst.validation.test/jUnitWrapper/org/eclipse/jst/validation/test/junit/BVTSuite.java85
-rw-r--r--tests/org.eclipse.jst.validation.test/jUnitWrapper/org/eclipse/jst/validation/test/junit/BuildInfo.java7
-rw-r--r--tests/org.eclipse.jst.validation.test/jUnitWrapper/org/eclipse/jst/validation/test/junit/JUnitBuffer.java123
-rw-r--r--tests/org.eclipse.jst.validation.test/jUnitWrapper/org/eclipse/jst/validation/test/junit/OperationSuite.java35
-rw-r--r--tests/org.eclipse.jst.validation.test/jUnitWrapper/org/eclipse/jst/validation/test/junit/OperationTest.java60
-rw-r--r--tests/org.eclipse.jst.validation.test/jUnitWrapper/org/eclipse/jst/validation/test/junit/ValidatorSuite.java40
-rw-r--r--tests/org.eclipse.jst.validation.test/jUnitWrapper/org/eclipse/jst/validation/test/junit/ValidatorTest.java60
-rw-r--r--tests/org.eclipse.jst.validation.test/plugin.xml443
-rw-r--r--tests/org.eclipse.jst.validation.test/test.xml65
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/api/test/ApiTestsSuite.java17
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/api/test/ValidationRegistryApiTest.java35
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/BVTValidationBatch.java107
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/BVTValidationException.java26
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/BVTValidationPlugin.java97
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/BufferedTaskStatus.java155
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/BuildInfo.java7
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/ConsoleBuffer.java103
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/ConsoleProgressMonitor.java74
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/IOperationRunnable.java15
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/TaskStatus.java269
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/ValidationTypeEnum.java23
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/registry/BVTValidationRegistryReader.java894
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/registry/BuildInfo.java7
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/registry/ITestcaseMetaData.java51
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/registry/MessageMetaData.java88
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/registry/MessageUtility.java713
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/registry/OperationTestcase.java81
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/registry/RegistryConstants.java37
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/registry/TestSetupImport.java107
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/registry/TestcaseMetaData.java160
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/registry/TestcaseUtility.java84
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/registry/ValidatorTestcase.java482
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/util/BVTRunner.java687
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/util/BVTValidationUtility.java253
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/util/BuildInfo.java7
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/internal/util/RunTestsOperation.java46
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/setup/AImportOperation.java113
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/setup/BuildInfo.java7
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/setup/CheckForUntestedPropertiesOperation.java148
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/setup/IBuffer.java53
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/setup/IImportOperation.java30
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/setup/ITestStatus.java56
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/setup/JARImportOperation.java183
-rw-r--r--tests/org.eclipse.jst.validation.test/test/org/eclipse/jst/validation/test/setup/TestCaseGeneratorOperation.java139
-rw-r--r--tests/org.eclipse.jst.validation.test/testFwk/org/eclipse/jst/validation/test/fwk/BuildInfo.java7
-rw-r--r--tests/org.eclipse.jst.validation.test/testFwk/org/eclipse/jst/validation/test/fwk/TestOpConstrBuilder.java38
-rw-r--r--tests/org.eclipse.jst.validation.test/testFwk/org/eclipse/jst/validation/test/fwk/TestOpConstrInputOperation.java260
-rw-r--r--tests/org.eclipse.jst.validation.test/testFwk/org/eclipse/jst/validation/test/fwk/TestOpConstrOperation.java619
-rw-r--r--tests/org.eclipse.jst.validation.test/testFwk/org/eclipse/jst/validation/test/fwk/VALFWK02Operation.java711
-rw-r--r--tests/org.eclipse.jst.validation.test/testFwk/org/eclipse/jst/validation/test/fwk/validator/FwkNoBuildTestHelper.java121
-rw-r--r--tests/org.eclipse.jst.validation.test/testFwk/org/eclipse/jst/validation/test/fwk/validator/FwkNoBuildTestValidator.java45
-rw-r--r--tests/org.eclipse.jst.validation.test/testFwk/org/eclipse/jst/validation/test/fwk/validator/FwkTestHelper.java121
-rw-r--r--tests/org.eclipse.jst.validation.test/testFwk/org/eclipse/jst/validation/test/fwk/validator/FwkTestValidator.java45
-rw-r--r--tests/org.eclipse.jst.validation.test/testFwk/org/eclipse/jst/validation/test/fwk/validator/JDTUtility.java318
-rw-r--r--tests/org.eclipse.jst.validation.test/testInput/FWK/BVT/opConstr.jarbin3966 -> 0 bytes-rw-r--r--tests/org.eclipse.jst.validation.test/testInput/Properties/aProperties.jarbin3652 -> 0 bytes
529 files changed, 0 insertions, 60421 deletions
diff --git a/features/org.eclipse.jst.enterprise_tests.feature/.cvsignore b/features/org.eclipse.jst.enterprise_tests.feature/.cvsignore
deleted file mode 100644
index c14487ce..00000000
--- a/features/org.eclipse.jst.enterprise_tests.feature/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-build.xml
diff --git a/features/org.eclipse.jst.enterprise_tests.feature/.project b/features/org.eclipse.jst.enterprise_tests.feature/.project
deleted file mode 100644
index 79b46187..00000000
--- a/features/org.eclipse.jst.enterprise_tests.feature/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.enterprise_tests.feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.jst.enterprise_tests.feature/build.properties b/features/org.eclipse.jst.enterprise_tests.feature/build.properties
deleted file mode 100644
index 7f47694a..00000000
--- a/features/org.eclipse.jst.enterprise_tests.feature/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-bin.includes = feature.xml,\
- eclipse_update_120.jpg,\
- epl-v10.html,\
- license.html,\
- feature.properties
diff --git a/features/org.eclipse.jst.enterprise_tests.feature/eclipse_update_120.jpg b/features/org.eclipse.jst.enterprise_tests.feature/eclipse_update_120.jpg
deleted file mode 100644
index bfdf708a..00000000
--- a/features/org.eclipse.jst.enterprise_tests.feature/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.jst.enterprise_tests.feature/epl-v10.html b/features/org.eclipse.jst.enterprise_tests.feature/epl-v10.html
deleted file mode 100644
index ed4b1966..00000000
--- a/features/org.eclipse.jst.enterprise_tests.feature/epl-v10.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List
-href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml">
-<title>Eclipse Public License - Version 1.0</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
-</head>
-
-<body lang=EN-US style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Contribution&quot; means:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear=left>
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-changes to the Program, and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-additions to the Program;</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Contributor&quot; means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Licensed Patents &quot; mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Program&quot; means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Recipient&quot; means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span
-style='color:red'> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-its license agreement:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style='color:blue'> </span></span></p>
-
-<p><span style='font-size:10.0pt'>When the Program is made available in source
-code form:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it must be made available under this Agreement; and </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style='font-size:10.0pt'>Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor (&quot;Commercial
-Contributor&quot;) hereby agrees to defend and indemnify every other
-Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and
-costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style='font-size:10.0pt'>For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p>
-
-<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
-
-</div>
-
-</body>
-
-</html> \ No newline at end of file
diff --git a/features/org.eclipse.jst.enterprise_tests.feature/feature.properties b/features/org.eclipse.jst.enterprise_tests.feature/feature.properties
deleted file mode 100644
index 567f879e..00000000
--- a/features/org.eclipse.jst.enterprise_tests.feature/feature.properties
+++ /dev/null
@@ -1,144 +0,0 @@
-###############################################################################
-# Copyright (c) 2006 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=JST Enterprise Tests
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=The Eclipse Web Tools Platform (WTP) Project update site
-
-# "description" property - description of the feature
-description=JST enterprise tests
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2006 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
-\n\
-Contributors:\n\
- IBM Corporation - initial API and implementation\n
-################ end of copyright property ####################################
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\
-March 17, 2005\n\
-\n\
-Usage Of Content\n\
-\n\
-THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\
-is provided to you under the terms and conditions of the Eclipse Public\n\
-License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
-For purposes of the EPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
- - Content may be structured and packaged into modules to facilitate delivering,\n\
- extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
- plug-in fragments ("Fragments"), and features ("Features").\n\
- - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\
- in a directory named "plugins".\n\
- - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
- Each Feature may be packaged as a sub-directory in a directory named "features".\n\
- Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
- numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
- - Features may also include other Features ("Included Features"). Within a Feature, files\n\
- named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Inside Plug-ins and Fragments packaged as JARs\n\
- - Sub-directories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n\
-\n\
-Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-########### end of license property ##########################################
diff --git a/features/org.eclipse.jst.enterprise_tests.feature/feature.xml b/features/org.eclipse.jst.enterprise_tests.feature/feature.xml
deleted file mode 100644
index 2fa59994..00000000
--- a/features/org.eclipse.jst.enterprise_tests.feature/feature.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.jst.enterprise_tests.feature"
- label="%featureName"
- version="1.5.0.qualifier"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="license.html">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/webtools/updates/"/>
- </url>
-
- <plugin
- id="org.eclipse.jst.j2ee.core.tests.performance"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jst.j2ee.tests.performance"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jst.validation.sample"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jst.validation.test"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jst.ws.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jst.ws.tests.performance"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
diff --git a/features/org.eclipse.jst.enterprise_tests.feature/license.html b/features/org.eclipse.jst.enterprise_tests.feature/license.html
deleted file mode 100644
index 2347060e..00000000
--- a/features/org.eclipse.jst.enterprise_tests.feature/license.html
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
-<!-- saved from url=(0044)http://www.eclipse.org/legal/epl/notice.html -->
-<HTML><HEAD><TITLE>Eclipse.org Software User Agreement</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
-<BODY lang=EN-US vLink=purple link=blue>
-<H2>Eclipse Foundation Software User Agreement</H2>
-<P>January 28, 2005</P>
-<H3>Usage Of Content</H3>
-<P>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION
-AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). USE OF
-THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE
-TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED
-BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED
-BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE
-AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS OF ANY
-APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU
-MAY NOT USE THE CONTENT.</P>
-<H3>Applicable Licenses</H3>
-<P>Unless otherwise indicated, all Content made available by the Eclipse
-Foundation is provided to you under the terms and conditions of the Eclipse
-Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this
-Content and is also available at <A
-href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-<P>Content includes, but is not limited to, source code, object code,
-documentation and other files maintained in the Eclipse.org CVS repository
-("Repository") in CVS modules ("Modules") and made available as downloadable
-archives ("Downloads").</P>
-<P>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments
-("Fragments"), and features ("Features"). A Feature is a bundle of one or more
-Plug-ins and/or Fragments and associated material. Files named "feature.xml" may
-contain a list of the names and version numbers of the Plug-ins and/or Fragments
-associated with a Feature. Plug-ins and Fragments are located in directories
-named "plugins" and Features are located in directories named "features".</P>
-<P>Features may also include other Features ("Included Features"). Files named
-"feature.xml" may contain a list of the names and version numbers of Included
-Features.</P>
-<P>The terms and conditions governing Plug-ins and Fragments should be contained
-in files named "about.html" ("Abouts"). The terms and conditions governing
-Features and Included Features should be contained in files named "license.html"
-("Feature Licenses"). Abouts and Feature Licenses may be located in any
-directory of a Download or Module including, but not limited to the following
-locations:</P>
-<UL>
- <LI>The top-level (root) directory
- <LI>Plug-in and Fragment directories
- <LI>Subdirectories of the directory named "src" of certain Plug-ins
- <LI>Feature directories </LI></UL>
-<P>Note: if a Feature made available by the Eclipse Foundation is installed
-using the Eclipse Update Manager, you must agree to a license ("Feature Update
-License") during the installation process. If the Feature contains Included
-Features, the Feature Update License should either provide you with the terms
-and conditions governing the Included Features or inform you where you can
-locate them. Feature Update Licenses may be found in the "license" property of
-files named "feature.properties". Such Abouts, Feature Licenses and Feature
-Update Licenses contain the terms and conditions (or references to such terms
-and conditions) that govern your use of the associated Content in that
-directory.</P>
-<P>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL
-OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</P>
-<UL>
- <LI>Common Public License Version 1.0 (available at <A
- href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</A>)
-
- <LI>Apache Software License 1.1 (available at <A
- href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</A>)
-
- <LI>Apache Software License 2.0 (available at <A
- href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</A>)
-
- <LI>IBM Public License 1.0 (available at <A
- href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</A>)
-
- <LI>Metro Link Public License 1.00 (available at <A
- href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</A>)
-
- <LI>Mozilla Public License Version 1.1 (available at <A
- href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</A>)
- </LI></UL>
-<P>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License is
-provided, please contact the Eclipse Foundation to determine what terms and
-conditions govern that particular Content.</P>
-<H3>Cryptography</H3>
-<P>Content may contain encryption software. The country in which you are
-currently may have restrictions on the import, possession, and use, and/or
-re-export to another country, of encryption software. BEFORE using any
-encryption software, please check the country's laws, regulations and policies
-concerning the import, possession, or use, and re-export of encryption software,
-to see if this is permitted.</P></BODY></HTML>
diff --git a/features/org.eclipse.jst.web_tests.feature/.cvsignore b/features/org.eclipse.jst.web_tests.feature/.cvsignore
deleted file mode 100644
index c14487ce..00000000
--- a/features/org.eclipse.jst.web_tests.feature/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-build.xml
diff --git a/features/org.eclipse.jst.web_tests.feature/.project b/features/org.eclipse.jst.web_tests.feature/.project
deleted file mode 100644
index 832ea5e4..00000000
--- a/features/org.eclipse.jst.web_tests.feature/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.web_tests.feature</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.pde.FeatureBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.FeatureNature</nature>
- </natures>
-</projectDescription>
diff --git a/features/org.eclipse.jst.web_tests.feature/build.properties b/features/org.eclipse.jst.web_tests.feature/build.properties
deleted file mode 100644
index 7f47694a..00000000
--- a/features/org.eclipse.jst.web_tests.feature/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-bin.includes = feature.xml,\
- eclipse_update_120.jpg,\
- epl-v10.html,\
- license.html,\
- feature.properties
diff --git a/features/org.eclipse.jst.web_tests.feature/eclipse_update_120.jpg b/features/org.eclipse.jst.web_tests.feature/eclipse_update_120.jpg
deleted file mode 100644
index bfdf708a..00000000
--- a/features/org.eclipse.jst.web_tests.feature/eclipse_update_120.jpg
+++ /dev/null
Binary files differ
diff --git a/features/org.eclipse.jst.web_tests.feature/epl-v10.html b/features/org.eclipse.jst.web_tests.feature/epl-v10.html
deleted file mode 100644
index ed4b1966..00000000
--- a/features/org.eclipse.jst.web_tests.feature/epl-v10.html
+++ /dev/null
@@ -1,328 +0,0 @@
-<html xmlns:o="urn:schemas-microsoft-com:office:office"
-xmlns:w="urn:schemas-microsoft-com:office:word"
-xmlns="http://www.w3.org/TR/REC-html40">
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
-<meta name=ProgId content=Word.Document>
-<meta name=Generator content="Microsoft Word 9">
-<meta name=Originator content="Microsoft Word 9">
-<link rel=File-List
-href="./Eclipse%20EPL%202003_11_10%20Final_files/filelist.xml">
-<title>Eclipse Public License - Version 1.0</title>
-<!--[if gte mso 9]><xml>
- <o:DocumentProperties>
- <o:Revision>2</o:Revision>
- <o:TotalTime>3</o:TotalTime>
- <o:Created>2004-03-05T23:03:00Z</o:Created>
- <o:LastSaved>2004-03-05T23:03:00Z</o:LastSaved>
- <o:Pages>4</o:Pages>
- <o:Words>1626</o:Words>
- <o:Characters>9270</o:Characters>
- <o:Lines>77</o:Lines>
- <o:Paragraphs>18</o:Paragraphs>
- <o:CharactersWithSpaces>11384</o:CharactersWithSpaces>
- <o:Version>9.4402</o:Version>
- </o:DocumentProperties>
-</xml><![endif]--><!--[if gte mso 9]><xml>
- <w:WordDocument>
- <w:TrackRevisions/>
- </w:WordDocument>
-</xml><![endif]-->
-<style>
-<!--
- /* Font Definitions */
-@font-face
- {font-family:Tahoma;
- panose-1:2 11 6 4 3 5 4 4 2 4;
- mso-font-charset:0;
- mso-generic-font-family:swiss;
- mso-font-pitch:variable;
- mso-font-signature:553679495 -2147483648 8 0 66047 0;}
- /* Style Definitions */
-p.MsoNormal, li.MsoNormal, div.MsoNormal
- {mso-style-parent:"";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p
- {margin-right:0in;
- mso-margin-top-alt:auto;
- mso-margin-bottom-alt:auto;
- margin-left:0in;
- mso-pagination:widow-orphan;
- font-size:12.0pt;
- font-family:"Times New Roman";
- mso-fareast-font-family:"Times New Roman";}
-p.BalloonText, li.BalloonText, div.BalloonText
- {mso-style-name:"Balloon Text";
- margin:0in;
- margin-bottom:.0001pt;
- mso-pagination:widow-orphan;
- font-size:8.0pt;
- font-family:Tahoma;
- mso-fareast-font-family:"Times New Roman";}
-@page Section1
- {size:8.5in 11.0in;
- margin:1.0in 1.25in 1.0in 1.25in;
- mso-header-margin:.5in;
- mso-footer-margin:.5in;
- mso-paper-source:0;}
-div.Section1
- {page:Section1;}
--->
-</style>
-</head>
-
-<body lang=EN-US style='tab-interval:.5in'>
-
-<div class=Section1>
-
-<p align=center style='text-align:center'><b>Eclipse Public License - v 1.0</b>
-</p>
-
-<p><span style='font-size:10.0pt'>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER
-THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE,
-REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>1. DEFINITIONS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Contribution&quot; means:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-in the case of the initial Contributor, the initial code and documentation
-distributed under this Agreement, and<br clear=left>
-b) in the case of each subsequent Contributor:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-changes to the Program, and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-additions to the Program;</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>where
-such changes and/or additions to the Program originate from and are distributed
-by that particular Contributor. A Contribution 'originates' from a Contributor
-if it was added to the Program by such Contributor itself or anyone acting on
-such Contributor's behalf. Contributions do not include additions to the
-Program which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii) are not derivative
-works of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Contributor&quot; means any person or
-entity that distributes the Program.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Licensed Patents &quot; mean patent
-claims licensable by a Contributor which are necessarily infringed by the use
-or sale of its Contribution alone or when combined with the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>&quot;Program&quot; means the Contributions
-distributed in accordance with this Agreement.</span> </p>
-
-<p><span style='font-size:10.0pt'>&quot;Recipient&quot; means anyone who
-receives the Program under this Agreement, including all Contributors.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>2. GRANT OF RIGHTS</span></b> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-Subject to the terms of this Agreement, each Contributor hereby grants Recipient
-a non-exclusive, worldwide, royalty-free copyright license to<span
-style='color:red'> </span>reproduce, prepare derivative works of, publicly
-display, publicly perform, distribute and sublicense the Contribution of such
-Contributor, if any, and such derivative works, in source code and object code
-form.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-Subject to the terms of this Agreement, each Contributor hereby grants
-Recipient a non-exclusive, worldwide,<span style='color:green'> </span>royalty-free
-patent license under Licensed Patents to make, use, sell, offer to sell, import
-and otherwise transfer the Contribution of such Contributor, if any, in source
-code and object code form. This patent license shall apply to the combination
-of the Contribution and the Program if, at the time the Contribution is added
-by the Contributor, such addition of the Contribution causes such combination
-to be covered by the Licensed Patents. The patent license shall not apply to
-any other combinations which include the Contribution. No hardware per se is
-licensed hereunder. </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>c)
-Recipient understands that although each Contributor grants the licenses to its
-Contributions set forth herein, no assurances are provided by any Contributor
-that the Program does not infringe the patent or other intellectual property
-rights of any other entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement of intellectual
-property rights or otherwise. As a condition to exercising the rights and
-licenses granted hereunder, each Recipient hereby assumes sole responsibility
-to secure any other intellectual property rights needed, if any. For example,
-if a third party patent license is required to allow Recipient to distribute
-the Program, it is Recipient's responsibility to acquire that license before
-distributing the Program.</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>d)
-Each Contributor represents that to its knowledge it has sufficient copyright
-rights in its Contribution, if any, to grant the copyright license set forth in
-this Agreement. </span></p>
-
-<p><b><span style='font-size:10.0pt'>3. REQUIREMENTS</span></b> </p>
-
-<p><span style='font-size:10.0pt'>A Contributor may choose to distribute the
-Program in object code form under its own license agreement, provided that:</span>
-</p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it complies with the terms and conditions of this Agreement; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b)
-its license agreement:</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>i)
-effectively disclaims on behalf of all Contributors all warranties and
-conditions, express and implied, including warranties or conditions of title
-and non-infringement, and implied warranties or conditions of merchantability
-and fitness for a particular purpose; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>ii)
-effectively excludes on behalf of all Contributors all liability for damages,
-including direct, indirect, special, incidental and consequential damages, such
-as lost profits; </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iii)
-states that any provisions which differ from this Agreement are offered by that
-Contributor alone and not by any other party; and</span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>iv)
-states that source code for the Program is available from such Contributor, and
-informs licensees how to obtain it in a reasonable manner on or through a
-medium customarily used for software exchange.<span style='color:blue'> </span></span></p>
-
-<p><span style='font-size:10.0pt'>When the Program is made available in source
-code form:</span> </p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>a)
-it must be made available under this Agreement; and </span></p>
-
-<p class=MsoNormal style='margin-left:.5in'><span style='font-size:10.0pt'>b) a
-copy of this Agreement must be included with each copy of the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Contributors may not remove or alter any
-copyright notices contained within the Program. </span></p>
-
-<p><span style='font-size:10.0pt'>Each Contributor must identify itself as the
-originator of its Contribution, if any, in a manner that reasonably allows
-subsequent Recipients to identify the originator of the Contribution. </span></p>
-
-<p><b><span style='font-size:10.0pt'>4. COMMERCIAL DISTRIBUTION</span></b> </p>
-
-<p><span style='font-size:10.0pt'>Commercial distributors of software may
-accept certain responsibilities with respect to end users, business partners
-and the like. While this license is intended to facilitate the commercial use
-of the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create potential
-liability for other Contributors. Therefore, if a Contributor includes the
-Program in a commercial product offering, such Contributor (&quot;Commercial
-Contributor&quot;) hereby agrees to defend and indemnify every other
-Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and
-costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other
-legal actions brought by a third party against the Indemnified Contributor to
-the extent caused by the acts or omissions of such Commercial Contributor in
-connection with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any claims or Losses
-relating to any actual or alleged intellectual property infringement. In order
-to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
-Contributor in writing of such claim, and b) allow the Commercial Contributor
-to control, and cooperate with the Commercial Contributor in, the defense and
-any related settlement negotiations. The Indemnified Contributor may participate
-in any such claim at its own expense.</span> </p>
-
-<p><span style='font-size:10.0pt'>For example, a Contributor might include the
-Program in a commercial product offering, Product X. That Contributor is then a
-Commercial Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance claims and
-warranties are such Commercial Contributor's responsibility alone. Under this
-section, the Commercial Contributor would have to defend claims against the
-other Contributors related to those performance claims and warranties, and if a
-court requires any other Contributor to pay any damages as a result, the
-Commercial Contributor must pay those damages.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>5. NO WARRANTY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING,
-WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
-MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and distributing the
-Program and assumes all risks associated with its exercise of rights under this
-Agreement , including but not limited to the risks and costs of program errors,
-compliance with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations. </span></p>
-
-<p><b><span style='font-size:10.0pt'>6. DISCLAIMER OF LIABILITY</span></b> </p>
-
-<p><span style='font-size:10.0pt'>EXCEPT AS EXPRESSLY SET FORTH IN THIS
-AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY
-OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF
-THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGES.</span> </p>
-
-<p><b><span style='font-size:10.0pt'>7. GENERAL</span></b> </p>
-
-<p><span style='font-size:10.0pt'>If any provision of this Agreement is invalid
-or unenforceable under applicable law, it shall not affect the validity or
-enforceability of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be reformed to the
-minimum extent necessary to make such provision valid and enforceable.</span> </p>
-
-<p><span style='font-size:10.0pt'>If Recipient institutes patent litigation
-against any entity (including a cross-claim or counterclaim in a lawsuit)
-alleging that the Program itself (excluding combinations of the Program with
-other software or hardware) infringes such Recipient's patent(s), then such
-Recipient's rights granted under Section 2(b) shall terminate as of the date
-such litigation is filed. </span></p>
-
-<p><span style='font-size:10.0pt'>All Recipient's rights under this Agreement
-shall terminate if it fails to comply with any of the material terms or
-conditions of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If all Recipient's
-rights under this Agreement terminate, Recipient agrees to cease use and
-distribution of the Program as soon as reasonably practicable. However,
-Recipient's obligations under this Agreement and any licenses granted by
-Recipient relating to the Program shall continue and survive. </span></p>
-
-<p><span style='font-size:10.0pt'>Everyone is permitted to copy and distribute
-copies of this Agreement, but in order to avoid inconsistency the Agreement is
-copyrighted and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including revisions) of
-this Agreement from time to time. No one other than the Agreement Steward has
-the right to modify this Agreement. The Eclipse Foundation is the initial
-Agreement Steward. The Eclipse Foundation may assign the responsibility to
-serve as the Agreement Steward to a suitable separate entity. Each new version
-of the Agreement will be given a distinguishing version number. The Program
-(including Contributions) may always be distributed subject to the version of
-the Agreement under which it was received. In addition, after a new version of
-the Agreement is published, Contributor may elect to distribute the Program
-(including its Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to
-the intellectual property of any Contributor under this Agreement, whether
-expressly, by implication, estoppel or otherwise. All rights in the Program not
-expressly granted under this Agreement are reserved.</span> </p>
-
-<p><span style='font-size:10.0pt'>This Agreement is governed by the laws of the
-State of New York and the intellectual property laws of the United States of
-America. No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose. Each party waives
-its rights to a jury trial in any resulting litigation.</span> </p>
-
-<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
-
-</div>
-
-</body>
-
-</html> \ No newline at end of file
diff --git a/features/org.eclipse.jst.web_tests.feature/feature.properties b/features/org.eclipse.jst.web_tests.feature/feature.properties
deleted file mode 100644
index 0e3d7124..00000000
--- a/features/org.eclipse.jst.web_tests.feature/feature.properties
+++ /dev/null
@@ -1,144 +0,0 @@
-###############################################################################
-# Copyright (c) 2006 IBM Corporation and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Eclipse Public License v1.0
-# which accompanies this distribution, and is available at
-# http://www.eclipse.org/legal/epl-v10.html
-#
-# Contributors:
-# IBM Corporation - initial API and implementation
-###############################################################################
-# feature.properties
-# contains externalized strings for feature.xml
-# "%foo" in feature.xml corresponds to the key "foo" in this file
-# java.io.Properties file (ISO 8859-1 with "\" escapes)
-# This file should be translated.
-
-# "featureName" property - name of the feature
-featureName=JST Web Tests
-
-# "providerName" property - name of the company that provides the feature
-providerName=Eclipse.org
-
-# "updateSiteName" property - label for the update site
-updateSiteName=The Eclipse Web Tools Platform (WTP) Project update site
-
-# "description" property - description of the feature
-description=JST Web tests
-
-# "copyright" property - text of the "Feature Update Copyright"
-copyright=\
-Copyright (c) 2006 IBM Corporation and others.\n\
-All rights reserved. This program and the accompanying materials\n\
-are made available under the terms of the Eclipse Public License v1.0\n\
-which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
-\n\
-Contributors:\n\
- IBM Corporation - initial API and implementation\n
-################ end of copyright property ####################################
-
-# "licenseURL" property - URL of the "Feature License"
-# do not translate value - just change to point to a locale-specific HTML page
-licenseURL=license.html
-
-# "license" property - text of the "Feature Update License"
-# should be plain text version of license agreement pointed to be "licenseURL"
-license=\
-ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT\n\
-March 17, 2005\n\
-\n\
-Usage Of Content\n\
-\n\
-THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
-OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
-USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
-AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
-NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
-AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
-AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
-OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
-OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
-BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
-\n\
-Applicable Licenses\n\
-\n\
-Unless otherwise indicated, all Content made available by the Eclipse Foundation\n\
-is provided to you under the terms and conditions of the Eclipse Public\n\
-License Version 1.0 ("EPL"). A copy of the EPL is provided with this\n\
-Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
-For purposes of the EPL, "Program" will mean the Content.\n\
-\n\
-Content includes, but is not limited to, source code, object code,\n\
-documentation and other files maintained in the Eclipse.org CVS\n\
-repository ("Repository") in CVS modules ("Modules") and made available\n\
-as downloadable archives ("Downloads").\n\
-\n\
- - Content may be structured and packaged into modules to facilitate delivering,\n\
- extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
- plug-in fragments ("Fragments"), and features ("Features").\n\
- - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java? ARchive)\n\
- in a directory named "plugins".\n\
- - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
- Each Feature may be packaged as a sub-directory in a directory named "features".\n\
- Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
- numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
- - Features may also include other Features ("Included Features"). Within a Feature, files\n\
- named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
-\n\
-Features may also include other Features ("Included Features"). Files named\n\
-"feature.xml" may contain a list of the names and version numbers of\n\
-Included Features.\n\
-\n\
-The terms and conditions governing Plug-ins and Fragments should be\n\
-contained in files named "about.html" ("Abouts"). The terms and\n\
-conditions governing Features and Included Features should be contained\n\
-in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
-Licenses may be located in any directory of a Download or Module\n\
-including, but not limited to the following locations:\n\
-\n\
- - The top-level (root) directory\n\
- - Plug-in and Fragment directories\n\
- - Inside Plug-ins and Fragments packaged as JARs\n\
- - Sub-directories of the directory named "src" of certain Plug-ins\n\
- - Feature directories\n\
-\n\
-Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
-Eclipse Update Manager, you must agree to a license ("Feature Update\n\
-License") during the installation process. If the Feature contains\n\
-Included Features, the Feature Update License should either provide you\n\
-with the terms and conditions governing the Included Features or inform\n\
-you where you can locate them. Feature Update Licenses may be found in\n\
-the "license" property of files named "feature.properties". Such Abouts,\n\
-Feature Licenses and Feature Update Licenses contain the terms and\n\
-conditions (or references to such terms and conditions) that govern your\n\
-use of the associated Content in that directory.\n\
-\n\
-THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER\n\
-TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
-SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
-\n\
- - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
- - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
- - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
- - IBM Public License 1.0 (available at http://oss.software.ibm.com/developerworks/opensource/license10.html)\n\
- - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
- - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
-\n\
-IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License\n\
-is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
-govern that particular Content.\n\
-\n\
-Cryptography\n\
-\n\
-Content may contain encryption software. The country in which you are\n\
-currently may have restrictions on the import, possession, and use,\n\
-and/or re-export to another country, of encryption software. BEFORE\n\
-using any encryption software, please check the country's laws,\n\
-regulations and policies concerning the import, possession, or use,\n\
-and re-export of encryption software, to see if this is permitted.\n\
-\n\
-Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.\n
-########### end of license property ##########################################
diff --git a/features/org.eclipse.jst.web_tests.feature/feature.xml b/features/org.eclipse.jst.web_tests.feature/feature.xml
deleted file mode 100644
index c40b11ad..00000000
--- a/features/org.eclipse.jst.web_tests.feature/feature.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.eclipse.jst.web_tests.feature"
- label="%featureName"
- version="1.5.0.qualifier"
- provider-name="%providerName">
-
- <description>
- %description
- </description>
-
- <copyright>
- %copyright
- </copyright>
-
- <license url="license.html">
- %license
- </license>
-
- <url>
- <update label="%updateSiteName" url="http://download.eclipse.org/webtools/updates/"/>
- </url>
-
- <plugin
- id="org.eclipse.jst.j2ee.core.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jst.j2ee.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jst.jsp.core.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jst.jsp.tests.encoding"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jst.jsp.ui.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jst.jsp.ui.tests.performance"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.eclipse.jst.servlet.tests"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
diff --git a/features/org.eclipse.jst.web_tests.feature/license.html b/features/org.eclipse.jst.web_tests.feature/license.html
deleted file mode 100644
index 2347060e..00000000
--- a/features/org.eclipse.jst.web_tests.feature/license.html
+++ /dev/null
@@ -1,93 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
-<!-- saved from url=(0044)http://www.eclipse.org/legal/epl/notice.html -->
-<HTML><HEAD><TITLE>Eclipse.org Software User Agreement</TITLE>
-<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
-<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
-<BODY lang=EN-US vLink=purple link=blue>
-<H2>Eclipse Foundation Software User Agreement</H2>
-<P>January 28, 2005</P>
-<H3>Usage Of Content</H3>
-<P>THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION
-AND/OR OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT"). USE OF
-THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS AGREEMENT AND/OR THE
-TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED
-BELOW. BY USING THE CONTENT, YOU AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED
-BY THIS AGREEMENT AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE
-AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE
-TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS OF ANY
-APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED BELOW, THEN YOU
-MAY NOT USE THE CONTENT.</P>
-<H3>Applicable Licenses</H3>
-<P>Unless otherwise indicated, all Content made available by the Eclipse
-Foundation is provided to you under the terms and conditions of the Eclipse
-Public License Version 1.0 ("EPL"). A copy of the EPL is provided with this
-Content and is also available at <A
-href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-<P>Content includes, but is not limited to, source code, object code,
-documentation and other files maintained in the Eclipse.org CVS repository
-("Repository") in CVS modules ("Modules") and made available as downloadable
-archives ("Downloads").</P>
-<P>Content may be apportioned into plug-ins ("Plug-ins"), plug-in fragments
-("Fragments"), and features ("Features"). A Feature is a bundle of one or more
-Plug-ins and/or Fragments and associated material. Files named "feature.xml" may
-contain a list of the names and version numbers of the Plug-ins and/or Fragments
-associated with a Feature. Plug-ins and Fragments are located in directories
-named "plugins" and Features are located in directories named "features".</P>
-<P>Features may also include other Features ("Included Features"). Files named
-"feature.xml" may contain a list of the names and version numbers of Included
-Features.</P>
-<P>The terms and conditions governing Plug-ins and Fragments should be contained
-in files named "about.html" ("Abouts"). The terms and conditions governing
-Features and Included Features should be contained in files named "license.html"
-("Feature Licenses"). Abouts and Feature Licenses may be located in any
-directory of a Download or Module including, but not limited to the following
-locations:</P>
-<UL>
- <LI>The top-level (root) directory
- <LI>Plug-in and Fragment directories
- <LI>Subdirectories of the directory named "src" of certain Plug-ins
- <LI>Feature directories </LI></UL>
-<P>Note: if a Feature made available by the Eclipse Foundation is installed
-using the Eclipse Update Manager, you must agree to a license ("Feature Update
-License") during the installation process. If the Feature contains Included
-Features, the Feature Update License should either provide you with the terms
-and conditions governing the Included Features or inform you where you can
-locate them. Feature Update Licenses may be found in the "license" property of
-files named "feature.properties". Such Abouts, Feature Licenses and Feature
-Update Licenses contain the terms and conditions (or references to such terms
-and conditions) that govern your use of the associated Content in that
-directory.</P>
-<P>THE ABOUTS, FEATURE LICENSES AND FEATURE UPDATE LICENSES MAY REFER TO THE EPL
-OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS. SOME OF THESE
-OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):</P>
-<UL>
- <LI>Common Public License Version 1.0 (available at <A
- href="http://www.eclipse.org/legal/cpl-v10.html">http://www.eclipse.org/legal/cpl-v10.html</A>)
-
- <LI>Apache Software License 1.1 (available at <A
- href="http://www.apache.org/licenses/LICENSE">http://www.apache.org/licenses/LICENSE</A>)
-
- <LI>Apache Software License 2.0 (available at <A
- href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</A>)
-
- <LI>IBM Public License 1.0 (available at <A
- href="http://oss.software.ibm.com/developerworks/opensource/license10.html">http://oss.software.ibm.com/developerworks/opensource/license10.html</A>)
-
- <LI>Metro Link Public License 1.00 (available at <A
- href="http://www.opengroup.org/openmotif/supporters/metrolink/license.html">http://www.opengroup.org/openmotif/supporters/metrolink/license.html</A>)
-
- <LI>Mozilla Public License Version 1.1 (available at <A
- href="http://www.mozilla.org/MPL/MPL-1.1.html">http://www.mozilla.org/MPL/MPL-1.1.html</A>)
- </LI></UL>
-<P>IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR
-TO USE OF THE CONTENT. If no About, Feature License or Feature Update License is
-provided, please contact the Eclipse Foundation to determine what terms and
-conditions govern that particular Content.</P>
-<H3>Cryptography</H3>
-<P>Content may contain encryption software. The country in which you are
-currently may have restrictions on the import, possession, and use, and/or
-re-export to another country, of encryption software. BEFORE using any
-encryption software, please check the country's laws, regulations and policies
-concerning the import, possession, or use, and re-export of encryption software,
-to see if this is permitted.</P></BODY></HTML>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/.classpath b/tests/org.eclipse.jst.j2ee.core.tests.performance/.classpath
deleted file mode 100644
index 751c8f2e..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests.performance/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/.cvsignore b/tests/org.eclipse.jst.j2ee.core.tests.performance/.cvsignore
deleted file mode 100644
index d586ee14..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests.performance/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-temp.folder
-build.xml
-core-performance.jar
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/.project b/tests/org.eclipse.jst.j2ee.core.tests.performance/.project
deleted file mode 100644
index a3e12fb3..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests.performance/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.j2ee.core.tests.performance</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/about.html b/tests/org.eclipse.jst.j2ee.core.tests.performance/about.html
deleted file mode 100644
index 4ec59895..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests.performance/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/build.properties b/tests/org.eclipse.jst.j2ee.core.tests.performance/build.properties
deleted file mode 100644
index 80a90d30..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests.performance/build.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-source.core-performance.jar = src/
-output.core-performance.jar = bin/
-bin.includes = plugin.xml,\
- core-performance.jar,\
- test.xml,\
- testcase.xml,\
- about.html
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/plugin.xml b/tests/org.eclipse.jst.j2ee.core.tests.performance/plugin.xml
deleted file mode 100644
index 4120b5b6..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests.performance/plugin.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.jst.j2ee.core.tests.performance"
- name="Core Performance Plug-in"
- version="1.0.0"
- provider-name=""
- class="org.eclipse.jst.j2ee.core.tests.performance.CorePerformanceTestPlugin">
-
- <runtime>
- <library name="core-performance.jar">
- <export name="*"/>
- </library>
- </runtime>
-
- <requires>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.junit"/>
- <import plugin="org.eclipse.jst.j2ee.tests.performance"/>
- <import plugin="org.eclipse.wst.common.tests"/>
- <import plugin="org.eclipse.jst.j2ee.core.tests"/>
- <import plugin="org.eclipse.jst.j2ee.tests"/>
- </requires>
-
-</plugin>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/src/org/eclipse/jst/j2ee/core/tests/performance/AllCorePerformanceTests.java b/tests/org.eclipse.jst.j2ee.core.tests.performance/src/org/eclipse/jst/j2ee/core/tests/performance/AllCorePerformanceTests.java
deleted file mode 100644
index 9150441a..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests.performance/src/org/eclipse/jst/j2ee/core/tests/performance/AllCorePerformanceTests.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Created on Nov 28, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.j2ee.core.tests.performance;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.archive.emftests.AppClientEMFEditTest;
-import org.eclipse.jst.j2ee.archive.emftests.AppClientEMFTest;
-import org.eclipse.jst.j2ee.archive.emftests.EarEMFEditTest;
-import org.eclipse.jst.j2ee.archive.emftests.EarEMFTest;
-import org.eclipse.jst.j2ee.archive.emftests.EjbEMFEditTest;
-import org.eclipse.jst.j2ee.archive.emftests.RarEMFEditTest;
-import org.eclipse.jst.j2ee.archive.emftests.RarEMFTest;
-import org.eclipse.jst.j2ee.archive.emftests.WarEMFEditTest;
-import org.eclipse.jst.j2ee.archive.emftests.WarEMFTest;
-import org.eclipse.jst.j2ee.archive.emftests.WebServicesEMFTest;
-import org.eclipse.jst.j2ee.tests.performance.BasePerformanceTestCase;
-import org.eclipse.jst.j2ee.tests.performance.PerformanceTestCaseWrapper;
-import org.eclipse.wtp.headless.tests.savestrategy.EJBImportOperationTest;
-import org.eclipse.wtp.j2ee.headless.tests.appclient.operations.AppClientProjectCreationOperationTest;
-import org.eclipse.wtp.j2ee.headless.tests.ejb.operations.EJBProjectCreationOperationTest;
-import org.eclipse.wtp.j2ee.headless.tests.jca.operations.ConnectorProjectCreationOperationTest;
-import org.eclipse.wtp.j2ee.headless.tests.web.operations.WebProjectCreationOperationTest;
-
-/**
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class AllCorePerformanceTests extends BasePerformanceTestCase{
-
- public static Test suite() {
-
- TestSuite suite = new TestSuite("Performance Test for com.ibm.etools.archive.emftest");
- addPerformanceTest(suite, new AppClientEMFEditTest("testApplicationClientEdit"), PerformanceTestCaseWrapper.GLOBAL, "Application Client emf edit test" );
- addPerformanceTest(suite, new AppClientEMFTest("testApplicationClientPopulation"), PerformanceTestCaseWrapper.LOCAL, "Application Client emf test" );
- addPerformanceTest(suite, new AppClientEMFTest("test14ApplicationClientPopulation"), PerformanceTestCaseWrapper.GLOBAL, "Application Client 14 emf test" );
-
- addPerformanceTest(suite, new EarEMFEditTest("testEAREdit"), PerformanceTestCaseWrapper.GLOBAL, "EAR emf edit test" );
- //addPerformanceTest(suite, new EarEMFTest("testEARPopulation"), PerformanceTestCaseWrapper.LOCAL, "EAR emf test" );
- addPerformanceTest(suite, new EarEMFTest("test14EARPopulation"), PerformanceTestCaseWrapper.GLOBAL, "EAR 14 emf test" );
-
- //addPerformanceTest(suite, new EjbEMFEditTest("testEJBJarEdit"), PerformanceTestCaseWrapper.GLOBAL, "EJB emf edit test -testEJBJarEdit" );
- addPerformanceTest(suite, new EjbEMFEditTest("testWCCMJar"), PerformanceTestCaseWrapper.LOCAL, "EJB emf edit test - testWCCMJar" );
- //addPerformanceTest(suite, new EjbEMFTest("testEJBJarPopulation"), PerformanceTestCaseWrapper.LOCAL, "EJB emf test" );
- //addPerformanceTest(suite, new EjbEMFTest("test14EJBJarPopulation"), PerformanceTestCaseWrapper.GLOBAL, "EJB 14 emf test" );
-
- addPerformanceTest(suite, new RarEMFEditTest("testRAREdit"), PerformanceTestCaseWrapper.GLOBAL, "RAR emf edit test" );
- addPerformanceTest(suite, new RarEMFTest("testRARPopulation"), PerformanceTestCaseWrapper.LOCAL, "RAR emf test" );
- addPerformanceTest(suite, new RarEMFTest("test14RARPopulation"), PerformanceTestCaseWrapper.GLOBAL, "RAR 14 emf test" );
-
- addPerformanceTest(suite, new WarEMFEditTest("testWAREdit"), PerformanceTestCaseWrapper.GLOBAL, "WAR emf edit test" );
- //addPerformanceTest(suite, new WarEMFTest("testWARPopulation"), PerformanceTestCaseWrapper.LOCAL, "WAR emf test" );
- addPerformanceTest(suite, new WarEMFTest("test14WARPopulation"), PerformanceTestCaseWrapper.GLOBAL, "WAR 14 emf test" );
-
- addPerformanceTest(suite, new WebServicesEMFTest("test13WebServicesClientPopulation"), PerformanceTestCaseWrapper.NONE, "Web Service Client 13 emf test" );
- addPerformanceTest(suite, new WebServicesEMFTest("test13WebServicesDDPopulation"), PerformanceTestCaseWrapper.LOCAL, "Web services 13 emf test" );
- addPerformanceTest(suite, new WebServicesEMFTest("test14WebServicesDDPopulation"), PerformanceTestCaseWrapper.GLOBAL, "Web services 14 emf test" );
- addPerformanceTest(suite, new WebServicesEMFTest("testJaxRPCMapPopulation"), PerformanceTestCaseWrapper.GLOBAL, "JaxRPCMapping emf test" );
-
-
- //Creation tests
- addPerformanceTest(suite, new EJBProjectCreationOperationTest("testDefaults"), PerformanceTestCaseWrapper.NONE, "EJB Component creation test" );
- addPerformanceTest(suite, new AppClientProjectCreationOperationTest("testDefaults"), PerformanceTestCaseWrapper.LOCAL, "App Client Component creation test" );
- addPerformanceTest(suite, new ConnectorProjectCreationOperationTest("testDefaults"), PerformanceTestCaseWrapper.GLOBAL, "Connector Component creation test" );
- addPerformanceTest(suite, new WebProjectCreationOperationTest("testDefaults"), PerformanceTestCaseWrapper.GLOBAL, "Web Component creation test" );
-
- addPerformanceTest(suite, new EJBImportOperationTest("testEJB21Import"), PerformanceTestCaseWrapper.NONE, "EJB Component import test" );
- return suite;
- }
-
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/src/org/eclipse/jst/j2ee/core/tests/performance/CorePerformanceTestPlugin.java b/tests/org.eclipse.jst.j2ee.core.tests.performance/src/org/eclipse/jst/j2ee/core/tests/performance/CorePerformanceTestPlugin.java
deleted file mode 100644
index 08769ebb..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests.performance/src/org/eclipse/jst/j2ee/core/tests/performance/CorePerformanceTestPlugin.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package org.eclipse.jst.j2ee.core.tests.performance;
-
-import org.eclipse.ui.plugin.*;
-import org.osgi.framework.BundleContext;
-import java.util.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class CorePerformanceTestPlugin extends AbstractUIPlugin {
- //The shared instance.
- private static CorePerformanceTestPlugin plugin;
- //Resource bundle.
- private ResourceBundle resourceBundle;
-
- /**
- * The constructor.
- */
- public CorePerformanceTestPlugin() {
- super();
- plugin = this;
- }
-
- /**
- * This method is called upon plug-in activation
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- }
-
- /**
- * This method is called when the plug-in is stopped
- */
- public void stop(BundleContext context) throws Exception {
- super.stop(context);
- plugin = null;
- resourceBundle = null;
- }
-
- /**
- * Returns the shared instance.
- */
- public static CorePerformanceTestPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns the string from the plugin's resource bundle,
- * or 'key' if not found.
- */
- public static String getResourceString(String key) {
- ResourceBundle bundle = CorePerformanceTestPlugin.getDefault().getResourceBundle();
- try {
- return (bundle != null) ? bundle.getString(key) : key;
- } catch (MissingResourceException e) {
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle() {
- try {
- if (resourceBundle == null)
- resourceBundle = ResourceBundle.getBundle("org.eclipse.jst.j2ee.core.tests.performance.PerformancePluginResources");
- } catch (MissingResourceException x) {
- resourceBundle = null;
- }
- return resourceBundle;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/test.xml b/tests/org.eclipse.jst.j2ee.core.tests.performance/test.xml
deleted file mode 100644
index f21544b6..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests.performance/test.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="J2EE Performance test" default="performance" basedir=".">
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- Set a meaningful default value for when it is not. -->
- <property name="eclipse-home" value="${basedir}/../.."/>
-
- <!-- sets the properties eclipse-home, and library-file -->
- <property name="plugin-name" value="org.eclipse.jst.j2ee.core.tests.performance"/>
- <property name="library-file"
- value="${eclipse-home}/plugins/org.eclipse.test_3.1.0/library.xml"/>
- <property name="perf-tests-file"
- value="${testDir}/performance-tests.xml"/>
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <tstamp/>
- <delete>
- <fileset dir="${eclipse-home}" includes="org*.xml"/>
- </delete>
- </target>
-
- <!-- This target holds code to cleanup the testing environment after -->
- <!-- after all of the tests have been run. You can use this target to -->
- <!-- delete temporary files that have been created. -->
- <target name="cleanup">
- </target>
-
-
- <!-- This target defines the performance tests that need to be run. -->
-<target name="performance-suite">
- <property name="performance-folder" value="${eclipse-home}/performance_folder"/>
- <delete dir="${performance-folder}" quiet="true"/>
- <ant target="core-test" antfile="${perf-tests-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${performance-folder}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.j2ee.core.tests.performance.AllCorePerformanceTests"/>
- </ant>
-</target>
-
-<!-- This target runs the performance test suite. Any actions that need to happen -->
-<!-- after all the tests have been run should go here. -->
-<target name="performance" depends="init,performance-suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org*.xml"/>
- <property name="output-file" value="${plugin-name}.xml"/>
- </ant>
-</target>
-</project>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests.performance/testcase.xml b/tests/org.eclipse.jst.j2ee.core.tests.performance/testcase.xml
deleted file mode 100644
index 41718647..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests.performance/testcase.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0"?>
-<testCases>
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.EarEMFEditTest">
- <method name="testEAREdit" tagging="GLOBAL" shortName="EAR emf edit" />
- </testCase>
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.EarEMFTest">
- <method name="test14EARPopulation" tagging="GLOBAL" shortName="EAR 14 emf test" />
- </testCase>
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.EjbEMFEditTest">
- <method name="testEJBJarEdit" tagging="GLOBAL" shortName="EJB emf edit" />
- </testCase>
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.EjbEMFEditTest">
- <method name="testWCCMJar" tagging="GLOBAL" shortName="EJB emf edit" />
- </testCase>
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.EjbEMFTest">
- <method name="testEJBJarPopulation" tagging="GLOBAL" shortName="EJB emf test" />
- </testCase>
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.EjbEMFTest">
- <method name="test14EJBJarPopulation" tagging="GLOBAL" shortName="EJB 14 emf test" />
- </testCase>
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.AppClientEMFEditTest">
- <method name="testApplicationClientEdit" tagging="GLOBAL" shortName="Application Client emf edit" />
- </testCase>
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.AppClientEMFTest">
- <method name="test14ApplicationClientPopulation" tagging="GLOBAL" shortName="Application Client 14 emf test" />
- </testCase>
-
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.RarEMFEditTest">
- <method name="testRAREdit" tagging="GLOBAL" shortName="Connector emf edit" />
- </testCase>
-
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.RarEMFTest">
- <method name="test14RARPopulation" tagging="GLOBAL" shortName="Connector 14 emf test" />
- </testCase>
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.WarEMFEditTest">
- <method name="testWAREdit" tagging="GLOBAL" shortName="Web emf edit" />
- </testCase>
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.WarEMFTest">
- <method name="test14WARPopulation" tagging="GLOBAL" shortName="Web 14 emf test" />
- </testCase>
-
- <testCase class="org.eclipse.jst.j2ee.archive.emftests.WebServicesEMFTest">
- <method name="test14WebServicesDDPopulation" tagging="GLOBAL" shortName="Web services 14 emf test" />
- </testCase>
-
-</testCases>
- \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/.classpath b/tests/org.eclipse.jst.j2ee.core.tests/.classpath
deleted file mode 100644
index 755d9b30..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="commonArchiveTests"/>
- <classpathentry kind="src" path="mofj2eeTests"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/.cvsignore b/tests/org.eclipse.jst.j2ee.core.tests/.cvsignore
deleted file mode 100644
index 5c699695..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/.cvsignore
+++ /dev/null
@@ -1,5 +0,0 @@
-bin
-testOutput
-build.xml
-temp.folder
-tests.jar
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/.project b/tests/org.eclipse.jst.j2ee.core.tests/.project
deleted file mode 100644
index ecd7aaa3..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/.project
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.j2ee.core.tests</name>
- <comment></comment>
- <projects></projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/about.html b/tests/org.eclipse.jst.j2ee.core.tests/about.html
deleted file mode 100644
index 4ec59895..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/build.properties b/tests/org.eclipse.jst.j2ee.core.tests/build.properties
deleted file mode 100644
index 7e69f8c2..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/build.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-bin.includes = tests.jar,\
- plugin.xml,\
- test.xml,\
- commonArchiveResources/,\
- testData/,\
- about.html
-output.tests.jar = bin/
-jars.compile.order = tests.jar
-source.tests.jar = commonArchiveTests/,\
- mofj2eeTests/
-bin.excludes = commonArchiveResources/.cvsignore
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/build/buildcontrol.properties b/tests/org.eclipse.jst.j2ee.core.tests/build/buildcontrol.properties
deleted file mode 100644
index 082a9930..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/build/buildcontrol.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-CONTACT=danberg@us.ibm.com
-ComponentShortName=com.ibm.etools.j2ee.core.test
-ComponentFullName=com.ibm.etools.j2ee.core.test
-ComponentCompetency=TESTS
-JavaCompile.1=srcjar
-BuildVerification.1=dir
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/build/package.xml b/tests/org.eclipse.jst.j2ee.core.tests/build/package.xml
deleted file mode 100644
index 191f326d..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/build/package.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<project name="com.ibm.etools.j2ee.core.test" default="packagingPlugin" basedir="./..">
- <target name="init">
- <property name="packageDir" value=""/>
- <property name="plugin.directory" value="${basedir}"/>
- <property name="plugin.id" value="com.ibm.etools.j2ee.core.test"/>
- <property name="plugin.version" value=""/>
- </target>
- <target name="packagingPlugin" depends="init">
- <echo message="${plugin.id}"/>
- <copy todir="${packageDir}/plugins/${plugin.id}_${plugin.version}">
- <fileset dir="${plugin.directory}">
- <include name="plugin.xml"/>
- <include name="test.xml"/>
- <include name="runtime/commonArchiveTests.jar"/>
- <include name="runtime/modelTests.jar"/>
- <include name="runtime/javaTests.jar"/>
- </fileset>
- </copy>
- </target>
-</project>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/build/wsBuild.xml b/tests/org.eclipse.jst.j2ee.core.tests/build/wsBuild.xml
deleted file mode 100644
index bb538851..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/build/wsBuild.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE project [
- <!ENTITY baseBuild SYSTEM "file:../../wsBuildDef.xml">
-]>
-
-<project name="buildPlugin" default="build" basedir="./..">
-
-<!-- include the common xml build file -->
-&baseBuild;
-
-<target name="build" depends="prepare" if="plugin.id">
-
- <antcall target="unzipsrcjar"> <param name="jarname" value="commonArchiveTests"/> </antcall>
- <antcall target="unzipsrcjar"> <param name="jarname" value="modelTests"/> </antcall>
- <antcall target="unzipsrcjar"> <param name="jarname" value="javaTests"/> </antcall>
-
- <mkdir dir= "${plugin.build.directory}/commonbld"/>
- <javac failonerror="false" destdir="${plugin.build.directory}/commonbld" includeAntRuntime="false">
- <src path="${plugin.src.directory}/commonArchiveTests"/>
- <src path="${plugin.src.directory}/modelTests"/>
- <src path="${plugin.src.directory}/javaTests"/>
- <bootclasspath path="${bootclasspath}"/>
- <classpath path="${plugin.classpath}"/>
- </javac>
-
- <antcall target="buildjar">
- <param name="jarname" value="commonArchiveTests"/>
- <param name="jarclasspath" value="${plugin.classpath};${plugin.build.directory}/commonbld"/>
- </antcall>
- <antcall target="buildjar">
- <param name="jarname" value="modelTests"/>
- <param name="jarclasspath" value="${plugin.classpath};${plugin.build.directory}/commonbld"/>
- </antcall>
- <antcall target="buildjar">
- <param name="jarname" value="javaTests"/>
- <param name="jarclasspath" value="${plugin.classpath};${plugin.build.directory}/commonbld"/>
- </antcall>
-
-</target>
-</project>
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/.cvsignore b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/.cvsignore
deleted file mode 100644
index 09178ee6..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-bin
-testOutput \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/application-client.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/application-client.xml
deleted file mode 100644
index 8796e23a..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/application-client.xml
+++ /dev/null
@@ -1,142 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" "http://java.sun.com/dtd/application-client_1_3.dtd">
-
- <application-client id="Application-client_ID">
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <env-entry>
- <description>description_0</description>
- <env-entry-name>name_0</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_0</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_1</description>
- <env-entry-name>name_1</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_1</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_2</description>
- <env-entry-name>name_2</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_2</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_3</description>
- <env-entry-name>name_3</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_3</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_4</description>
- <env-entry-name>name_4</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_4</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_0</home>
- <remote>remote_0</remote>
- <ejb-link>link_0</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_1</home>
- <remote>remote_1</remote>
- <ejb-link>link_1</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_2</home>
- <remote>remote_2</remote>
- <ejb-link>link_2</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_3</home>
- <remote>remote_3</remote>
- <ejb-link>link_3</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_4</home>
- <remote>remote_4</remote>
- <ejb-link>link_4</ejb-link>
- </ejb-ref>
- <resource-ref>
- <description>description_0</description>
- <res-ref-name>name_0</res-ref-name>
- <res-type>type_0</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_1</description>
- <res-ref-name>name_1</res-ref-name>
- <res-type>type_1</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_2</description>
- <res-ref-name>name_2</res-ref-name>
- <res-type>type_2</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_3</description>
- <res-ref-name>name_3</res-ref-name>
- <res-type>type_3</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_4</description>
- <res-ref-name>name_4</res-ref-name>
- <res-type>type_4</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_0</description>
- <resource-env-ref-name>name_0</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_1</description>
- <resource-env-ref-name>name_1</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_2</description>
- <resource-env-ref-name>name_2</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_3</description>
- <resource-env-ref-name>name_3</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_4</description>
- <resource-env-ref-name>name_4</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <callback-handler>java.util.HashTable</callback-handler>
- </application-client>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/application.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/application.xml
deleted file mode 100644
index dbe77457..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/application.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
-
- <application id="Application_ID">
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <module>
- <java>uri_0</java>
- <alt-dd>altDD_0</alt-dd>
- </module>
- <module>
- <ejb>uri_0</ejb>
- <alt-dd>altDD_0</alt-dd>
- </module>
- <module>
- <web>
- <web-uri>uri_0</web-uri>
- <context-root>contextRoot_0</context-root>
- </web>
- <alt-dd>altDD_0</alt-dd>
- </module>
- <module>
- <connector>uri_0</connector>
- <alt-dd>altDD_0</alt-dd>
- </module>
- <module>
- <java>uri_1</java>
- <alt-dd>altDD_1</alt-dd>
- </module>
- <security-role>
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </security-role>
- <security-role>
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </security-role>
- <security-role>
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </security-role>
- <security-role>
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </security-role>
- <security-role>
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </security-role>
- </application>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/ejb-jar.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/ejb-jar.xml
deleted file mode 100644
index 739d68d7..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/ejb-jar.xml
+++ /dev/null
@@ -1,2869 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
-
- <ejb-jar id="ejb-jar_ID">
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <enterprise-beans>
- <entity>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_0</ejb-name>
- <home>java.util.HashTable</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.HashTable</local-home>
- <local>java.util.HashTable</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_0</description>
- <env-entry-name>name_0</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_0</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_1</description>
- <env-entry-name>name_1</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_1</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_2</description>
- <env-entry-name>name_2</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_2</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_3</description>
- <env-entry-name>name_3</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_3</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_4</description>
- <env-entry-name>name_4</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_4</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_0</home>
- <remote>remote_0</remote>
- <ejb-link>link_0</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_1</home>
- <remote>remote_1</remote>
- <ejb-link>link_1</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_2</home>
- <remote>remote_2</remote>
- <ejb-link>link_2</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_3</home>
- <remote>remote_3</remote>
- <ejb-link>link_3</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_4</home>
- <remote>remote_4</remote>
- <ejb-link>link_4</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_0</local-home>
- <local>remote_0</local>
- <ejb-link>link_0</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_1</local-home>
- <local>remote_1</local>
- <ejb-link>link_1</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_2</local-home>
- <local>remote_2</local>
- <ejb-link>link_2</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_3</local-home>
- <local>remote_3</local>
- <ejb-link>link_3</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_4</local-home>
- <local>remote_4</local>
- <ejb-link>link_4</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_0</description>
- <role-name>name_0</role-name>
- <role-link>link_0</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_1</description>
- <role-name>name_1</role-name>
- <role-link>link_1</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_2</description>
- <role-name>name_2</role-name>
- <role-link>link_2</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_3</description>
- <role-name>name_3</role-name>
- <role-link>link_3</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_4</description>
- <role-name>name_4</role-name>
- <role-link>link_4</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_0</description>
- <run-as>
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_0</description>
- <res-ref-name>name_0</res-ref-name>
- <res-type>type_0</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_1</description>
- <res-ref-name>name_1</res-ref-name>
- <res-type>type_1</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_2</description>
- <res-ref-name>name_2</res-ref-name>
- <res-type>type_2</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_3</description>
- <res-ref-name>name_3</res-ref-name>
- <res-type>type_3</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_4</description>
- <res-ref-name>name_4</res-ref-name>
- <res-type>type_4</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_0</description>
- <resource-env-ref-name>name_0</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_1</description>
- <resource-env-ref-name>name_1</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_2</description>
- <resource-env-ref-name>name_2</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_3</description>
- <resource-env-ref-name>name_3</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_4</description>
- <resource-env-ref-name>name_4</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_1</description>
- <display-name>displayName_1</display-name>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- <ejb-name>name_1</ejb-name>
- <home>java.util.List</home>
- <remote>java.util.List</remote>
- <local-home>java.util.List</local-home>
- <local>java.util.List</local>
- <ejb-class>java.util.List</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.List</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_5</description>
- <env-entry-name>name_5</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_5</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_6</description>
- <env-entry-name>name_6</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_6</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_7</description>
- <env-entry-name>name_7</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_7</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_8</description>
- <env-entry-name>name_8</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_8</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_9</description>
- <env-entry-name>name_9</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_9</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_5</description>
- <ejb-ref-name>name_5</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_5</home>
- <remote>remote_5</remote>
- <ejb-link>link_5</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_6</description>
- <ejb-ref-name>name_6</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_6</home>
- <remote>remote_6</remote>
- <ejb-link>link_6</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_7</description>
- <ejb-ref-name>name_7</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_7</home>
- <remote>remote_7</remote>
- <ejb-link>link_7</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_8</description>
- <ejb-ref-name>name_8</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_8</home>
- <remote>remote_8</remote>
- <ejb-link>link_8</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_9</description>
- <ejb-ref-name>name_9</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_9</home>
- <remote>remote_9</remote>
- <ejb-link>link_9</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_5</description>
- <ejb-ref-name>name_5</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_5</local-home>
- <local>remote_5</local>
- <ejb-link>link_5</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_6</description>
- <ejb-ref-name>name_6</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_6</local-home>
- <local>remote_6</local>
- <ejb-link>link_6</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_7</description>
- <ejb-ref-name>name_7</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_7</local-home>
- <local>remote_7</local>
- <ejb-link>link_7</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_8</description>
- <ejb-ref-name>name_8</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_8</local-home>
- <local>remote_8</local>
- <ejb-link>link_8</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_9</description>
- <ejb-ref-name>name_9</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_9</local-home>
- <local>remote_9</local>
- <ejb-link>link_9</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_5</description>
- <role-name>name_5</role-name>
- <role-link>link_5</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_6</description>
- <role-name>name_6</role-name>
- <role-link>link_6</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_7</description>
- <role-name>name_7</role-name>
- <role-link>link_7</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_8</description>
- <role-name>name_8</role-name>
- <role-link>link_8</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_9</description>
- <role-name>name_9</role-name>
- <role-link>link_9</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_0</description>
- <use-caller-identity></use-caller-identity>
- </security-identity>
- <resource-ref>
- <description>description_5</description>
- <res-ref-name>name_5</res-ref-name>
- <res-type>type_5</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_6</description>
- <res-ref-name>name_6</res-ref-name>
- <res-type>type_6</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_7</description>
- <res-ref-name>name_7</res-ref-name>
- <res-type>type_7</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_8</description>
- <res-ref-name>name_8</res-ref-name>
- <res-type>type_8</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_9</description>
- <res-ref-name>name_9</res-ref-name>
- <res-type>type_9</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_5</description>
- <resource-env-ref-name>name_5</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_6</description>
- <resource-env-ref-name>name_6</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_7</description>
- <resource-env-ref-name>name_7</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_8</description>
- <resource-env-ref-name>name_8</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_9</description>
- <resource-env-ref-name>name_9</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_2</ejb-name>
- <home>java.util.HashTable</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.HashTable</local-home>
- <local>java.util.HashTable</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>True</reentrant>
- <cmp-version>2.x</cmp-version>
- <abstract-schema-name>abstractSchemaName_0</abstract-schema-name>
- <cmp-field>
- <field-name>name_0</field-name>
- </cmp-field>
- <cmp-field>
- <field-name>name_1</field-name>
- </cmp-field>
- <cmp-field>
- <field-name>name_2</field-name>
- </cmp-field>
- <cmp-field>
- <field-name>name_3</field-name>
- </cmp-field>
- <cmp-field>
- <field-name>name_4</field-name>
- </cmp-field>
- <primkey-field>name_0</primkey-field>
- <env-entry>
- <description>description_10</description>
- <env-entry-name>name_10</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_10</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_11</description>
- <env-entry-name>name_11</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_11</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_12</description>
- <env-entry-name>name_12</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_12</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_13</description>
- <env-entry-name>name_13</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_13</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_14</description>
- <env-entry-name>name_14</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_14</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_10</description>
- <ejb-ref-name>name_10</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_10</home>
- <remote>remote_10</remote>
- <ejb-link>link_10</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_11</description>
- <ejb-ref-name>name_11</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_11</home>
- <remote>remote_11</remote>
- <ejb-link>link_11</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_12</description>
- <ejb-ref-name>name_12</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_12</home>
- <remote>remote_12</remote>
- <ejb-link>link_12</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_13</description>
- <ejb-ref-name>name_13</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_13</home>
- <remote>remote_13</remote>
- <ejb-link>link_13</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_14</description>
- <ejb-ref-name>name_14</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_14</home>
- <remote>remote_14</remote>
- <ejb-link>link_14</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_10</description>
- <ejb-ref-name>name_10</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_10</local-home>
- <local>remote_10</local>
- <ejb-link>link_10</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_11</description>
- <ejb-ref-name>name_11</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_11</local-home>
- <local>remote_11</local>
- <ejb-link>link_11</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_12</description>
- <ejb-ref-name>name_12</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_12</local-home>
- <local>remote_12</local>
- <ejb-link>link_12</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_13</description>
- <ejb-ref-name>name_13</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_13</local-home>
- <local>remote_13</local>
- <ejb-link>link_13</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_14</description>
- <ejb-ref-name>name_14</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_14</local-home>
- <local>remote_14</local>
- <ejb-link>link_14</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_10</description>
- <role-name>name_10</role-name>
- <role-link>link_10</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_11</description>
- <role-name>name_11</role-name>
- <role-link>link_11</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_12</description>
- <role-name>name_12</role-name>
- <role-link>link_12</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_13</description>
- <role-name>name_13</role-name>
- <role-link>link_13</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_14</description>
- <role-name>name_14</role-name>
- <role-link>link_14</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_1</description>
- <run-as>
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_10</description>
- <res-ref-name>name_10</res-ref-name>
- <res-type>type_10</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_11</description>
- <res-ref-name>name_11</res-ref-name>
- <res-type>type_11</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_12</description>
- <res-ref-name>name_12</res-ref-name>
- <res-type>type_12</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_13</description>
- <res-ref-name>name_13</res-ref-name>
- <res-type>type_13</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_14</description>
- <res-ref-name>name_14</res-ref-name>
- <res-type>type_14</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_10</description>
- <resource-env-ref-name>name_10</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_11</description>
- <resource-env-ref-name>name_11</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_12</description>
- <resource-env-ref-name>name_12</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_13</description>
- <resource-env-ref-name>name_13</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_14</description>
- <resource-env-ref-name>name_14</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <query>
- <description>description_0</description>
- <query-method>
- <method-name>name_0</method-name>
- <method-params></method-params>
- </query-method>
- <result-type-mapping>Remote</result-type-mapping>
- <ejb-ql>ejbQL_0</ejb-ql>
- </query>
- <query>
- <description>description_1</description>
- <query-method>
- <method-name>name_1</method-name>
- <method-params>
- <method-param>parms_0</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Local</result-type-mapping>
- <ejb-ql>ejbQL_1</ejb-ql>
- </query>
- <query>
- <description>description_2</description>
- <query-method>
- <method-name>name_2</method-name>
- <method-params>
- <method-param>parms_1</method-param>
- <method-param>parms_2</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Remote</result-type-mapping>
- <ejb-ql>ejbQL_2</ejb-ql>
- </query>
- <query>
- <description>description_3</description>
- <query-method>
- <method-name>name_3</method-name>
- <method-params>
- <method-param>parms_3</method-param>
- <method-param>parms_4</method-param>
- <method-param>parms_5</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Local</result-type-mapping>
- <ejb-ql>ejbQL_3</ejb-ql>
- </query>
- <query>
- <description>description_4</description>
- <query-method>
- <method-name>name_4</method-name>
- <method-params></method-params>
- </query-method>
- <result-type-mapping>Remote</result-type-mapping>
- <ejb-ql>ejbQL_4</ejb-ql>
- </query>
- </entity>
- <session>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_3</ejb-name>
- <home>java.util.HashTable</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.HashTable</local-home>
- <local>java.util.HashTable</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <session-type>Stateful</session-type>
- <transaction-type>Bean</transaction-type>
- <env-entry>
- <description>description_15</description>
- <env-entry-name>name_15</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_15</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_16</description>
- <env-entry-name>name_16</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_16</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_17</description>
- <env-entry-name>name_17</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_17</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_18</description>
- <env-entry-name>name_18</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_18</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_19</description>
- <env-entry-name>name_19</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_19</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_15</description>
- <ejb-ref-name>name_15</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_15</home>
- <remote>remote_15</remote>
- <ejb-link>link_15</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_16</description>
- <ejb-ref-name>name_16</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_16</home>
- <remote>remote_16</remote>
- <ejb-link>link_16</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_17</description>
- <ejb-ref-name>name_17</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_17</home>
- <remote>remote_17</remote>
- <ejb-link>link_17</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_18</description>
- <ejb-ref-name>name_18</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_18</home>
- <remote>remote_18</remote>
- <ejb-link>link_18</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_19</description>
- <ejb-ref-name>name_19</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_19</home>
- <remote>remote_19</remote>
- <ejb-link>link_19</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_15</description>
- <ejb-ref-name>name_15</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_15</local-home>
- <local>remote_15</local>
- <ejb-link>link_15</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_16</description>
- <ejb-ref-name>name_16</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_16</local-home>
- <local>remote_16</local>
- <ejb-link>link_16</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_17</description>
- <ejb-ref-name>name_17</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_17</local-home>
- <local>remote_17</local>
- <ejb-link>link_17</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_18</description>
- <ejb-ref-name>name_18</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_18</local-home>
- <local>remote_18</local>
- <ejb-link>link_18</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_19</description>
- <ejb-ref-name>name_19</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_19</local-home>
- <local>remote_19</local>
- <ejb-link>link_19</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_15</description>
- <role-name>name_15</role-name>
- <role-link>link_15</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_16</description>
- <role-name>name_16</role-name>
- <role-link>link_16</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_17</description>
- <role-name>name_17</role-name>
- <role-link>link_17</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_18</description>
- <role-name>name_18</role-name>
- <role-link>link_18</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_19</description>
- <role-name>name_19</role-name>
- <role-link>link_19</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_1</description>
- <use-caller-identity></use-caller-identity>
- </security-identity>
- <resource-ref>
- <description>description_15</description>
- <res-ref-name>name_15</res-ref-name>
- <res-type>type_15</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_16</description>
- <res-ref-name>name_16</res-ref-name>
- <res-type>type_16</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_17</description>
- <res-ref-name>name_17</res-ref-name>
- <res-type>type_17</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_18</description>
- <res-ref-name>name_18</res-ref-name>
- <res-type>type_18</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_19</description>
- <res-ref-name>name_19</res-ref-name>
- <res-type>type_19</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_15</description>
- <resource-env-ref-name>name_15</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_16</description>
- <resource-env-ref-name>name_16</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_17</description>
- <resource-env-ref-name>name_17</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_18</description>
- <resource-env-ref-name>name_18</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_19</description>
- <resource-env-ref-name>name_19</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </session>
- <entity>
- <description>description_2</description>
- <display-name>displayName_2</display-name>
- <small-icon>smallIcon_2</small-icon>
- <large-icon>largeIcon_2</large-icon>
- <ejb-name>name_4</ejb-name>
- <home>java.sql.Data</home>
- <remote>java.sql.Data</remote>
- <local-home>java.sql.Data</local-home>
- <local>java.sql.Data</local>
- <ejb-class>java.sql.Data</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.sql.Data</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_20</description>
- <env-entry-name>name_20</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_20</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_21</description>
- <env-entry-name>name_21</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_21</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_22</description>
- <env-entry-name>name_22</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_22</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_23</description>
- <env-entry-name>name_23</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_23</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_24</description>
- <env-entry-name>name_24</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_24</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_20</description>
- <ejb-ref-name>name_20</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_20</home>
- <remote>remote_20</remote>
- <ejb-link>link_20</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_21</description>
- <ejb-ref-name>name_21</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_21</home>
- <remote>remote_21</remote>
- <ejb-link>link_21</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_22</description>
- <ejb-ref-name>name_22</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_22</home>
- <remote>remote_22</remote>
- <ejb-link>link_22</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_23</description>
- <ejb-ref-name>name_23</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_23</home>
- <remote>remote_23</remote>
- <ejb-link>link_23</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_24</description>
- <ejb-ref-name>name_24</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_24</home>
- <remote>remote_24</remote>
- <ejb-link>link_24</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_20</description>
- <ejb-ref-name>name_20</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_20</local-home>
- <local>remote_20</local>
- <ejb-link>link_20</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_21</description>
- <ejb-ref-name>name_21</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_21</local-home>
- <local>remote_21</local>
- <ejb-link>link_21</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_22</description>
- <ejb-ref-name>name_22</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_22</local-home>
- <local>remote_22</local>
- <ejb-link>link_22</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_23</description>
- <ejb-ref-name>name_23</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_23</local-home>
- <local>remote_23</local>
- <ejb-link>link_23</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_24</description>
- <ejb-ref-name>name_24</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_24</local-home>
- <local>remote_24</local>
- <ejb-link>link_24</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_20</description>
- <role-name>name_20</role-name>
- <role-link>link_20</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_21</description>
- <role-name>name_21</role-name>
- <role-link>link_21</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_22</description>
- <role-name>name_22</role-name>
- <role-link>link_22</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_23</description>
- <role-name>name_23</role-name>
- <role-link>link_23</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_24</description>
- <role-name>name_24</role-name>
- <role-link>link_24</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_2</description>
- <run-as>
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_20</description>
- <res-ref-name>name_20</res-ref-name>
- <res-type>type_20</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_21</description>
- <res-ref-name>name_21</res-ref-name>
- <res-type>type_21</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_22</description>
- <res-ref-name>name_22</res-ref-name>
- <res-type>type_22</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_23</description>
- <res-ref-name>name_23</res-ref-name>
- <res-type>type_23</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_24</description>
- <res-ref-name>name_24</res-ref-name>
- <res-type>type_24</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_20</description>
- <resource-env-ref-name>name_20</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_21</description>
- <resource-env-ref-name>name_21</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_22</description>
- <resource-env-ref-name>name_22</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_23</description>
- <resource-env-ref-name>name_23</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_24</description>
- <resource-env-ref-name>name_24</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_3</description>
- <display-name>displayName_3</display-name>
- <small-icon>smallIcon_3</small-icon>
- <large-icon>largeIcon_3</large-icon>
- <ejb-name>name_5</ejb-name>
- <home>java.lang.Integer</home>
- <remote>java.lang.Integer</remote>
- <local-home>java.lang.Integer</local-home>
- <local>java.lang.Integer</local>
- <ejb-class>java.lang.Integer</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.Integer</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_25</description>
- <env-entry-name>name_25</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_25</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_26</description>
- <env-entry-name>name_26</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_26</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_27</description>
- <env-entry-name>name_27</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_27</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_28</description>
- <env-entry-name>name_28</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_28</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_29</description>
- <env-entry-name>name_29</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_29</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_25</description>
- <ejb-ref-name>name_25</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_25</home>
- <remote>remote_25</remote>
- <ejb-link>link_25</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_26</description>
- <ejb-ref-name>name_26</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_26</home>
- <remote>remote_26</remote>
- <ejb-link>link_26</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_27</description>
- <ejb-ref-name>name_27</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_27</home>
- <remote>remote_27</remote>
- <ejb-link>link_27</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_28</description>
- <ejb-ref-name>name_28</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_28</home>
- <remote>remote_28</remote>
- <ejb-link>link_28</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_29</description>
- <ejb-ref-name>name_29</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_29</home>
- <remote>remote_29</remote>
- <ejb-link>link_29</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_25</description>
- <ejb-ref-name>name_25</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_25</local-home>
- <local>remote_25</local>
- <ejb-link>link_25</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_26</description>
- <ejb-ref-name>name_26</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_26</local-home>
- <local>remote_26</local>
- <ejb-link>link_26</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_27</description>
- <ejb-ref-name>name_27</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_27</local-home>
- <local>remote_27</local>
- <ejb-link>link_27</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_28</description>
- <ejb-ref-name>name_28</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_28</local-home>
- <local>remote_28</local>
- <ejb-link>link_28</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_29</description>
- <ejb-ref-name>name_29</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_29</local-home>
- <local>remote_29</local>
- <ejb-link>link_29</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_25</description>
- <role-name>name_25</role-name>
- <role-link>link_25</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_26</description>
- <role-name>name_26</role-name>
- <role-link>link_26</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_27</description>
- <role-name>name_27</role-name>
- <role-link>link_27</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_28</description>
- <role-name>name_28</role-name>
- <role-link>link_28</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_29</description>
- <role-name>name_29</role-name>
- <role-link>link_29</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_2</description>
- <use-caller-identity></use-caller-identity>
- </security-identity>
- <resource-ref>
- <description>description_25</description>
- <res-ref-name>name_25</res-ref-name>
- <res-type>type_25</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_26</description>
- <res-ref-name>name_26</res-ref-name>
- <res-type>type_26</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_27</description>
- <res-ref-name>name_27</res-ref-name>
- <res-type>type_27</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_28</description>
- <res-ref-name>name_28</res-ref-name>
- <res-type>type_28</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_29</description>
- <res-ref-name>name_29</res-ref-name>
- <res-type>type_29</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_25</description>
- <resource-env-ref-name>name_25</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_26</description>
- <resource-env-ref-name>name_26</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_27</description>
- <resource-env-ref-name>name_27</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_28</description>
- <resource-env-ref-name>name_28</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_29</description>
- <resource-env-ref-name>name_29</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <message-driven>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_6</ejb-name>
- <ejb-class>java.util.HashTable</ejb-class>
- <transaction-type>Bean</transaction-type>
- <message-selector>messageSelector_0</message-selector>
- <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
- <message-driven-destination>
- <destination-type>javax.jms.Queue</destination-type>
- <subscription-durability>Durable</subscription-durability>
- </message-driven-destination>
- <env-entry>
- <description>description_30</description>
- <env-entry-name>name_30</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_30</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_31</description>
- <env-entry-name>name_31</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_31</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_32</description>
- <env-entry-name>name_32</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_32</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_33</description>
- <env-entry-name>name_33</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_33</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_34</description>
- <env-entry-name>name_34</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_34</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_30</description>
- <ejb-ref-name>name_30</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_30</home>
- <remote>remote_30</remote>
- <ejb-link>link_30</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_31</description>
- <ejb-ref-name>name_31</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_31</home>
- <remote>remote_31</remote>
- <ejb-link>link_31</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_32</description>
- <ejb-ref-name>name_32</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_32</home>
- <remote>remote_32</remote>
- <ejb-link>link_32</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_33</description>
- <ejb-ref-name>name_33</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_33</home>
- <remote>remote_33</remote>
- <ejb-link>link_33</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_34</description>
- <ejb-ref-name>name_34</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_34</home>
- <remote>remote_34</remote>
- <ejb-link>link_34</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_30</description>
- <ejb-ref-name>name_30</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_30</local-home>
- <local>remote_30</local>
- <ejb-link>link_30</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_31</description>
- <ejb-ref-name>name_31</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_31</local-home>
- <local>remote_31</local>
- <ejb-link>link_31</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_32</description>
- <ejb-ref-name>name_32</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_32</local-home>
- <local>remote_32</local>
- <ejb-link>link_32</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_33</description>
- <ejb-ref-name>name_33</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_33</local-home>
- <local>remote_33</local>
- <ejb-link>link_33</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_34</description>
- <ejb-ref-name>name_34</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_34</local-home>
- <local>remote_34</local>
- <ejb-link>link_34</ejb-link>
- </ejb-local-ref>
- <security-identity>
- <description>description_3</description>
- <run-as>
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_30</description>
- <res-ref-name>name_30</res-ref-name>
- <res-type>type_30</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_31</description>
- <res-ref-name>name_31</res-ref-name>
- <res-type>type_31</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_32</description>
- <res-ref-name>name_32</res-ref-name>
- <res-type>type_32</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_33</description>
- <res-ref-name>name_33</res-ref-name>
- <res-type>type_33</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_34</description>
- <res-ref-name>name_34</res-ref-name>
- <res-type>type_34</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_30</description>
- <resource-env-ref-name>name_30</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_31</description>
- <resource-env-ref-name>name_31</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_32</description>
- <resource-env-ref-name>name_32</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_33</description>
- <resource-env-ref-name>name_33</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_34</description>
- <resource-env-ref-name>name_34</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </message-driven>
- <session>
- <description>description_1</description>
- <display-name>displayName_1</display-name>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- <ejb-name>name_7</ejb-name>
- <home>java.util.List</home>
- <remote>java.util.List</remote>
- <local-home>java.util.List</local-home>
- <local>java.util.List</local>
- <ejb-class>java.util.List</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Container</transaction-type>
- <env-entry>
- <description>description_35</description>
- <env-entry-name>name_35</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_35</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_36</description>
- <env-entry-name>name_36</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_36</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_37</description>
- <env-entry-name>name_37</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_37</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_38</description>
- <env-entry-name>name_38</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_38</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_39</description>
- <env-entry-name>name_39</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_39</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_35</description>
- <ejb-ref-name>name_35</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_35</home>
- <remote>remote_35</remote>
- <ejb-link>link_35</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_36</description>
- <ejb-ref-name>name_36</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_36</home>
- <remote>remote_36</remote>
- <ejb-link>link_36</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_37</description>
- <ejb-ref-name>name_37</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_37</home>
- <remote>remote_37</remote>
- <ejb-link>link_37</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_38</description>
- <ejb-ref-name>name_38</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_38</home>
- <remote>remote_38</remote>
- <ejb-link>link_38</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_39</description>
- <ejb-ref-name>name_39</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_39</home>
- <remote>remote_39</remote>
- <ejb-link>link_39</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_35</description>
- <ejb-ref-name>name_35</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_35</local-home>
- <local>remote_35</local>
- <ejb-link>link_35</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_36</description>
- <ejb-ref-name>name_36</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_36</local-home>
- <local>remote_36</local>
- <ejb-link>link_36</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_37</description>
- <ejb-ref-name>name_37</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_37</local-home>
- <local>remote_37</local>
- <ejb-link>link_37</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_38</description>
- <ejb-ref-name>name_38</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_38</local-home>
- <local>remote_38</local>
- <ejb-link>link_38</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_39</description>
- <ejb-ref-name>name_39</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_39</local-home>
- <local>remote_39</local>
- <ejb-link>link_39</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_30</description>
- <role-name>name_30</role-name>
- <role-link>link_30</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_31</description>
- <role-name>name_31</role-name>
- <role-link>link_31</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_32</description>
- <role-name>name_32</role-name>
- <role-link>link_32</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_33</description>
- <role-name>name_33</role-name>
- <role-link>link_33</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_34</description>
- <role-name>name_34</role-name>
- <role-link>link_34</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_3</description>
- <use-caller-identity></use-caller-identity>
- </security-identity>
- <resource-ref>
- <description>description_35</description>
- <res-ref-name>name_35</res-ref-name>
- <res-type>type_35</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_36</description>
- <res-ref-name>name_36</res-ref-name>
- <res-type>type_36</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_37</description>
- <res-ref-name>name_37</res-ref-name>
- <res-type>type_37</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_38</description>
- <res-ref-name>name_38</res-ref-name>
- <res-type>type_38</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_39</description>
- <res-ref-name>name_39</res-ref-name>
- <res-type>type_39</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_35</description>
- <resource-env-ref-name>name_35</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_36</description>
- <resource-env-ref-name>name_36</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_37</description>
- <resource-env-ref-name>name_37</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_38</description>
- <resource-env-ref-name>name_38</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_39</description>
- <resource-env-ref-name>name_39</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </session>
- <entity>
- <description>description_4</description>
- <display-name>displayName_4</display-name>
- <small-icon>smallIcon_4</small-icon>
- <large-icon>largeIcon_4</large-icon>
- <ejb-name>name_8</ejb-name>
- <home>java.lang.String</home>
- <remote>java.lang.String</remote>
- <local-home>java.lang.String</local-home>
- <local>java.lang.String</local>
- <ejb-class>java.lang.String</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.String</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_40</description>
- <env-entry-name>name_40</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_40</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_41</description>
- <env-entry-name>name_41</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_41</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_42</description>
- <env-entry-name>name_42</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_42</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_43</description>
- <env-entry-name>name_43</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_43</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_44</description>
- <env-entry-name>name_44</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_44</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_40</description>
- <ejb-ref-name>name_40</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_40</home>
- <remote>remote_40</remote>
- <ejb-link>link_40</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_41</description>
- <ejb-ref-name>name_41</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_41</home>
- <remote>remote_41</remote>
- <ejb-link>link_41</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_42</description>
- <ejb-ref-name>name_42</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_42</home>
- <remote>remote_42</remote>
- <ejb-link>link_42</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_43</description>
- <ejb-ref-name>name_43</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_43</home>
- <remote>remote_43</remote>
- <ejb-link>link_43</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_44</description>
- <ejb-ref-name>name_44</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_44</home>
- <remote>remote_44</remote>
- <ejb-link>link_44</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_40</description>
- <ejb-ref-name>name_40</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_40</local-home>
- <local>remote_40</local>
- <ejb-link>link_40</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_41</description>
- <ejb-ref-name>name_41</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_41</local-home>
- <local>remote_41</local>
- <ejb-link>link_41</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_42</description>
- <ejb-ref-name>name_42</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_42</local-home>
- <local>remote_42</local>
- <ejb-link>link_42</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_43</description>
- <ejb-ref-name>name_43</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_43</local-home>
- <local>remote_43</local>
- <ejb-link>link_43</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_44</description>
- <ejb-ref-name>name_44</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_44</local-home>
- <local>remote_44</local>
- <ejb-link>link_44</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_35</description>
- <role-name>name_35</role-name>
- <role-link>link_35</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_36</description>
- <role-name>name_36</role-name>
- <role-link>link_36</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_37</description>
- <role-name>name_37</role-name>
- <role-link>link_37</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_38</description>
- <role-name>name_38</role-name>
- <role-link>link_38</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_39</description>
- <role-name>name_39</role-name>
- <role-link>link_39</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_4</description>
- <run-as>
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_40</description>
- <res-ref-name>name_40</res-ref-name>
- <res-type>type_40</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_41</description>
- <res-ref-name>name_41</res-ref-name>
- <res-type>type_41</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_42</description>
- <res-ref-name>name_42</res-ref-name>
- <res-type>type_42</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_43</description>
- <res-ref-name>name_43</res-ref-name>
- <res-type>type_43</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_44</description>
- <res-ref-name>name_44</res-ref-name>
- <res-type>type_44</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_40</description>
- <resource-env-ref-name>name_40</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_41</description>
- <resource-env-ref-name>name_41</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_42</description>
- <resource-env-ref-name>name_42</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_43</description>
- <resource-env-ref-name>name_43</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_44</description>
- <resource-env-ref-name>name_44</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_5</description>
- <display-name>displayName_5</display-name>
- <small-icon>smallIcon_5</small-icon>
- <large-icon>largeIcon_5</large-icon>
- <ejb-name>name_9</ejb-name>
- <home>java.util.HashTable</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.HashTable</local-home>
- <local>java.util.HashTable</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_45</description>
- <env-entry-name>name_45</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_45</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_46</description>
- <env-entry-name>name_46</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_46</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_47</description>
- <env-entry-name>name_47</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_47</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_48</description>
- <env-entry-name>name_48</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_48</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_49</description>
- <env-entry-name>name_49</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_49</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_45</description>
- <ejb-ref-name>name_45</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_45</home>
- <remote>remote_45</remote>
- <ejb-link>link_45</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_46</description>
- <ejb-ref-name>name_46</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_46</home>
- <remote>remote_46</remote>
- <ejb-link>link_46</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_47</description>
- <ejb-ref-name>name_47</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_47</home>
- <remote>remote_47</remote>
- <ejb-link>link_47</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_48</description>
- <ejb-ref-name>name_48</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_48</home>
- <remote>remote_48</remote>
- <ejb-link>link_48</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_49</description>
- <ejb-ref-name>name_49</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_49</home>
- <remote>remote_49</remote>
- <ejb-link>link_49</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_45</description>
- <ejb-ref-name>name_45</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_45</local-home>
- <local>remote_45</local>
- <ejb-link>link_45</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_46</description>
- <ejb-ref-name>name_46</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_46</local-home>
- <local>remote_46</local>
- <ejb-link>link_46</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_47</description>
- <ejb-ref-name>name_47</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_47</local-home>
- <local>remote_47</local>
- <ejb-link>link_47</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_48</description>
- <ejb-ref-name>name_48</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_48</local-home>
- <local>remote_48</local>
- <ejb-link>link_48</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_49</description>
- <ejb-ref-name>name_49</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_49</local-home>
- <local>remote_49</local>
- <ejb-link>link_49</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_40</description>
- <role-name>name_40</role-name>
- <role-link>link_40</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_41</description>
- <role-name>name_41</role-name>
- <role-link>link_41</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_42</description>
- <role-name>name_42</role-name>
- <role-link>link_42</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_43</description>
- <role-name>name_43</role-name>
- <role-link>link_43</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_44</description>
- <role-name>name_44</role-name>
- <role-link>link_44</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_4</description>
- <use-caller-identity></use-caller-identity>
- </security-identity>
- <resource-ref>
- <description>description_45</description>
- <res-ref-name>name_45</res-ref-name>
- <res-type>type_45</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_46</description>
- <res-ref-name>name_46</res-ref-name>
- <res-type>type_46</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_47</description>
- <res-ref-name>name_47</res-ref-name>
- <res-type>type_47</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_48</description>
- <res-ref-name>name_48</res-ref-name>
- <res-type>type_48</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_49</description>
- <res-ref-name>name_49</res-ref-name>
- <res-type>type_49</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_45</description>
- <resource-env-ref-name>name_45</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_46</description>
- <resource-env-ref-name>name_46</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_47</description>
- <resource-env-ref-name>name_47</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_48</description>
- <resource-env-ref-name>name_48</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_49</description>
- <resource-env-ref-name>name_49</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- </enterprise-beans>
- <relationships>
- <description>description_0</description>
- <ejb-relation>
- <description>description_0</description>
- <ejb-relation-name>name_0</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_0</description>
- <ejb-relationship-role-name>roleName_0</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <relationship-role-source>
- <description>description_0</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- <cmr-field>
- <cmr-field-name>name_8</cmr-field-name>
- <cmr-field-type>java.util.Collection</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_1</description>
- <ejb-relationship-role-name>roleName_1</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_1</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- <cmr-field>
- <cmr-field-name>name_9</cmr-field-name>
- <cmr-field-type>java.util.Collection</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_1</description>
- <ejb-relation-name>name_1</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_2</description>
- <ejb-relationship-role-name>roleName_2</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <relationship-role-source>
- <description>description_2</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_3</description>
- <ejb-relationship-role-name>roleName_3</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_3</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_2</description>
- <ejb-relation-name>name_2</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_4</description>
- <ejb-relationship-role-name>roleName_4</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <relationship-role-source>
- <description>description_4</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_5</description>
- <ejb-relationship-role-name>roleName_5</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_5</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_3</description>
- <ejb-relation-name>name_3</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_6</description>
- <ejb-relationship-role-name>roleName_6</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <relationship-role-source>
- <description>description_6</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_7</description>
- <ejb-relationship-role-name>roleName_7</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_7</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_4</description>
- <ejb-relation-name>name_4</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_8</description>
- <ejb-relationship-role-name>roleName_8</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <relationship-role-source>
- <description>description_8</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_9</description>
- <ejb-relationship-role-name>roleName_9</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_9</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- </ejb-relationship-role>
- </ejb-relation>
- </relationships>
- <assembly-descriptor>
- <security-role>
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </security-role>
- <security-role>
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </security-role>
- <security-role>
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </security-role>
- <security-role>
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </security-role>
- <security-role>
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </security-role>
- <method-permission>
- <description>description_0</description>
- <unchecked/>
- <method>
- <description>description_0</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_0</method-name>
- </method>
- <method>
- <description>description_1</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_1</method-name>
- <method-params></method-params>
- </method>
- <method>
- <description>description_2</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_2</method-name>
- <method-params>
- <method-param>parms_0</method-param>
- </method-params>
- </method>
- <method>
- <description>description_3</description>
- <ejb-name>name_3</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_3</method-name>
- <method-params>
- <method-param>parms_1</method-param>
- <method-param>parms_2</method-param>
- </method-params>
- </method>
- <method>
- <description>description_4</description>
- <ejb-name>name_4</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_4</method-name>
- <method-params>
- <method-param>parms_3</method-param>
- <method-param>parms_4</method-param>
- <method-param>parms_5</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_1</description>
- <role-name>roleName_0</role-name>
- <method>
- <description>description_5</description>
- <ejb-name>name_5</ejb-name>
- <method-name>name_5</method-name>
- </method>
- <method>
- <description>description_6</description>
- <ejb-name>name_6</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_6</method-name>
- <method-params></method-params>
- </method>
- <method>
- <description>description_7</description>
- <ejb-name>name_7</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_7</method-name>
- <method-params>
- <method-param>parms_6</method-param>
- </method-params>
- </method>
- <method>
- <description>description_8</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_8</method-name>
- <method-params>
- <method-param>parms_7</method-param>
- <method-param>parms_8</method-param>
- </method-params>
- </method>
- <method>
- <description>description_9</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_9</method-name>
- <method-params>
- <method-param>parms_9</method-param>
- <method-param>parms_10</method-param>
- <method-param>parms_11</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_2</description>
- <role-name>roleName_0</role-name>
- <role-name>roleName_1</role-name>
- <method>
- <description>description_10</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_10</method-name>
- </method>
- <method>
- <description>description_11</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_11</method-name>
- <method-params></method-params>
- </method>
- <method>
- <description>description_12</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_12</method-name>
- <method-params>
- <method-param>parms_12</method-param>
- </method-params>
- </method>
- <method>
- <description>description_13</description>
- <ejb-name>name_3</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_13</method-name>
- <method-params>
- <method-param>parms_13</method-param>
- <method-param>parms_14</method-param>
- </method-params>
- </method>
- <method>
- <description>description_14</description>
- <ejb-name>name_4</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_14</method-name>
- <method-params>
- <method-param>parms_15</method-param>
- <method-param>parms_16</method-param>
- <method-param>parms_17</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_3</description>
- <role-name>roleName_0</role-name>
- <role-name>roleName_1</role-name>
- <role-name>roleName_2</role-name>
- <method>
- <description>description_15</description>
- <ejb-name>name_5</ejb-name>
- <method-name>name_15</method-name>
- </method>
- <method>
- <description>description_16</description>
- <ejb-name>name_6</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_16</method-name>
- <method-params></method-params>
- </method>
- <method>
- <description>description_17</description>
- <ejb-name>name_7</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_17</method-name>
- <method-params>
- <method-param>parms_18</method-param>
- </method-params>
- </method>
- <method>
- <description>description_18</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_18</method-name>
- <method-params>
- <method-param>parms_19</method-param>
- <method-param>parms_20</method-param>
- </method-params>
- </method>
- <method>
- <description>description_19</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_19</method-name>
- <method-params>
- <method-param>parms_21</method-param>
- <method-param>parms_22</method-param>
- <method-param>parms_23</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_4</description>
- <role-name>roleName_0</role-name>
- <role-name>roleName_1</role-name>
- <role-name>roleName_2</role-name>
- <role-name>roleName_3</role-name>
- <method>
- <description>description_20</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_20</method-name>
- </method>
- <method>
- <description>description_21</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_21</method-name>
- <method-params></method-params>
- </method>
- <method>
- <description>description_22</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_22</method-name>
- <method-params>
- <method-param>parms_24</method-param>
- </method-params>
- </method>
- <method>
- <description>description_23</description>
- <ejb-name>name_3</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_23</method-name>
- <method-params>
- <method-param>parms_25</method-param>
- <method-param>parms_26</method-param>
- </method-params>
- </method>
- <method>
- <description>description_24</description>
- <ejb-name>name_4</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_24</method-name>
- <method-params>
- <method-param>parms_27</method-param>
- <method-param>parms_28</method-param>
- <method-param>parms_29</method-param>
- </method-params>
- </method>
- </method-permission>
- <container-transaction>
- <description>description_0</description>
- <method>
- <description>description_25</description>
- <ejb-name>name_5</ejb-name>
- <method-name>name_25</method-name>
- </method>
- <method>
- <description>description_26</description>
- <ejb-name>name_6</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_26</method-name>
- <method-params></method-params>
- </method>
- <method>
- <description>description_27</description>
- <ejb-name>name_7</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_27</method-name>
- <method-params>
- <method-param>parms_30</method-param>
- </method-params>
- </method>
- <method>
- <description>description_28</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_28</method-name>
- <method-params>
- <method-param>parms_31</method-param>
- <method-param>parms_32</method-param>
- </method-params>
- </method>
- <method>
- <description>description_29</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_29</method-name>
- <method-params>
- <method-param>parms_33</method-param>
- <method-param>parms_34</method-param>
- <method-param>parms_35</method-param>
- </method-params>
- </method>
- <trans-attribute>NotSupported</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_1</description>
- <method>
- <description>description_30</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_30</method-name>
- </method>
- <method>
- <description>description_31</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_31</method-name>
- <method-params></method-params>
- </method>
- <method>
- <description>description_32</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_32</method-name>
- <method-params>
- <method-param>parms_36</method-param>
- </method-params>
- </method>
- <method>
- <description>description_33</description>
- <ejb-name>name_3</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_33</method-name>
- <method-params>
- <method-param>parms_37</method-param>
- <method-param>parms_38</method-param>
- </method-params>
- </method>
- <method>
- <description>description_34</description>
- <ejb-name>name_4</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_34</method-name>
- <method-params>
- <method-param>parms_39</method-param>
- <method-param>parms_40</method-param>
- <method-param>parms_41</method-param>
- </method-params>
- </method>
- <trans-attribute>Supports</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_2</description>
- <method>
- <description>description_35</description>
- <ejb-name>name_5</ejb-name>
- <method-name>name_35</method-name>
- </method>
- <method>
- <description>description_36</description>
- <ejb-name>name_6</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_36</method-name>
- <method-params></method-params>
- </method>
- <method>
- <description>description_37</description>
- <ejb-name>name_7</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_37</method-name>
- <method-params>
- <method-param>parms_42</method-param>
- </method-params>
- </method>
- <method>
- <description>description_38</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_38</method-name>
- <method-params>
- <method-param>parms_43</method-param>
- <method-param>parms_44</method-param>
- </method-params>
- </method>
- <method>
- <description>description_39</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_39</method-name>
- <method-params>
- <method-param>parms_45</method-param>
- <method-param>parms_46</method-param>
- <method-param>parms_47</method-param>
- </method-params>
- </method>
- <trans-attribute>Required</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_3</description>
- <method>
- <description>description_40</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_40</method-name>
- </method>
- <method>
- <description>description_41</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_41</method-name>
- <method-params></method-params>
- </method>
- <method>
- <description>description_42</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_42</method-name>
- <method-params>
- <method-param>parms_48</method-param>
- </method-params>
- </method>
- <method>
- <description>description_43</description>
- <ejb-name>name_3</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_43</method-name>
- <method-params>
- <method-param>parms_49</method-param>
- <method-param>parms_50</method-param>
- </method-params>
- </method>
- <method>
- <description>description_44</description>
- <ejb-name>name_4</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_44</method-name>
- <method-params>
- <method-param>parms_51</method-param>
- <method-param>parms_52</method-param>
- <method-param>parms_53</method-param>
- </method-params>
- </method>
- <trans-attribute>RequiresNew</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_4</description>
- <method>
- <description>description_45</description>
- <ejb-name>name_5</ejb-name>
- <method-name>name_45</method-name>
- </method>
- <method>
- <description>description_46</description>
- <ejb-name>name_6</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_46</method-name>
- <method-params></method-params>
- </method>
- <method>
- <description>description_47</description>
- <ejb-name>name_7</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_47</method-name>
- <method-params>
- <method-param>parms_54</method-param>
- </method-params>
- </method>
- <method>
- <description>description_48</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_48</method-name>
- <method-params>
- <method-param>parms_55</method-param>
- <method-param>parms_56</method-param>
- </method-params>
- </method>
- <method>
- <description>description_49</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_49</method-name>
- <method-params>
- <method-param>parms_57</method-param>
- <method-param>parms_58</method-param>
- <method-param>parms_59</method-param>
- </method-params>
- </method>
- <trans-attribute>Mandatory</trans-attribute>
- </container-transaction>
- <exclude-list>
- <description>description_0</description>
- <method>
- <description>description_50</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_50</method-name>
- </method>
- <method>
- <description>description_51</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_51</method-name>
- <method-params></method-params>
- </method>
- <method>
- <description>description_52</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_52</method-name>
- <method-params>
- <method-param>parms_60</method-param>
- </method-params>
- </method>
- <method>
- <description>description_53</description>
- <ejb-name>name_3</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_53</method-name>
- <method-params>
- <method-param>parms_61</method-param>
- <method-param>parms_62</method-param>
- </method-params>
- </method>
- <method>
- <description>description_54</description>
- <ejb-name>name_4</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_54</method-name>
- <method-params>
- <method-param>parms_63</method-param>
- <method-param>parms_64</method-param>
- <method-param>parms_65</method-param>
- </method-params>
- </method>
- </exclude-list>
- </assembly-descriptor>
- <ejb-client-jar>ejbClientJar_0</ejb-client-jar>
- </ejb-jar>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/ra.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/ra.xml
deleted file mode 100644
index 2e2a262c..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/ra.xml
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE connector PUBLIC "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN" "http://java.sun.com/dtd/connector_1_0.dtd">
-<connector>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <vendor-name>vendorName_0</vendor-name>
- <spec-version>1.0</spec-version>
- <eis-type>eisType_0</eis-type>
- <version>1.0</version>
- <license>
- <description>description_0</description>
- <license-required>true</license-required>
- </license>
- <resourceadapter>
- <managedconnectionfactory-class>managedConnectionFactoryClass_0</managedconnectionfactory-class>
- <connectionfactory-interface>connectionFactoryInterface_0</connectionfactory-interface>
- <connectionfactory-impl-class>connectionFactoryImplClass_0</connectionfactory-impl-class>
- <connection-interface>connectionInterface_0</connection-interface>
- <connection-impl-class>connectionImplClass_0</connection-impl-class>
- <transaction-support>NoTransaction</transaction-support>
- <config-property>
- <description>description_0</description>
- <config-property-name>name_0</config-property-name>
- <config-property-type>java.lang.String</config-property-type>
- <config-property-value>value_0</config-property-value>
- </config-property>
- <config-property>
- <description>description_1</description>
- <config-property-name>name_1</config-property-name>
- <config-property-type>java.lang.String</config-property-type>
- <config-property-value>value_1</config-property-value>
- </config-property>
- <config-property>
- <description>description_2</description>
- <config-property-name>name_2</config-property-name>
- <config-property-type>java.lang.String</config-property-type>
- <config-property-value>value_2</config-property-value>
- </config-property>
- <config-property>
- <description>description_3</description>
- <config-property-name>name_3</config-property-name>
- <config-property-type>java.lang.String</config-property-type>
- <config-property-value>value_3</config-property-value>
- </config-property>
- <config-property>
- <description>description_4</description>
- <config-property-name>name_4</config-property-name>
- <config-property-type>java.lang.String</config-property-type>
- <config-property-value>value_4</config-property-value>
- </config-property>
- <authentication-mechanism>
- <description>description_0</description>
- <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
- <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism>
- <description>description_1</description>
- <authentication-mechanism-type>Kerbv5</authentication-mechanism-type>
- <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism>
- <description>description_2</description>
- <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
- <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism>
- <description>description_3</description>
- <authentication-mechanism-type>Kerbv5</authentication-mechanism-type>
- <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism>
- <description>description_4</description>
- <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
- <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
- </authentication-mechanism>
- <reauthentication-support>true</reauthentication-support>
- <security-permission>
- <description>description_0</description>
- <security-permission-spec>specification_0</security-permission-spec>
- </security-permission>
- <security-permission>
- <description>description_1</description>
- <security-permission-spec>specification_1</security-permission-spec>
- </security-permission>
- <security-permission>
- <description>description_2</description>
- <security-permission-spec>specification_2</security-permission-spec>
- </security-permission>
- <security-permission>
- <description>description_3</description>
- <security-permission-spec>specification_3</security-permission-spec>
- </security-permission>
- <security-permission>
- <description>description_4</description>
- <security-permission-spec>specification_4</security-permission-spec>
- </security-permission>
- </resourceadapter>
-</connector>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/web.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/web.xml
deleted file mode 100644
index f34ec57b..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTestNoID/web.xml
+++ /dev/null
@@ -1,1284 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
-<web-app id="WebApp_ID">
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <distributable/>
- <context-param>
- <param-name>paramName_0</param-name>
- <param-value>paramValue_0</param-value>
- <description>description_0</description>
- </context-param>
- <context-param>
- <param-name>paramName_1</param-name>
- <param-value>paramValue_1</param-value>
- <description>description_1</description>
- </context-param>
- <context-param>
- <param-name>paramName_2</param-name>
- <param-value>paramValue_2</param-value>
- <description>description_2</description>
- </context-param>
- <context-param>
- <param-name>paramName_3</param-name>
- <param-value>paramValue_3</param-value>
- <description>description_3</description>
- </context-param>
- <context-param>
- <param-name>paramName_4</param-name>
- <param-value>paramValue_4</param-value>
- <description>description_4</description>
- </context-param>
- <filter>
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <filter-name>name_0</filter-name>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <filter-class>java.util.HashTable</filter-class>
- <init-param>
- <param-name>paramName_25</param-name>
- <param-value>paramValue_25</param-value>
- <description>description_25</description>
- </init-param>
- <init-param>
- <param-name>paramName_26</param-name>
- <param-value>paramValue_26</param-value>
- <description>description_26</description>
- </init-param>
- <init-param>
- <param-name>paramName_27</param-name>
- <param-value>paramValue_27</param-value>
- <description>description_27</description>
- </init-param>
- <init-param>
- <param-name>paramName_28</param-name>
- <param-value>paramValue_28</param-value>
- <description>description_28</description>
- </init-param>
- <init-param>
- <param-name>paramName_29</param-name>
- <param-value>paramValue_29</param-value>
- <description>description_29</description>
- </init-param>
- </filter>
- <filter>
- <icon>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- </icon>
- <filter-name>name_1</filter-name>
- <display-name>displayName_1</display-name>
- <description>description_1</description>
- <filter-class>java.util.List</filter-class>
- <init-param>
- <param-name>paramName_30</param-name>
- <param-value>paramValue_30</param-value>
- <description>description_30</description>
- </init-param>
- <init-param>
- <param-name>paramName_31</param-name>
- <param-value>paramValue_31</param-value>
- <description>description_31</description>
- </init-param>
- <init-param>
- <param-name>paramName_32</param-name>
- <param-value>paramValue_32</param-value>
- <description>description_32</description>
- </init-param>
- <init-param>
- <param-name>paramName_33</param-name>
- <param-value>paramValue_33</param-value>
- <description>description_33</description>
- </init-param>
- <init-param>
- <param-name>paramName_34</param-name>
- <param-value>paramValue_34</param-value>
- <description>description_34</description>
- </init-param>
- </filter>
- <filter>
- <icon>
- <small-icon>smallIcon_2</small-icon>
- <large-icon>largeIcon_2</large-icon>
- </icon>
- <filter-name>name_2</filter-name>
- <display-name>displayName_2</display-name>
- <description>description_2</description>
- <filter-class>java.sql.Data</filter-class>
- <init-param>
- <param-name>paramName_35</param-name>
- <param-value>paramValue_35</param-value>
- <description>description_35</description>
- </init-param>
- <init-param>
- <param-name>paramName_36</param-name>
- <param-value>paramValue_36</param-value>
- <description>description_36</description>
- </init-param>
- <init-param>
- <param-name>paramName_37</param-name>
- <param-value>paramValue_37</param-value>
- <description>description_37</description>
- </init-param>
- <init-param>
- <param-name>paramName_38</param-name>
- <param-value>paramValue_38</param-value>
- <description>description_38</description>
- </init-param>
- <init-param>
- <param-name>paramName_39</param-name>
- <param-value>paramValue_39</param-value>
- <description>description_39</description>
- </init-param>
- </filter>
- <filter>
- <icon>
- <small-icon>smallIcon_3</small-icon>
- <large-icon>largeIcon_3</large-icon>
- </icon>
- <filter-name>name_3</filter-name>
- <display-name>displayName_3</display-name>
- <description>description_3</description>
- <filter-class>java.lang.Integer</filter-class>
- <init-param>
- <param-name>paramName_40</param-name>
- <param-value>paramValue_40</param-value>
- <description>description_40</description>
- </init-param>
- <init-param>
- <param-name>paramName_41</param-name>
- <param-value>paramValue_41</param-value>
- <description>description_41</description>
- </init-param>
- <init-param>
- <param-name>paramName_42</param-name>
- <param-value>paramValue_42</param-value>
- <description>description_42</description>
- </init-param>
- <init-param>
- <param-name>paramName_43</param-name>
- <param-value>paramValue_43</param-value>
- <description>description_43</description>
- </init-param>
- <init-param>
- <param-name>paramName_44</param-name>
- <param-value>paramValue_44</param-value>
- <description>description_44</description>
- </init-param>
- </filter>
- <filter>
- <icon>
- <small-icon>smallIcon_4</small-icon>
- <large-icon>largeIcon_4</large-icon>
- </icon>
- <filter-name>name_4</filter-name>
- <display-name>displayName_4</display-name>
- <description>description_4</description>
- <filter-class>java.lang.String</filter-class>
- <init-param>
- <param-name>paramName_45</param-name>
- <param-value>paramValue_45</param-value>
- <description>description_45</description>
- </init-param>
- <init-param>
- <param-name>paramName_46</param-name>
- <param-value>paramValue_46</param-value>
- <description>description_46</description>
- </init-param>
- <init-param>
- <param-name>paramName_47</param-name>
- <param-value>paramValue_47</param-value>
- <description>description_47</description>
- </init-param>
- <init-param>
- <param-name>paramName_48</param-name>
- <param-value>paramValue_48</param-value>
- <description>description_48</description>
- </init-param>
- <init-param>
- <param-name>paramName_49</param-name>
- <param-value>paramValue_49</param-value>
- <description>description_49</description>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>name_0</filter-name>
- <url-pattern>urlPattern_0</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>name_1</filter-name>
- <url-pattern>urlPattern_1</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>name_2</filter-name>
- <url-pattern>urlPattern_2</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>name_3</filter-name>
- <url-pattern>urlPattern_3</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>name_4</filter-name>
- <url-pattern>urlPattern_4</url-pattern>
- </filter-mapping>
- <listener>
- <listener-class>java.util.HashTable</listener-class>
- </listener>
- <listener>
- <listener-class>java.util.List</listener-class>
- </listener>
- <listener>
- <listener-class>java.sql.Data</listener-class>
- </listener>
- <listener>
- <listener-class>java.lang.Integer</listener-class>
- </listener>
- <listener>
- <listener-class>java.lang.String</listener-class>
- </listener>
- <servlet>
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <servlet-name>servletName_0</servlet-name>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <jsp-file>jspFile_0</jsp-file>
- <init-param>
- <param-name>paramName_0</param-name>
- <param-value>paramValue_0</param-value>
- <description>description_0</description>
- </init-param>
- <init-param>
- <param-name>paramName_1</param-name>
- <param-value>paramValue_1</param-value>
- <description>description_1</description>
- </init-param>
- <init-param>
- <param-name>paramName_2</param-name>
- <param-value>paramValue_2</param-value>
- <description>description_2</description>
- </init-param>
- <init-param>
- <param-name>paramName_3</param-name>
- <param-value>paramValue_3</param-value>
- <description>description_3</description>
- </init-param>
- <init-param>
- <param-name>paramName_4</param-name>
- <param-value>paramValue_4</param-value>
- <description>description_4</description>
- </init-param>
- <load-on-startup>0</load-on-startup>
- <run-as>
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </run-as>
- <security-role-ref>
- <description>description_0</description>
- <role-name>name_0</role-name>
- <role-link>link_0</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_1</description>
- <role-name>name_1</role-name>
- <role-link>link_1</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_2</description>
- <role-name>name_2</role-name>
- <role-link>link_2</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_3</description>
- <role-name>name_3</role-name>
- <role-link>link_3</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_4</description>
- <role-name>name_4</role-name>
- <role-link>link_4</role-link>
- </security-role-ref>
- </servlet>
- <servlet>
- <icon>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- </icon>
- <servlet-name>servletName_1</servlet-name>
- <display-name>displayName_1</display-name>
- <description>description_1</description>
- <servlet-class>className_0</servlet-class>
- <init-param>
- <param-name>paramName_5</param-name>
- <param-value>paramValue_5</param-value>
- <description>description_5</description>
- </init-param>
- <init-param>
- <param-name>paramName_6</param-name>
- <param-value>paramValue_6</param-value>
- <description>description_6</description>
- </init-param>
- <init-param>
- <param-name>paramName_7</param-name>
- <param-value>paramValue_7</param-value>
- <description>description_7</description>
- </init-param>
- <init-param>
- <param-name>paramName_8</param-name>
- <param-value>paramValue_8</param-value>
- <description>description_8</description>
- </init-param>
- <init-param>
- <param-name>paramName_9</param-name>
- <param-value>paramValue_9</param-value>
- <description>description_9</description>
- </init-param>
- <load-on-startup>1</load-on-startup>
- <run-as>
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </run-as>
- <security-role-ref>
- <description>description_5</description>
- <role-name>name_5</role-name>
- <role-link>link_5</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_6</description>
- <role-name>name_6</role-name>
- <role-link>link_6</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_7</description>
- <role-name>name_7</role-name>
- <role-link>link_7</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_8</description>
- <role-name>name_8</role-name>
- <role-link>link_8</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_9</description>
- <role-name>name_9</role-name>
- <role-link>link_9</role-link>
- </security-role-ref>
- </servlet>
- <servlet>
- <icon>
- <small-icon>smallIcon_2</small-icon>
- <large-icon>largeIcon_2</large-icon>
- </icon>
- <servlet-name>servletName_2</servlet-name>
- <display-name>displayName_2</display-name>
- <description>description_2</description>
- <jsp-file>jspFile_1</jsp-file>
- <init-param>
- <param-name>paramName_10</param-name>
- <param-value>paramValue_10</param-value>
- <description>description_10</description>
- </init-param>
- <init-param>
- <param-name>paramName_11</param-name>
- <param-value>paramValue_11</param-value>
- <description>description_11</description>
- </init-param>
- <init-param>
- <param-name>paramName_12</param-name>
- <param-value>paramValue_12</param-value>
- <description>description_12</description>
- </init-param>
- <init-param>
- <param-name>paramName_13</param-name>
- <param-value>paramValue_13</param-value>
- <description>description_13</description>
- </init-param>
- <init-param>
- <param-name>paramName_14</param-name>
- <param-value>paramValue_14</param-value>
- <description>description_14</description>
- </init-param>
- <load-on-startup>2</load-on-startup>
- <run-as>
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </run-as>
- <security-role-ref>
- <description>description_10</description>
- <role-name>name_10</role-name>
- <role-link>link_10</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_11</description>
- <role-name>name_11</role-name>
- <role-link>link_11</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_12</description>
- <role-name>name_12</role-name>
- <role-link>link_12</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_13</description>
- <role-name>name_13</role-name>
- <role-link>link_13</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_14</description>
- <role-name>name_14</role-name>
- <role-link>link_14</role-link>
- </security-role-ref>
- </servlet>
- <servlet>
- <icon>
- <small-icon>smallIcon_3</small-icon>
- <large-icon>largeIcon_3</large-icon>
- </icon>
- <servlet-name>servletName_3</servlet-name>
- <display-name>displayName_3</display-name>
- <description>description_3</description>
- <servlet-class>className_1</servlet-class>
- <init-param>
- <param-name>paramName_15</param-name>
- <param-value>paramValue_15</param-value>
- <description>description_15</description>
- </init-param>
- <init-param>
- <param-name>paramName_16</param-name>
- <param-value>paramValue_16</param-value>
- <description>description_16</description>
- </init-param>
- <init-param>
- <param-name>paramName_17</param-name>
- <param-value>paramValue_17</param-value>
- <description>description_17</description>
- </init-param>
- <init-param>
- <param-name>paramName_18</param-name>
- <param-value>paramValue_18</param-value>
- <description>description_18</description>
- </init-param>
- <init-param>
- <param-name>paramName_19</param-name>
- <param-value>paramValue_19</param-value>
- <description>description_19</description>
- </init-param>
- <load-on-startup>3</load-on-startup>
- <run-as>
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </run-as>
- <security-role-ref>
- <description>description_15</description>
- <role-name>name_15</role-name>
- <role-link>link_15</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_16</description>
- <role-name>name_16</role-name>
- <role-link>link_16</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_17</description>
- <role-name>name_17</role-name>
- <role-link>link_17</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_18</description>
- <role-name>name_18</role-name>
- <role-link>link_18</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_19</description>
- <role-name>name_19</role-name>
- <role-link>link_19</role-link>
- </security-role-ref>
- </servlet>
- <servlet>
- <icon>
- <small-icon>smallIcon_4</small-icon>
- <large-icon>largeIcon_4</large-icon>
- </icon>
- <servlet-name>servletName_4</servlet-name>
- <display-name>displayName_4</display-name>
- <description>description_4</description>
- <jsp-file>jspFile_2</jsp-file>
- <init-param>
- <param-name>paramName_20</param-name>
- <param-value>paramValue_20</param-value>
- <description>description_20</description>
- </init-param>
- <init-param>
- <param-name>paramName_21</param-name>
- <param-value>paramValue_21</param-value>
- <description>description_21</description>
- </init-param>
- <init-param>
- <param-name>paramName_22</param-name>
- <param-value>paramValue_22</param-value>
- <description>description_22</description>
- </init-param>
- <init-param>
- <param-name>paramName_23</param-name>
- <param-value>paramValue_23</param-value>
- <description>description_23</description>
- </init-param>
- <init-param>
- <param-name>paramName_24</param-name>
- <param-value>paramValue_24</param-value>
- <description>description_24</description>
- </init-param>
- <load-on-startup>4</load-on-startup>
- <run-as>
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </run-as>
- <security-role-ref>
- <description>description_20</description>
- <role-name>name_20</role-name>
- <role-link>link_20</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_21</description>
- <role-name>name_21</role-name>
- <role-link>link_21</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_22</description>
- <role-name>name_22</role-name>
- <role-link>link_22</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_23</description>
- <role-name>name_23</role-name>
- <role-link>link_23</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_24</description>
- <role-name>name_24</role-name>
- <role-link>link_24</role-link>
- </security-role-ref>
- </servlet>
- <servlet-mapping>
- <servlet-name>servletName_0</servlet-name>
- <url-pattern>urlPattern_0</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>servletName_1</servlet-name>
- <url-pattern>urlPattern_1</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>servletName_2</servlet-name>
- <url-pattern>urlPattern_2</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>servletName_3</servlet-name>
- <url-pattern>urlPattern_3</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>servletName_4</servlet-name>
- <url-pattern>urlPattern_4</url-pattern>
- </servlet-mapping>
- <session-config>
- <session-timeout>0</session-timeout>
- </session-config>
- <mime-mapping>
- <extension>extension_0</extension>
- <mime-type>mimeType_0</mime-type>
- </mime-mapping>
- <mime-mapping>
- <extension>extension_1</extension>
- <mime-type>mimeType_1</mime-type>
- </mime-mapping>
- <mime-mapping>
- <extension>extension_2</extension>
- <mime-type>mimeType_2</mime-type>
- </mime-mapping>
- <mime-mapping>
- <extension>extension_3</extension>
- <mime-type>mimeType_3</mime-type>
- </mime-mapping>
- <mime-mapping>
- <extension>extension_4</extension>
- <mime-type>mimeType_4</mime-type>
- </mime-mapping>
- <welcome-file-list>
- <welcome-file>welcomeFile_0</welcome-file>
- <welcome-file>welcomeFile_1</welcome-file>
- <welcome-file>welcomeFile_2</welcome-file>
- <welcome-file>welcomeFile_3</welcome-file>
- <welcome-file>welcomeFile_4</welcome-file>
- </welcome-file-list>
- <error-page>
- <exception-type>java.util.HashTable</exception-type>
- <location>location_0</location>
- </error-page>
- <error-page>
- <error-code>errorCode_0</error-code>
- <location>location_0</location>
- </error-page>
- <error-page>
- <exception-type>java.util.List</exception-type>
- <location>location_1</location>
- </error-page>
- <error-page>
- <error-code>errorCode_1</error-code>
- <location>location_1</location>
- </error-page>
- <error-page>
- <exception-type>java.sql.Data</exception-type>
- <location>location_2</location>
- </error-page>
- <taglib>
- <taglib-uri>taglibURI_0</taglib-uri>
- <taglib-location>taglibLocation_0</taglib-location>
- </taglib>
- <taglib>
- <taglib-uri>taglibURI_1</taglib-uri>
- <taglib-location>taglibLocation_1</taglib-location>
- </taglib>
- <taglib>
- <taglib-uri>taglibURI_2</taglib-uri>
- <taglib-location>taglibLocation_2</taglib-location>
- </taglib>
- <taglib>
- <taglib-uri>taglibURI_3</taglib-uri>
- <taglib-location>taglibLocation_3</taglib-location>
- </taglib>
- <taglib>
- <taglib-uri>taglibURI_4</taglib-uri>
- <taglib-location>taglibLocation_4</taglib-location>
- </taglib>
- <resource-env-ref>
- <description>description_0</description>
- <resource-env-ref-name>name_0</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_1</description>
- <resource-env-ref-name>name_1</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_2</description>
- <resource-env-ref-name>name_2</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_3</description>
- <resource-env-ref-name>name_3</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_4</description>
- <resource-env-ref-name>name_4</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-ref>
- <description>description_0</description>
- <res-ref-name>name_0</res-ref-name>
- <res-type>type_0</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_1</description>
- <res-ref-name>name_1</res-ref-name>
- <res-type>type_1</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_2</description>
- <res-ref-name>name_2</res-ref-name>
- <res-type>type_2</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_3</description>
- <res-ref-name>name_3</res-ref-name>
- <res-type>type_3</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_4</description>
- <res-ref-name>name_4</res-ref-name>
- <res-type>type_4</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <security-constraint>
- <display-name>displayName_0</display-name>
- <web-resource-collection>
- <web-resource-name>webResourceName_0</web-resource-name>
- <description>description_0</description>
- <url-pattern>urlPattern_0</url-pattern>
- <url-pattern>urlPattern_1</url-pattern>
- <url-pattern>urlPattern_2</url-pattern>
- <url-pattern>urlPattern_3</url-pattern>
- <url-pattern>urlPattern_4</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_1</web-resource-name>
- <description>description_1</description>
- <url-pattern>urlPattern_5</url-pattern>
- <url-pattern>urlPattern_6</url-pattern>
- <url-pattern>urlPattern_7</url-pattern>
- <url-pattern>urlPattern_8</url-pattern>
- <url-pattern>urlPattern_9</url-pattern>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_2</web-resource-name>
- <description>description_2</description>
- <url-pattern>urlPattern_10</url-pattern>
- <url-pattern>urlPattern_11</url-pattern>
- <url-pattern>urlPattern_12</url-pattern>
- <url-pattern>urlPattern_13</url-pattern>
- <url-pattern>urlPattern_14</url-pattern>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_3</web-resource-name>
- <description>description_3</description>
- <url-pattern>urlPattern_15</url-pattern>
- <url-pattern>urlPattern_16</url-pattern>
- <url-pattern>urlPattern_17</url-pattern>
- <url-pattern>urlPattern_18</url-pattern>
- <url-pattern>urlPattern_19</url-pattern>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_4</web-resource-name>
- <description>description_4</description>
- <url-pattern>urlPattern_20</url-pattern>
- <url-pattern>urlPattern_21</url-pattern>
- <url-pattern>urlPattern_22</url-pattern>
- <url-pattern>urlPattern_23</url-pattern>
- <url-pattern>urlPattern_24</url-pattern>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- </web-resource-collection>
- <auth-constraint>
- <description>description_0</description>
- <role-name>roles_0</role-name>
- <role-name>roles_1</role-name>
- <role-name>roles_2</role-name>
- <role-name>roles_3</role-name>
- <role-name>roles_4</role-name>
- </auth-constraint>
- <user-data-constraint>
- <description>description_0</description>
- <transport-guarantee>NONE</transport-guarantee>
- </user-data-constraint>
- </security-constraint>
- <security-constraint>
- <display-name>displayName_1</display-name>
- <web-resource-collection>
- <web-resource-name>webResourceName_5</web-resource-name>
- <description>description_5</description>
- <url-pattern>urlPattern_25</url-pattern>
- <url-pattern>urlPattern_26</url-pattern>
- <url-pattern>urlPattern_27</url-pattern>
- <url-pattern>urlPattern_28</url-pattern>
- <url-pattern>urlPattern_29</url-pattern>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_6</web-resource-name>
- <description>description_6</description>
- <url-pattern>urlPattern_30</url-pattern>
- <url-pattern>urlPattern_31</url-pattern>
- <url-pattern>urlPattern_32</url-pattern>
- <url-pattern>urlPattern_33</url-pattern>
- <url-pattern>urlPattern_34</url-pattern>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_7</web-resource-name>
- <description>description_7</description>
- <url-pattern>urlPattern_35</url-pattern>
- <url-pattern>urlPattern_36</url-pattern>
- <url-pattern>urlPattern_37</url-pattern>
- <url-pattern>urlPattern_38</url-pattern>
- <url-pattern>urlPattern_39</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_8</web-resource-name>
- <description>description_8</description>
- <url-pattern>urlPattern_40</url-pattern>
- <url-pattern>urlPattern_41</url-pattern>
- <url-pattern>urlPattern_42</url-pattern>
- <url-pattern>urlPattern_43</url-pattern>
- <url-pattern>urlPattern_44</url-pattern>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_9</web-resource-name>
- <description>description_9</description>
- <url-pattern>urlPattern_45</url-pattern>
- <url-pattern>urlPattern_46</url-pattern>
- <url-pattern>urlPattern_47</url-pattern>
- <url-pattern>urlPattern_48</url-pattern>
- <url-pattern>urlPattern_49</url-pattern>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- </web-resource-collection>
- <auth-constraint>
- <description>description_1</description>
- <role-name>roles_5</role-name>
- <role-name>roles_6</role-name>
- <role-name>roles_7</role-name>
- <role-name>roles_8</role-name>
- <role-name>roles_9</role-name>
- </auth-constraint>
- <user-data-constraint>
- <description>description_1</description>
- <transport-guarantee>INTEGRAL</transport-guarantee>
- </user-data-constraint>
- </security-constraint>
- <security-constraint>
- <display-name>displayName_2</display-name>
- <web-resource-collection>
- <web-resource-name>webResourceName_10</web-resource-name>
- <description>description_10</description>
- <url-pattern>urlPattern_50</url-pattern>
- <url-pattern>urlPattern_51</url-pattern>
- <url-pattern>urlPattern_52</url-pattern>
- <url-pattern>urlPattern_53</url-pattern>
- <url-pattern>urlPattern_54</url-pattern>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_11</web-resource-name>
- <description>description_11</description>
- <url-pattern>urlPattern_55</url-pattern>
- <url-pattern>urlPattern_56</url-pattern>
- <url-pattern>urlPattern_57</url-pattern>
- <url-pattern>urlPattern_58</url-pattern>
- <url-pattern>urlPattern_59</url-pattern>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_12</web-resource-name>
- <description>description_12</description>
- <url-pattern>urlPattern_60</url-pattern>
- <url-pattern>urlPattern_61</url-pattern>
- <url-pattern>urlPattern_62</url-pattern>
- <url-pattern>urlPattern_63</url-pattern>
- <url-pattern>urlPattern_64</url-pattern>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_13</web-resource-name>
- <description>description_13</description>
- <url-pattern>urlPattern_65</url-pattern>
- <url-pattern>urlPattern_66</url-pattern>
- <url-pattern>urlPattern_67</url-pattern>
- <url-pattern>urlPattern_68</url-pattern>
- <url-pattern>urlPattern_69</url-pattern>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_14</web-resource-name>
- <description>description_14</description>
- <url-pattern>urlPattern_70</url-pattern>
- <url-pattern>urlPattern_71</url-pattern>
- <url-pattern>urlPattern_72</url-pattern>
- <url-pattern>urlPattern_73</url-pattern>
- <url-pattern>urlPattern_74</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- </web-resource-collection>
- <auth-constraint>
- <description>description_2</description>
- <role-name>roles_10</role-name>
- <role-name>roles_11</role-name>
- <role-name>roles_12</role-name>
- <role-name>roles_13</role-name>
- <role-name>roles_14</role-name>
- </auth-constraint>
- <user-data-constraint>
- <description>description_2</description>
- <transport-guarantee>CONFIDENTIAL</transport-guarantee>
- </user-data-constraint>
- </security-constraint>
- <security-constraint>
- <display-name>displayName_3</display-name>
- <web-resource-collection>
- <web-resource-name>webResourceName_15</web-resource-name>
- <description>description_15</description>
- <url-pattern>urlPattern_75</url-pattern>
- <url-pattern>urlPattern_76</url-pattern>
- <url-pattern>urlPattern_77</url-pattern>
- <url-pattern>urlPattern_78</url-pattern>
- <url-pattern>urlPattern_79</url-pattern>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_16</web-resource-name>
- <description>description_16</description>
- <url-pattern>urlPattern_80</url-pattern>
- <url-pattern>urlPattern_81</url-pattern>
- <url-pattern>urlPattern_82</url-pattern>
- <url-pattern>urlPattern_83</url-pattern>
- <url-pattern>urlPattern_84</url-pattern>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_17</web-resource-name>
- <description>description_17</description>
- <url-pattern>urlPattern_85</url-pattern>
- <url-pattern>urlPattern_86</url-pattern>
- <url-pattern>urlPattern_87</url-pattern>
- <url-pattern>urlPattern_88</url-pattern>
- <url-pattern>urlPattern_89</url-pattern>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_18</web-resource-name>
- <description>description_18</description>
- <url-pattern>urlPattern_90</url-pattern>
- <url-pattern>urlPattern_91</url-pattern>
- <url-pattern>urlPattern_92</url-pattern>
- <url-pattern>urlPattern_93</url-pattern>
- <url-pattern>urlPattern_94</url-pattern>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_19</web-resource-name>
- <description>description_19</description>
- <url-pattern>urlPattern_95</url-pattern>
- <url-pattern>urlPattern_96</url-pattern>
- <url-pattern>urlPattern_97</url-pattern>
- <url-pattern>urlPattern_98</url-pattern>
- <url-pattern>urlPattern_99</url-pattern>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- </web-resource-collection>
- <auth-constraint>
- <description>description_3</description>
- <role-name>roles_15</role-name>
- <role-name>roles_16</role-name>
- <role-name>roles_17</role-name>
- <role-name>roles_18</role-name>
- <role-name>roles_19</role-name>
- </auth-constraint>
- <user-data-constraint>
- <description>description_3</description>
- <transport-guarantee>NONE</transport-guarantee>
- </user-data-constraint>
- </security-constraint>
- <security-constraint>
- <display-name>displayName_4</display-name>
- <web-resource-collection>
- <web-resource-name>webResourceName_20</web-resource-name>
- <description>description_20</description>
- <url-pattern>urlPattern_100</url-pattern>
- <url-pattern>urlPattern_101</url-pattern>
- <url-pattern>urlPattern_102</url-pattern>
- <url-pattern>urlPattern_103</url-pattern>
- <url-pattern>urlPattern_104</url-pattern>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_21</web-resource-name>
- <description>description_21</description>
- <url-pattern>urlPattern_105</url-pattern>
- <url-pattern>urlPattern_106</url-pattern>
- <url-pattern>urlPattern_107</url-pattern>
- <url-pattern>urlPattern_108</url-pattern>
- <url-pattern>urlPattern_109</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_22</web-resource-name>
- <description>description_22</description>
- <url-pattern>urlPattern_110</url-pattern>
- <url-pattern>urlPattern_111</url-pattern>
- <url-pattern>urlPattern_112</url-pattern>
- <url-pattern>urlPattern_113</url-pattern>
- <url-pattern>urlPattern_114</url-pattern>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_23</web-resource-name>
- <description>description_23</description>
- <url-pattern>urlPattern_115</url-pattern>
- <url-pattern>urlPattern_116</url-pattern>
- <url-pattern>urlPattern_117</url-pattern>
- <url-pattern>urlPattern_118</url-pattern>
- <url-pattern>urlPattern_119</url-pattern>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- </web-resource-collection>
- <web-resource-collection>
- <web-resource-name>webResourceName_24</web-resource-name>
- <description>description_24</description>
- <url-pattern>urlPattern_120</url-pattern>
- <url-pattern>urlPattern_121</url-pattern>
- <url-pattern>urlPattern_122</url-pattern>
- <url-pattern>urlPattern_123</url-pattern>
- <url-pattern>urlPattern_124</url-pattern>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- </web-resource-collection>
- <auth-constraint>
- <description>description_4</description>
- <role-name>roles_20</role-name>
- <role-name>roles_21</role-name>
- <role-name>roles_22</role-name>
- <role-name>roles_23</role-name>
- <role-name>roles_24</role-name>
- </auth-constraint>
- <user-data-constraint>
- <description>description_4</description>
- <transport-guarantee>INTEGRAL</transport-guarantee>
- </user-data-constraint>
- </security-constraint>
- <login-config>
- <auth-method>BASIC</auth-method>
- <realm-name>realmName_0</realm-name>
- <form-login-config>
- <form-login-page>formLoginPage_0</form-login-page>
- <form-error-page>formErrorPage_0</form-error-page>
- </form-login-config>
- </login-config>
- <security-role>
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </security-role>
- <security-role>
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </security-role>
- <security-role>
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </security-role>
- <security-role>
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </security-role>
- <security-role>
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </security-role>
- <env-entry>
- <description>description_0</description>
- <env-entry-name>name_0</env-entry-name>
- <env-entry-value>value_0</env-entry-value>
- <env-entry-type>java.lang.String</env-entry-type>
- </env-entry>
- <env-entry>
- <description>description_1</description>
- <env-entry-name>name_1</env-entry-name>
- <env-entry-value>value_1</env-entry-value>
- <env-entry-type>java.lang.Integer</env-entry-type>
- </env-entry>
- <env-entry>
- <description>description_2</description>
- <env-entry-name>name_2</env-entry-name>
- <env-entry-value>value_2</env-entry-value>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- </env-entry>
- <env-entry>
- <description>description_3</description>
- <env-entry-name>name_3</env-entry-name>
- <env-entry-value>value_3</env-entry-value>
- <env-entry-type>java.lang.Double</env-entry-type>
- </env-entry>
- <env-entry>
- <description>description_4</description>
- <env-entry-name>name_4</env-entry-name>
- <env-entry-value>value_4</env-entry-value>
- <env-entry-type>java.lang.Byte</env-entry-type>
- </env-entry>
- <ejb-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_0</home>
- <remote>remote_0</remote>
- <ejb-link>link_0</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_1</home>
- <remote>remote_1</remote>
- <ejb-link>link_1</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_2</home>
- <remote>remote_2</remote>
- <ejb-link>link_2</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_3</home>
- <remote>remote_3</remote>
- <ejb-link>link_3</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_4</home>
- <remote>remote_4</remote>
- <ejb-link>link_4</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_0</local-home>
- <local>remote_0</local>
- <ejb-link>link_0</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_1</local-home>
- <local>remote_1</local>
- <ejb-link>link_1</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_2</local-home>
- <local>remote_2</local>
- <ejb-link>link_2</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_3</local-home>
- <local>remote_3</local>
- <ejb-link>link_3</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_4</local-home>
- <local>remote_4</local>
- <ejb-link>link_4</ejb-link>
- </ejb-local-ref>
-</web-app>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/application-client.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/application-client.xml
deleted file mode 100644
index 325960cc..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/application-client.xml
+++ /dev/null
@@ -1,142 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" "http://java.sun.com/dtd/application-client_1_3.dtd">
-
- <application-client id="Application-client_ID">
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <env-entry id="EnvEntry_1051639763239">
- <description>description_0</description>
- <env-entry-name>name_0</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_0</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639763240">
- <description>description_1</description>
- <env-entry-name>name_1</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_1</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639763241">
- <description>description_2</description>
- <env-entry-name>name_2</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_2</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639763259">
- <description>description_3</description>
- <env-entry-name>name_3</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_3</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639763260">
- <description>description_4</description>
- <env-entry-name>name_4</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_4</env-entry-value>
- </env-entry>
- <ejb-ref id="EjbRef_1051639763279">
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_0</home>
- <remote>remote_0</remote>
- <ejb-link>link_0</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639763280">
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_1</home>
- <remote>remote_1</remote>
- <ejb-link>link_1</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639763281">
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_2</home>
- <remote>remote_2</remote>
- <ejb-link>link_2</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639763282">
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_3</home>
- <remote>remote_3</remote>
- <ejb-link>link_3</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639763283">
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_4</home>
- <remote>remote_4</remote>
- <ejb-link>link_4</ejb-link>
- </ejb-ref>
- <resource-ref id="ResourceRef_1051639763299">
- <description>description_0</description>
- <res-ref-name>name_0</res-ref-name>
- <res-type>type_0</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639763300">
- <description>description_1</description>
- <res-ref-name>name_1</res-ref-name>
- <res-type>type_1</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639763301">
- <description>description_2</description>
- <res-ref-name>name_2</res-ref-name>
- <res-type>type_2</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639763302">
- <description>description_3</description>
- <res-ref-name>name_3</res-ref-name>
- <res-type>type_3</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639763303">
- <description>description_4</description>
- <res-ref-name>name_4</res-ref-name>
- <res-type>type_4</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref id="ResourceEnvRef_1051639763319">
- <description>description_0</description>
- <resource-env-ref-name>name_0</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639763349">
- <description>description_1</description>
- <resource-env-ref-name>name_1</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639763350">
- <description>description_2</description>
- <resource-env-ref-name>name_2</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639763351">
- <description>description_3</description>
- <resource-env-ref-name>name_3</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639763352">
- <description>description_4</description>
- <resource-env-ref-name>name_4</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <callback-handler>java.util.HashTable</callback-handler>
- </application-client>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/application.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/application.xml
deleted file mode 100644
index faf46bd0..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/application.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
-
- <application id="Application_ID">
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <module id="JavaClientModule_1051639778160">
- <java>uri_0</java>
- <alt-dd>altDD_0</alt-dd>
- </module>
- <module id="EjbModule_1051639778160">
- <ejb>uri_1</ejb>
- <alt-dd>altDD_1</alt-dd>
- </module>
- <module id="WebModule_1051639778160">
- <web>
- <web-uri>uri_2</web-uri>
- <context-root>contextRoot_0</context-root>
- </web>
- <alt-dd>altDD_2</alt-dd>
- </module>
- <module id="ConnectorModule_1051639778160">
- <connector>uri_3</connector>
- <alt-dd>altDD_3</alt-dd>
- </module>
- <module id="JavaClientModule_1051639778161">
- <java>uri_4</java>
- <alt-dd>altDD_4</alt-dd>
- </module>
- <security-role id="SecurityRole_1051639778170">
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </security-role>
- <security-role id="SecurityRole_1051639778190">
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </security-role>
- <security-role id="SecurityRole_1051639778191">
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </security-role>
- <security-role id="SecurityRole_1051639778192">
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </security-role>
- <security-role id="SecurityRole_1051639778193">
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </security-role>
- </application>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar.xml
deleted file mode 100644
index e875eae0..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar.xml
+++ /dev/null
@@ -1,1864 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
-
- <ejb-jar id="ejb-jar_ID">
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <enterprise-beans>
- <entity id="Entity_1051639788645">
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_0</ejb-name>
- <home>java.util.List</home>
- <remote>java.sql.Data</remote>
- <local-home>java.lang.Integer</local-home>
- <local>java.lang.String</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry id="EnvEntry_1051639788695">
- <description>description_0</description>
- <env-entry-name>name_0</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_0</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788705">
- <description>description_1</description>
- <env-entry-name>name_1</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_1</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788706">
- <description>description_2</description>
- <env-entry-name>name_2</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_2</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788707">
- <description>description_3</description>
- <env-entry-name>name_3</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_3</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788715">
- <description>description_4</description>
- <env-entry-name>name_4</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_4</env-entry-value>
- </env-entry>
- <ejb-ref id="EjbRef_1051639788725">
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_0</home>
- <remote>remote_0</remote>
- <ejb-link>link_0</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788726">
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_1</home>
- <remote>remote_1</remote>
- <ejb-link>link_1</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788727">
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_2</home>
- <remote>remote_2</remote>
- <ejb-link>link_2</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788728">
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_3</home>
- <remote>remote_3</remote>
- <ejb-link>link_3</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788729">
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_4</home>
- <remote>remote_4</remote>
- <ejb-link>link_4</ejb-link>
- </ejb-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788745">
- <description>description_5</description>
- <ejb-ref-name>name_5</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_5</local-home>
- <local>remote_5</local>
- <ejb-link>link_5</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788746">
- <description>description_6</description>
- <ejb-ref-name>name_6</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_6</local-home>
- <local>remote_6</local>
- <ejb-link>link_6</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788747">
- <description>description_7</description>
- <ejb-ref-name>name_7</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_7</local-home>
- <local>remote_7</local>
- <ejb-link>link_7</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788748">
- <description>description_8</description>
- <ejb-ref-name>name_8</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_8</local-home>
- <local>remote_8</local>
- <ejb-link>link_8</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788749">
- <description>description_9</description>
- <ejb-ref-name>name_9</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_9</local-home>
- <local>remote_9</local>
- <ejb-link>link_9</ejb-link>
- </ejb-local-ref>
- <security-role-ref id="SecurityRoleRef_1051639788775">
- <description>description_0</description>
- <role-name>name_0</role-name>
- <role-link>link_0</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788776">
- <description>description_1</description>
- <role-name>name_1</role-name>
- <role-link>link_1</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788777">
- <description>description_2</description>
- <role-name>name_2</role-name>
- <role-link>link_2</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788778">
- <description>description_3</description>
- <role-name>name_3</role-name>
- <role-link>link_3</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788779">
- <description>description_4</description>
- <role-name>name_4</role-name>
- <role-link>link_4</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_0</description>
- <run-as id="RunAsSpecifiedIdentity_1051639788775">
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </run-as>
- </security-identity>
- <resource-ref id="ResourceRef_1051639788785">
- <description>description_0</description>
- <res-ref-name>name_0</res-ref-name>
- <res-type>type_0</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788786">
- <description>description_1</description>
- <res-ref-name>name_1</res-ref-name>
- <res-type>type_1</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788787">
- <description>description_2</description>
- <res-ref-name>name_2</res-ref-name>
- <res-type>type_2</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788788">
- <description>description_3</description>
- <res-ref-name>name_3</res-ref-name>
- <res-type>type_3</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788795">
- <description>description_4</description>
- <res-ref-name>name_4</res-ref-name>
- <res-type>type_4</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788805">
- <description>description_0</description>
- <resource-env-ref-name>name_0</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788806">
- <description>description_1</description>
- <resource-env-ref-name>name_1</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788807">
- <description>description_2</description>
- <resource-env-ref-name>name_2</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788808">
- <description>description_3</description>
- <resource-env-ref-name>name_3</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788809">
- <description>description_4</description>
- <resource-env-ref-name>name_4</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity id="Entity_1051639788805">
- <description>description_1</description>
- <display-name>displayName_1</display-name>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- <ejb-name>name_1</ejb-name>
- <home>java.sql.Data</home>
- <remote>java.lang.Integer</remote>
- <local-home>java.lang.String</local-home>
- <local>java.util.HashTable</local>
- <ejb-class>java.util.List</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.List</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry id="EnvEntry_1051639788805">
- <description>description_5</description>
- <env-entry-name>name_5</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_5</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788815">
- <description>description_6</description>
- <env-entry-name>name_6</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_6</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788816">
- <description>description_7</description>
- <env-entry-name>name_7</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_7</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788817">
- <description>description_8</description>
- <env-entry-name>name_8</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_8</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788818">
- <description>description_9</description>
- <env-entry-name>name_9</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_9</env-entry-value>
- </env-entry>
- <ejb-ref id="EjbRef_1051639788815">
- <description>description_10</description>
- <ejb-ref-name>name_10</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_10</home>
- <remote>remote_10</remote>
- <ejb-link>link_10</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788816">
- <description>description_11</description>
- <ejb-ref-name>name_11</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_11</home>
- <remote>remote_11</remote>
- <ejb-link>link_11</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788817">
- <description>description_12</description>
- <ejb-ref-name>name_12</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_12</home>
- <remote>remote_12</remote>
- <ejb-link>link_12</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788818">
- <description>description_13</description>
- <ejb-ref-name>name_13</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_13</home>
- <remote>remote_13</remote>
- <ejb-link>link_13</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788819">
- <description>description_14</description>
- <ejb-ref-name>name_14</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_14</home>
- <remote>remote_14</remote>
- <ejb-link>link_14</ejb-link>
- </ejb-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788815">
- <description>description_15</description>
- <ejb-ref-name>name_15</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_15</local-home>
- <local>remote_15</local>
- <ejb-link>link_15</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788816">
- <description>description_16</description>
- <ejb-ref-name>name_16</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_16</local-home>
- <local>remote_16</local>
- <ejb-link>link_16</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788817">
- <description>description_17</description>
- <ejb-ref-name>name_17</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_17</local-home>
- <local>remote_17</local>
- <ejb-link>link_17</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788818">
- <description>description_18</description>
- <ejb-ref-name>name_18</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_18</local-home>
- <local>remote_18</local>
- <ejb-link>link_18</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788819">
- <description>description_19</description>
- <ejb-ref-name>name_19</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_19</local-home>
- <local>remote_19</local>
- <ejb-link>link_19</ejb-link>
- </ejb-local-ref>
- <security-role-ref id="SecurityRoleRef_1051639788825">
- <description>description_5</description>
- <role-name>name_5</role-name>
- <role-link>link_5</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788826">
- <description>description_6</description>
- <role-name>name_6</role-name>
- <role-link>link_6</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788827">
- <description>description_7</description>
- <role-name>name_7</role-name>
- <role-link>link_7</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788828">
- <description>description_8</description>
- <role-name>name_8</role-name>
- <role-link>link_8</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788829">
- <description>description_9</description>
- <role-name>name_9</role-name>
- <role-link>link_9</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_1</description>
- <use-caller-identity id="UseCallerIdentity_1051639788825"></use-caller-identity>
- </security-identity>
- <resource-ref id="ResourceRef_1051639788825">
- <description>description_5</description>
- <res-ref-name>name_5</res-ref-name>
- <res-type>type_5</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788826">
- <description>description_6</description>
- <res-ref-name>name_6</res-ref-name>
- <res-type>type_6</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788827">
- <description>description_7</description>
- <res-ref-name>name_7</res-ref-name>
- <res-type>type_7</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788828">
- <description>description_8</description>
- <res-ref-name>name_8</res-ref-name>
- <res-type>type_8</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788829">
- <description>description_9</description>
- <res-ref-name>name_9</res-ref-name>
- <res-type>type_9</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788825">
- <description>description_5</description>
- <resource-env-ref-name>name_5</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788826">
- <description>description_6</description>
- <resource-env-ref-name>name_6</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788827">
- <description>description_7</description>
- <resource-env-ref-name>name_7</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788828">
- <description>description_8</description>
- <resource-env-ref-name>name_8</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788829">
- <description>description_9</description>
- <resource-env-ref-name>name_9</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity id="ContainerManagedEntity_1051639788825">
- <description>description_2</description>
- <display-name>displayName_2</display-name>
- <small-icon>smallIcon_2</small-icon>
- <large-icon>largeIcon_2</large-icon>
- <ejb-name>name_2</ejb-name>
- <home>java.lang.Integer</home>
- <remote>java.lang.String</remote>
- <local-home>java.util.HashTable</local-home>
- <local>java.util.List</local>
- <ejb-class>java.sql.Data</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>java.sql.Data</prim-key-class>
- <reentrant>True</reentrant>
- <cmp-version>2.0</cmp-version>
- <abstract-schema-name>abstractSchemaName_0</abstract-schema-name>
- <cmp-field id="CMPAttribute_1051639788845">
- <field-name>name_3</field-name>
- </cmp-field>
- <cmp-field id="CMPAttribute_1051639788846">
- <field-name>name_4</field-name>
- </cmp-field>
- <cmp-field id="CMPAttribute_1051639788847">
- <field-name>name_5</field-name>
- </cmp-field>
- <cmp-field id="CMPAttribute_1051639788848">
- <field-name>name_6</field-name>
- </cmp-field>
- <cmp-field id="CMPAttribute_1051639788849">
- <field-name>name_7</field-name>
- </cmp-field>
- <env-entry id="EnvEntry_1051639788885">
- <description>description_10</description>
- <env-entry-name>name_10</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_10</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788886">
- <description>description_11</description>
- <env-entry-name>name_11</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_11</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788887">
- <description>description_12</description>
- <env-entry-name>name_12</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_12</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788888">
- <description>description_13</description>
- <env-entry-name>name_13</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_13</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788889">
- <description>description_14</description>
- <env-entry-name>name_14</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_14</env-entry-value>
- </env-entry>
- <ejb-ref id="EjbRef_1051639788885">
- <description>description_20</description>
- <ejb-ref-name>name_20</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_20</home>
- <remote>remote_20</remote>
- <ejb-link>link_20</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788886">
- <description>description_21</description>
- <ejb-ref-name>name_21</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_21</home>
- <remote>remote_21</remote>
- <ejb-link>link_21</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788887">
- <description>description_22</description>
- <ejb-ref-name>name_22</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_22</home>
- <remote>remote_22</remote>
- <ejb-link>link_22</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788888">
- <description>description_23</description>
- <ejb-ref-name>name_23</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_23</home>
- <remote>remote_23</remote>
- <ejb-link>link_23</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788889">
- <description>description_24</description>
- <ejb-ref-name>name_24</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_24</home>
- <remote>remote_24</remote>
- <ejb-link>link_24</ejb-link>
- </ejb-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788895">
- <description>description_25</description>
- <ejb-ref-name>name_25</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_25</local-home>
- <local>remote_25</local>
- <ejb-link>link_25</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788896">
- <description>description_26</description>
- <ejb-ref-name>name_26</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_26</local-home>
- <local>remote_26</local>
- <ejb-link>link_26</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788897">
- <description>description_27</description>
- <ejb-ref-name>name_27</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_27</local-home>
- <local>remote_27</local>
- <ejb-link>link_27</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788898">
- <description>description_28</description>
- <ejb-ref-name>name_28</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_28</local-home>
- <local>remote_28</local>
- <ejb-link>link_28</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788899">
- <description>description_29</description>
- <ejb-ref-name>name_29</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_29</local-home>
- <local>remote_29</local>
- <ejb-link>link_29</ejb-link>
- </ejb-local-ref>
- <security-role-ref id="SecurityRoleRef_1051639788895">
- <description>description_10</description>
- <role-name>name_10</role-name>
- <role-link>link_10</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788896">
- <description>description_11</description>
- <role-name>name_11</role-name>
- <role-link>link_11</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788897">
- <description>description_12</description>
- <role-name>name_12</role-name>
- <role-link>link_12</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788898">
- <description>description_13</description>
- <role-name>name_13</role-name>
- <role-link>link_13</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788899">
- <description>description_14</description>
- <role-name>name_14</role-name>
- <role-link>link_14</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_2</description>
- <run-as id="RunAsSpecifiedIdentity_1051639788895">
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </run-as>
- </security-identity>
- <resource-ref id="ResourceRef_1051639788895">
- <description>description_10</description>
- <res-ref-name>name_10</res-ref-name>
- <res-type>type_10</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788896">
- <description>description_11</description>
- <res-ref-name>name_11</res-ref-name>
- <res-type>type_11</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788897">
- <description>description_12</description>
- <res-ref-name>name_12</res-ref-name>
- <res-type>type_12</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788898">
- <description>description_13</description>
- <res-ref-name>name_13</res-ref-name>
- <res-type>type_13</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788905">
- <description>description_14</description>
- <res-ref-name>name_14</res-ref-name>
- <res-type>type_14</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788905">
- <description>description_10</description>
- <resource-env-ref-name>name_10</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788906">
- <description>description_11</description>
- <resource-env-ref-name>name_11</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788907">
- <description>description_12</description>
- <resource-env-ref-name>name_12</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788908">
- <description>description_13</description>
- <resource-env-ref-name>name_13</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788909">
- <description>description_14</description>
- <resource-env-ref-name>name_14</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <query id="Query_1051639788936">
- <description>description_0</description>
- <query-method id="QueryMethod_1051639788936">
- <method-name>name_55</method-name>
- <method-params>
- </method-params>
- </query-method>
- <result-type-mapping>Remote</result-type-mapping>
- <ejb-ql>ejbQL_0</ejb-ql>
- </query>
- <query id="Query_1051639788937">
- <description>description_1</description>
- <query-method id="QueryMethod_1051639788937">
- <method-name>name_56</method-name>
- <method-params>
- <method-param>parms_66</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Local</result-type-mapping>
- <ejb-ql>ejbQL_1</ejb-ql>
- </query>
- <query id="Query_1051639788938">
- <description>description_2</description>
- <query-method id="QueryMethod_1051639788938">
- <method-name>name_57</method-name>
- <method-params>
- <method-param>parms_67</method-param>
- <method-param>parms_68</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Remote</result-type-mapping>
- <ejb-ql>ejbQL_2</ejb-ql>
- </query>
- <query id="Query_1051639788939">
- <description>description_3</description>
- <query-method id="QueryMethod_1051639788939">
- <method-name>name_58</method-name>
- <method-params>
- <method-param>parms_69</method-param>
- <method-param>parms_70</method-param>
- <method-param>parms_71</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Local</result-type-mapping>
- <ejb-ql>ejbQL_3</ejb-ql>
- </query>
- <query id="Query_1051639788940">
- <description>description_4</description>
- <query-method id="QueryMethod_1051639788940">
- <method-name>name_59</method-name>
- <method-params>
- </method-params>
- </query-method>
- <result-type-mapping>Remote</result-type-mapping>
- <ejb-ql>ejbQL_4</ejb-ql>
- </query>
- </entity>
- <session id="Session_1051639788946">
- <description>description_3</description>
- <display-name>displayName_3</display-name>
- <small-icon>smallIcon_3</small-icon>
- <large-icon>largeIcon_3</large-icon>
- <ejb-name>name_8</ejb-name>
- <home>java.lang.String</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.List</local-home>
- <local>java.sql.Data</local>
- <ejb-class>java.lang.Integer</ejb-class>
- <session-type>Stateful</session-type>
- <transaction-type>Bean</transaction-type>
- <env-entry id="EnvEntry_1051639788946">
- <description>description_15</description>
- <env-entry-name>name_15</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_15</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788947">
- <description>description_16</description>
- <env-entry-name>name_16</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_16</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788948">
- <description>description_17</description>
- <env-entry-name>name_17</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_17</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788949">
- <description>description_18</description>
- <env-entry-name>name_18</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_18</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788950">
- <description>description_19</description>
- <env-entry-name>name_19</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_19</env-entry-value>
- </env-entry>
- <ejb-ref id="EjbRef_1051639788946">
- <description>description_30</description>
- <ejb-ref-name>name_30</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_30</home>
- <remote>remote_30</remote>
- <ejb-link>link_30</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788947">
- <description>description_31</description>
- <ejb-ref-name>name_31</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_31</home>
- <remote>remote_31</remote>
- <ejb-link>link_31</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788948">
- <description>description_32</description>
- <ejb-ref-name>name_32</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_32</home>
- <remote>remote_32</remote>
- <ejb-link>link_32</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788949">
- <description>description_33</description>
- <ejb-ref-name>name_33</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_33</home>
- <remote>remote_33</remote>
- <ejb-link>link_33</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788950">
- <description>description_34</description>
- <ejb-ref-name>name_34</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_34</home>
- <remote>remote_34</remote>
- <ejb-link>link_34</ejb-link>
- </ejb-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788946">
- <description>description_35</description>
- <ejb-ref-name>name_35</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_35</local-home>
- <local>remote_35</local>
- <ejb-link>link_35</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788947">
- <description>description_36</description>
- <ejb-ref-name>name_36</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_36</local-home>
- <local>remote_36</local>
- <ejb-link>link_36</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788948">
- <description>description_37</description>
- <ejb-ref-name>name_37</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_37</local-home>
- <local>remote_37</local>
- <ejb-link>link_37</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788949">
- <description>description_38</description>
- <ejb-ref-name>name_38</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_38</local-home>
- <local>remote_38</local>
- <ejb-link>link_38</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788950">
- <description>description_39</description>
- <ejb-ref-name>name_39</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_39</local-home>
- <local>remote_39</local>
- <ejb-link>link_39</ejb-link>
- </ejb-local-ref>
- <security-role-ref id="SecurityRoleRef_1051639788946">
- <description>description_15</description>
- <role-name>name_15</role-name>
- <role-link>link_15</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788947">
- <description>description_16</description>
- <role-name>name_16</role-name>
- <role-link>link_16</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788948">
- <description>description_17</description>
- <role-name>name_17</role-name>
- <role-link>link_17</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788949">
- <description>description_18</description>
- <role-name>name_18</role-name>
- <role-link>link_18</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788950">
- <description>description_19</description>
- <role-name>name_19</role-name>
- <role-link>link_19</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_3</description>
- <use-caller-identity id="UseCallerIdentity_1051639788946"></use-caller-identity>
- </security-identity>
- <resource-ref id="ResourceRef_1051639788946">
- <description>description_15</description>
- <res-ref-name>name_15</res-ref-name>
- <res-type>type_15</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788947">
- <description>description_16</description>
- <res-ref-name>name_16</res-ref-name>
- <res-type>type_16</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788948">
- <description>description_17</description>
- <res-ref-name>name_17</res-ref-name>
- <res-type>type_17</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788949">
- <description>description_18</description>
- <res-ref-name>name_18</res-ref-name>
- <res-type>type_18</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788956">
- <description>description_19</description>
- <res-ref-name>name_19</res-ref-name>
- <res-type>type_19</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788956">
- <description>description_15</description>
- <resource-env-ref-name>name_15</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788957">
- <description>description_16</description>
- <resource-env-ref-name>name_16</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788958">
- <description>description_17</description>
- <resource-env-ref-name>name_17</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788959">
- <description>description_18</description>
- <resource-env-ref-name>name_18</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788960">
- <description>description_19</description>
- <resource-env-ref-name>name_19</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- </session>
- <entity id="Entity_1051639788956">
- <description>description_4</description>
- <display-name>displayName_4</display-name>
- <small-icon>smallIcon_4</small-icon>
- <large-icon>largeIcon_4</large-icon>
- <ejb-name>name_9</ejb-name>
- <home>java.lang.String</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.List</local-home>
- <local>java.sql.Data</local>
- <ejb-class>java.lang.Integer</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.Integer</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry id="EnvEntry_1051639788956">
- <description>description_20</description>
- <env-entry-name>name_20</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_20</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788957">
- <description>description_21</description>
- <env-entry-name>name_21</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_21</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788958">
- <description>description_22</description>
- <env-entry-name>name_22</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_22</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788959">
- <description>description_23</description>
- <env-entry-name>name_23</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_23</env-entry-value>
- </env-entry>
- <env-entry id="EnvEntry_1051639788960">
- <description>description_24</description>
- <env-entry-name>name_24</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_24</env-entry-value>
- </env-entry>
- <ejb-ref id="EjbRef_1051639788956">
- <description>description_40</description>
- <ejb-ref-name>name_40</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_40</home>
- <remote>remote_40</remote>
- <ejb-link>link_40</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788957">
- <description>description_41</description>
- <ejb-ref-name>name_41</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_41</home>
- <remote>remote_41</remote>
- <ejb-link>link_41</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788958">
- <description>description_42</description>
- <ejb-ref-name>name_42</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_42</home>
- <remote>remote_42</remote>
- <ejb-link>link_42</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788959">
- <description>description_43</description>
- <ejb-ref-name>name_43</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_43</home>
- <remote>remote_43</remote>
- <ejb-link>link_43</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051639788960">
- <description>description_44</description>
- <ejb-ref-name>name_44</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_44</home>
- <remote>remote_44</remote>
- <ejb-link>link_44</ejb-link>
- </ejb-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788956">
- <description>description_45</description>
- <ejb-ref-name>name_45</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_45</local-home>
- <local>remote_45</local>
- <ejb-link>link_45</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788957">
- <description>description_46</description>
- <ejb-ref-name>name_46</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_46</local-home>
- <local>remote_46</local>
- <ejb-link>link_46</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788958">
- <description>description_47</description>
- <ejb-ref-name>name_47</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_47</local-home>
- <local>remote_47</local>
- <ejb-link>link_47</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788959">
- <description>description_48</description>
- <ejb-ref-name>name_48</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_48</local-home>
- <local>remote_48</local>
- <ejb-link>link_48</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051639788960">
- <description>description_49</description>
- <ejb-ref-name>name_49</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_49</local-home>
- <local>remote_49</local>
- <ejb-link>link_49</ejb-link>
- </ejb-local-ref>
- <security-role-ref id="SecurityRoleRef_1051639788956">
- <description>description_20</description>
- <role-name>name_20</role-name>
- <role-link>link_20</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788957">
- <description>description_21</description>
- <role-name>name_21</role-name>
- <role-link>link_21</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788958">
- <description>description_22</description>
- <role-name>name_22</role-name>
- <role-link>link_22</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788959">
- <description>description_23</description>
- <role-name>name_23</role-name>
- <role-link>link_23</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051639788960">
- <description>description_24</description>
- <role-name>name_24</role-name>
- <role-link>link_24</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_4</description>
- <run-as id="RunAsSpecifiedIdentity_1051639788956">
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </run-as>
- </security-identity>
- <resource-ref id="ResourceRef_1051639788957">
- <description>description_20</description>
- <res-ref-name>name_20</res-ref-name>
- <res-type>type_20</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788958">
- <description>description_21</description>
- <res-ref-name>name_21</res-ref-name>
- <res-type>type_21</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788959">
- <description>description_22</description>
- <res-ref-name>name_22</res-ref-name>
- <res-type>type_22</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788960">
- <description>description_23</description>
- <res-ref-name>name_23</res-ref-name>
- <res-type>type_23</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051639788961">
- <description>description_24</description>
- <res-ref-name>name_24</res-ref-name>
- <res-type>type_24</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788961">
- <description>description_20</description>
- <resource-env-ref-name>name_20</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788962">
- <description>description_21</description>
- <resource-env-ref-name>name_21</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788963">
- <description>description_22</description>
- <resource-env-ref-name>name_22</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788964">
- <description>description_23</description>
- <resource-env-ref-name>name_23</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051639788965">
- <description>description_24</description>
- <resource-env-ref-name>name_24</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- </enterprise-beans>
- <relationships id="Relationships_1051639788956">
- <description>description_0</description>
- <ejb-relation id="EJBRelation_1051639788996">
- <description>description_0</description>
- <ejb-relation-name>name_0</ejb-relation-name>
- <ejb-relationship-role id="EJBRelationshipRole_1051639788996">
- <description>description_0</description>
- <ejb-relationship-role-name>roleName_0</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete></cascade-delete>
- <relationship-role-source id="RoleSource_1051639788996">
- <description>description_0</description>
- <ejb-name>name_0</ejb-name>
- </relationship-role-source>
- <cmr-field id="CMRField_1051639788996">
- <description>description_0</description>
- <cmr-field-name>name_10</cmr-field-name>
- <cmr-field-type>java.lang.String</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role id="EJBRelationshipRole_1051639788997">
- <description>description_1</description>
- <ejb-relationship-role-name>roleName_1</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source id="RoleSource_1051639788997">
- <description>description_1</description>
- <ejb-name>name_1</ejb-name>
- </relationship-role-source>
- <cmr-field id="CMRField_1051639788997">
- <description>description_1</description>
- <cmr-field-name>name_11</cmr-field-name>
- <cmr-field-type>java.util.HashTable</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation id="EJBRelation_1051639788997">
- <description>description_1</description>
- <ejb-relation-name>name_1</ejb-relation-name>
- <ejb-relationship-role id="EJBRelationshipRole_1051639788998">
- <description>description_5</description>
- <ejb-relationship-role-name>roleName_5</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source id="RoleSource_1051639788998">
- <description>description_5</description>
- <ejb-name>name_1</ejb-name>
- </relationship-role-source>
- <cmr-field id="CMRField_1051639788998">
- <description>description_5</description>
- <cmr-field-name>name_15</cmr-field-name>
- <cmr-field-type>java.lang.String</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role id="EJBRelationshipRole_1051639788999">
- <description>description_6</description>
- <ejb-relationship-role-name>roleName_6</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete></cascade-delete>
- <relationship-role-source id="RoleSource_1051639788999">
- <description>description_6</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- <cmr-field id="CMRField_1051639788999">
- <description>description_6</description>
- <cmr-field-name>name_16</cmr-field-name>
- <cmr-field-type>java.util.HashTable</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation id="EJBRelation_1051639789006">
- <description>description_2</description>
- <ejb-relation-name>name_2</ejb-relation-name>
- <ejb-relationship-role id="EJBRelationshipRole_1051639789006">
- <description>description_10</description>
- <ejb-relationship-role-name>roleName_10</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete></cascade-delete>
- <relationship-role-source id="RoleSource_1051639789006">
- <description>description_10</description>
- <ejb-name>name_2</ejb-name>
- </relationship-role-source>
- <cmr-field id="CMRField_1051639789006">
- <description>description_10</description>
- <cmr-field-name>name_20</cmr-field-name>
- <cmr-field-type>java.lang.String</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role id="EJBRelationshipRole_1051639789007">
- <description>description_11</description>
- <ejb-relationship-role-name>roleName_11</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source id="RoleSource_1051639789007">
- <description>description_11</description>
- <ejb-name>name_9</ejb-name>
- </relationship-role-source>
- <cmr-field id="CMRField_1051639789007">
- <description>description_11</description>
- <cmr-field-name>name_21</cmr-field-name>
- <cmr-field-type>java.util.HashTable</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation id="EJBRelation_1051639789007">
- <description>description_3</description>
- <ejb-relation-name>name_3</ejb-relation-name>
- <ejb-relationship-role id="EJBRelationshipRole_1051639789008">
- <description>description_15</description>
- <ejb-relationship-role-name>roleName_15</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source id="RoleSource_1051639789008">
- <description>description_15</description>
- <ejb-name>name_9</ejb-name>
- </relationship-role-source>
- <cmr-field id="CMRField_1051639789008">
- <description>description_15</description>
- <cmr-field-name>name_25</cmr-field-name>
- <cmr-field-type>java.lang.String</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role id="EJBRelationshipRole_1051639789009">
- <description>description_16</description>
- <ejb-relationship-role-name>roleName_16</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete></cascade-delete>
- <relationship-role-source id="RoleSource_1051639789009">
- <description>description_16</description>
- <ejb-name>name_0</ejb-name>
- </relationship-role-source>
- <cmr-field id="CMRField_1051639789009">
- <description>description_16</description>
- <cmr-field-name>name_26</cmr-field-name>
- <cmr-field-type>java.util.HashTable</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation id="EJBRelation_1051639789008">
- <description>description_4</description>
- <ejb-relation-name>name_4</ejb-relation-name>
- <ejb-relationship-role id="EJBRelationshipRole_1051639789010">
- <description>description_20</description>
- <ejb-relationship-role-name>roleName_20</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete></cascade-delete>
- <relationship-role-source id="RoleSource_1051639789010">
- <description>description_20</description>
- <ejb-name>name_0</ejb-name>
- </relationship-role-source>
- <cmr-field id="CMRField_1051639789010">
- <description>description_20</description>
- <cmr-field-name>name_30</cmr-field-name>
- <cmr-field-type>java.lang.String</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role id="EJBRelationshipRole_1051639789011">
- <description>description_21</description>
- <ejb-relationship-role-name>roleName_21</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source id="RoleSource_1051639789011">
- <description>description_21</description>
- <ejb-name>name_1</ejb-name>
- </relationship-role-source>
- <cmr-field id="CMRField_1051639789011">
- <description>description_21</description>
- <cmr-field-name>name_31</cmr-field-name>
- <cmr-field-type>java.util.HashTable</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- </relationships>
- <assembly-descriptor id="AssemblyDescriptor_1051639789016">
- <security-role id="SecurityRole_1051639789036">
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </security-role>
- <security-role id="SecurityRole_1051639789037">
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </security-role>
- <security-role id="SecurityRole_1051639789046">
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </security-role>
- <security-role id="SecurityRole_1051639789047">
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </security-role>
- <security-role id="SecurityRole_1051639789048">
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </security-role>
- <method-permission id="MethodPermission_1051639789056">
- <description>description_0</description>
- <method id="MethodElement_1051639789106">
- <description>description_0</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_0</method-name>
- </method>
- <method id="MethodElement_1051639789107">
- <description>description_1</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_1</method-name>
- <method-params>
- </method-params>
- </method>
- <method id="MethodElement_1051639789108">
- <description>description_2</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_2</method-name>
- <method-params>
- <method-param>parms_0</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789109">
- <description>description_3</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_3</method-name>
- <method-params>
- <method-param>parms_1</method-param>
- <method-param>parms_2</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789110">
- <description>description_4</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_4</method-name>
- <method-params>
- <method-param>parms_3</method-param>
- <method-param>parms_4</method-param>
- <method-param>parms_5</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission id="MethodPermission_1051639789116">
- <description>description_1</description>
- <method id="MethodElement_1051639789116">
- <description>description_5</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_5</method-name>
- </method>
- <method id="MethodElement_1051639789117">
- <description>description_6</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_6</method-name>
- <method-params>
- </method-params>
- </method>
- <method id="MethodElement_1051639789118">
- <description>description_7</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_7</method-name>
- <method-params>
- <method-param>parms_6</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789119">
- <description>description_8</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_8</method-name>
- <method-params>
- <method-param>parms_7</method-param>
- <method-param>parms_8</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789120">
- <description>description_9</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_9</method-name>
- <method-params>
- <method-param>parms_9</method-param>
- <method-param>parms_10</method-param>
- <method-param>parms_11</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission id="MethodPermission_1051639789117">
- <description>description_2</description>
- <method id="MethodElement_1051639789121">
- <description>description_10</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_10</method-name>
- </method>
- <method id="MethodElement_1051639789122">
- <description>description_11</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_11</method-name>
- <method-params>
- </method-params>
- </method>
- <method id="MethodElement_1051639789123">
- <description>description_12</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_12</method-name>
- <method-params>
- <method-param>parms_12</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789124">
- <description>description_13</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_13</method-name>
- <method-params>
- <method-param>parms_13</method-param>
- <method-param>parms_14</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789125">
- <description>description_14</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_14</method-name>
- <method-params>
- <method-param>parms_15</method-param>
- <method-param>parms_16</method-param>
- <method-param>parms_17</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission id="MethodPermission_1051639789126">
- <description>description_3</description>
- <method id="MethodElement_1051639789126">
- <description>description_15</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_15</method-name>
- </method>
- <method id="MethodElement_1051639789127">
- <description>description_16</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_16</method-name>
- <method-params>
- </method-params>
- </method>
- <method id="MethodElement_1051639789128">
- <description>description_17</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_17</method-name>
- <method-params>
- <method-param>parms_18</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789129">
- <description>description_18</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_18</method-name>
- <method-params>
- <method-param>parms_19</method-param>
- <method-param>parms_20</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789130">
- <description>description_19</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_19</method-name>
- <method-params>
- <method-param>parms_21</method-param>
- <method-param>parms_22</method-param>
- <method-param>parms_23</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission id="MethodPermission_1051639789127">
- <description>description_4</description>
- <method id="MethodElement_1051639789131">
- <description>description_20</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_20</method-name>
- </method>
- <method id="MethodElement_1051639789132">
- <description>description_21</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_21</method-name>
- <method-params>
- </method-params>
- </method>
- <method id="MethodElement_1051639789133">
- <description>description_22</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_22</method-name>
- <method-params>
- <method-param>parms_24</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789134">
- <description>description_23</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_23</method-name>
- <method-params>
- <method-param>parms_25</method-param>
- <method-param>parms_26</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789135">
- <description>description_24</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_24</method-name>
- <method-params>
- <method-param>parms_27</method-param>
- <method-param>parms_28</method-param>
- <method-param>parms_29</method-param>
- </method-params>
- </method>
- </method-permission>
- <container-transaction id="MethodTransaction_1051639789146">
- <description>description_0</description>
- <method id="MethodElement_1051639789146">
- <description>description_25</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_25</method-name>
- </method>
- <method id="MethodElement_1051639789147">
- <description>description_26</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_26</method-name>
- <method-params>
- </method-params>
- </method>
- <method id="MethodElement_1051639789148">
- <description>description_27</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_27</method-name>
- <method-params>
- <method-param>parms_30</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789149">
- <description>description_28</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_28</method-name>
- <method-params>
- <method-param>parms_31</method-param>
- <method-param>parms_32</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789150">
- <description>description_29</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_29</method-name>
- <method-params>
- <method-param>parms_33</method-param>
- <method-param>parms_34</method-param>
- <method-param>parms_35</method-param>
- </method-params>
- </method>
- <trans-attribute>NotSupported</trans-attribute>
- </container-transaction>
- <container-transaction id="MethodTransaction_1051639789147">
- <description>description_1</description>
- <method id="MethodElement_1051639789151">
- <description>description_30</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_30</method-name>
- </method>
- <method id="MethodElement_1051639789152">
- <description>description_31</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_31</method-name>
- <method-params>
- </method-params>
- </method>
- <method id="MethodElement_1051639789153">
- <description>description_32</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_32</method-name>
- <method-params>
- <method-param>parms_36</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789154">
- <description>description_33</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_33</method-name>
- <method-params>
- <method-param>parms_37</method-param>
- <method-param>parms_38</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789156">
- <description>description_34</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_34</method-name>
- <method-params>
- <method-param>parms_39</method-param>
- <method-param>parms_40</method-param>
- <method-param>parms_41</method-param>
- </method-params>
- </method>
- <trans-attribute>Supports</trans-attribute>
- </container-transaction>
- <container-transaction id="MethodTransaction_1051639789156">
- <description>description_2</description>
- <method id="MethodElement_1051639789157">
- <description>description_35</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_35</method-name>
- </method>
- <method id="MethodElement_1051639789158">
- <description>description_36</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_36</method-name>
- <method-params>
- </method-params>
- </method>
- <method id="MethodElement_1051639789159">
- <description>description_37</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_37</method-name>
- <method-params>
- <method-param>parms_42</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789160">
- <description>description_38</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_38</method-name>
- <method-params>
- <method-param>parms_43</method-param>
- <method-param>parms_44</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789161">
- <description>description_39</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_39</method-name>
- <method-params>
- <method-param>parms_45</method-param>
- <method-param>parms_46</method-param>
- <method-param>parms_47</method-param>
- </method-params>
- </method>
- <trans-attribute>Required</trans-attribute>
- </container-transaction>
- <container-transaction id="MethodTransaction_1051639789157">
- <description>description_3</description>
- <method id="MethodElement_1051639789162">
- <description>description_40</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_40</method-name>
- </method>
- <method id="MethodElement_1051639789163">
- <description>description_41</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_41</method-name>
- <method-params>
- </method-params>
- </method>
- <method id="MethodElement_1051639789164">
- <description>description_42</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_42</method-name>
- <method-params>
- <method-param>parms_48</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789165">
- <description>description_43</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_43</method-name>
- <method-params>
- <method-param>parms_49</method-param>
- <method-param>parms_50</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789166">
- <description>description_44</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_44</method-name>
- <method-params>
- <method-param>parms_51</method-param>
- <method-param>parms_52</method-param>
- <method-param>parms_53</method-param>
- </method-params>
- </method>
- <trans-attribute>RequiresNew</trans-attribute>
- </container-transaction>
- <container-transaction id="MethodTransaction_1051639789158">
- <description>description_4</description>
- <method id="MethodElement_1051639789167">
- <description>description_45</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_45</method-name>
- </method>
- <method id="MethodElement_1051639789168">
- <description>description_46</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_46</method-name>
- <method-params>
- </method-params>
- </method>
- <method id="MethodElement_1051639789169">
- <description>description_47</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_47</method-name>
- <method-params>
- <method-param>parms_54</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789170">
- <description>description_48</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_48</method-name>
- <method-params>
- <method-param>parms_55</method-param>
- <method-param>parms_56</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789171">
- <description>description_49</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_49</method-name>
- <method-params>
- <method-param>parms_57</method-param>
- <method-param>parms_58</method-param>
- <method-param>parms_59</method-param>
- </method-params>
- </method>
- <trans-attribute>Mandatory</trans-attribute>
- </container-transaction>
- <exclude-list id="ExcludeList_1051639789166">
- <description>description_0</description>
- <method id="MethodElement_1051639789172">
- <description>description_50</description>
- <ejb-name>name_0</ejb-name>
- <method-name>name_50</method-name>
- </method>
- <method id="MethodElement_1051639789176">
- <description>description_51</description>
- <ejb-name>name_1</ejb-name>
- <method-intf>Remote</method-intf>
- <method-name>name_51</method-name>
- <method-params>
- </method-params>
- </method>
- <method id="MethodElement_1051639789177">
- <description>description_52</description>
- <ejb-name>name_2</ejb-name>
- <method-intf>Home</method-intf>
- <method-name>name_52</method-name>
- <method-params>
- <method-param>parms_60</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789178">
- <description>description_53</description>
- <ejb-name>name_8</ejb-name>
- <method-intf>Local</method-intf>
- <method-name>name_53</method-name>
- <method-params>
- <method-param>parms_61</method-param>
- <method-param>parms_62</method-param>
- </method-params>
- </method>
- <method id="MethodElement_1051639789179">
- <description>description_54</description>
- <ejb-name>name_9</ejb-name>
- <method-intf>LocalHome</method-intf>
- <method-name>name_54</method-name>
- <method-params>
- <method-param>parms_63</method-param>
- <method-param>parms_64</method-param>
- <method-param>parms_65</method-param>
- </method-params>
- </method>
- </exclude-list>
- </assembly-descriptor>
- <ejb-client-jar>ejbClientJar_0</ejb-client-jar>
- </ejb-jar>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar1-1.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar1-1.xml
deleted file mode 100644
index d70d2d40..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar1-1.xml
+++ /dev/null
@@ -1,2831 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
-<ejb-jar id="ejb-jar_ID">
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <enterprise-beans>
- <entity id="MyCMP">
- <ejb-name>MyCMP</ejb-name>
- <home>com.ibm.test.ejb.MyCMPHome</home>
- <remote>com.ibm.test.ejb.MyCMP</remote>
- <ejb-class>com.ibm.test.ejb.MyCMPBean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>com.ibm.test.ejb.MyCMPKey</prim-key-class>
- <reentrant>False</reentrant>
- <cmp-field>
- <field-name>k1</field-name>
- </cmp-field>
- </entity>
- <entity id="MyCMP1">
- <ejb-name>MyCMP1</ejb-name>
- <home>com.ibm.test.ejb.MyCMP1Home</home>
- <remote>com.ibm.test.ejb.MyCMP1</remote>
- <ejb-class>com.ibm.test.ejb.MyCMP1Bean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>com.ibm.test.ejb.MyCMP1Key</prim-key-class>
- <reentrant>False</reentrant>
- <cmp-field>
- <field-name>k1</field-name>
- </cmp-field>
- </entity>
- <entity id="MyCMP2">
- <ejb-name>MyCMP2</ejb-name>
- <home>com.ibm.test.ejb.MyCMP2Home</home>
- <remote>com.ibm.test.ejb.MyCMP2</remote>
- <ejb-class>com.ibm.test.ejb.MyCMP2Bean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>com.ibm.test.ejb.MyCMP2Key</prim-key-class>
- <reentrant>False</reentrant>
- <cmp-field>
- <field-name>k1</field-name>
- </cmp-field>
- </entity>
- <entity>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_0</ejb-name>
- <home>java.util.List</home>
- <remote>java.sql.Data</remote>
- <local-home>java.lang.Integer</local-home>
- <local>java.lang.String</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_0</description>
- <env-entry-name>name_0</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_0</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_1</description>
- <env-entry-name>name_1</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_1</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_2</description>
- <env-entry-name>name_2</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_2</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_3</description>
- <env-entry-name>name_3</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_3</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_4</description>
- <env-entry-name>name_4</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_4</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_0</home>
- <remote>remote_0</remote>
- <ejb-link>link_0</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_1</home>
- <remote>remote_1</remote>
- <ejb-link>link_1</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_2</home>
- <remote>remote_2</remote>
- <ejb-link>link_2</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_3</home>
- <remote>remote_3</remote>
- <ejb-link>link_3</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_4</home>
- <remote>remote_4</remote>
- <ejb-link>link_4</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_0</local-home>
- <local>local_0</local>
- <ejb-link>link_0</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_1</local-home>
- <local>local_1</local>
- <ejb-link>link_1</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_2</local-home>
- <local>local_2</local>
- <ejb-link>link_2</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_3</local-home>
- <local>local_3</local>
- <ejb-link>link_3</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_4</local-home>
- <local>local_4</local>
- <ejb-link>link_4</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_0</description>
- <role-name>name_0</role-name>
- <role-link>link_0</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_1</description>
- <role-name>name_1</role-name>
- <role-link>link_1</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_2</description>
- <role-name>name_2</role-name>
- <role-link>link_2</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_3</description>
- <role-name>name_3</role-name>
- <role-link>link_3</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_4</description>
- <role-name>name_4</role-name>
- <role-link>link_4</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_0</description>
- <run-as>
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_0</description>
- <res-ref-name>name_0</res-ref-name>
- <res-type>type_0</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_1</description>
- <res-ref-name>name_1</res-ref-name>
- <res-type>type_1</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_2</description>
- <res-ref-name>name_2</res-ref-name>
- <res-type>type_2</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_3</description>
- <res-ref-name>name_3</res-ref-name>
- <res-type>type_3</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_4</description>
- <res-ref-name>name_4</res-ref-name>
- <res-type>type_4</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_0</description>
- <resource-env-ref-name>name_0</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_1</description>
- <resource-env-ref-name>name_1</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_2</description>
- <resource-env-ref-name>name_2</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_3</description>
- <resource-env-ref-name>name_3</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_4</description>
- <resource-env-ref-name>name_4</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_1</description>
- <display-name>displayName_1</display-name>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- <ejb-name>name_1</ejb-name>
- <home>java.sql.Data</home>
- <remote>java.lang.Integer</remote>
- <local-home>java.lang.String</local-home>
- <local>java.util.HashTable</local>
- <ejb-class>java.util.List</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.List</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_5</description>
- <env-entry-name>name_5</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_5</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_6</description>
- <env-entry-name>name_6</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_6</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_7</description>
- <env-entry-name>name_7</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_7</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_8</description>
- <env-entry-name>name_8</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_8</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_9</description>
- <env-entry-name>name_9</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_9</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_5</description>
- <ejb-ref-name>name_5</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_5</home>
- <remote>remote_5</remote>
- <ejb-link>link_5</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_6</description>
- <ejb-ref-name>name_6</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_6</home>
- <remote>remote_6</remote>
- <ejb-link>link_6</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_7</description>
- <ejb-ref-name>name_7</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_7</home>
- <remote>remote_7</remote>
- <ejb-link>link_7</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_8</description>
- <ejb-ref-name>name_8</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_8</home>
- <remote>remote_8</remote>
- <ejb-link>link_8</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_9</description>
- <ejb-ref-name>name_9</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_9</home>
- <remote>remote_9</remote>
- <ejb-link>link_9</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_5</description>
- <ejb-ref-name>name_5</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_5</local-home>
- <local>local_5</local>
- <ejb-link>link_5</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_6</description>
- <ejb-ref-name>name_6</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_6</local-home>
- <local>local_6</local>
- <ejb-link>link_6</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_7</description>
- <ejb-ref-name>name_7</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_7</local-home>
- <local>local_7</local>
- <ejb-link>link_7</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_8</description>
- <ejb-ref-name>name_8</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_8</local-home>
- <local>local_8</local>
- <ejb-link>link_8</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_9</description>
- <ejb-ref-name>name_9</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_9</local-home>
- <local>local_9</local>
- <ejb-link>link_9</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_5</description>
- <role-name>name_5</role-name>
- <role-link>link_5</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_6</description>
- <role-name>name_6</role-name>
- <role-link>link_6</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_7</description>
- <role-name>name_7</role-name>
- <role-link>link_7</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_8</description>
- <role-name>name_8</role-name>
- <role-link>link_8</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_9</description>
- <role-name>name_9</role-name>
- <role-link>link_9</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_0</description>
- <use-caller-identity/>
- </security-identity>
- <resource-ref>
- <description>description_5</description>
- <res-ref-name>name_5</res-ref-name>
- <res-type>type_5</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_6</description>
- <res-ref-name>name_6</res-ref-name>
- <res-type>type_6</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_7</description>
- <res-ref-name>name_7</res-ref-name>
- <res-type>type_7</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_8</description>
- <res-ref-name>name_8</res-ref-name>
- <res-type>type_8</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_9</description>
- <res-ref-name>name_9</res-ref-name>
- <res-type>type_9</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_5</description>
- <resource-env-ref-name>name_5</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_6</description>
- <resource-env-ref-name>name_6</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_7</description>
- <resource-env-ref-name>name_7</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_8</description>
- <resource-env-ref-name>name_8</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_9</description>
- <resource-env-ref-name>name_9</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_2</description>
- <display-name>displayName_2</display-name>
- <small-icon>smallIcon_2</small-icon>
- <large-icon>largeIcon_2</large-icon>
- <ejb-name>name_2</ejb-name>
- <home>java.lang.Integer</home>
- <remote>java.lang.String</remote>
- <local-home>java.util.HashTable</local-home>
- <local>java.util.List</local>
- <ejb-class>java.sql.Data</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.sql.Data</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_10</description>
- <env-entry-name>name_10</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_10</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_11</description>
- <env-entry-name>name_11</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_11</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_12</description>
- <env-entry-name>name_12</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_12</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_13</description>
- <env-entry-name>name_13</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_13</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_14</description>
- <env-entry-name>name_14</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_14</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_10</description>
- <ejb-ref-name>name_10</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_10</home>
- <remote>remote_10</remote>
- <ejb-link>link_10</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_11</description>
- <ejb-ref-name>name_11</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_11</home>
- <remote>remote_11</remote>
- <ejb-link>link_11</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_12</description>
- <ejb-ref-name>name_12</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_12</home>
- <remote>remote_12</remote>
- <ejb-link>link_12</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_13</description>
- <ejb-ref-name>name_13</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_13</home>
- <remote>remote_13</remote>
- <ejb-link>link_13</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_14</description>
- <ejb-ref-name>name_14</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_14</home>
- <remote>remote_14</remote>
- <ejb-link>link_14</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_10</description>
- <ejb-ref-name>name_10</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_10</local-home>
- <local>local_10</local>
- <ejb-link>link_10</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_11</description>
- <ejb-ref-name>name_11</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_11</local-home>
- <local>local_11</local>
- <ejb-link>link_11</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_12</description>
- <ejb-ref-name>name_12</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_12</local-home>
- <local>local_12</local>
- <ejb-link>link_12</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_13</description>
- <ejb-ref-name>name_13</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_13</local-home>
- <local>local_13</local>
- <ejb-link>link_13</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_14</description>
- <ejb-ref-name>name_14</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_14</local-home>
- <local>local_14</local>
- <ejb-link>link_14</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_10</description>
- <role-name>name_10</role-name>
- <role-link>link_10</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_11</description>
- <role-name>name_11</role-name>
- <role-link>link_11</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_12</description>
- <role-name>name_12</role-name>
- <role-link>link_12</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_13</description>
- <role-name>name_13</role-name>
- <role-link>link_13</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_14</description>
- <role-name>name_14</role-name>
- <role-link>link_14</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_1</description>
- <run-as>
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_10</description>
- <res-ref-name>name_10</res-ref-name>
- <res-type>type_10</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_11</description>
- <res-ref-name>name_11</res-ref-name>
- <res-type>type_11</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_12</description>
- <res-ref-name>name_12</res-ref-name>
- <res-type>type_12</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_13</description>
- <res-ref-name>name_13</res-ref-name>
- <res-type>type_13</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_14</description>
- <res-ref-name>name_14</res-ref-name>
- <res-type>type_14</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_10</description>
- <resource-env-ref-name>name_10</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_11</description>
- <resource-env-ref-name>name_11</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_12</description>
- <resource-env-ref-name>name_12</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_13</description>
- <resource-env-ref-name>name_13</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_14</description>
- <resource-env-ref-name>name_14</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_3</description>
- <display-name>displayName_3</display-name>
- <small-icon>smallIcon_3</small-icon>
- <large-icon>largeIcon_3</large-icon>
- <ejb-name>name_3</ejb-name>
- <home>java.lang.String</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.List</local-home>
- <local>java.sql.Data</local>
- <ejb-class>java.lang.Integer</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.Integer</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_15</description>
- <env-entry-name>name_15</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_15</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_16</description>
- <env-entry-name>name_16</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_16</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_17</description>
- <env-entry-name>name_17</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_17</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_18</description>
- <env-entry-name>name_18</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_18</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_19</description>
- <env-entry-name>name_19</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_19</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_15</description>
- <ejb-ref-name>name_15</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_15</home>
- <remote>remote_15</remote>
- <ejb-link>link_15</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_16</description>
- <ejb-ref-name>name_16</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_16</home>
- <remote>remote_16</remote>
- <ejb-link>link_16</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_17</description>
- <ejb-ref-name>name_17</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_17</home>
- <remote>remote_17</remote>
- <ejb-link>link_17</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_18</description>
- <ejb-ref-name>name_18</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_18</home>
- <remote>remote_18</remote>
- <ejb-link>link_18</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_19</description>
- <ejb-ref-name>name_19</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_19</home>
- <remote>remote_19</remote>
- <ejb-link>link_19</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_15</description>
- <ejb-ref-name>name_15</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_15</local-home>
- <local>local_15</local>
- <ejb-link>link_15</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_16</description>
- <ejb-ref-name>name_16</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_16</local-home>
- <local>local_16</local>
- <ejb-link>link_16</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_17</description>
- <ejb-ref-name>name_17</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_17</local-home>
- <local>local_17</local>
- <ejb-link>link_17</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_18</description>
- <ejb-ref-name>name_18</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_18</local-home>
- <local>local_18</local>
- <ejb-link>link_18</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_19</description>
- <ejb-ref-name>name_19</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_19</local-home>
- <local>local_19</local>
- <ejb-link>link_19</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_15</description>
- <role-name>name_15</role-name>
- <role-link>link_15</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_16</description>
- <role-name>name_16</role-name>
- <role-link>link_16</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_17</description>
- <role-name>name_17</role-name>
- <role-link>link_17</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_18</description>
- <role-name>name_18</role-name>
- <role-link>link_18</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_19</description>
- <role-name>name_19</role-name>
- <role-link>link_19</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_1</description>
- <use-caller-identity/>
- </security-identity>
- <resource-ref>
- <description>description_15</description>
- <res-ref-name>name_15</res-ref-name>
- <res-type>type_15</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_16</description>
- <res-ref-name>name_16</res-ref-name>
- <res-type>type_16</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_17</description>
- <res-ref-name>name_17</res-ref-name>
- <res-type>type_17</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_18</description>
- <res-ref-name>name_18</res-ref-name>
- <res-type>type_18</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_19</description>
- <res-ref-name>name_19</res-ref-name>
- <res-type>type_19</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_15</description>
- <resource-env-ref-name>name_15</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_16</description>
- <resource-env-ref-name>name_16</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_17</description>
- <resource-env-ref-name>name_17</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_18</description>
- <resource-env-ref-name>name_18</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_19</description>
- <resource-env-ref-name>name_19</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_4</description>
- <display-name>displayName_4</display-name>
- <small-icon>smallIcon_4</small-icon>
- <large-icon>largeIcon_4</large-icon>
- <ejb-name>name_4</ejb-name>
- <home>java.util.HashTable</home>
- <remote>java.util.List</remote>
- <local-home>java.sql.Data</local-home>
- <local>java.lang.Integer</local>
- <ejb-class>java.lang.String</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.String</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_20</description>
- <env-entry-name>name_20</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_20</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_21</description>
- <env-entry-name>name_21</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_21</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_22</description>
- <env-entry-name>name_22</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_22</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_23</description>
- <env-entry-name>name_23</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_23</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_24</description>
- <env-entry-name>name_24</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_24</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_20</description>
- <ejb-ref-name>name_20</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_20</home>
- <remote>remote_20</remote>
- <ejb-link>link_20</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_21</description>
- <ejb-ref-name>name_21</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_21</home>
- <remote>remote_21</remote>
- <ejb-link>link_21</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_22</description>
- <ejb-ref-name>name_22</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_22</home>
- <remote>remote_22</remote>
- <ejb-link>link_22</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_23</description>
- <ejb-ref-name>name_23</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_23</home>
- <remote>remote_23</remote>
- <ejb-link>link_23</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_24</description>
- <ejb-ref-name>name_24</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_24</home>
- <remote>remote_24</remote>
- <ejb-link>link_24</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_20</description>
- <ejb-ref-name>name_20</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_20</local-home>
- <local>local_20</local>
- <ejb-link>link_20</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_21</description>
- <ejb-ref-name>name_21</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_21</local-home>
- <local>local_21</local>
- <ejb-link>link_21</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_22</description>
- <ejb-ref-name>name_22</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_22</local-home>
- <local>local_22</local>
- <ejb-link>link_22</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_23</description>
- <ejb-ref-name>name_23</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_23</local-home>
- <local>local_23</local>
- <ejb-link>link_23</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_24</description>
- <ejb-ref-name>name_24</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_24</local-home>
- <local>local_24</local>
- <ejb-link>link_24</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_20</description>
- <role-name>name_20</role-name>
- <role-link>link_20</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_21</description>
- <role-name>name_21</role-name>
- <role-link>link_21</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_22</description>
- <role-name>name_22</role-name>
- <role-link>link_22</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_23</description>
- <role-name>name_23</role-name>
- <role-link>link_23</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_24</description>
- <role-name>name_24</role-name>
- <role-link>link_24</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_2</description>
- <run-as>
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_20</description>
- <res-ref-name>name_20</res-ref-name>
- <res-type>type_20</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_21</description>
- <res-ref-name>name_21</res-ref-name>
- <res-type>type_21</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_22</description>
- <res-ref-name>name_22</res-ref-name>
- <res-type>type_22</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_23</description>
- <res-ref-name>name_23</res-ref-name>
- <res-type>type_23</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_24</description>
- <res-ref-name>name_24</res-ref-name>
- <res-type>type_24</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_20</description>
- <resource-env-ref-name>name_20</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_21</description>
- <resource-env-ref-name>name_21</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_22</description>
- <resource-env-ref-name>name_22</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_23</description>
- <resource-env-ref-name>name_23</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_24</description>
- <resource-env-ref-name>name_24</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_5</description>
- <display-name>displayName_5</display-name>
- <small-icon>smallIcon_5</small-icon>
- <large-icon>largeIcon_5</large-icon>
- <ejb-name>name_5</ejb-name>
- <home>java.util.List</home>
- <remote>java.sql.Data</remote>
- <local-home>java.lang.Integer</local-home>
- <local>java.lang.String</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_25</description>
- <env-entry-name>name_25</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_25</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_26</description>
- <env-entry-name>name_26</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_26</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_27</description>
- <env-entry-name>name_27</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_27</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_28</description>
- <env-entry-name>name_28</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_28</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_29</description>
- <env-entry-name>name_29</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_29</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_25</description>
- <ejb-ref-name>name_25</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_25</home>
- <remote>remote_25</remote>
- <ejb-link>link_25</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_26</description>
- <ejb-ref-name>name_26</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_26</home>
- <remote>remote_26</remote>
- <ejb-link>link_26</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_27</description>
- <ejb-ref-name>name_27</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_27</home>
- <remote>remote_27</remote>
- <ejb-link>link_27</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_28</description>
- <ejb-ref-name>name_28</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_28</home>
- <remote>remote_28</remote>
- <ejb-link>link_28</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_29</description>
- <ejb-ref-name>name_29</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_29</home>
- <remote>remote_29</remote>
- <ejb-link>link_29</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_25</description>
- <ejb-ref-name>name_25</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_25</local-home>
- <local>local_25</local>
- <ejb-link>link_25</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_26</description>
- <ejb-ref-name>name_26</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_26</local-home>
- <local>local_26</local>
- <ejb-link>link_26</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_27</description>
- <ejb-ref-name>name_27</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_27</local-home>
- <local>local_27</local>
- <ejb-link>link_27</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_28</description>
- <ejb-ref-name>name_28</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_28</local-home>
- <local>local_28</local>
- <ejb-link>link_28</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_29</description>
- <ejb-ref-name>name_29</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_29</local-home>
- <local>local_29</local>
- <ejb-link>link_29</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_25</description>
- <role-name>name_25</role-name>
- <role-link>link_25</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_26</description>
- <role-name>name_26</role-name>
- <role-link>link_26</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_27</description>
- <role-name>name_27</role-name>
- <role-link>link_27</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_28</description>
- <role-name>name_28</role-name>
- <role-link>link_28</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_29</description>
- <role-name>name_29</role-name>
- <role-link>link_29</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_2</description>
- <use-caller-identity/>
- </security-identity>
- <resource-ref>
- <description>description_25</description>
- <res-ref-name>name_25</res-ref-name>
- <res-type>type_25</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_26</description>
- <res-ref-name>name_26</res-ref-name>
- <res-type>type_26</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_27</description>
- <res-ref-name>name_27</res-ref-name>
- <res-type>type_27</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_28</description>
- <res-ref-name>name_28</res-ref-name>
- <res-type>type_28</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_29</description>
- <res-ref-name>name_29</res-ref-name>
- <res-type>type_29</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_25</description>
- <resource-env-ref-name>name_25</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_26</description>
- <resource-env-ref-name>name_26</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_27</description>
- <resource-env-ref-name>name_27</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_28</description>
- <resource-env-ref-name>name_28</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_29</description>
- <resource-env-ref-name>name_29</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_6</description>
- <display-name>displayName_6</display-name>
- <small-icon>smallIcon_6</small-icon>
- <large-icon>largeIcon_6</large-icon>
- <ejb-name>name_6</ejb-name>
- <home>java.sql.Data</home>
- <remote>java.lang.Integer</remote>
- <local-home>java.lang.String</local-home>
- <local>java.util.HashTable</local>
- <ejb-class>java.util.List</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.List</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_30</description>
- <env-entry-name>name_30</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_30</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_31</description>
- <env-entry-name>name_31</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_31</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_32</description>
- <env-entry-name>name_32</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_32</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_33</description>
- <env-entry-name>name_33</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_33</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_34</description>
- <env-entry-name>name_34</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_34</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_30</description>
- <ejb-ref-name>name_30</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_30</home>
- <remote>remote_30</remote>
- <ejb-link>link_30</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_31</description>
- <ejb-ref-name>name_31</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_31</home>
- <remote>remote_31</remote>
- <ejb-link>link_31</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_32</description>
- <ejb-ref-name>name_32</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_32</home>
- <remote>remote_32</remote>
- <ejb-link>link_32</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_33</description>
- <ejb-ref-name>name_33</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_33</home>
- <remote>remote_33</remote>
- <ejb-link>link_33</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_34</description>
- <ejb-ref-name>name_34</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_34</home>
- <remote>remote_34</remote>
- <ejb-link>link_34</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_30</description>
- <ejb-ref-name>name_30</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_30</local-home>
- <local>local_30</local>
- <ejb-link>link_30</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_31</description>
- <ejb-ref-name>name_31</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_31</local-home>
- <local>local_31</local>
- <ejb-link>link_31</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_32</description>
- <ejb-ref-name>name_32</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_32</local-home>
- <local>local_32</local>
- <ejb-link>link_32</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_33</description>
- <ejb-ref-name>name_33</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_33</local-home>
- <local>local_33</local>
- <ejb-link>link_33</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_34</description>
- <ejb-ref-name>name_34</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_34</local-home>
- <local>local_34</local>
- <ejb-link>link_34</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_30</description>
- <role-name>name_30</role-name>
- <role-link>link_30</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_31</description>
- <role-name>name_31</role-name>
- <role-link>link_31</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_32</description>
- <role-name>name_32</role-name>
- <role-link>link_32</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_33</description>
- <role-name>name_33</role-name>
- <role-link>link_33</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_34</description>
- <role-name>name_34</role-name>
- <role-link>link_34</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_3</description>
- <run-as>
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_30</description>
- <res-ref-name>name_30</res-ref-name>
- <res-type>type_30</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_31</description>
- <res-ref-name>name_31</res-ref-name>
- <res-type>type_31</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_32</description>
- <res-ref-name>name_32</res-ref-name>
- <res-type>type_32</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_33</description>
- <res-ref-name>name_33</res-ref-name>
- <res-type>type_33</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_34</description>
- <res-ref-name>name_34</res-ref-name>
- <res-type>type_34</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_30</description>
- <resource-env-ref-name>name_30</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_31</description>
- <resource-env-ref-name>name_31</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_32</description>
- <resource-env-ref-name>name_32</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_33</description>
- <resource-env-ref-name>name_33</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_34</description>
- <resource-env-ref-name>name_34</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_7</description>
- <display-name>displayName_7</display-name>
- <small-icon>smallIcon_7</small-icon>
- <large-icon>largeIcon_7</large-icon>
- <ejb-name>name_7</ejb-name>
- <home>java.lang.Integer</home>
- <remote>java.lang.String</remote>
- <local-home>java.util.HashTable</local-home>
- <local>java.util.List</local>
- <ejb-class>java.sql.Data</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.sql.Data</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_35</description>
- <env-entry-name>name_35</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_35</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_36</description>
- <env-entry-name>name_36</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_36</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_37</description>
- <env-entry-name>name_37</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_37</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_38</description>
- <env-entry-name>name_38</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_38</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_39</description>
- <env-entry-name>name_39</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_39</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_35</description>
- <ejb-ref-name>name_35</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_35</home>
- <remote>remote_35</remote>
- <ejb-link>link_35</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_36</description>
- <ejb-ref-name>name_36</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_36</home>
- <remote>remote_36</remote>
- <ejb-link>link_36</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_37</description>
- <ejb-ref-name>name_37</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_37</home>
- <remote>remote_37</remote>
- <ejb-link>link_37</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_38</description>
- <ejb-ref-name>name_38</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_38</home>
- <remote>remote_38</remote>
- <ejb-link>link_38</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_39</description>
- <ejb-ref-name>name_39</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_39</home>
- <remote>remote_39</remote>
- <ejb-link>link_39</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_35</description>
- <ejb-ref-name>name_35</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_35</local-home>
- <local>local_35</local>
- <ejb-link>link_35</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_36</description>
- <ejb-ref-name>name_36</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_36</local-home>
- <local>local_36</local>
- <ejb-link>link_36</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_37</description>
- <ejb-ref-name>name_37</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_37</local-home>
- <local>local_37</local>
- <ejb-link>link_37</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_38</description>
- <ejb-ref-name>name_38</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_38</local-home>
- <local>local_38</local>
- <ejb-link>link_38</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_39</description>
- <ejb-ref-name>name_39</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_39</local-home>
- <local>local_39</local>
- <ejb-link>link_39</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_35</description>
- <role-name>name_35</role-name>
- <role-link>link_35</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_36</description>
- <role-name>name_36</role-name>
- <role-link>link_36</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_37</description>
- <role-name>name_37</role-name>
- <role-link>link_37</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_38</description>
- <role-name>name_38</role-name>
- <role-link>link_38</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_39</description>
- <role-name>name_39</role-name>
- <role-link>link_39</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_3</description>
- <use-caller-identity/>
- </security-identity>
- <resource-ref>
- <description>description_35</description>
- <res-ref-name>name_35</res-ref-name>
- <res-type>type_35</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_36</description>
- <res-ref-name>name_36</res-ref-name>
- <res-type>type_36</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_37</description>
- <res-ref-name>name_37</res-ref-name>
- <res-type>type_37</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_38</description>
- <res-ref-name>name_38</res-ref-name>
- <res-type>type_38</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_39</description>
- <res-ref-name>name_39</res-ref-name>
- <res-type>type_39</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_35</description>
- <resource-env-ref-name>name_35</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_36</description>
- <resource-env-ref-name>name_36</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_37</description>
- <resource-env-ref-name>name_37</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_38</description>
- <resource-env-ref-name>name_38</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_39</description>
- <resource-env-ref-name>name_39</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_8</description>
- <display-name>displayName_8</display-name>
- <small-icon>smallIcon_8</small-icon>
- <large-icon>largeIcon_8</large-icon>
- <ejb-name>name_8</ejb-name>
- <home>java.lang.String</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.List</local-home>
- <local>java.sql.Data</local>
- <ejb-class>java.lang.Integer</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.Integer</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_40</description>
- <env-entry-name>name_40</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_40</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_41</description>
- <env-entry-name>name_41</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_41</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_42</description>
- <env-entry-name>name_42</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_42</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_43</description>
- <env-entry-name>name_43</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_43</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_44</description>
- <env-entry-name>name_44</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_44</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_40</description>
- <ejb-ref-name>name_40</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_40</home>
- <remote>remote_40</remote>
- <ejb-link>link_40</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_41</description>
- <ejb-ref-name>name_41</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_41</home>
- <remote>remote_41</remote>
- <ejb-link>link_41</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_42</description>
- <ejb-ref-name>name_42</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_42</home>
- <remote>remote_42</remote>
- <ejb-link>link_42</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_43</description>
- <ejb-ref-name>name_43</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_43</home>
- <remote>remote_43</remote>
- <ejb-link>link_43</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_44</description>
- <ejb-ref-name>name_44</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_44</home>
- <remote>remote_44</remote>
- <ejb-link>link_44</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_40</description>
- <ejb-ref-name>name_40</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_40</local-home>
- <local>local_40</local>
- <ejb-link>link_40</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_41</description>
- <ejb-ref-name>name_41</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_41</local-home>
- <local>local_41</local>
- <ejb-link>link_41</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_42</description>
- <ejb-ref-name>name_42</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_42</local-home>
- <local>local_42</local>
- <ejb-link>link_42</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_43</description>
- <ejb-ref-name>name_43</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_43</local-home>
- <local>local_43</local>
- <ejb-link>link_43</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_44</description>
- <ejb-ref-name>name_44</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_44</local-home>
- <local>local_44</local>
- <ejb-link>link_44</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_40</description>
- <role-name>name_40</role-name>
- <role-link>link_40</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_41</description>
- <role-name>name_41</role-name>
- <role-link>link_41</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_42</description>
- <role-name>name_42</role-name>
- <role-link>link_42</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_43</description>
- <role-name>name_43</role-name>
- <role-link>link_43</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_44</description>
- <role-name>name_44</role-name>
- <role-link>link_44</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_4</description>
- <run-as>
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_40</description>
- <res-ref-name>name_40</res-ref-name>
- <res-type>type_40</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_41</description>
- <res-ref-name>name_41</res-ref-name>
- <res-type>type_41</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_42</description>
- <res-ref-name>name_42</res-ref-name>
- <res-type>type_42</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_43</description>
- <res-ref-name>name_43</res-ref-name>
- <res-type>type_43</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_44</description>
- <res-ref-name>name_44</res-ref-name>
- <res-type>type_44</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_40</description>
- <resource-env-ref-name>name_40</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_41</description>
- <resource-env-ref-name>name_41</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_42</description>
- <resource-env-ref-name>name_42</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_43</description>
- <resource-env-ref-name>name_43</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_44</description>
- <resource-env-ref-name>name_44</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_9</description>
- <display-name>displayName_9</display-name>
- <small-icon>smallIcon_9</small-icon>
- <large-icon>largeIcon_9</large-icon>
- <ejb-name>name_9</ejb-name>
- <home>java.util.HashTable</home>
- <remote>java.util.List</remote>
- <local-home>java.sql.Data</local-home>
- <local>java.lang.Integer</local>
- <ejb-class>java.lang.String</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.String</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_45</description>
- <env-entry-name>name_45</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_45</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_46</description>
- <env-entry-name>name_46</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_46</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_47</description>
- <env-entry-name>name_47</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_47</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_48</description>
- <env-entry-name>name_48</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_48</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_49</description>
- <env-entry-name>name_49</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_49</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_45</description>
- <ejb-ref-name>name_45</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_45</home>
- <remote>remote_45</remote>
- <ejb-link>link_45</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_46</description>
- <ejb-ref-name>name_46</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_46</home>
- <remote>remote_46</remote>
- <ejb-link>link_46</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_47</description>
- <ejb-ref-name>name_47</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_47</home>
- <remote>remote_47</remote>
- <ejb-link>link_47</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_48</description>
- <ejb-ref-name>name_48</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_48</home>
- <remote>remote_48</remote>
- <ejb-link>link_48</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_49</description>
- <ejb-ref-name>name_49</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_49</home>
- <remote>remote_49</remote>
- <ejb-link>link_49</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_45</description>
- <ejb-ref-name>name_45</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_45</local-home>
- <local>local_45</local>
- <ejb-link>link_45</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_46</description>
- <ejb-ref-name>name_46</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_46</local-home>
- <local>local_46</local>
- <ejb-link>link_46</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_47</description>
- <ejb-ref-name>name_47</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_47</local-home>
- <local>local_47</local>
- <ejb-link>link_47</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_48</description>
- <ejb-ref-name>name_48</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>localHome_48</local-home>
- <local>local_48</local>
- <ejb-link>link_48</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_49</description>
- <ejb-ref-name>name_49</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>localHome_49</local-home>
- <local>local_49</local>
- <ejb-link>link_49</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_45</description>
- <role-name>name_45</role-name>
- <role-link>link_45</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_46</description>
- <role-name>name_46</role-name>
- <role-link>link_46</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_47</description>
- <role-name>name_47</role-name>
- <role-link>link_47</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_48</description>
- <role-name>name_48</role-name>
- <role-link>link_48</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_49</description>
- <role-name>name_49</role-name>
- <role-link>link_49</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_4</description>
- <use-caller-identity/>
- </security-identity>
- <resource-ref>
- <description>description_45</description>
- <res-ref-name>name_45</res-ref-name>
- <res-type>type_45</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_46</description>
- <res-ref-name>name_46</res-ref-name>
- <res-type>type_46</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_47</description>
- <res-ref-name>name_47</res-ref-name>
- <res-type>type_47</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_48</description>
- <res-ref-name>name_48</res-ref-name>
- <res-type>type_48</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_49</description>
- <res-ref-name>name_49</res-ref-name>
- <res-type>type_49</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_45</description>
- <resource-env-ref-name>name_45</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_46</description>
- <resource-env-ref-name>name_46</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_47</description>
- <resource-env-ref-name>name_47</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_48</description>
- <resource-env-ref-name>name_48</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_49</description>
- <resource-env-ref-name>name_49</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- </enterprise-beans>
- <relationships>
- <description>description_0</description>
- <ejb-relation>
- <description>description_0</description>
- <ejb-relation-name>name_0</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_0</description>
- <ejb-relationship-role-name>roleName_0</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_0</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_0</description>
- <cmr-field-name>name_0</cmr-field-name>
- <cmr-field-type>java.util.HashTable</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_1</description>
- <ejb-relationship-role-name>roleName_1</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_1</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_1</description>
- <cmr-field-name>name_1</cmr-field-name>
- <cmr-field-type>java.util.List</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_1</description>
- <ejb-relation-name>name_1</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_2</description>
- <ejb-relationship-role-name>roleName_2</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_2</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_2</description>
- <cmr-field-name>name_2</cmr-field-name>
- <cmr-field-type>java.sql.Data</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_3</description>
- <ejb-relationship-role-name>roleName_3</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_3</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_3</description>
- <cmr-field-name>name_3</cmr-field-name>
- <cmr-field-type>java.lang.Integer</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_2</description>
- <ejb-relation-name>name_2</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_4</description>
- <ejb-relationship-role-name>roleName_4</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_4</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_4</description>
- <cmr-field-name>name_4</cmr-field-name>
- <cmr-field-type>java.lang.String</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_5</description>
- <ejb-relationship-role-name>roleName_5</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_5</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_5</description>
- <cmr-field-name>name_5</cmr-field-name>
- <cmr-field-type>java.util.HashTable</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_3</description>
- <ejb-relation-name>name_3</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_6</description>
- <ejb-relationship-role-name>roleName_6</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_6</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_6</description>
- <cmr-field-name>name_6</cmr-field-name>
- <cmr-field-type>java.util.List</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_7</description>
- <ejb-relationship-role-name>roleName_7</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_7</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_7</description>
- <cmr-field-name>name_7</cmr-field-name>
- <cmr-field-type>java.sql.Data</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_4</description>
- <ejb-relation-name>name_4</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_8</description>
- <ejb-relationship-role-name>roleName_8</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_8</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_8</description>
- <cmr-field-name>name_8</cmr-field-name>
- <cmr-field-type>java.lang.Integer</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_9</description>
- <ejb-relationship-role-name>roleName_9</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_9</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_9</description>
- <cmr-field-name>name_9</cmr-field-name>
- <cmr-field-type>java.lang.String</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- </relationships>
- <assembly-descriptor>
- <security-role>
- <description>description_5</description>
- <role-name>roleName_5</role-name>
- </security-role>
- <security-role>
- <description>description_6</description>
- <role-name>roleName_6</role-name>
- </security-role>
- <security-role>
- <description>description_7</description>
- <role-name>roleName_7</role-name>
- </security-role>
- <security-role>
- <description>description_8</description>
- <role-name>roleName_8</role-name>
- </security-role>
- <security-role>
- <description>description_9</description>
- <role-name>roleName_9</role-name>
- </security-role>
- <method-permission>
- <description>description_0</description>
- <unchecked/>
- <method>
- <description>description_0</description>
- <method-name>name_0</method-name>
- </method>
- <method>
- <description>description_1</description>
- <method-intf>Remote</method-intf>
- <method-name>name_1</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_2</description>
- <method-intf>Home</method-intf>
- <method-name>name_2</method-name>
- <method-params>
- <method-param>parms_0</method-param>
- </method-params>
- </method>
- <method>
- <description>description_3</description>
- <method-intf>Local</method-intf>
- <method-name>name_3</method-name>
- <method-params>
- <method-param>parms_1</method-param>
- <method-param>parms_2</method-param>
- </method-params>
- </method>
- <method>
- <description>description_4</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_4</method-name>
- <method-params>
- <method-param>parms_3</method-param>
- <method-param>parms_4</method-param>
- <method-param>parms_5</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_1</description>
- <method>
- <description>description_5</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_5</method-name>
- </method>
- <method>
- <description>description_6</description>
- <method-name>name_6</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_7</description>
- <method-intf>Remote</method-intf>
- <method-name>name_7</method-name>
- <method-params>
- <method-param>parms_6</method-param>
- </method-params>
- </method>
- <method>
- <description>description_8</description>
- <method-intf>Home</method-intf>
- <method-name>name_8</method-name>
- <method-params>
- <method-param>parms_7</method-param>
- <method-param>parms_8</method-param>
- </method-params>
- </method>
- <method>
- <description>description_9</description>
- <method-intf>Local</method-intf>
- <method-name>name_9</method-name>
- <method-params>
- <method-param>parms_9</method-param>
- <method-param>parms_10</method-param>
- <method-param>parms_11</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_2</description>
- <unchecked/>
- <method>
- <description>description_10</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_10</method-name>
- </method>
- <method>
- <description>description_11</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_11</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_12</description>
- <method-name>name_12</method-name>
- <method-params>
- <method-param>parms_12</method-param>
- </method-params>
- </method>
- <method>
- <description>description_13</description>
- <method-intf>Remote</method-intf>
- <method-name>name_13</method-name>
- <method-params>
- <method-param>parms_13</method-param>
- <method-param>parms_14</method-param>
- </method-params>
- </method>
- <method>
- <description>description_14</description>
- <method-intf>Home</method-intf>
- <method-name>name_14</method-name>
- <method-params>
- <method-param>parms_15</method-param>
- <method-param>parms_16</method-param>
- <method-param>parms_17</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_3</description>
- <method>
- <description>description_15</description>
- <method-intf>Local</method-intf>
- <method-name>name_15</method-name>
- </method>
- <method>
- <description>description_16</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_16</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_17</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_17</method-name>
- <method-params>
- <method-param>parms_18</method-param>
- </method-params>
- </method>
- <method>
- <description>description_18</description>
- <method-name>name_18</method-name>
- <method-params>
- <method-param>parms_19</method-param>
- <method-param>parms_20</method-param>
- </method-params>
- </method>
- <method>
- <description>description_19</description>
- <method-intf>Remote</method-intf>
- <method-name>name_19</method-name>
- <method-params>
- <method-param>parms_21</method-param>
- <method-param>parms_22</method-param>
- <method-param>parms_23</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_4</description>
- <unchecked/>
- <method>
- <description>description_20</description>
- <method-intf>Home</method-intf>
- <method-name>name_20</method-name>
- </method>
- <method>
- <description>description_21</description>
- <method-intf>Local</method-intf>
- <method-name>name_21</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_22</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_22</method-name>
- <method-params>
- <method-param>parms_24</method-param>
- </method-params>
- </method>
- <method>
- <description>description_23</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_23</method-name>
- <method-params>
- <method-param>parms_25</method-param>
- <method-param>parms_26</method-param>
- </method-params>
- </method>
- <method>
- <description>description_24</description>
- <method-name>name_24</method-name>
- <method-params>
- <method-param>parms_27</method-param>
- <method-param>parms_28</method-param>
- <method-param>parms_29</method-param>
- </method-params>
- </method>
- </method-permission>
- <container-transaction>
- <description>description_0</description>
- <method>
- <description>description_25</description>
- <method-intf>Remote</method-intf>
- <method-name>name_25</method-name>
- </method>
- <method>
- <description>description_26</description>
- <method-intf>Home</method-intf>
- <method-name>name_26</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_27</description>
- <method-intf>Local</method-intf>
- <method-name>name_27</method-name>
- <method-params>
- <method-param>parms_30</method-param>
- </method-params>
- </method>
- <method>
- <description>description_28</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_28</method-name>
- <method-params>
- <method-param>parms_31</method-param>
- <method-param>parms_32</method-param>
- </method-params>
- </method>
- <method>
- <description>description_29</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_29</method-name>
- <method-params>
- <method-param>parms_33</method-param>
- <method-param>parms_34</method-param>
- <method-param>parms_35</method-param>
- </method-params>
- </method>
- <trans-attribute>NotSupported</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_1</description>
- <method>
- <description>description_30</description>
- <method-name>name_30</method-name>
- </method>
- <method>
- <description>description_31</description>
- <method-intf>Remote</method-intf>
- <method-name>name_31</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_32</description>
- <method-intf>Home</method-intf>
- <method-name>name_32</method-name>
- <method-params>
- <method-param>parms_36</method-param>
- </method-params>
- </method>
- <method>
- <description>description_33</description>
- <method-intf>Local</method-intf>
- <method-name>name_33</method-name>
- <method-params>
- <method-param>parms_37</method-param>
- <method-param>parms_38</method-param>
- </method-params>
- </method>
- <method>
- <description>description_34</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_34</method-name>
- <method-params>
- <method-param>parms_39</method-param>
- <method-param>parms_40</method-param>
- <method-param>parms_41</method-param>
- </method-params>
- </method>
- <trans-attribute>Supports</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_2</description>
- <method>
- <description>description_35</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_35</method-name>
- </method>
- <method>
- <description>description_36</description>
- <method-name>name_36</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_37</description>
- <method-intf>Remote</method-intf>
- <method-name>name_37</method-name>
- <method-params>
- <method-param>parms_42</method-param>
- </method-params>
- </method>
- <method>
- <description>description_38</description>
- <method-intf>Home</method-intf>
- <method-name>name_38</method-name>
- <method-params>
- <method-param>parms_43</method-param>
- <method-param>parms_44</method-param>
- </method-params>
- </method>
- <method>
- <description>description_39</description>
- <method-intf>Local</method-intf>
- <method-name>name_39</method-name>
- <method-params>
- <method-param>parms_45</method-param>
- <method-param>parms_46</method-param>
- <method-param>parms_47</method-param>
- </method-params>
- </method>
- <trans-attribute>Required</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_3</description>
- <method>
- <description>description_40</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_40</method-name>
- </method>
- <method>
- <description>description_41</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_41</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_42</description>
- <method-name>name_42</method-name>
- <method-params>
- <method-param>parms_48</method-param>
- </method-params>
- </method>
- <method>
- <description>description_43</description>
- <method-intf>Remote</method-intf>
- <method-name>name_43</method-name>
- <method-params>
- <method-param>parms_49</method-param>
- <method-param>parms_50</method-param>
- </method-params>
- </method>
- <method>
- <description>description_44</description>
- <method-intf>Home</method-intf>
- <method-name>name_44</method-name>
- <method-params>
- <method-param>parms_51</method-param>
- <method-param>parms_52</method-param>
- <method-param>parms_53</method-param>
- </method-params>
- </method>
- <trans-attribute>RequiresNew</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_4</description>
- <method>
- <description>description_45</description>
- <method-intf>Local</method-intf>
- <method-name>name_45</method-name>
- </method>
- <method>
- <description>description_46</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_46</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_47</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_47</method-name>
- <method-params>
- <method-param>parms_54</method-param>
- </method-params>
- </method>
- <method>
- <description>description_48</description>
- <method-name>name_48</method-name>
- <method-params>
- <method-param>parms_55</method-param>
- <method-param>parms_56</method-param>
- </method-params>
- </method>
- <method>
- <description>description_49</description>
- <method-intf>Remote</method-intf>
- <method-name>name_49</method-name>
- <method-params>
- <method-param>parms_57</method-param>
- <method-param>parms_58</method-param>
- <method-param>parms_59</method-param>
- </method-params>
- </method>
- <trans-attribute>Mandatory</trans-attribute>
- </container-transaction>
- <exclude-list>
- <description>description_0</description>
- <method>
- <description>description_50</description>
- <method-intf>Home</method-intf>
- <method-name>name_50</method-name>
- </method>
- <method>
- <description>description_51</description>
- <method-intf>Local</method-intf>
- <method-name>name_51</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_52</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_52</method-name>
- <method-params>
- <method-param>parms_60</method-param>
- </method-params>
- </method>
- <method>
- <description>description_53</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_53</method-name>
- <method-params>
- <method-param>parms_61</method-param>
- <method-param>parms_62</method-param>
- </method-params>
- </method>
- <method>
- <description>description_54</description>
- <method-name>name_54</method-name>
- <method-params>
- <method-param>parms_63</method-param>
- <method-param>parms_64</method-param>
- <method-param>parms_65</method-param>
- </method-params>
- </method>
- </exclude-list>
- </assembly-descriptor>
- <ejb-client-jar>ejbClientJar_0</ejb-client-jar>
-</ejb-jar> \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar2-0.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar2-0.xml
deleted file mode 100644
index 28b4822f..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar2-0.xml
+++ /dev/null
@@ -1,2818 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
-<ejb-jar id="ejb-jar_ID">
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <enterprise-beans>
- <entity id="CMP1">
- <ejb-name>CMP1</ejb-name>
- <local-home>ejbs.CMP1LocalHome</local-home>
- <local>ejbs.CMP1Local</local>
- <ejb-class>ejbs.CMP1Bean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>ejbs.CMP1Key</prim-key-class>
- <reentrant>False</reentrant>
- <cmp-version>2.x</cmp-version>
- <abstract-schema-name>CMP1</abstract-schema-name>
- <cmp-field>
- <field-name>id</field-name>
- </cmp-field>
- </entity>
- <entity id="CMP2">
- <ejb-name>CMP2</ejb-name>
- <local-home>ejbs.CMP2LocalHome</local-home>
- <local>ejbs.CMP2Local</local>
- <ejb-class>ejbs.CMP2Bean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>ejbs.CMP2Key</prim-key-class>
- <reentrant>False</reentrant>
- <cmp-version>2.x</cmp-version>
- <abstract-schema-name>CMP2</abstract-schema-name>
- <cmp-field>
- <field-name>id</field-name>
- </cmp-field>
- </entity>
- <entity>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_0</ejb-name>
- <home>java.util.List</home>
- <remote>java.sql.Data</remote>
- <local-home>java.lang.Integer</local-home>
- <local>java.lang.String</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_0</description>
- <env-entry-name>name_0</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_0</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_1</description>
- <env-entry-name>name_1</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_1</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_2</description>
- <env-entry-name>name_2</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_2</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_3</description>
- <env-entry-name>name_3</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_3</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_4</description>
- <env-entry-name>name_4</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_4</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_0</home>
- <remote>remote_0</remote>
- <ejb-link>link_0</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_1</home>
- <remote>remote_1</remote>
- <ejb-link>link_1</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_2</home>
- <remote>remote_2</remote>
- <ejb-link>link_2</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_3</home>
- <remote>remote_3</remote>
- <ejb-link>link_3</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_4</home>
- <remote>remote_4</remote>
- <ejb-link>link_4</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_1</local-home>
- <local>remote_1</local>
- <ejb-link>link_0</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_3</local-home>
- <local>remote_3</local>
- <ejb-link>link_1</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_5</local-home>
- <local>remote_5</local>
- <ejb-link>link_2</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_7</local-home>
- <local>remote_7</local>
- <ejb-link>link_3</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_9</local-home>
- <local>remote_9</local>
- <ejb-link>link_4</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <role-name>name_0</role-name>
- <role-link>link_0</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_1</role-name>
- <role-link>link_1</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_2</role-name>
- <role-link>link_2</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_3</role-name>
- <role-link>link_3</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_4</role-name>
- <role-link>link_4</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_0</description>
- <run-as>
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_0</description>
- <res-ref-name>name_0</res-ref-name>
- <res-type>type_0</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_1</description>
- <res-ref-name>name_1</res-ref-name>
- <res-type>type_1</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_2</description>
- <res-ref-name>name_2</res-ref-name>
- <res-type>type_2</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_3</description>
- <res-ref-name>name_3</res-ref-name>
- <res-type>type_3</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_4</description>
- <res-ref-name>name_4</res-ref-name>
- <res-type>type_4</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_0</description>
- <resource-env-ref-name>name_0</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_1</description>
- <resource-env-ref-name>name_1</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_2</description>
- <resource-env-ref-name>name_2</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_3</description>
- <resource-env-ref-name>name_3</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_4</description>
- <resource-env-ref-name>name_4</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_1</description>
- <display-name>displayName_1</display-name>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- <ejb-name>name_1</ejb-name>
- <home>java.sql.Data</home>
- <remote>java.lang.Integer</remote>
- <local-home>java.lang.String</local-home>
- <local>java.util.HashTable</local>
- <ejb-class>java.util.List</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.List</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_5</description>
- <env-entry-name>name_5</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_5</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_6</description>
- <env-entry-name>name_6</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_6</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_7</description>
- <env-entry-name>name_7</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_7</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_8</description>
- <env-entry-name>name_8</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_8</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_9</description>
- <env-entry-name>name_9</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_9</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_5</description>
- <ejb-ref-name>name_5</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_5</home>
- <remote>remote_5</remote>
- <ejb-link>link_5</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_6</description>
- <ejb-ref-name>name_6</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_6</home>
- <remote>remote_6</remote>
- <ejb-link>link_6</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_7</description>
- <ejb-ref-name>name_7</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_7</home>
- <remote>remote_7</remote>
- <ejb-link>link_7</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_8</description>
- <ejb-ref-name>name_8</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_8</home>
- <remote>remote_8</remote>
- <ejb-link>link_8</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_9</description>
- <ejb-ref-name>name_9</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_9</home>
- <remote>remote_9</remote>
- <ejb-link>link_9</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_5</description>
- <ejb-ref-name>name_5</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_11</local-home>
- <local>remote_11</local>
- <ejb-link>link_5</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_6</description>
- <ejb-ref-name>name_6</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_13</local-home>
- <local>remote_13</local>
- <ejb-link>link_6</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_7</description>
- <ejb-ref-name>name_7</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_15</local-home>
- <local>remote_15</local>
- <ejb-link>link_7</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_8</description>
- <ejb-ref-name>name_8</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_17</local-home>
- <local>remote_17</local>
- <ejb-link>link_8</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_9</description>
- <ejb-ref-name>name_9</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_19</local-home>
- <local>remote_19</local>
- <ejb-link>link_9</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <role-name>name_5</role-name>
- <role-link>link_5</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_6</role-name>
- <role-link>link_6</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_7</role-name>
- <role-link>link_7</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_8</role-name>
- <role-link>link_8</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_9</role-name>
- <role-link>link_9</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_0</description>
- <use-caller-identity></use-caller-identity>
- </security-identity>
- <resource-ref>
- <description>description_5</description>
- <res-ref-name>name_5</res-ref-name>
- <res-type>type_5</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_6</description>
- <res-ref-name>name_6</res-ref-name>
- <res-type>type_6</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_7</description>
- <res-ref-name>name_7</res-ref-name>
- <res-type>type_7</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_8</description>
- <res-ref-name>name_8</res-ref-name>
- <res-type>type_8</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_9</description>
- <res-ref-name>name_9</res-ref-name>
- <res-type>type_9</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_5</description>
- <resource-env-ref-name>name_5</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_6</description>
- <resource-env-ref-name>name_6</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_7</description>
- <resource-env-ref-name>name_7</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_8</description>
- <resource-env-ref-name>name_8</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_9</description>
- <resource-env-ref-name>name_9</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_0</ejb-name>
- <home>java.lang.Integer</home>
- <remote>java.lang.String</remote>
- <local-home>java.util.HashTable</local-home>
- <local>java.util.List</local>
- <ejb-class>java.sql.Data</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>java.sql.Data</prim-key-class>
- <reentrant>True</reentrant>
- <cmp-version>2.x</cmp-version>
- <abstract-schema-name>abstractSchemaName_0</abstract-schema-name>
- <cmp-field>
- <description>description_1</description>
- <field-name>name_1</field-name>
- </cmp-field>
- <cmp-field>
- <description>description_3</description>
- <field-name>name_3</field-name>
- </cmp-field>
- <cmp-field>
- <description>description_4</description>
- <field-name>name_4</field-name>
- </cmp-field>
- <env-entry>
- <description>description_10</description>
- <env-entry-name>name_10</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_10</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_11</description>
- <env-entry-name>name_11</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_11</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_12</description>
- <env-entry-name>name_12</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_12</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_13</description>
- <env-entry-name>name_13</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_13</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_14</description>
- <env-entry-name>name_14</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_14</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_10</description>
- <ejb-ref-name>name_10</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_10</home>
- <remote>remote_10</remote>
- <ejb-link>link_10</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_11</description>
- <ejb-ref-name>name_11</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_11</home>
- <remote>remote_11</remote>
- <ejb-link>link_11</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_12</description>
- <ejb-ref-name>name_12</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_12</home>
- <remote>remote_12</remote>
- <ejb-link>link_12</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_13</description>
- <ejb-ref-name>name_13</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_13</home>
- <remote>remote_13</remote>
- <ejb-link>link_13</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_14</description>
- <ejb-ref-name>name_14</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_14</home>
- <remote>remote_14</remote>
- <ejb-link>link_14</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_10</description>
- <ejb-ref-name>name_10</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_21</local-home>
- <local>remote_21</local>
- <ejb-link>link_10</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_11</description>
- <ejb-ref-name>name_11</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_23</local-home>
- <local>remote_23</local>
- <ejb-link>link_11</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_12</description>
- <ejb-ref-name>name_12</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_25</local-home>
- <local>remote_25</local>
- <ejb-link>link_12</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_13</description>
- <ejb-ref-name>name_13</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_27</local-home>
- <local>remote_27</local>
- <ejb-link>link_13</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_14</description>
- <ejb-ref-name>name_14</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_29</local-home>
- <local>remote_29</local>
- <ejb-link>link_14</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <role-name>name_10</role-name>
- <role-link>link_10</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_11</role-name>
- <role-link>link_11</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_12</role-name>
- <role-link>link_12</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_13</role-name>
- <role-link>link_13</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_14</role-name>
- <role-link>link_14</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_1</description>
- <run-as>
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_10</description>
- <res-ref-name>name_10</res-ref-name>
- <res-type>type_10</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_11</description>
- <res-ref-name>name_11</res-ref-name>
- <res-type>type_11</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_12</description>
- <res-ref-name>name_12</res-ref-name>
- <res-type>type_12</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_13</description>
- <res-ref-name>name_13</res-ref-name>
- <res-type>type_13</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_14</description>
- <res-ref-name>name_14</res-ref-name>
- <res-type>type_14</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_10</description>
- <resource-env-ref-name>name_10</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_11</description>
- <resource-env-ref-name>name_11</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_12</description>
- <resource-env-ref-name>name_12</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_13</description>
- <resource-env-ref-name>name_13</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_14</description>
- <resource-env-ref-name>name_14</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <query>
- <description>description_0</description>
- <query-method>
- <method-name>name_0</method-name>
- </query-method>
- <result-type-mapping>Local</result-type-mapping>
- <ejb-ql>ejbQL_0</ejb-ql>
- </query>
- <query>
- <description>description_1</description>
- <query-method>
- <method-name>name_1</method-name>
- <method-params/>
- </query-method>
- <result-type-mapping>Remote</result-type-mapping>
- <ejb-ql>ejbQL_1</ejb-ql>
- </query>
- <query>
- <description>description_2</description>
- <query-method>
- <method-name>name_2</method-name>
- <method-params>
- <method-param>parms_0</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Local</result-type-mapping>
- <ejb-ql>ejbQL_2</ejb-ql>
- </query>
- <query>
- <description>description_3</description>
- <query-method>
- <method-name>name_3</method-name>
- <method-params>
- <method-param>parms_1</method-param>
- <method-param>parms_2</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Remote</result-type-mapping>
- <ejb-ql>ejbQL_3</ejb-ql>
- </query>
- <query>
- <description>description_4</description>
- <query-method>
- <method-name>name_4</method-name>
- <method-params>
- <method-param>parms_3</method-param>
- <method-param>parms_4</method-param>
- <method-param>parms_5</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Local</result-type-mapping>
- <ejb-ql>ejbQL_4</ejb-ql>
- </query>
- </entity>
- <session>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_0</ejb-name>
- <home>java.lang.String</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.List</local-home>
- <local>java.sql.Data</local>
- <ejb-class>java.lang.Integer</ejb-class>
- <session-type>Stateful</session-type>
- <transaction-type>Bean</transaction-type>
- <env-entry>
- <description>description_15</description>
- <env-entry-name>name_15</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_15</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_16</description>
- <env-entry-name>name_16</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_16</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_17</description>
- <env-entry-name>name_17</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_17</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_18</description>
- <env-entry-name>name_18</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_18</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_19</description>
- <env-entry-name>name_19</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_19</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_15</description>
- <ejb-ref-name>name_15</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_15</home>
- <remote>remote_15</remote>
- <ejb-link>link_15</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_16</description>
- <ejb-ref-name>name_16</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_16</home>
- <remote>remote_16</remote>
- <ejb-link>link_16</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_17</description>
- <ejb-ref-name>name_17</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_17</home>
- <remote>remote_17</remote>
- <ejb-link>link_17</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_18</description>
- <ejb-ref-name>name_18</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_18</home>
- <remote>remote_18</remote>
- <ejb-link>link_18</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_19</description>
- <ejb-ref-name>name_19</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_19</home>
- <remote>remote_19</remote>
- <ejb-link>link_19</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_15</description>
- <ejb-ref-name>name_15</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_31</local-home>
- <local>remote_31</local>
- <ejb-link>link_15</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_16</description>
- <ejb-ref-name>name_16</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_33</local-home>
- <local>remote_33</local>
- <ejb-link>link_16</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_17</description>
- <ejb-ref-name>name_17</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_35</local-home>
- <local>remote_35</local>
- <ejb-link>link_17</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_18</description>
- <ejb-ref-name>name_18</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_37</local-home>
- <local>remote_37</local>
- <ejb-link>link_18</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_19</description>
- <ejb-ref-name>name_19</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_39</local-home>
- <local>remote_39</local>
- <ejb-link>link_19</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <role-name>name_15</role-name>
- <role-link>link_15</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_16</role-name>
- <role-link>link_16</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_17</role-name>
- <role-link>link_17</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_18</role-name>
- <role-link>link_18</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_19</role-name>
- <role-link>link_19</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_1</description>
- <use-caller-identity></use-caller-identity>
- </security-identity>
- <resource-ref>
- <description>description_15</description>
- <res-ref-name>name_15</res-ref-name>
- <res-type>type_15</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_16</description>
- <res-ref-name>name_16</res-ref-name>
- <res-type>type_16</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_17</description>
- <res-ref-name>name_17</res-ref-name>
- <res-type>type_17</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_18</description>
- <res-ref-name>name_18</res-ref-name>
- <res-type>type_18</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_19</description>
- <res-ref-name>name_19</res-ref-name>
- <res-type>type_19</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_15</description>
- <resource-env-ref-name>name_15</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_16</description>
- <resource-env-ref-name>name_16</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_17</description>
- <resource-env-ref-name>name_17</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_18</description>
- <resource-env-ref-name>name_18</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_19</description>
- <resource-env-ref-name>name_19</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- </session>
- <entity>
- <description>description_2</description>
- <display-name>displayName_2</display-name>
- <small-icon>smallIcon_2</small-icon>
- <large-icon>largeIcon_2</large-icon>
- <ejb-name>name_2</ejb-name>
- <home>java.util.HashTable</home>
- <remote>java.util.List</remote>
- <local-home>java.sql.Data</local-home>
- <local>java.lang.Integer</local>
- <ejb-class>java.lang.String</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.String</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_20</description>
- <env-entry-name>name_20</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_20</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_21</description>
- <env-entry-name>name_21</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_21</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_22</description>
- <env-entry-name>name_22</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_22</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_23</description>
- <env-entry-name>name_23</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_23</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_24</description>
- <env-entry-name>name_24</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_24</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_20</description>
- <ejb-ref-name>name_20</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_20</home>
- <remote>remote_20</remote>
- <ejb-link>link_20</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_21</description>
- <ejb-ref-name>name_21</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_21</home>
- <remote>remote_21</remote>
- <ejb-link>link_21</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_22</description>
- <ejb-ref-name>name_22</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_22</home>
- <remote>remote_22</remote>
- <ejb-link>link_22</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_23</description>
- <ejb-ref-name>name_23</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_23</home>
- <remote>remote_23</remote>
- <ejb-link>link_23</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_24</description>
- <ejb-ref-name>name_24</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_24</home>
- <remote>remote_24</remote>
- <ejb-link>link_24</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_20</description>
- <ejb-ref-name>name_20</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_41</local-home>
- <local>remote_41</local>
- <ejb-link>link_20</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_21</description>
- <ejb-ref-name>name_21</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_43</local-home>
- <local>remote_43</local>
- <ejb-link>link_21</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_22</description>
- <ejb-ref-name>name_22</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_45</local-home>
- <local>remote_45</local>
- <ejb-link>link_22</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_23</description>
- <ejb-ref-name>name_23</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_47</local-home>
- <local>remote_47</local>
- <ejb-link>link_23</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_24</description>
- <ejb-ref-name>name_24</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_49</local-home>
- <local>remote_49</local>
- <ejb-link>link_24</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <role-name>name_20</role-name>
- <role-link>link_20</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_21</role-name>
- <role-link>link_21</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_22</role-name>
- <role-link>link_22</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_23</role-name>
- <role-link>link_23</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_24</role-name>
- <role-link>link_24</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_2</description>
- <run-as>
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_20</description>
- <res-ref-name>name_20</res-ref-name>
- <res-type>type_20</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_21</description>
- <res-ref-name>name_21</res-ref-name>
- <res-type>type_21</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_22</description>
- <res-ref-name>name_22</res-ref-name>
- <res-type>type_22</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_23</description>
- <res-ref-name>name_23</res-ref-name>
- <res-type>type_23</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_24</description>
- <res-ref-name>name_24</res-ref-name>
- <res-type>type_24</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_20</description>
- <resource-env-ref-name>name_20</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_21</description>
- <resource-env-ref-name>name_21</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_22</description>
- <resource-env-ref-name>name_22</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_23</description>
- <resource-env-ref-name>name_23</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_24</description>
- <resource-env-ref-name>name_24</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_3</description>
- <display-name>displayName_3</display-name>
- <small-icon>smallIcon_3</small-icon>
- <large-icon>largeIcon_3</large-icon>
- <ejb-name>name_3</ejb-name>
- <home>java.util.List</home>
- <remote>java.sql.Data</remote>
- <local-home>java.lang.Integer</local-home>
- <local>java.lang.String</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_25</description>
- <env-entry-name>name_25</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_25</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_26</description>
- <env-entry-name>name_26</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_26</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_27</description>
- <env-entry-name>name_27</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_27</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_28</description>
- <env-entry-name>name_28</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_28</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_29</description>
- <env-entry-name>name_29</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_29</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_25</description>
- <ejb-ref-name>name_25</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_25</home>
- <remote>remote_25</remote>
- <ejb-link>link_25</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_26</description>
- <ejb-ref-name>name_26</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_26</home>
- <remote>remote_26</remote>
- <ejb-link>link_26</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_27</description>
- <ejb-ref-name>name_27</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_27</home>
- <remote>remote_27</remote>
- <ejb-link>link_27</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_28</description>
- <ejb-ref-name>name_28</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_28</home>
- <remote>remote_28</remote>
- <ejb-link>link_28</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_29</description>
- <ejb-ref-name>name_29</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_29</home>
- <remote>remote_29</remote>
- <ejb-link>link_29</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_25</description>
- <ejb-ref-name>name_25</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_51</local-home>
- <local>remote_51</local>
- <ejb-link>link_25</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_26</description>
- <ejb-ref-name>name_26</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_53</local-home>
- <local>remote_53</local>
- <ejb-link>link_26</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_27</description>
- <ejb-ref-name>name_27</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_55</local-home>
- <local>remote_55</local>
- <ejb-link>link_27</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_28</description>
- <ejb-ref-name>name_28</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_57</local-home>
- <local>remote_57</local>
- <ejb-link>link_28</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_29</description>
- <ejb-ref-name>name_29</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_59</local-home>
- <local>remote_59</local>
- <ejb-link>link_29</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <role-name>name_25</role-name>
- <role-link>link_25</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_26</role-name>
- <role-link>link_26</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_27</role-name>
- <role-link>link_27</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_28</role-name>
- <role-link>link_28</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_29</role-name>
- <role-link>link_29</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_2</description>
- <use-caller-identity></use-caller-identity>
- </security-identity>
- <resource-ref>
- <description>description_25</description>
- <res-ref-name>name_25</res-ref-name>
- <res-type>type_25</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_26</description>
- <res-ref-name>name_26</res-ref-name>
- <res-type>type_26</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_27</description>
- <res-ref-name>name_27</res-ref-name>
- <res-type>type_27</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_28</description>
- <res-ref-name>name_28</res-ref-name>
- <res-type>type_28</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_29</description>
- <res-ref-name>name_29</res-ref-name>
- <res-type>type_29</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_25</description>
- <resource-env-ref-name>name_25</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_26</description>
- <resource-env-ref-name>name_26</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_27</description>
- <resource-env-ref-name>name_27</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_28</description>
- <resource-env-ref-name>name_28</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_29</description>
- <resource-env-ref-name>name_29</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <message-driven>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_0</ejb-name>
- <ejb-class>java.util.List</ejb-class>
- <transaction-type>Bean</transaction-type>
- <message-selector>messageSelector_0</message-selector>
- <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
- <message-driven-destination>
- <destination-type>javax.jms.Queue</destination-type>
- <subscription-durability>Durable</subscription-durability>
- </message-driven-destination>
- <env-entry>
- <description>description_30</description>
- <env-entry-name>name_30</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_30</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_31</description>
- <env-entry-name>name_31</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_31</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_32</description>
- <env-entry-name>name_32</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_32</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_33</description>
- <env-entry-name>name_33</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_33</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_34</description>
- <env-entry-name>name_34</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_34</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_30</description>
- <ejb-ref-name>name_30</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_30</home>
- <remote>remote_30</remote>
- <ejb-link>link_30</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_31</description>
- <ejb-ref-name>name_31</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_31</home>
- <remote>remote_31</remote>
- <ejb-link>link_31</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_32</description>
- <ejb-ref-name>name_32</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_32</home>
- <remote>remote_32</remote>
- <ejb-link>link_32</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_33</description>
- <ejb-ref-name>name_33</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_33</home>
- <remote>remote_33</remote>
- <ejb-link>link_33</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_34</description>
- <ejb-ref-name>name_34</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_34</home>
- <remote>remote_34</remote>
- <ejb-link>link_34</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_30</description>
- <ejb-ref-name>name_30</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_61</local-home>
- <local>remote_61</local>
- <ejb-link>link_30</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_31</description>
- <ejb-ref-name>name_31</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_63</local-home>
- <local>remote_63</local>
- <ejb-link>link_31</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_32</description>
- <ejb-ref-name>name_32</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_65</local-home>
- <local>remote_65</local>
- <ejb-link>link_32</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_33</description>
- <ejb-ref-name>name_33</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_67</local-home>
- <local>remote_67</local>
- <ejb-link>link_33</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_34</description>
- <ejb-ref-name>name_34</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_69</local-home>
- <local>remote_69</local>
- <ejb-link>link_34</ejb-link>
- </ejb-local-ref>
- <security-identity>
- <description>description_3</description>
- <run-as>
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_30</description>
- <res-ref-name>name_30</res-ref-name>
- <res-type>type_30</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_31</description>
- <res-ref-name>name_31</res-ref-name>
- <res-type>type_31</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_32</description>
- <res-ref-name>name_32</res-ref-name>
- <res-type>type_32</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_33</description>
- <res-ref-name>name_33</res-ref-name>
- <res-type>type_33</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_34</description>
- <res-ref-name>name_34</res-ref-name>
- <res-type>type_34</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_30</description>
- <resource-env-ref-name>name_30</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_31</description>
- <resource-env-ref-name>name_31</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_32</description>
- <resource-env-ref-name>name_32</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_33</description>
- <resource-env-ref-name>name_33</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_34</description>
- <resource-env-ref-name>name_34</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- </message-driven>
- <session>
- <description>description_1</description>
- <display-name>displayName_1</display-name>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- <ejb-name>name_1</ejb-name>
- <home>java.lang.String</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.List</local-home>
- <local>java.sql.Data</local>
- <ejb-class>java.lang.Integer</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Container</transaction-type>
- <env-entry>
- <description>description_35</description>
- <env-entry-name>name_35</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_35</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_36</description>
- <env-entry-name>name_36</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_36</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_37</description>
- <env-entry-name>name_37</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_37</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_38</description>
- <env-entry-name>name_38</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_38</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_39</description>
- <env-entry-name>name_39</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_39</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_35</description>
- <ejb-ref-name>name_35</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_35</home>
- <remote>remote_35</remote>
- <ejb-link>link_35</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_36</description>
- <ejb-ref-name>name_36</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_36</home>
- <remote>remote_36</remote>
- <ejb-link>link_36</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_37</description>
- <ejb-ref-name>name_37</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_37</home>
- <remote>remote_37</remote>
- <ejb-link>link_37</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_38</description>
- <ejb-ref-name>name_38</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_38</home>
- <remote>remote_38</remote>
- <ejb-link>link_38</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_39</description>
- <ejb-ref-name>name_39</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_39</home>
- <remote>remote_39</remote>
- <ejb-link>link_39</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_35</description>
- <ejb-ref-name>name_35</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_71</local-home>
- <local>remote_71</local>
- <ejb-link>link_35</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_36</description>
- <ejb-ref-name>name_36</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_73</local-home>
- <local>remote_73</local>
- <ejb-link>link_36</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_37</description>
- <ejb-ref-name>name_37</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_75</local-home>
- <local>remote_75</local>
- <ejb-link>link_37</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_38</description>
- <ejb-ref-name>name_38</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_77</local-home>
- <local>remote_77</local>
- <ejb-link>link_38</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_39</description>
- <ejb-ref-name>name_39</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_79</local-home>
- <local>remote_79</local>
- <ejb-link>link_39</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <role-name>name_35</role-name>
- <role-link>link_35</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_36</role-name>
- <role-link>link_36</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_37</role-name>
- <role-link>link_37</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_38</role-name>
- <role-link>link_38</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_39</role-name>
- <role-link>link_39</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_3</description>
- <use-caller-identity></use-caller-identity>
- </security-identity>
- <resource-ref>
- <description>description_35</description>
- <res-ref-name>name_35</res-ref-name>
- <res-type>type_35</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_36</description>
- <res-ref-name>name_36</res-ref-name>
- <res-type>type_36</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_37</description>
- <res-ref-name>name_37</res-ref-name>
- <res-type>type_37</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_38</description>
- <res-ref-name>name_38</res-ref-name>
- <res-type>type_38</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_39</description>
- <res-ref-name>name_39</res-ref-name>
- <res-type>type_39</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_35</description>
- <resource-env-ref-name>name_35</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_36</description>
- <resource-env-ref-name>name_36</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_37</description>
- <resource-env-ref-name>name_37</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_38</description>
- <resource-env-ref-name>name_38</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_39</description>
- <resource-env-ref-name>name_39</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- </session>
- <entity>
- <description>description_4</description>
- <display-name>displayName_4</display-name>
- <small-icon>smallIcon_4</small-icon>
- <large-icon>largeIcon_4</large-icon>
- <ejb-name>name_4</ejb-name>
- <home>java.util.HashTable</home>
- <remote>java.util.List</remote>
- <local-home>java.sql.Data</local-home>
- <local>java.lang.Integer</local>
- <ejb-class>java.lang.String</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.String</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_40</description>
- <env-entry-name>name_40</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_40</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_41</description>
- <env-entry-name>name_41</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_41</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_42</description>
- <env-entry-name>name_42</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_42</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_43</description>
- <env-entry-name>name_43</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_43</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_44</description>
- <env-entry-name>name_44</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_44</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_40</description>
- <ejb-ref-name>name_40</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_40</home>
- <remote>remote_40</remote>
- <ejb-link>link_40</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_41</description>
- <ejb-ref-name>name_41</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_41</home>
- <remote>remote_41</remote>
- <ejb-link>link_41</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_42</description>
- <ejb-ref-name>name_42</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_42</home>
- <remote>remote_42</remote>
- <ejb-link>link_42</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_43</description>
- <ejb-ref-name>name_43</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_43</home>
- <remote>remote_43</remote>
- <ejb-link>link_43</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_44</description>
- <ejb-ref-name>name_44</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_44</home>
- <remote>remote_44</remote>
- <ejb-link>link_44</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_40</description>
- <ejb-ref-name>name_40</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_81</local-home>
- <local>remote_81</local>
- <ejb-link>link_40</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_41</description>
- <ejb-ref-name>name_41</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_83</local-home>
- <local>remote_83</local>
- <ejb-link>link_41</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_42</description>
- <ejb-ref-name>name_42</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_85</local-home>
- <local>remote_85</local>
- <ejb-link>link_42</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_43</description>
- <ejb-ref-name>name_43</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_87</local-home>
- <local>remote_87</local>
- <ejb-link>link_43</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_44</description>
- <ejb-ref-name>name_44</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_89</local-home>
- <local>remote_89</local>
- <ejb-link>link_44</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <role-name>name_40</role-name>
- <role-link>link_40</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_41</role-name>
- <role-link>link_41</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_42</role-name>
- <role-link>link_42</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_43</role-name>
- <role-link>link_43</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_44</role-name>
- <role-link>link_44</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_4</description>
- <run-as>
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_40</description>
- <res-ref-name>name_40</res-ref-name>
- <res-type>type_40</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_41</description>
- <res-ref-name>name_41</res-ref-name>
- <res-type>type_41</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_42</description>
- <res-ref-name>name_42</res-ref-name>
- <res-type>type_42</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_43</description>
- <res-ref-name>name_43</res-ref-name>
- <res-type>type_43</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_44</description>
- <res-ref-name>name_44</res-ref-name>
- <res-type>type_44</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_40</description>
- <resource-env-ref-name>name_40</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_41</description>
- <resource-env-ref-name>name_41</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_42</description>
- <resource-env-ref-name>name_42</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_43</description>
- <resource-env-ref-name>name_43</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_44</description>
- <resource-env-ref-name>name_44</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_5</description>
- <display-name>displayName_5</display-name>
- <small-icon>smallIcon_5</small-icon>
- <large-icon>largeIcon_5</large-icon>
- <ejb-name>name_5</ejb-name>
- <home>java.util.List</home>
- <remote>java.sql.Data</remote>
- <local-home>java.lang.Integer</local-home>
- <local>java.lang.String</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_45</description>
- <env-entry-name>name_45</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_45</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_46</description>
- <env-entry-name>name_46</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_46</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_47</description>
- <env-entry-name>name_47</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_47</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_48</description>
- <env-entry-name>name_48</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_48</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_49</description>
- <env-entry-name>name_49</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_49</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_45</description>
- <ejb-ref-name>name_45</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_45</home>
- <remote>remote_45</remote>
- <ejb-link>link_45</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_46</description>
- <ejb-ref-name>name_46</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_46</home>
- <remote>remote_46</remote>
- <ejb-link>link_46</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_47</description>
- <ejb-ref-name>name_47</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_47</home>
- <remote>remote_47</remote>
- <ejb-link>link_47</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_48</description>
- <ejb-ref-name>name_48</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_48</home>
- <remote>remote_48</remote>
- <ejb-link>link_48</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_49</description>
- <ejb-ref-name>name_49</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_49</home>
- <remote>remote_49</remote>
- <ejb-link>link_49</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_45</description>
- <ejb-ref-name>name_45</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_91</local-home>
- <local>remote_91</local>
- <ejb-link>link_45</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_46</description>
- <ejb-ref-name>name_46</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_93</local-home>
- <local>remote_93</local>
- <ejb-link>link_46</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_47</description>
- <ejb-ref-name>name_47</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_95</local-home>
- <local>remote_95</local>
- <ejb-link>link_47</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_48</description>
- <ejb-ref-name>name_48</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_97</local-home>
- <local>remote_97</local>
- <ejb-link>link_48</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_49</description>
- <ejb-ref-name>name_49</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_99</local-home>
- <local>remote_99</local>
- <ejb-link>link_49</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <role-name>name_45</role-name>
- <role-link>link_45</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_46</role-name>
- <role-link>link_46</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_47</role-name>
- <role-link>link_47</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_48</role-name>
- <role-link>link_48</role-link>
- </security-role-ref>
- <security-role-ref>
- <role-name>name_49</role-name>
- <role-link>link_49</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_4</description>
- <use-caller-identity></use-caller-identity>
- </security-identity>
- <resource-ref>
- <description>description_45</description>
- <res-ref-name>name_45</res-ref-name>
- <res-type>type_45</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_46</description>
- <res-ref-name>name_46</res-ref-name>
- <res-type>type_46</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_47</description>
- <res-ref-name>name_47</res-ref-name>
- <res-type>type_47</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_48</description>
- <res-ref-name>name_48</res-ref-name>
- <res-type>type_48</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_49</description>
- <res-ref-name>name_49</res-ref-name>
- <res-type>type_49</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_45</description>
- <resource-env-ref-name>name_45</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_46</description>
- <resource-env-ref-name>name_46</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_47</description>
- <resource-env-ref-name>name_47</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_48</description>
- <resource-env-ref-name>name_48</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_49</description>
- <resource-env-ref-name>name_49</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- </enterprise-beans>
- <relationships>
- <description>description_0</description>
- <ejb-relation>
- <description>description_0</description>
- <ejb-relation-name>name_0</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_0</description>
- <ejb-relationship-role-name>roleName_0</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete></cascade-delete>
- <relationship-role-source>
- <description>description_0</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_0</description>
- <cmr-field-name>name_0</cmr-field-name>
- <cmr-field-type>java.util.List</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_1</description>
- <ejb-relationship-role-name>roleName_1</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_1</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_1</description>
- <cmr-field-name>name_1</cmr-field-name>
- <cmr-field-type>java.sql.Data</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_1</description>
- <ejb-relation-name>name_1</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_2</description>
- <ejb-relationship-role-name>roleName_2</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete></cascade-delete>
- <relationship-role-source>
- <description>description_2</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_2</description>
- <cmr-field-name>name_2</cmr-field-name>
- <cmr-field-type>java.lang.Integer</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_3</description>
- <ejb-relationship-role-name>roleName_3</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_3</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_3</description>
- <cmr-field-name>name_3</cmr-field-name>
- <cmr-field-type>java.lang.String</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_2</description>
- <ejb-relation-name>name_2</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_4</description>
- <ejb-relationship-role-name>roleName_4</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete></cascade-delete>
- <relationship-role-source>
- <description>description_4</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_4</description>
- <cmr-field-name>name_4</cmr-field-name>
- <cmr-field-type>java.util.HashTable</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_5</description>
- <ejb-relationship-role-name>roleName_5</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_5</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_5</description>
- <cmr-field-name>name_5</cmr-field-name>
- <cmr-field-type>java.util.List</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_3</description>
- <ejb-relation-name>name_3</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_6</description>
- <ejb-relationship-role-name>roleName_6</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete></cascade-delete>
- <relationship-role-source>
- <description>description_6</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_6</description>
- <cmr-field-name>name_6</cmr-field-name>
- <cmr-field-type>java.sql.Data</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_7</description>
- <ejb-relationship-role-name>roleName_7</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_7</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_7</description>
- <cmr-field-name>name_7</cmr-field-name>
- <cmr-field-type>java.lang.Integer</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_4</description>
- <ejb-relation-name>name_4</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_8</description>
- <ejb-relationship-role-name>roleName_8</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete></cascade-delete>
- <relationship-role-source>
- <description>description_8</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_8</description>
- <cmr-field-name>name_8</cmr-field-name>
- <cmr-field-type>java.lang.String</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_9</description>
- <ejb-relationship-role-name>roleName_9</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_9</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_9</description>
- <cmr-field-name>name_9</cmr-field-name>
- <cmr-field-type>java.util.HashTable</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- </relationships>
- <assembly-descriptor>
- <security-role>
- <description>description_5</description>
- <role-name>roleName_5</role-name>
- </security-role>
- <security-role>
- <description>description_6</description>
- <role-name>roleName_6</role-name>
- </security-role>
- <security-role>
- <description>description_7</description>
- <role-name>roleName_7</role-name>
- </security-role>
- <security-role>
- <description>description_8</description>
- <role-name>roleName_8</role-name>
- </security-role>
- <security-role>
- <description>description_9</description>
- <role-name>roleName_9</role-name>
- </security-role>
- <method-permission>
- <description>description_0</description>
- <unchecked></unchecked>
- <method>
- <description>description_0</description>
- <method-name>name_0</method-name>
- </method>
- <method>
- <description>description_1</description>
- <method-intf>Remote</method-intf>
- <method-name>name_1</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_2</description>
- <method-intf>Home</method-intf>
- <method-name>name_2</method-name>
- <method-params>
- <method-param>parms_0</method-param>
- </method-params>
- </method>
- <method>
- <description>description_3</description>
- <method-intf>Local</method-intf>
- <method-name>name_3</method-name>
- <method-params>
- <method-param>parms_1</method-param>
- <method-param>parms_2</method-param>
- </method-params>
- </method>
- <method>
- <description>description_4</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_4</method-name>
- <method-params>
- <method-param>parms_3</method-param>
- <method-param>parms_4</method-param>
- <method-param>parms_5</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_1</description>
- <method>
- <description>description_5</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_5</method-name>
- </method>
- <method>
- <description>description_6</description>
- <method-name>name_6</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_7</description>
- <method-intf>Remote</method-intf>
- <method-name>name_7</method-name>
- <method-params>
- <method-param>parms_6</method-param>
- </method-params>
- </method>
- <method>
- <description>description_8</description>
- <method-intf>Home</method-intf>
- <method-name>name_8</method-name>
- <method-params>
- <method-param>parms_7</method-param>
- <method-param>parms_8</method-param>
- </method-params>
- </method>
- <method>
- <description>description_9</description>
- <method-intf>Local</method-intf>
- <method-name>name_9</method-name>
- <method-params>
- <method-param>parms_9</method-param>
- <method-param>parms_10</method-param>
- <method-param>parms_11</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_2</description>
- <unchecked></unchecked>
- <method>
- <description>description_10</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_10</method-name>
- </method>
- <method>
- <description>description_11</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_11</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_12</description>
- <method-name>name_12</method-name>
- <method-params>
- <method-param>parms_12</method-param>
- </method-params>
- </method>
- <method>
- <description>description_13</description>
- <method-intf>Remote</method-intf>
- <method-name>name_13</method-name>
- <method-params>
- <method-param>parms_13</method-param>
- <method-param>parms_14</method-param>
- </method-params>
- </method>
- <method>
- <description>description_14</description>
- <method-intf>Home</method-intf>
- <method-name>name_14</method-name>
- <method-params>
- <method-param>parms_15</method-param>
- <method-param>parms_16</method-param>
- <method-param>parms_17</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_3</description>
- <method>
- <description>description_15</description>
- <method-intf>Local</method-intf>
- <method-name>name_15</method-name>
- </method>
- <method>
- <description>description_16</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_16</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_17</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_17</method-name>
- <method-params>
- <method-param>parms_18</method-param>
- </method-params>
- </method>
- <method>
- <description>description_18</description>
- <method-name>name_18</method-name>
- <method-params>
- <method-param>parms_19</method-param>
- <method-param>parms_20</method-param>
- </method-params>
- </method>
- <method>
- <description>description_19</description>
- <method-intf>Remote</method-intf>
- <method-name>name_19</method-name>
- <method-params>
- <method-param>parms_21</method-param>
- <method-param>parms_22</method-param>
- <method-param>parms_23</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_4</description>
- <unchecked></unchecked>
- <method>
- <description>description_20</description>
- <method-intf>Home</method-intf>
- <method-name>name_20</method-name>
- </method>
- <method>
- <description>description_21</description>
- <method-intf>Local</method-intf>
- <method-name>name_21</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_22</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_22</method-name>
- <method-params>
- <method-param>parms_24</method-param>
- </method-params>
- </method>
- <method>
- <description>description_23</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_23</method-name>
- <method-params>
- <method-param>parms_25</method-param>
- <method-param>parms_26</method-param>
- </method-params>
- </method>
- <method>
- <description>description_24</description>
- <method-name>name_24</method-name>
- <method-params>
- <method-param>parms_27</method-param>
- <method-param>parms_28</method-param>
- <method-param>parms_29</method-param>
- </method-params>
- </method>
- </method-permission>
- <container-transaction>
- <description>description_0</description>
- <method>
- <description>description_25</description>
- <method-intf>Remote</method-intf>
- <method-name>name_25</method-name>
- </method>
- <method>
- <description>description_26</description>
- <method-intf>Home</method-intf>
- <method-name>name_26</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_27</description>
- <method-intf>Local</method-intf>
- <method-name>name_27</method-name>
- <method-params>
- <method-param>parms_30</method-param>
- </method-params>
- </method>
- <method>
- <description>description_28</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_28</method-name>
- <method-params>
- <method-param>parms_31</method-param>
- <method-param>parms_32</method-param>
- </method-params>
- </method>
- <method>
- <description>description_29</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_29</method-name>
- <method-params>
- <method-param>parms_33</method-param>
- <method-param>parms_34</method-param>
- <method-param>parms_35</method-param>
- </method-params>
- </method>
- <trans-attribute>NotSupported</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_1</description>
- <method>
- <description>description_30</description>
- <method-name>name_30</method-name>
- </method>
- <method>
- <description>description_31</description>
- <method-intf>Remote</method-intf>
- <method-name>name_31</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_32</description>
- <method-intf>Home</method-intf>
- <method-name>name_32</method-name>
- <method-params>
- <method-param>parms_36</method-param>
- </method-params>
- </method>
- <method>
- <description>description_33</description>
- <method-intf>Local</method-intf>
- <method-name>name_33</method-name>
- <method-params>
- <method-param>parms_37</method-param>
- <method-param>parms_38</method-param>
- </method-params>
- </method>
- <method>
- <description>description_34</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_34</method-name>
- <method-params>
- <method-param>parms_39</method-param>
- <method-param>parms_40</method-param>
- <method-param>parms_41</method-param>
- </method-params>
- </method>
- <trans-attribute>Supports</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_2</description>
- <method>
- <description>description_35</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_35</method-name>
- </method>
- <method>
- <description>description_36</description>
- <method-name>name_36</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_37</description>
- <method-intf>Remote</method-intf>
- <method-name>name_37</method-name>
- <method-params>
- <method-param>parms_42</method-param>
- </method-params>
- </method>
- <method>
- <description>description_38</description>
- <method-intf>Home</method-intf>
- <method-name>name_38</method-name>
- <method-params>
- <method-param>parms_43</method-param>
- <method-param>parms_44</method-param>
- </method-params>
- </method>
- <method>
- <description>description_39</description>
- <method-intf>Local</method-intf>
- <method-name>name_39</method-name>
- <method-params>
- <method-param>parms_45</method-param>
- <method-param>parms_46</method-param>
- <method-param>parms_47</method-param>
- </method-params>
- </method>
- <trans-attribute>Required</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_3</description>
- <method>
- <description>description_40</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_40</method-name>
- </method>
- <method>
- <description>description_41</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_41</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_42</description>
- <method-name>name_42</method-name>
- <method-params>
- <method-param>parms_48</method-param>
- </method-params>
- </method>
- <method>
- <description>description_43</description>
- <method-intf>Remote</method-intf>
- <method-name>name_43</method-name>
- <method-params>
- <method-param>parms_49</method-param>
- <method-param>parms_50</method-param>
- </method-params>
- </method>
- <method>
- <description>description_44</description>
- <method-intf>Home</method-intf>
- <method-name>name_44</method-name>
- <method-params>
- <method-param>parms_51</method-param>
- <method-param>parms_52</method-param>
- <method-param>parms_53</method-param>
- </method-params>
- </method>
- <trans-attribute>RequiresNew</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_4</description>
- <method>
- <description>description_45</description>
- <method-intf>Local</method-intf>
- <method-name>name_45</method-name>
- </method>
- <method>
- <description>description_46</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_46</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_47</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_47</method-name>
- <method-params>
- <method-param>parms_54</method-param>
- </method-params>
- </method>
- <method>
- <description>description_48</description>
- <method-name>name_48</method-name>
- <method-params>
- <method-param>parms_55</method-param>
- <method-param>parms_56</method-param>
- </method-params>
- </method>
- <method>
- <description>description_49</description>
- <method-intf>Remote</method-intf>
- <method-name>name_49</method-name>
- <method-params>
- <method-param>parms_57</method-param>
- <method-param>parms_58</method-param>
- <method-param>parms_59</method-param>
- </method-params>
- </method>
- <trans-attribute>Mandatory</trans-attribute>
- </container-transaction>
- <exclude-list>
- <description>description_0</description>
- <method>
- <description>description_50</description>
- <method-intf>Home</method-intf>
- <method-name>name_50</method-name>
- </method>
- <method>
- <description>description_51</description>
- <method-intf>Local</method-intf>
- <method-name>name_51</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_52</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_52</method-name>
- <method-params>
- <method-param>parms_60</method-param>
- </method-params>
- </method>
- <method>
- <description>description_53</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_53</method-name>
- <method-params>
- <method-param>parms_61</method-param>
- <method-param>parms_62</method-param>
- </method-params>
- </method>
- <method>
- <description>description_54</description>
- <method-name>name_54</method-name>
- <method-params>
- <method-param>parms_63</method-param>
- <method-param>parms_64</method-param>
- <method-param>parms_65</method-param>
- </method-params>
- </method>
- </exclude-list>
- </assembly-descriptor>
- <ejb-client-jar>ejbClientJar_0</ejb-client-jar>
-</ejb-jar>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar2-0sax.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar2-0sax.xml
deleted file mode 100644
index f5972422..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ejb-jar2-0sax.xml
+++ /dev/null
@@ -1,2859 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
-<ejb-jar id="ejb-jar_ID">
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <enterprise-beans>
- <entity id="CMP1">
- <ejb-name>CMP1</ejb-name>
- <local-home>ejbs.CMP1LocalHome</local-home>
- <local>ejbs.CMP1Local</local>
- <ejb-class>ejbs.CMP1Bean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>ejbs.CMP1Key</prim-key-class>
- <reentrant>False</reentrant>
- <cmp-version>2.x</cmp-version>
- <abstract-schema-name>CMP1</abstract-schema-name>
- <cmp-field>
- <field-name>id</field-name>
- </cmp-field>
- </entity>
- <entity id="CMP2">
- <ejb-name>CMP2</ejb-name>
- <local-home>ejbs.CMP2LocalHome</local-home>
- <local>ejbs.CMP2Local</local>
- <ejb-class>ejbs.CMP2Bean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>ejbs.CMP2Key</prim-key-class>
- <reentrant>False</reentrant>
- <cmp-version>2.x</cmp-version>
- <abstract-schema-name>CMP2</abstract-schema-name>
- <cmp-field>
- <field-name>id</field-name>
- </cmp-field>
- </entity>
- <entity>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_0</ejb-name>
- <home>java.util.List</home>
- <remote>java.sql.Data</remote>
- <local-home>java.lang.Integer</local-home>
- <local>java.lang.String</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_0</description>
- <env-entry-name>name_0</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_0</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_1</description>
- <env-entry-name>name_1</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_1</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_2</description>
- <env-entry-name>name_2</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_2</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_3</description>
- <env-entry-name>name_3</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_3</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_4</description>
- <env-entry-name>name_4</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_4</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_0</home>
- <remote>remote_0</remote>
- <ejb-link>link_0</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_1</home>
- <remote>remote_1</remote>
- <ejb-link>link_1</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_2</home>
- <remote>remote_2</remote>
- <ejb-link>link_2</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_3</home>
- <remote>remote_3</remote>
- <ejb-link>link_3</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_4</home>
- <remote>remote_4</remote>
- <ejb-link>link_4</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_1</local-home>
- <local>remote_1</local>
- <ejb-link>link_0</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_3</local-home>
- <local>remote_3</local>
- <ejb-link>link_1</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_5</local-home>
- <local>remote_5</local>
- <ejb-link>link_2</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_7</local-home>
- <local>remote_7</local>
- <ejb-link>link_3</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_9</local-home>
- <local>remote_9</local>
- <ejb-link>link_4</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_0</description>
- <role-name>name_0</role-name>
- <role-link>link_0</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_1</description>
- <role-name>name_1</role-name>
- <role-link>link_1</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_2</description>
- <role-name>name_2</role-name>
- <role-link>link_2</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_3</description>
- <role-name>name_3</role-name>
- <role-link>link_3</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_4</description>
- <role-name>name_4</role-name>
- <role-link>link_4</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_0</description>
- <run-as>
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_0</description>
- <res-ref-name>name_0</res-ref-name>
- <res-type>type_0</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_1</description>
- <res-ref-name>name_1</res-ref-name>
- <res-type>type_1</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_2</description>
- <res-ref-name>name_2</res-ref-name>
- <res-type>type_2</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_3</description>
- <res-ref-name>name_3</res-ref-name>
- <res-type>type_3</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_4</description>
- <res-ref-name>name_4</res-ref-name>
- <res-type>type_4</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_0</description>
- <resource-env-ref-name>name_0</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_1</description>
- <resource-env-ref-name>name_1</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_2</description>
- <resource-env-ref-name>name_2</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_3</description>
- <resource-env-ref-name>name_3</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_4</description>
- <resource-env-ref-name>name_4</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_1</description>
- <display-name>displayName_1</display-name>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- <ejb-name>name_1</ejb-name>
- <home>java.sql.Data</home>
- <remote>java.lang.Integer</remote>
- <local-home>java.lang.String</local-home>
- <local>java.util.HashTable</local>
- <ejb-class>java.util.List</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.List</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_5</description>
- <env-entry-name>name_5</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_5</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_6</description>
- <env-entry-name>name_6</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_6</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_7</description>
- <env-entry-name>name_7</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_7</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_8</description>
- <env-entry-name>name_8</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_8</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_9</description>
- <env-entry-name>name_9</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_9</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_5</description>
- <ejb-ref-name>name_5</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_5</home>
- <remote>remote_5</remote>
- <ejb-link>link_5</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_6</description>
- <ejb-ref-name>name_6</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_6</home>
- <remote>remote_6</remote>
- <ejb-link>link_6</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_7</description>
- <ejb-ref-name>name_7</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_7</home>
- <remote>remote_7</remote>
- <ejb-link>link_7</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_8</description>
- <ejb-ref-name>name_8</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_8</home>
- <remote>remote_8</remote>
- <ejb-link>link_8</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_9</description>
- <ejb-ref-name>name_9</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_9</home>
- <remote>remote_9</remote>
- <ejb-link>link_9</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_5</description>
- <ejb-ref-name>name_5</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_11</local-home>
- <local>remote_11</local>
- <ejb-link>link_5</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_6</description>
- <ejb-ref-name>name_6</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_13</local-home>
- <local>remote_13</local>
- <ejb-link>link_6</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_7</description>
- <ejb-ref-name>name_7</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_15</local-home>
- <local>remote_15</local>
- <ejb-link>link_7</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_8</description>
- <ejb-ref-name>name_8</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_17</local-home>
- <local>remote_17</local>
- <ejb-link>link_8</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_9</description>
- <ejb-ref-name>name_9</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_19</local-home>
- <local>remote_19</local>
- <ejb-link>link_9</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_5</description>
- <role-name>name_5</role-name>
- <role-link>link_5</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_6</description>
- <role-name>name_6</role-name>
- <role-link>link_6</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_7</description>
- <role-name>name_7</role-name>
- <role-link>link_7</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_8</description>
- <role-name>name_8</role-name>
- <role-link>link_8</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_9</description>
- <role-name>name_9</role-name>
- <role-link>link_9</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_0</description>
- <use-caller-identity/>
- </security-identity>
- <resource-ref>
- <description>description_5</description>
- <res-ref-name>name_5</res-ref-name>
- <res-type>type_5</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_6</description>
- <res-ref-name>name_6</res-ref-name>
- <res-type>type_6</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_7</description>
- <res-ref-name>name_7</res-ref-name>
- <res-type>type_7</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_8</description>
- <res-ref-name>name_8</res-ref-name>
- <res-type>type_8</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_9</description>
- <res-ref-name>name_9</res-ref-name>
- <res-type>type_9</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_5</description>
- <resource-env-ref-name>name_5</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_6</description>
- <resource-env-ref-name>name_6</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_7</description>
- <resource-env-ref-name>name_7</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_8</description>
- <resource-env-ref-name>name_8</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_9</description>
- <resource-env-ref-name>name_9</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_0</ejb-name>
- <home>java.lang.Integer</home>
- <remote>java.lang.String</remote>
- <local-home>java.util.HashTable</local-home>
- <local>java.util.List</local>
- <ejb-class>java.sql.Data</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>java.sql.Data</prim-key-class>
- <reentrant>True</reentrant>
- <cmp-version>2.x</cmp-version>
- <abstract-schema-name>abstractSchemaName_0</abstract-schema-name>
- <cmp-field>
- <description>description_1</description>
- <field-name>name_1</field-name>
- </cmp-field>
- <cmp-field>
- <description>description_3</description>
- <field-name>name_3</field-name>
- </cmp-field>
- <env-entry>
- <description>description_10</description>
- <env-entry-name>name_10</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_10</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_11</description>
- <env-entry-name>name_11</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_11</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_12</description>
- <env-entry-name>name_12</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_12</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_13</description>
- <env-entry-name>name_13</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_13</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_14</description>
- <env-entry-name>name_14</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_14</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_10</description>
- <ejb-ref-name>name_10</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_10</home>
- <remote>remote_10</remote>
- <ejb-link>link_10</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_11</description>
- <ejb-ref-name>name_11</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_11</home>
- <remote>remote_11</remote>
- <ejb-link>link_11</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_12</description>
- <ejb-ref-name>name_12</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_12</home>
- <remote>remote_12</remote>
- <ejb-link>link_12</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_13</description>
- <ejb-ref-name>name_13</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_13</home>
- <remote>remote_13</remote>
- <ejb-link>link_13</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_14</description>
- <ejb-ref-name>name_14</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_14</home>
- <remote>remote_14</remote>
- <ejb-link>link_14</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_10</description>
- <ejb-ref-name>name_10</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_21</local-home>
- <local>remote_21</local>
- <ejb-link>link_10</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_11</description>
- <ejb-ref-name>name_11</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_23</local-home>
- <local>remote_23</local>
- <ejb-link>link_11</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_12</description>
- <ejb-ref-name>name_12</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_25</local-home>
- <local>remote_25</local>
- <ejb-link>link_12</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_13</description>
- <ejb-ref-name>name_13</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_27</local-home>
- <local>remote_27</local>
- <ejb-link>link_13</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_14</description>
- <ejb-ref-name>name_14</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_29</local-home>
- <local>remote_29</local>
- <ejb-link>link_14</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_10</description>
- <role-name>name_10</role-name>
- <role-link>link_10</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_11</description>
- <role-name>name_11</role-name>
- <role-link>link_11</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_12</description>
- <role-name>name_12</role-name>
- <role-link>link_12</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_13</description>
- <role-name>name_13</role-name>
- <role-link>link_13</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_14</description>
- <role-name>name_14</role-name>
- <role-link>link_14</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_1</description>
- <run-as>
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_10</description>
- <res-ref-name>name_10</res-ref-name>
- <res-type>type_10</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_11</description>
- <res-ref-name>name_11</res-ref-name>
- <res-type>type_11</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_12</description>
- <res-ref-name>name_12</res-ref-name>
- <res-type>type_12</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_13</description>
- <res-ref-name>name_13</res-ref-name>
- <res-type>type_13</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_14</description>
- <res-ref-name>name_14</res-ref-name>
- <res-type>type_14</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_10</description>
- <resource-env-ref-name>name_10</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_11</description>
- <resource-env-ref-name>name_11</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_12</description>
- <resource-env-ref-name>name_12</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_13</description>
- <resource-env-ref-name>name_13</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_14</description>
- <resource-env-ref-name>name_14</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <query>
- <description>description_0</description>
- <query-method>
- <method-name>name_0</method-name>
- </query-method>
- <result-type-mapping>Local</result-type-mapping>
- <ejb-ql>ejbQL_0</ejb-ql>
- </query>
- <query>
- <description>description_1</description>
- <query-method>
- <method-name>name_1</method-name>
- <method-params/>
- </query-method>
- <result-type-mapping>Remote</result-type-mapping>
- <ejb-ql>ejbQL_1</ejb-ql>
- </query>
- <query>
- <description>description_2</description>
- <query-method>
- <method-name>name_2</method-name>
- <method-params>
- <method-param>parms_0</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Local</result-type-mapping>
- <ejb-ql>ejbQL_2</ejb-ql>
- </query>
- <query>
- <description>description_3</description>
- <query-method>
- <method-name>name_3</method-name>
- <method-params>
- <method-param>parms_1</method-param>
- <method-param>parms_2</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Remote</result-type-mapping>
- <ejb-ql>ejbQL_3</ejb-ql>
- </query>
- <query>
- <description>description_4</description>
- <query-method>
- <method-name>name_4</method-name>
- <method-params>
- <method-param>parms_3</method-param>
- <method-param>parms_4</method-param>
- <method-param>parms_5</method-param>
- </method-params>
- </query-method>
- <result-type-mapping>Local</result-type-mapping>
- <ejb-ql>ejbQL_4</ejb-ql>
- </query>
- </entity>
- <session>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_0</ejb-name>
- <home>java.lang.String</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.List</local-home>
- <local>java.sql.Data</local>
- <ejb-class>java.lang.Integer</ejb-class>
- <session-type>Stateful</session-type>
- <transaction-type>Bean</transaction-type>
- <env-entry>
- <description>description_15</description>
- <env-entry-name>name_15</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_15</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_16</description>
- <env-entry-name>name_16</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_16</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_17</description>
- <env-entry-name>name_17</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_17</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_18</description>
- <env-entry-name>name_18</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_18</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_19</description>
- <env-entry-name>name_19</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_19</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_15</description>
- <ejb-ref-name>name_15</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_15</home>
- <remote>remote_15</remote>
- <ejb-link>link_15</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_16</description>
- <ejb-ref-name>name_16</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_16</home>
- <remote>remote_16</remote>
- <ejb-link>link_16</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_17</description>
- <ejb-ref-name>name_17</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_17</home>
- <remote>remote_17</remote>
- <ejb-link>link_17</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_18</description>
- <ejb-ref-name>name_18</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_18</home>
- <remote>remote_18</remote>
- <ejb-link>link_18</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_19</description>
- <ejb-ref-name>name_19</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_19</home>
- <remote>remote_19</remote>
- <ejb-link>link_19</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_15</description>
- <ejb-ref-name>name_15</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_31</local-home>
- <local>remote_31</local>
- <ejb-link>link_15</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_16</description>
- <ejb-ref-name>name_16</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_33</local-home>
- <local>remote_33</local>
- <ejb-link>link_16</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_17</description>
- <ejb-ref-name>name_17</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_35</local-home>
- <local>remote_35</local>
- <ejb-link>link_17</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_18</description>
- <ejb-ref-name>name_18</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_37</local-home>
- <local>remote_37</local>
- <ejb-link>link_18</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_19</description>
- <ejb-ref-name>name_19</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_39</local-home>
- <local>remote_39</local>
- <ejb-link>link_19</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_15</description>
- <role-name>name_15</role-name>
- <role-link>link_15</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_16</description>
- <role-name>name_16</role-name>
- <role-link>link_16</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_17</description>
- <role-name>name_17</role-name>
- <role-link>link_17</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_18</description>
- <role-name>name_18</role-name>
- <role-link>link_18</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_19</description>
- <role-name>name_19</role-name>
- <role-link>link_19</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_1</description>
- <use-caller-identity/>
- </security-identity>
- <resource-ref>
- <description>description_15</description>
- <res-ref-name>name_15</res-ref-name>
- <res-type>type_15</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_16</description>
- <res-ref-name>name_16</res-ref-name>
- <res-type>type_16</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_17</description>
- <res-ref-name>name_17</res-ref-name>
- <res-type>type_17</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_18</description>
- <res-ref-name>name_18</res-ref-name>
- <res-type>type_18</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_19</description>
- <res-ref-name>name_19</res-ref-name>
- <res-type>type_19</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_15</description>
- <resource-env-ref-name>name_15</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_16</description>
- <resource-env-ref-name>name_16</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_17</description>
- <resource-env-ref-name>name_17</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_18</description>
- <resource-env-ref-name>name_18</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_19</description>
- <resource-env-ref-name>name_19</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- </session>
- <entity>
- <description>description_2</description>
- <display-name>displayName_2</display-name>
- <small-icon>smallIcon_2</small-icon>
- <large-icon>largeIcon_2</large-icon>
- <ejb-name>name_2</ejb-name>
- <home>java.util.HashTable</home>
- <remote>java.util.List</remote>
- <local-home>java.sql.Data</local-home>
- <local>java.lang.Integer</local>
- <ejb-class>java.lang.String</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.String</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_20</description>
- <env-entry-name>name_20</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_20</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_21</description>
- <env-entry-name>name_21</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_21</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_22</description>
- <env-entry-name>name_22</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_22</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_23</description>
- <env-entry-name>name_23</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_23</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_24</description>
- <env-entry-name>name_24</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_24</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_20</description>
- <ejb-ref-name>name_20</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_20</home>
- <remote>remote_20</remote>
- <ejb-link>link_20</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_21</description>
- <ejb-ref-name>name_21</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_21</home>
- <remote>remote_21</remote>
- <ejb-link>link_21</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_22</description>
- <ejb-ref-name>name_22</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_22</home>
- <remote>remote_22</remote>
- <ejb-link>link_22</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_23</description>
- <ejb-ref-name>name_23</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_23</home>
- <remote>remote_23</remote>
- <ejb-link>link_23</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_24</description>
- <ejb-ref-name>name_24</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_24</home>
- <remote>remote_24</remote>
- <ejb-link>link_24</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_20</description>
- <ejb-ref-name>name_20</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_41</local-home>
- <local>remote_41</local>
- <ejb-link>link_20</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_21</description>
- <ejb-ref-name>name_21</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_43</local-home>
- <local>remote_43</local>
- <ejb-link>link_21</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_22</description>
- <ejb-ref-name>name_22</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_45</local-home>
- <local>remote_45</local>
- <ejb-link>link_22</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_23</description>
- <ejb-ref-name>name_23</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_47</local-home>
- <local>remote_47</local>
- <ejb-link>link_23</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_24</description>
- <ejb-ref-name>name_24</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_49</local-home>
- <local>remote_49</local>
- <ejb-link>link_24</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_20</description>
- <role-name>name_20</role-name>
- <role-link>link_20</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_21</description>
- <role-name>name_21</role-name>
- <role-link>link_21</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_22</description>
- <role-name>name_22</role-name>
- <role-link>link_22</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_23</description>
- <role-name>name_23</role-name>
- <role-link>link_23</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_24</description>
- <role-name>name_24</role-name>
- <role-link>link_24</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_2</description>
- <run-as>
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_20</description>
- <res-ref-name>name_20</res-ref-name>
- <res-type>type_20</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_21</description>
- <res-ref-name>name_21</res-ref-name>
- <res-type>type_21</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_22</description>
- <res-ref-name>name_22</res-ref-name>
- <res-type>type_22</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_23</description>
- <res-ref-name>name_23</res-ref-name>
- <res-type>type_23</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_24</description>
- <res-ref-name>name_24</res-ref-name>
- <res-type>type_24</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_20</description>
- <resource-env-ref-name>name_20</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_21</description>
- <resource-env-ref-name>name_21</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_22</description>
- <resource-env-ref-name>name_22</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_23</description>
- <resource-env-ref-name>name_23</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_24</description>
- <resource-env-ref-name>name_24</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_3</description>
- <display-name>displayName_3</display-name>
- <small-icon>smallIcon_3</small-icon>
- <large-icon>largeIcon_3</large-icon>
- <ejb-name>name_3</ejb-name>
- <home>java.util.List</home>
- <remote>java.sql.Data</remote>
- <local-home>java.lang.Integer</local-home>
- <local>java.lang.String</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_25</description>
- <env-entry-name>name_25</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_25</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_26</description>
- <env-entry-name>name_26</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_26</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_27</description>
- <env-entry-name>name_27</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_27</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_28</description>
- <env-entry-name>name_28</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_28</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_29</description>
- <env-entry-name>name_29</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_29</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_25</description>
- <ejb-ref-name>name_25</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_25</home>
- <remote>remote_25</remote>
- <ejb-link>link_25</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_26</description>
- <ejb-ref-name>name_26</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_26</home>
- <remote>remote_26</remote>
- <ejb-link>link_26</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_27</description>
- <ejb-ref-name>name_27</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_27</home>
- <remote>remote_27</remote>
- <ejb-link>link_27</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_28</description>
- <ejb-ref-name>name_28</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_28</home>
- <remote>remote_28</remote>
- <ejb-link>link_28</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_29</description>
- <ejb-ref-name>name_29</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_29</home>
- <remote>remote_29</remote>
- <ejb-link>link_29</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_25</description>
- <ejb-ref-name>name_25</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_51</local-home>
- <local>remote_51</local>
- <ejb-link>link_25</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_26</description>
- <ejb-ref-name>name_26</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_53</local-home>
- <local>remote_53</local>
- <ejb-link>link_26</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_27</description>
- <ejb-ref-name>name_27</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_55</local-home>
- <local>remote_55</local>
- <ejb-link>link_27</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_28</description>
- <ejb-ref-name>name_28</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_57</local-home>
- <local>remote_57</local>
- <ejb-link>link_28</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_29</description>
- <ejb-ref-name>name_29</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_59</local-home>
- <local>remote_59</local>
- <ejb-link>link_29</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_25</description>
- <role-name>name_25</role-name>
- <role-link>link_25</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_26</description>
- <role-name>name_26</role-name>
- <role-link>link_26</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_27</description>
- <role-name>name_27</role-name>
- <role-link>link_27</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_28</description>
- <role-name>name_28</role-name>
- <role-link>link_28</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_29</description>
- <role-name>name_29</role-name>
- <role-link>link_29</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_2</description>
- <use-caller-identity/>
- </security-identity>
- <resource-ref>
- <description>description_25</description>
- <res-ref-name>name_25</res-ref-name>
- <res-type>type_25</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_26</description>
- <res-ref-name>name_26</res-ref-name>
- <res-type>type_26</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_27</description>
- <res-ref-name>name_27</res-ref-name>
- <res-type>type_27</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_28</description>
- <res-ref-name>name_28</res-ref-name>
- <res-type>type_28</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_29</description>
- <res-ref-name>name_29</res-ref-name>
- <res-type>type_29</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_25</description>
- <resource-env-ref-name>name_25</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_26</description>
- <resource-env-ref-name>name_26</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_27</description>
- <resource-env-ref-name>name_27</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_28</description>
- <resource-env-ref-name>name_28</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_29</description>
- <resource-env-ref-name>name_29</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <message-driven>
- <description>description_0</description>
- <display-name>displayName_0</display-name>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- <ejb-name>name_0</ejb-name>
- <ejb-class>java.util.List</ejb-class>
- <transaction-type>Bean</transaction-type>
- <message-selector>messageSelector_0</message-selector>
- <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
- <message-driven-destination>
- <destination-type>javax.jms.Queue</destination-type>
- <subscription-durability>Durable</subscription-durability>
- </message-driven-destination>
- <env-entry>
- <description>description_30</description>
- <env-entry-name>name_30</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_30</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_31</description>
- <env-entry-name>name_31</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_31</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_32</description>
- <env-entry-name>name_32</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_32</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_33</description>
- <env-entry-name>name_33</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_33</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_34</description>
- <env-entry-name>name_34</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_34</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_30</description>
- <ejb-ref-name>name_30</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_30</home>
- <remote>remote_30</remote>
- <ejb-link>link_30</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_31</description>
- <ejb-ref-name>name_31</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_31</home>
- <remote>remote_31</remote>
- <ejb-link>link_31</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_32</description>
- <ejb-ref-name>name_32</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_32</home>
- <remote>remote_32</remote>
- <ejb-link>link_32</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_33</description>
- <ejb-ref-name>name_33</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_33</home>
- <remote>remote_33</remote>
- <ejb-link>link_33</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_34</description>
- <ejb-ref-name>name_34</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_34</home>
- <remote>remote_34</remote>
- <ejb-link>link_34</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_30</description>
- <ejb-ref-name>name_30</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_61</local-home>
- <local>remote_61</local>
- <ejb-link>link_30</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_31</description>
- <ejb-ref-name>name_31</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_63</local-home>
- <local>remote_63</local>
- <ejb-link>link_31</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_32</description>
- <ejb-ref-name>name_32</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_65</local-home>
- <local>remote_65</local>
- <ejb-link>link_32</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_33</description>
- <ejb-ref-name>name_33</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_67</local-home>
- <local>remote_67</local>
- <ejb-link>link_33</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_34</description>
- <ejb-ref-name>name_34</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_69</local-home>
- <local>remote_69</local>
- <ejb-link>link_34</ejb-link>
- </ejb-local-ref>
- <security-identity>
- <description>description_3</description>
- <run-as>
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_30</description>
- <res-ref-name>name_30</res-ref-name>
- <res-type>type_30</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_31</description>
- <res-ref-name>name_31</res-ref-name>
- <res-type>type_31</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_32</description>
- <res-ref-name>name_32</res-ref-name>
- <res-type>type_32</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_33</description>
- <res-ref-name>name_33</res-ref-name>
- <res-type>type_33</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_34</description>
- <res-ref-name>name_34</res-ref-name>
- <res-type>type_34</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_30</description>
- <resource-env-ref-name>name_30</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_31</description>
- <resource-env-ref-name>name_31</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_32</description>
- <resource-env-ref-name>name_32</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_33</description>
- <resource-env-ref-name>name_33</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_34</description>
- <resource-env-ref-name>name_34</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- </message-driven>
- <session>
- <description>description_1</description>
- <display-name>displayName_1</display-name>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- <ejb-name>name_1</ejb-name>
- <home>java.lang.String</home>
- <remote>java.util.HashTable</remote>
- <local-home>java.util.List</local-home>
- <local>java.sql.Data</local>
- <ejb-class>java.lang.Integer</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Container</transaction-type>
- <env-entry>
- <description>description_35</description>
- <env-entry-name>name_35</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_35</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_36</description>
- <env-entry-name>name_36</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_36</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_37</description>
- <env-entry-name>name_37</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_37</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_38</description>
- <env-entry-name>name_38</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_38</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_39</description>
- <env-entry-name>name_39</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_39</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_35</description>
- <ejb-ref-name>name_35</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_35</home>
- <remote>remote_35</remote>
- <ejb-link>link_35</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_36</description>
- <ejb-ref-name>name_36</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_36</home>
- <remote>remote_36</remote>
- <ejb-link>link_36</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_37</description>
- <ejb-ref-name>name_37</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_37</home>
- <remote>remote_37</remote>
- <ejb-link>link_37</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_38</description>
- <ejb-ref-name>name_38</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_38</home>
- <remote>remote_38</remote>
- <ejb-link>link_38</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_39</description>
- <ejb-ref-name>name_39</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_39</home>
- <remote>remote_39</remote>
- <ejb-link>link_39</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_35</description>
- <ejb-ref-name>name_35</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_71</local-home>
- <local>remote_71</local>
- <ejb-link>link_35</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_36</description>
- <ejb-ref-name>name_36</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_73</local-home>
- <local>remote_73</local>
- <ejb-link>link_36</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_37</description>
- <ejb-ref-name>name_37</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_75</local-home>
- <local>remote_75</local>
- <ejb-link>link_37</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_38</description>
- <ejb-ref-name>name_38</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_77</local-home>
- <local>remote_77</local>
- <ejb-link>link_38</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_39</description>
- <ejb-ref-name>name_39</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_79</local-home>
- <local>remote_79</local>
- <ejb-link>link_39</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_35</description>
- <role-name>name_35</role-name>
- <role-link>link_35</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_36</description>
- <role-name>name_36</role-name>
- <role-link>link_36</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_37</description>
- <role-name>name_37</role-name>
- <role-link>link_37</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_38</description>
- <role-name>name_38</role-name>
- <role-link>link_38</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_39</description>
- <role-name>name_39</role-name>
- <role-link>link_39</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_3</description>
- <use-caller-identity/>
- </security-identity>
- <resource-ref>
- <description>description_35</description>
- <res-ref-name>name_35</res-ref-name>
- <res-type>type_35</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_36</description>
- <res-ref-name>name_36</res-ref-name>
- <res-type>type_36</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_37</description>
- <res-ref-name>name_37</res-ref-name>
- <res-type>type_37</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_38</description>
- <res-ref-name>name_38</res-ref-name>
- <res-type>type_38</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_39</description>
- <res-ref-name>name_39</res-ref-name>
- <res-type>type_39</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_35</description>
- <resource-env-ref-name>name_35</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_36</description>
- <resource-env-ref-name>name_36</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_37</description>
- <resource-env-ref-name>name_37</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_38</description>
- <resource-env-ref-name>name_38</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_39</description>
- <resource-env-ref-name>name_39</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- </session>
- <entity>
- <description>description_4</description>
- <display-name>displayName_4</display-name>
- <small-icon>smallIcon_4</small-icon>
- <large-icon>largeIcon_4</large-icon>
- <ejb-name>name_4</ejb-name>
- <home>java.util.HashTable</home>
- <remote>java.util.List</remote>
- <local-home>java.sql.Data</local-home>
- <local>java.lang.Integer</local>
- <ejb-class>java.lang.String</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.lang.String</prim-key-class>
- <reentrant>True</reentrant>
- <env-entry>
- <description>description_40</description>
- <env-entry-name>name_40</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_40</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_41</description>
- <env-entry-name>name_41</env-entry-name>
- <env-entry-type>java.lang.Short</env-entry-type>
- <env-entry-value>value_41</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_42</description>
- <env-entry-name>name_42</env-entry-name>
- <env-entry-type>java.lang.Long</env-entry-type>
- <env-entry-value>value_42</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_43</description>
- <env-entry-name>name_43</env-entry-name>
- <env-entry-type>java.lang.Float</env-entry-type>
- <env-entry-value>value_43</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_44</description>
- <env-entry-name>name_44</env-entry-name>
- <env-entry-type>java.lang.Character</env-entry-type>
- <env-entry-value>value_44</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_40</description>
- <ejb-ref-name>name_40</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_40</home>
- <remote>remote_40</remote>
- <ejb-link>link_40</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_41</description>
- <ejb-ref-name>name_41</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_41</home>
- <remote>remote_41</remote>
- <ejb-link>link_41</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_42</description>
- <ejb-ref-name>name_42</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_42</home>
- <remote>remote_42</remote>
- <ejb-link>link_42</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_43</description>
- <ejb-ref-name>name_43</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_43</home>
- <remote>remote_43</remote>
- <ejb-link>link_43</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_44</description>
- <ejb-ref-name>name_44</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_44</home>
- <remote>remote_44</remote>
- <ejb-link>link_44</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_40</description>
- <ejb-ref-name>name_40</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_81</local-home>
- <local>remote_81</local>
- <ejb-link>link_40</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_41</description>
- <ejb-ref-name>name_41</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_83</local-home>
- <local>remote_83</local>
- <ejb-link>link_41</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_42</description>
- <ejb-ref-name>name_42</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_85</local-home>
- <local>remote_85</local>
- <ejb-link>link_42</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_43</description>
- <ejb-ref-name>name_43</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_87</local-home>
- <local>remote_87</local>
- <ejb-link>link_43</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_44</description>
- <ejb-ref-name>name_44</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_89</local-home>
- <local>remote_89</local>
- <ejb-link>link_44</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_40</description>
- <role-name>name_40</role-name>
- <role-link>link_40</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_41</description>
- <role-name>name_41</role-name>
- <role-link>link_41</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_42</description>
- <role-name>name_42</role-name>
- <role-link>link_42</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_43</description>
- <role-name>name_43</role-name>
- <role-link>link_43</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_44</description>
- <role-name>name_44</role-name>
- <role-link>link_44</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_4</description>
- <run-as>
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </run-as>
- </security-identity>
- <resource-ref>
- <description>description_40</description>
- <res-ref-name>name_40</res-ref-name>
- <res-type>type_40</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_41</description>
- <res-ref-name>name_41</res-ref-name>
- <res-type>type_41</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_42</description>
- <res-ref-name>name_42</res-ref-name>
- <res-type>type_42</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_43</description>
- <res-ref-name>name_43</res-ref-name>
- <res-type>type_43</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_44</description>
- <res-ref-name>name_44</res-ref-name>
- <res-type>type_44</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_40</description>
- <resource-env-ref-name>name_40</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_41</description>
- <resource-env-ref-name>name_41</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_42</description>
- <resource-env-ref-name>name_42</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_43</description>
- <resource-env-ref-name>name_43</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_44</description>
- <resource-env-ref-name>name_44</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- <entity>
- <description>description_5</description>
- <display-name>displayName_5</display-name>
- <small-icon>smallIcon_5</small-icon>
- <large-icon>largeIcon_5</large-icon>
- <ejb-name>name_5</ejb-name>
- <home>java.util.List</home>
- <remote>java.sql.Data</remote>
- <local-home>java.lang.Integer</local-home>
- <local>java.lang.String</local>
- <ejb-class>java.util.HashTable</ejb-class>
- <persistence-type>Bean</persistence-type>
- <prim-key-class>java.util.HashTable</prim-key-class>
- <reentrant>False</reentrant>
- <env-entry>
- <description>description_45</description>
- <env-entry-name>name_45</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_45</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_46</description>
- <env-entry-name>name_46</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_46</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_47</description>
- <env-entry-name>name_47</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_47</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_48</description>
- <env-entry-name>name_48</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_48</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_49</description>
- <env-entry-name>name_49</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_49</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_45</description>
- <ejb-ref-name>name_45</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_45</home>
- <remote>remote_45</remote>
- <ejb-link>link_45</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_46</description>
- <ejb-ref-name>name_46</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_46</home>
- <remote>remote_46</remote>
- <ejb-link>link_46</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_47</description>
- <ejb-ref-name>name_47</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_47</home>
- <remote>remote_47</remote>
- <ejb-link>link_47</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_48</description>
- <ejb-ref-name>name_48</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_48</home>
- <remote>remote_48</remote>
- <ejb-link>link_48</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_49</description>
- <ejb-ref-name>name_49</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_49</home>
- <remote>remote_49</remote>
- <ejb-link>link_49</ejb-link>
- </ejb-ref>
- <ejb-local-ref>
- <description>description_45</description>
- <ejb-ref-name>name_45</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_91</local-home>
- <local>remote_91</local>
- <ejb-link>link_45</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_46</description>
- <ejb-ref-name>name_46</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_93</local-home>
- <local>remote_93</local>
- <ejb-link>link_46</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_47</description>
- <ejb-ref-name>name_47</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_95</local-home>
- <local>remote_95</local>
- <ejb-link>link_47</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_48</description>
- <ejb-ref-name>name_48</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_97</local-home>
- <local>remote_97</local>
- <ejb-link>link_48</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref>
- <description>description_49</description>
- <ejb-ref-name>name_49</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_99</local-home>
- <local>remote_99</local>
- <ejb-link>link_49</ejb-link>
- </ejb-local-ref>
- <security-role-ref>
- <description>description_45</description>
- <role-name>name_45</role-name>
- <role-link>link_45</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_46</description>
- <role-name>name_46</role-name>
- <role-link>link_46</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_47</description>
- <role-name>name_47</role-name>
- <role-link>link_47</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_48</description>
- <role-name>name_48</role-name>
- <role-link>link_48</role-link>
- </security-role-ref>
- <security-role-ref>
- <description>description_49</description>
- <role-name>name_49</role-name>
- <role-link>link_49</role-link>
- </security-role-ref>
- <security-identity>
- <description>description_4</description>
- <use-caller-identity/>
- </security-identity>
- <resource-ref>
- <description>description_45</description>
- <res-ref-name>name_45</res-ref-name>
- <res-type>type_45</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_46</description>
- <res-ref-name>name_46</res-ref-name>
- <res-type>type_46</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_47</description>
- <res-ref-name>name_47</res-ref-name>
- <res-type>type_47</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_48</description>
- <res-ref-name>name_48</res-ref-name>
- <res-type>type_48</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_49</description>
- <res-ref-name>name_49</res-ref-name>
- <res-type>type_49</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_45</description>
- <resource-env-ref-name>name_45</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_46</description>
- <resource-env-ref-name>name_46</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_47</description>
- <resource-env-ref-name>name_47</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_48</description>
- <resource-env-ref-name>name_48</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_49</description>
- <resource-env-ref-name>name_49</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- </entity>
- </enterprise-beans>
- <relationships>
- <description>description_0</description>
- <ejb-relation>
- <description>description_0</description>
- <ejb-relation-name>name_0</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_0</description>
- <ejb-relationship-role-name>roleName_0</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_0</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_0</description>
- <cmr-field-name>name_0</cmr-field-name>
- <cmr-field-type>java.util.List</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_1</description>
- <ejb-relationship-role-name>roleName_1</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_1</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_1</description>
- <cmr-field-name>name_1</cmr-field-name>
- <cmr-field-type>java.sql.Data</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_1</description>
- <ejb-relation-name>name_1</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_2</description>
- <ejb-relationship-role-name>roleName_2</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_2</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_2</description>
- <cmr-field-name>name_2</cmr-field-name>
- <cmr-field-type>java.lang.Integer</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_3</description>
- <ejb-relationship-role-name>roleName_3</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_3</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_3</description>
- <cmr-field-name>name_3</cmr-field-name>
- <cmr-field-type>java.lang.String</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_2</description>
- <ejb-relation-name>name_2</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_4</description>
- <ejb-relationship-role-name>roleName_4</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_4</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_4</description>
- <cmr-field-name>name_4</cmr-field-name>
- <cmr-field-type>java.util.HashTable</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_5</description>
- <ejb-relationship-role-name>roleName_5</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_5</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_5</description>
- <cmr-field-name>name_5</cmr-field-name>
- <cmr-field-type>java.util.List</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_3</description>
- <ejb-relation-name>name_3</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_6</description>
- <ejb-relationship-role-name>roleName_6</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_6</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_6</description>
- <cmr-field-name>name_6</cmr-field-name>
- <cmr-field-type>java.sql.Data</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_7</description>
- <ejb-relationship-role-name>roleName_7</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_7</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_7</description>
- <cmr-field-name>name_7</cmr-field-name>
- <cmr-field-type>java.lang.Integer</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- <ejb-relation>
- <description>description_4</description>
- <ejb-relation-name>name_4</ejb-relation-name>
- <ejb-relationship-role>
- <description>description_8</description>
- <ejb-relationship-role-name>roleName_8</ejb-relationship-role-name>
- <multiplicity>One</multiplicity>
- <cascade-delete/>
- <relationship-role-source>
- <description>description_8</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_8</description>
- <cmr-field-name>name_8</cmr-field-name>
- <cmr-field-type>java.lang.String</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- <ejb-relationship-role>
- <description>description_9</description>
- <ejb-relationship-role-name>roleName_9</ejb-relationship-role-name>
- <multiplicity>Many</multiplicity>
- <relationship-role-source>
- <description>description_9</description>
- </relationship-role-source>
- <cmr-field>
- <description>description_9</description>
- <cmr-field-name>name_9</cmr-field-name>
- <cmr-field-type>java.util.HashTable</cmr-field-type>
- </cmr-field>
- </ejb-relationship-role>
- </ejb-relation>
- </relationships>
- <assembly-descriptor>
- <security-role>
- <description>description_5</description>
- <role-name>roleName_5</role-name>
- </security-role>
- <security-role>
- <description>description_6</description>
- <role-name>roleName_6</role-name>
- </security-role>
- <security-role>
- <description>description_7</description>
- <role-name>roleName_7</role-name>
- </security-role>
- <security-role>
- <description>description_8</description>
- <role-name>roleName_8</role-name>
- </security-role>
- <security-role>
- <description>description_9</description>
- <role-name>roleName_9</role-name>
- </security-role>
- <method-permission>
- <description>description_0</description>
- <unchecked/>
- <method>
- <description>description_0</description>
- <method-name>name_0</method-name>
- </method>
- <method>
- <description>description_1</description>
- <method-intf>Remote</method-intf>
- <method-name>name_1</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_2</description>
- <method-intf>Home</method-intf>
- <method-name>name_2</method-name>
- <method-params>
- <method-param>parms_0</method-param>
- </method-params>
- </method>
- <method>
- <description>description_3</description>
- <method-intf>Local</method-intf>
- <method-name>name_3</method-name>
- <method-params>
- <method-param>parms_1</method-param>
- <method-param>parms_2</method-param>
- </method-params>
- </method>
- <method>
- <description>description_4</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_4</method-name>
- <method-params>
- <method-param>parms_3</method-param>
- <method-param>parms_4</method-param>
- <method-param>parms_5</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_1</description>
- <method>
- <description>description_5</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_5</method-name>
- </method>
- <method>
- <description>description_6</description>
- <method-name>name_6</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_7</description>
- <method-intf>Remote</method-intf>
- <method-name>name_7</method-name>
- <method-params>
- <method-param>parms_6</method-param>
- </method-params>
- </method>
- <method>
- <description>description_8</description>
- <method-intf>Home</method-intf>
- <method-name>name_8</method-name>
- <method-params>
- <method-param>parms_7</method-param>
- <method-param>parms_8</method-param>
- </method-params>
- </method>
- <method>
- <description>description_9</description>
- <method-intf>Local</method-intf>
- <method-name>name_9</method-name>
- <method-params>
- <method-param>parms_9</method-param>
- <method-param>parms_10</method-param>
- <method-param>parms_11</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_2</description>
- <unchecked/>
- <method>
- <description>description_10</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_10</method-name>
- </method>
- <method>
- <description>description_11</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_11</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_12</description>
- <method-name>name_12</method-name>
- <method-params>
- <method-param>parms_12</method-param>
- </method-params>
- </method>
- <method>
- <description>description_13</description>
- <method-intf>Remote</method-intf>
- <method-name>name_13</method-name>
- <method-params>
- <method-param>parms_13</method-param>
- <method-param>parms_14</method-param>
- </method-params>
- </method>
- <method>
- <description>description_14</description>
- <method-intf>Home</method-intf>
- <method-name>name_14</method-name>
- <method-params>
- <method-param>parms_15</method-param>
- <method-param>parms_16</method-param>
- <method-param>parms_17</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_3</description>
- <method>
- <description>description_15</description>
- <method-intf>Local</method-intf>
- <method-name>name_15</method-name>
- </method>
- <method>
- <description>description_16</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_16</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_17</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_17</method-name>
- <method-params>
- <method-param>parms_18</method-param>
- </method-params>
- </method>
- <method>
- <description>description_18</description>
- <method-name>name_18</method-name>
- <method-params>
- <method-param>parms_19</method-param>
- <method-param>parms_20</method-param>
- </method-params>
- </method>
- <method>
- <description>description_19</description>
- <method-intf>Remote</method-intf>
- <method-name>name_19</method-name>
- <method-params>
- <method-param>parms_21</method-param>
- <method-param>parms_22</method-param>
- <method-param>parms_23</method-param>
- </method-params>
- </method>
- </method-permission>
- <method-permission>
- <description>description_4</description>
- <unchecked/>
- <method>
- <description>description_20</description>
- <method-intf>Home</method-intf>
- <method-name>name_20</method-name>
- </method>
- <method>
- <description>description_21</description>
- <method-intf>Local</method-intf>
- <method-name>name_21</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_22</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_22</method-name>
- <method-params>
- <method-param>parms_24</method-param>
- </method-params>
- </method>
- <method>
- <description>description_23</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_23</method-name>
- <method-params>
- <method-param>parms_25</method-param>
- <method-param>parms_26</method-param>
- </method-params>
- </method>
- <method>
- <description>description_24</description>
- <method-name>name_24</method-name>
- <method-params>
- <method-param>parms_27</method-param>
- <method-param>parms_28</method-param>
- <method-param>parms_29</method-param>
- </method-params>
- </method>
- </method-permission>
- <container-transaction>
- <description>description_0</description>
- <method>
- <description>description_25</description>
- <method-intf>Remote</method-intf>
- <method-name>name_25</method-name>
- </method>
- <method>
- <description>description_26</description>
- <method-intf>Home</method-intf>
- <method-name>name_26</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_27</description>
- <method-intf>Local</method-intf>
- <method-name>name_27</method-name>
- <method-params>
- <method-param>parms_30</method-param>
- </method-params>
- </method>
- <method>
- <description>description_28</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_28</method-name>
- <method-params>
- <method-param>parms_31</method-param>
- <method-param>parms_32</method-param>
- </method-params>
- </method>
- <method>
- <description>description_29</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_29</method-name>
- <method-params>
- <method-param>parms_33</method-param>
- <method-param>parms_34</method-param>
- <method-param>parms_35</method-param>
- </method-params>
- </method>
- <trans-attribute>NotSupported</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_1</description>
- <method>
- <description>description_30</description>
- <method-name>name_30</method-name>
- </method>
- <method>
- <description>description_31</description>
- <method-intf>Remote</method-intf>
- <method-name>name_31</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_32</description>
- <method-intf>Home</method-intf>
- <method-name>name_32</method-name>
- <method-params>
- <method-param>parms_36</method-param>
- </method-params>
- </method>
- <method>
- <description>description_33</description>
- <method-intf>Local</method-intf>
- <method-name>name_33</method-name>
- <method-params>
- <method-param>parms_37</method-param>
- <method-param>parms_38</method-param>
- </method-params>
- </method>
- <method>
- <description>description_34</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_34</method-name>
- <method-params>
- <method-param>parms_39</method-param>
- <method-param>parms_40</method-param>
- <method-param>parms_41</method-param>
- </method-params>
- </method>
- <trans-attribute>Supports</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_2</description>
- <method>
- <description>description_35</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_35</method-name>
- </method>
- <method>
- <description>description_36</description>
- <method-name>name_36</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_37</description>
- <method-intf>Remote</method-intf>
- <method-name>name_37</method-name>
- <method-params>
- <method-param>parms_42</method-param>
- </method-params>
- </method>
- <method>
- <description>description_38</description>
- <method-intf>Home</method-intf>
- <method-name>name_38</method-name>
- <method-params>
- <method-param>parms_43</method-param>
- <method-param>parms_44</method-param>
- </method-params>
- </method>
- <method>
- <description>description_39</description>
- <method-intf>Local</method-intf>
- <method-name>name_39</method-name>
- <method-params>
- <method-param>parms_45</method-param>
- <method-param>parms_46</method-param>
- <method-param>parms_47</method-param>
- </method-params>
- </method>
- <trans-attribute>Required</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_3</description>
- <method>
- <description>description_40</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_40</method-name>
- </method>
- <method>
- <description>description_41</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_41</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_42</description>
- <method-name>name_42</method-name>
- <method-params>
- <method-param>parms_48</method-param>
- </method-params>
- </method>
- <method>
- <description>description_43</description>
- <method-intf>Remote</method-intf>
- <method-name>name_43</method-name>
- <method-params>
- <method-param>parms_49</method-param>
- <method-param>parms_50</method-param>
- </method-params>
- </method>
- <method>
- <description>description_44</description>
- <method-intf>Home</method-intf>
- <method-name>name_44</method-name>
- <method-params>
- <method-param>parms_51</method-param>
- <method-param>parms_52</method-param>
- <method-param>parms_53</method-param>
- </method-params>
- </method>
- <trans-attribute>RequiresNew</trans-attribute>
- </container-transaction>
- <container-transaction>
- <description>description_4</description>
- <method>
- <description>description_45</description>
- <method-intf>Local</method-intf>
- <method-name>name_45</method-name>
- </method>
- <method>
- <description>description_46</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_46</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_47</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_47</method-name>
- <method-params>
- <method-param>parms_54</method-param>
- </method-params>
- </method>
- <method>
- <description>description_48</description>
- <method-name>name_48</method-name>
- <method-params>
- <method-param>parms_55</method-param>
- <method-param>parms_56</method-param>
- </method-params>
- </method>
- <method>
- <description>description_49</description>
- <method-intf>Remote</method-intf>
- <method-name>name_49</method-name>
- <method-params>
- <method-param>parms_57</method-param>
- <method-param>parms_58</method-param>
- <method-param>parms_59</method-param>
- </method-params>
- </method>
- <trans-attribute>Mandatory</trans-attribute>
- </container-transaction>
- <exclude-list>
- <description>description_0</description>
- <method>
- <description>description_50</description>
- <method-intf>Home</method-intf>
- <method-name>name_50</method-name>
- </method>
- <method>
- <description>description_51</description>
- <method-intf>Local</method-intf>
- <method-name>name_51</method-name>
- <method-params/>
- </method>
- <method>
- <description>description_52</description>
- <method-intf>LocalHome</method-intf>
- <method-name>name_52</method-name>
- <method-params>
- <method-param>parms_60</method-param>
- </method-params>
- </method>
- <method>
- <description>description_53</description>
- <method-intf>ServiceEndpoint</method-intf>
- <method-name>name_53</method-name>
- <method-params>
- <method-param>parms_61</method-param>
- <method-param>parms_62</method-param>
- </method-params>
- </method>
- <method>
- <description>description_54</description>
- <method-name>name_54</method-name>
- <method-params>
- <method-param>parms_63</method-param>
- <method-param>parms_64</method-param>
- <method-param>parms_65</method-param>
- </method-params>
- </method>
- </exclude-list>
- </assembly-descriptor>
- <ejb-client-jar>ejbClientJar_0</ejb-client-jar>
-</ejb-jar>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ra.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ra.xml
deleted file mode 100644
index e0816aec..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/ra.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE connector PUBLIC "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN" "http://java.sun.com/dtd/connector_1_0.dtd">
-
- <connector id="Connector_ID">
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <vendor-name>vendorName_0</vendor-name>
- <spec-version>1.0</spec-version>
- <eis-type>eisType_0</eis-type>
- <version>1.0</version>
- <license>
- <description>description_0</description>
- <license-required>true</license-required>
- </license>
- <resourceadapter id="ResourceAdapter_1051639769087">
- <managedconnectionfactory-class>managedConnectionFactoryClass_0</managedconnectionfactory-class>
- <connectionfactory-interface>connectionFactoryInterface_0</connectionfactory-interface>
- <connectionfactory-impl-class>connectionFactoryImplClass_0</connectionfactory-impl-class>
- <connection-interface>connectionInterface_0</connection-interface>
- <connection-impl-class>connectionImplClass_0</connection-impl-class>
- <transaction-support>NoTransaction</transaction-support>
- <config-property id="ConfigProperty_1051639769127">
- <description>description_0</description>
- <config-property-name>name_0</config-property-name>
- <config-property-type>type_0</config-property-type>
- <config-property-value>value_0</config-property-value>
- </config-property>
- <config-property id="ConfigProperty_1051639769128">
- <description>description_1</description>
- <config-property-name>name_1</config-property-name>
- <config-property-type>type_1</config-property-type>
- <config-property-value>value_1</config-property-value>
- </config-property>
- <config-property id="ConfigProperty_1051639769129">
- <description>description_2</description>
- <config-property-name>name_2</config-property-name>
- <config-property-type>type_2</config-property-type>
- <config-property-value>value_2</config-property-value>
- </config-property>
- <config-property id="ConfigProperty_1051639769130">
- <description>description_3</description>
- <config-property-name>name_3</config-property-name>
- <config-property-type>type_3</config-property-type>
- <config-property-value>value_3</config-property-value>
- </config-property>
- <config-property id="ConfigProperty_1051639769131">
- <description>description_4</description>
- <config-property-name>name_4</config-property-name>
- <config-property-type>type_4</config-property-type>
- <config-property-value>value_4</config-property-value>
- </config-property>
- <authentication-mechanism id="AuthenticationMechanism_1051639769147">
- <description>description_0</description>
- <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
- <credential-interface>credentialInterface_0</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism id="AuthenticationMechanism_1051639769148">
- <description>description_1</description>
- <authentication-mechanism-type>Kerbv5</authentication-mechanism-type>
- <credential-interface>credentialInterface_1</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism id="AuthenticationMechanism_1051639769149">
- <description>description_2</description>
- <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
- <credential-interface>credentialInterface_2</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism id="AuthenticationMechanism_1051639769150">
- <description>description_3</description>
- <authentication-mechanism-type>Kerbv5</authentication-mechanism-type>
- <credential-interface>credentialInterface_3</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism id="AuthenticationMechanism_1051639769151">
- <description>description_4</description>
- <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
- <credential-interface>credentialInterface_4</credential-interface>
- </authentication-mechanism>
- <reauthentication-support>true</reauthentication-support>
- <security-permission id="SecurityPermission_1051639769167">
- <description>description_0</description>
- <security-permission-spec>specification_0</security-permission-spec>
- </security-permission>
- <security-permission id="SecurityPermission_1051639769177">
- <description>description_1</description>
- <security-permission-spec>specification_1</security-permission-spec>
- </security-permission>
- <security-permission id="SecurityPermission_1051639769178">
- <description>description_2</description>
- <security-permission-spec>specification_2</security-permission-spec>
- </security-permission>
- <security-permission id="SecurityPermission_1051639769179">
- <description>description_3</description>
- <security-permission-spec>specification_3</security-permission-spec>
- </security-permission>
- <security-permission id="SecurityPermission_1051639769180">
- <description>description_4</description>
- <security-permission-spec>specification_4</security-permission-spec>
- </security-permission>
- </resourceadapter>
- </connector>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/web.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/web.xml
deleted file mode 100644
index 27831b04..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/EMFTests/web.xml
+++ /dev/null
@@ -1,1285 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
-
- <web-app id="WebApp_ID">
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <distributable></distributable>
- <context-param id="ContextParam_1051643499852">
- <param-name>paramName_0</param-name>
- <param-value>paramValue_0</param-value>
- <description>description_0</description>
- </context-param>
- <context-param id="ContextParam_1051643499853">
- <param-name>paramName_1</param-name>
- <param-value>paramValue_1</param-value>
- <description>description_1</description>
- </context-param>
- <context-param id="ContextParam_1051643499862">
- <param-name>paramName_2</param-name>
- <param-value>paramValue_2</param-value>
- <description>description_2</description>
- </context-param>
- <context-param id="ContextParam_1051643499863">
- <param-name>paramName_3</param-name>
- <param-value>paramValue_3</param-value>
- <description>description_3</description>
- </context-param>
- <context-param id="ContextParam_1051643499872">
- <param-name>paramName_4</param-name>
- <param-value>paramValue_4</param-value>
- <description>description_4</description>
- </context-param>
- <filter id="Filter_1051643499902">
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <filter-name>name_0</filter-name>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <filter-class>java.lang.Integer</filter-class>
- <init-param id="InitParam_1051643500002">
- <param-name>paramName_25</param-name>
- <param-value>paramValue_25</param-value>
- <description>description_25</description>
- </init-param>
- <init-param id="InitParam_1051643500003">
- <param-name>paramName_26</param-name>
- <param-value>paramValue_26</param-value>
- <description>description_26</description>
- </init-param>
- <init-param id="InitParam_1051643500004">
- <param-name>paramName_27</param-name>
- <param-value>paramValue_27</param-value>
- <description>description_27</description>
- </init-param>
- <init-param id="InitParam_1051643500005">
- <param-name>paramName_28</param-name>
- <param-value>paramValue_28</param-value>
- <description>description_28</description>
- </init-param>
- <init-param id="InitParam_1051643500006">
- <param-name>paramName_29</param-name>
- <param-value>paramValue_29</param-value>
- <description>description_29</description>
- </init-param>
- </filter>
- <filter id="Filter_1051643500002">
- <icon>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- </icon>
- <filter-name>name_1</filter-name>
- <display-name>displayName_1</display-name>
- <description>description_1</description>
- <filter-class>java.lang.String</filter-class>
- <init-param id="InitParam_1051643500007">
- <param-name>paramName_30</param-name>
- <param-value>paramValue_30</param-value>
- <description>description_30</description>
- </init-param>
- <init-param id="InitParam_1051643500012">
- <param-name>paramName_31</param-name>
- <param-value>paramValue_31</param-value>
- <description>description_31</description>
- </init-param>
- <init-param id="InitParam_1051643500013">
- <param-name>paramName_32</param-name>
- <param-value>paramValue_32</param-value>
- <description>description_32</description>
- </init-param>
- <init-param id="InitParam_1051643500014">
- <param-name>paramName_33</param-name>
- <param-value>paramValue_33</param-value>
- <description>description_33</description>
- </init-param>
- <init-param id="InitParam_1051643500015">
- <param-name>paramName_34</param-name>
- <param-value>paramValue_34</param-value>
- <description>description_34</description>
- </init-param>
- </filter>
- <filter id="Filter_1051643500012">
- <icon>
- <small-icon>smallIcon_2</small-icon>
- <large-icon>largeIcon_2</large-icon>
- </icon>
- <filter-name>name_2</filter-name>
- <display-name>displayName_2</display-name>
- <description>description_2</description>
- <filter-class>java.util.HashTable</filter-class>
- <init-param id="InitParam_1051643500016">
- <param-name>paramName_35</param-name>
- <param-value>paramValue_35</param-value>
- <description>description_35</description>
- </init-param>
- <init-param id="InitParam_1051643500017">
- <param-name>paramName_36</param-name>
- <param-value>paramValue_36</param-value>
- <description>description_36</description>
- </init-param>
- <init-param id="InitParam_1051643500018">
- <param-name>paramName_37</param-name>
- <param-value>paramValue_37</param-value>
- <description>description_37</description>
- </init-param>
- <init-param id="InitParam_1051643500019">
- <param-name>paramName_38</param-name>
- <param-value>paramValue_38</param-value>
- <description>description_38</description>
- </init-param>
- <init-param id="InitParam_1051643500020">
- <param-name>paramName_39</param-name>
- <param-value>paramValue_39</param-value>
- <description>description_39</description>
- </init-param>
- </filter>
- <filter id="Filter_1051643500013">
- <icon>
- <small-icon>smallIcon_3</small-icon>
- <large-icon>largeIcon_3</large-icon>
- </icon>
- <filter-name>name_3</filter-name>
- <display-name>displayName_3</display-name>
- <description>description_3</description>
- <filter-class>java.util.List</filter-class>
- <init-param id="InitParam_1051643500021">
- <param-name>paramName_40</param-name>
- <param-value>paramValue_40</param-value>
- <description>description_40</description>
- </init-param>
- <init-param id="InitParam_1051643500022">
- <param-name>paramName_41</param-name>
- <param-value>paramValue_41</param-value>
- <description>description_41</description>
- </init-param>
- <init-param id="InitParam_1051643500032">
- <param-name>paramName_42</param-name>
- <param-value>paramValue_42</param-value>
- <description>description_42</description>
- </init-param>
- <init-param id="InitParam_1051643500033">
- <param-name>paramName_43</param-name>
- <param-value>paramValue_43</param-value>
- <description>description_43</description>
- </init-param>
- <init-param id="InitParam_1051643500034">
- <param-name>paramName_44</param-name>
- <param-value>paramValue_44</param-value>
- <description>description_44</description>
- </init-param>
- </filter>
- <filter id="Filter_1051643500032">
- <icon>
- <small-icon>smallIcon_4</small-icon>
- <large-icon>largeIcon_4</large-icon>
- </icon>
- <filter-name>name_4</filter-name>
- <display-name>displayName_4</display-name>
- <description>description_4</description>
- <filter-class>java.sql.Data</filter-class>
- <init-param id="InitParam_1051643500035">
- <param-name>paramName_45</param-name>
- <param-value>paramValue_45</param-value>
- <description>description_45</description>
- </init-param>
- <init-param id="InitParam_1051643500036">
- <param-name>paramName_46</param-name>
- <param-value>paramValue_46</param-value>
- <description>description_46</description>
- </init-param>
- <init-param id="InitParam_1051643500037">
- <param-name>paramName_47</param-name>
- <param-value>paramValue_47</param-value>
- <description>description_47</description>
- </init-param>
- <init-param id="InitParam_1051643500038">
- <param-name>paramName_48</param-name>
- <param-value>paramValue_48</param-value>
- <description>description_48</description>
- </init-param>
- <init-param id="InitParam_1051643500042">
- <param-name>paramName_49</param-name>
- <param-value>paramValue_49</param-value>
- <description>description_49</description>
- </init-param>
- </filter>
- <filter-mapping id="FilterMapping_1051643500082">
- <filter-name>name_0</filter-name>
- <url-pattern>urlPattern_0</url-pattern>
- </filter-mapping>
- <filter-mapping id="FilterMapping_1051643500083">
- <filter-name>name_1</filter-name>
- <url-pattern>urlPattern_1</url-pattern>
- </filter-mapping>
- <filter-mapping id="FilterMapping_1051643500084">
- <filter-name>name_2</filter-name>
- <url-pattern>urlPattern_2</url-pattern>
- </filter-mapping>
- <filter-mapping id="FilterMapping_1051643500085">
- <filter-name>name_3</filter-name>
- <url-pattern>urlPattern_3</url-pattern>
- </filter-mapping>
- <filter-mapping id="FilterMapping_1051643500086">
- <filter-name>name_4</filter-name>
- <url-pattern>urlPattern_4</url-pattern>
- </filter-mapping>
- <listener id="Listener_1051643500112">
- <listener-class>java.lang.Integer</listener-class>
- </listener>
- <listener id="Listener_1051643500113">
- <listener-class>java.lang.String</listener-class>
- </listener>
- <listener id="Listener_1051643500114">
- <listener-class>java.util.HashTable</listener-class>
- </listener>
- <listener id="Listener_1051643500115">
- <listener-class>java.util.List</listener-class>
- </listener>
- <listener id="Listener_1051643500116">
- <listener-class>java.sql.Data</listener-class>
- </listener>
- <servlet id="Servlet_1051643500212">
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <servlet-name>servletName_0</servlet-name>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <jsp-file>jspFile_0</jsp-file>
- <init-param id="InitParam_1051643500232">
- <param-name>paramName_0</param-name>
- <param-value>paramValue_0</param-value>
- <description>description_0</description>
- </init-param>
- <init-param id="InitParam_1051643500233">
- <param-name>paramName_1</param-name>
- <param-value>paramValue_1</param-value>
- <description>description_1</description>
- </init-param>
- <init-param id="InitParam_1051643500234">
- <param-name>paramName_2</param-name>
- <param-value>paramValue_2</param-value>
- <description>description_2</description>
- </init-param>
- <init-param id="InitParam_1051643500235">
- <param-name>paramName_3</param-name>
- <param-value>paramValue_3</param-value>
- <description>description_3</description>
- </init-param>
- <init-param id="InitParam_1051643500236">
- <param-name>paramName_4</param-name>
- <param-value>paramValue_4</param-value>
- <description>description_4</description>
- </init-param>
- <load-on-startup>0</load-on-startup>
- <run-as id="RunAsSpecifiedIdentity_1051643500232">
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </run-as>
- <security-role-ref id="SecurityRoleRef_1051643500272">
- <description>description_0</description>
- <role-name>name_0</role-name>
- <role-link>link_0</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500273">
- <description>description_1</description>
- <role-name>name_1</role-name>
- <role-link>link_1</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500274">
- <description>description_2</description>
- <role-name>name_2</role-name>
- <role-link>link_2</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500275">
- <description>description_3</description>
- <role-name>name_3</role-name>
- <role-link>link_3</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500276">
- <description>description_4</description>
- <role-name>name_4</role-name>
- <role-link>link_4</role-link>
- </security-role-ref>
- </servlet>
- <servlet id="Servlet_1051643500272">
- <icon>
- <small-icon>smallIcon_1</small-icon>
- <large-icon>largeIcon_1</large-icon>
- </icon>
- <servlet-name>servletName_1</servlet-name>
- <display-name>displayName_1</display-name>
- <description>description_1</description>
- <servlet-class>className_0</servlet-class>
- <init-param id="InitParam_1051643500272">
- <param-name>paramName_5</param-name>
- <param-value>paramValue_5</param-value>
- <description>description_5</description>
- </init-param>
- <init-param id="InitParam_1051643500273">
- <param-name>paramName_6</param-name>
- <param-value>paramValue_6</param-value>
- <description>description_6</description>
- </init-param>
- <init-param id="InitParam_1051643500274">
- <param-name>paramName_7</param-name>
- <param-value>paramValue_7</param-value>
- <description>description_7</description>
- </init-param>
- <init-param id="InitParam_1051643500275">
- <param-name>paramName_8</param-name>
- <param-value>paramValue_8</param-value>
- <description>description_8</description>
- </init-param>
- <init-param id="InitParam_1051643500276">
- <param-name>paramName_9</param-name>
- <param-value>paramValue_9</param-value>
- <description>description_9</description>
- </init-param>
- <load-on-startup>1</load-on-startup>
- <run-as id="RunAsSpecifiedIdentity_1051643500272">
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </run-as>
- <security-role-ref id="SecurityRoleRef_1051643500277">
- <description>description_5</description>
- <role-name>name_5</role-name>
- <role-link>link_5</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500278">
- <description>description_6</description>
- <role-name>name_6</role-name>
- <role-link>link_6</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500282">
- <description>description_7</description>
- <role-name>name_7</role-name>
- <role-link>link_7</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500283">
- <description>description_8</description>
- <role-name>name_8</role-name>
- <role-link>link_8</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500284">
- <description>description_9</description>
- <role-name>name_9</role-name>
- <role-link>link_9</role-link>
- </security-role-ref>
- </servlet>
- <servlet id="Servlet_1051643500282">
- <icon>
- <small-icon>smallIcon_2</small-icon>
- <large-icon>largeIcon_2</large-icon>
- </icon>
- <servlet-name>servletName_2</servlet-name>
- <display-name>displayName_2</display-name>
- <description>description_2</description>
- <jsp-file>jspFile_1</jsp-file>
- <init-param id="InitParam_1051643500282">
- <param-name>paramName_10</param-name>
- <param-value>paramValue_10</param-value>
- <description>description_10</description>
- </init-param>
- <init-param id="InitParam_1051643500283">
- <param-name>paramName_11</param-name>
- <param-value>paramValue_11</param-value>
- <description>description_11</description>
- </init-param>
- <init-param id="InitParam_1051643500284">
- <param-name>paramName_12</param-name>
- <param-value>paramValue_12</param-value>
- <description>description_12</description>
- </init-param>
- <init-param id="InitParam_1051643500285">
- <param-name>paramName_13</param-name>
- <param-value>paramValue_13</param-value>
- <description>description_13</description>
- </init-param>
- <init-param id="InitParam_1051643500286">
- <param-name>paramName_14</param-name>
- <param-value>paramValue_14</param-value>
- <description>description_14</description>
- </init-param>
- <load-on-startup>2</load-on-startup>
- <run-as id="RunAsSpecifiedIdentity_1051643500282">
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </run-as>
- <security-role-ref id="SecurityRoleRef_1051643500285">
- <description>description_10</description>
- <role-name>name_10</role-name>
- <role-link>link_10</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500286">
- <description>description_11</description>
- <role-name>name_11</role-name>
- <role-link>link_11</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500287">
- <description>description_12</description>
- <role-name>name_12</role-name>
- <role-link>link_12</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500288">
- <description>description_13</description>
- <role-name>name_13</role-name>
- <role-link>link_13</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500289">
- <description>description_14</description>
- <role-name>name_14</role-name>
- <role-link>link_14</role-link>
- </security-role-ref>
- </servlet>
- <servlet id="Servlet_1051643500283">
- <icon>
- <small-icon>smallIcon_3</small-icon>
- <large-icon>largeIcon_3</large-icon>
- </icon>
- <servlet-name>servletName_3</servlet-name>
- <display-name>displayName_3</display-name>
- <description>description_3</description>
- <servlet-class>className_1</servlet-class>
- <init-param id="InitParam_1051643500287">
- <param-name>paramName_15</param-name>
- <param-value>paramValue_15</param-value>
- <description>description_15</description>
- </init-param>
- <init-param id="InitParam_1051643500288">
- <param-name>paramName_16</param-name>
- <param-value>paramValue_16</param-value>
- <description>description_16</description>
- </init-param>
- <init-param id="InitParam_1051643500292">
- <param-name>paramName_17</param-name>
- <param-value>paramValue_17</param-value>
- <description>description_17</description>
- </init-param>
- <init-param id="InitParam_1051643500293">
- <param-name>paramName_18</param-name>
- <param-value>paramValue_18</param-value>
- <description>description_18</description>
- </init-param>
- <init-param id="InitParam_1051643500294">
- <param-name>paramName_19</param-name>
- <param-value>paramValue_19</param-value>
- <description>description_19</description>
- </init-param>
- <load-on-startup>3</load-on-startup>
- <run-as id="RunAsSpecifiedIdentity_1051643500292">
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </run-as>
- <security-role-ref id="SecurityRoleRef_1051643500292">
- <description>description_15</description>
- <role-name>name_15</role-name>
- <role-link>link_15</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500293">
- <description>description_16</description>
- <role-name>name_16</role-name>
- <role-link>link_16</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500294">
- <description>description_17</description>
- <role-name>name_17</role-name>
- <role-link>link_17</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500295">
- <description>description_18</description>
- <role-name>name_18</role-name>
- <role-link>link_18</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500296">
- <description>description_19</description>
- <role-name>name_19</role-name>
- <role-link>link_19</role-link>
- </security-role-ref>
- </servlet>
- <servlet id="Servlet_1051643500292">
- <icon>
- <small-icon>smallIcon_4</small-icon>
- <large-icon>largeIcon_4</large-icon>
- </icon>
- <servlet-name>servletName_4</servlet-name>
- <display-name>displayName_4</display-name>
- <description>description_4</description>
- <jsp-file>jspFile_2</jsp-file>
- <init-param id="InitParam_1051643500295">
- <param-name>paramName_20</param-name>
- <param-value>paramValue_20</param-value>
- <description>description_20</description>
- </init-param>
- <init-param id="InitParam_1051643500296">
- <param-name>paramName_21</param-name>
- <param-value>paramValue_21</param-value>
- <description>description_21</description>
- </init-param>
- <init-param id="InitParam_1051643500297">
- <param-name>paramName_22</param-name>
- <param-value>paramValue_22</param-value>
- <description>description_22</description>
- </init-param>
- <init-param id="InitParam_1051643500298">
- <param-name>paramName_23</param-name>
- <param-value>paramValue_23</param-value>
- <description>description_23</description>
- </init-param>
- <init-param id="InitParam_1051643500299">
- <param-name>paramName_24</param-name>
- <param-value>paramValue_24</param-value>
- <description>description_24</description>
- </init-param>
- <load-on-startup>4</load-on-startup>
- <run-as id="RunAsSpecifiedIdentity_1051643500293">
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </run-as>
- <security-role-ref id="SecurityRoleRef_1051643500297">
- <description>description_20</description>
- <role-name>name_20</role-name>
- <role-link>link_20</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500298">
- <description>description_21</description>
- <role-name>name_21</role-name>
- <role-link>link_21</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500299">
- <description>description_22</description>
- <role-name>name_22</role-name>
- <role-link>link_22</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500300">
- <description>description_23</description>
- <role-name>name_23</role-name>
- <role-link>link_23</role-link>
- </security-role-ref>
- <security-role-ref id="SecurityRoleRef_1051643500301">
- <description>description_24</description>
- <role-name>name_24</role-name>
- <role-link>link_24</role-link>
- </security-role-ref>
- </servlet>
- <servlet-mapping id="ServletMapping_1051643500312">
- <servlet-name>servletName_0</servlet-name>
- <url-pattern>urlPattern_0</url-pattern>
- </servlet-mapping>
- <servlet-mapping id="ServletMapping_1051643500313">
- <servlet-name>servletName_1</servlet-name>
- <url-pattern>urlPattern_1</url-pattern>
- </servlet-mapping>
- <servlet-mapping id="ServletMapping_1051643500314">
- <servlet-name>servletName_2</servlet-name>
- <url-pattern>urlPattern_2</url-pattern>
- </servlet-mapping>
- <servlet-mapping id="ServletMapping_1051643500315">
- <servlet-name>servletName_3</servlet-name>
- <url-pattern>urlPattern_3</url-pattern>
- </servlet-mapping>
- <servlet-mapping id="ServletMapping_1051643500316">
- <servlet-name>servletName_4</servlet-name>
- <url-pattern>urlPattern_4</url-pattern>
- </servlet-mapping>
- <session-config id="SessionConfig_1051643500312">
- <session-timeout>0</session-timeout>
- </session-config>
- <mime-mapping id="MimeMapping_1051643500332">
- <extension>extension_0</extension>
- <mime-type>mimeType_0</mime-type>
- </mime-mapping>
- <mime-mapping id="MimeMapping_1051643500333">
- <extension>extension_1</extension>
- <mime-type>mimeType_1</mime-type>
- </mime-mapping>
- <mime-mapping id="MimeMapping_1051643500334">
- <extension>extension_2</extension>
- <mime-type>mimeType_2</mime-type>
- </mime-mapping>
- <mime-mapping id="MimeMapping_1051643500335">
- <extension>extension_3</extension>
- <mime-type>mimeType_3</mime-type>
- </mime-mapping>
- <mime-mapping id="MimeMapping_1051643500336">
- <extension>extension_4</extension>
- <mime-type>mimeType_4</mime-type>
- </mime-mapping>
- <welcome-file-list id="WelcomeFileList_1051643500332">
- <welcome-file>welcomeFile_0</welcome-file>
- <welcome-file>welcomeFile_1</welcome-file>
- <welcome-file>welcomeFile_2</welcome-file>
- <welcome-file>welcomeFile_3</welcome-file>
- <welcome-file>welcomeFile_4</welcome-file>
- </welcome-file-list>
- <error-page id="ExceptionTypeErrorPage_1051643500342">
- <exception-type>java.util.HashTable</exception-type>
- <location>location_0</location>
- </error-page>
- <error-page id="ErrorCodeErrorPage_1051643500342">
- <error-code>errorCode_0</error-code>
- <location>location_1</location>
- </error-page>
- <error-page id="ExceptionTypeErrorPage_1051643500343">
- <exception-type>java.util.List</exception-type>
- <location>location_2</location>
- </error-page>
- <error-page id="ErrorCodeErrorPage_1051643500343">
- <error-code>errorCode_1</error-code>
- <location>location_3</location>
- </error-page>
- <error-page id="ExceptionTypeErrorPage_1051643500352">
- <exception-type>java.sql.Data</exception-type>
- <location>location_4</location>
- </error-page>
- <taglib id="TagLibRef_1051643500362">
- <taglib-uri>taglibURI_0</taglib-uri>
- <taglib-location>taglibLocation_0</taglib-location>
- </taglib>
- <taglib id="TagLibRef_1051643500363">
- <taglib-uri>taglibURI_1</taglib-uri>
- <taglib-location>taglibLocation_1</taglib-location>
- </taglib>
- <taglib id="TagLibRef_1051643500364">
- <taglib-uri>taglibURI_2</taglib-uri>
- <taglib-location>taglibLocation_2</taglib-location>
- </taglib>
- <taglib id="TagLibRef_1051643500365">
- <taglib-uri>taglibURI_3</taglib-uri>
- <taglib-location>taglibLocation_3</taglib-location>
- </taglib>
- <taglib id="TagLibRef_1051643500366">
- <taglib-uri>taglibURI_4</taglib-uri>
- <taglib-location>taglibLocation_4</taglib-location>
- </taglib>
- <resource-env-ref id="ResourceEnvRef_1051643500382">
- <description>description_0</description>
- <resource-env-ref-name>name_0</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051643500383">
- <description>description_1</description>
- <resource-env-ref-name>name_1</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051643500384">
- <description>description_2</description>
- <resource-env-ref-name>name_2</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051643500385">
- <description>description_3</description>
- <resource-env-ref-name>name_3</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref id="ResourceEnvRef_1051643500386">
- <description>description_4</description>
- <resource-env-ref-name>name_4</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-ref id="ResourceRef_1051643500402">
- <description>description_0</description>
- <res-ref-name>name_0</res-ref-name>
- <res-type>type_0</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051643500403">
- <description>description_1</description>
- <res-ref-name>name_1</res-ref-name>
- <res-type>type_1</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051643500404">
- <description>description_2</description>
- <res-ref-name>name_2</res-ref-name>
- <res-type>type_2</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051643500405">
- <description>description_3</description>
- <res-ref-name>name_3</res-ref-name>
- <res-type>type_3</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref id="ResourceRef_1051643500406">
- <description>description_4</description>
- <res-ref-name>name_4</res-ref-name>
- <res-type>type_4</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <security-constraint id="SecurityConstraint_1051643500432">
- <display-name>displayName_0</display-name>
- <web-resource-collection id="WebResourceCollection_1051643500452">
- <web-resource-name>webResourceName_0</web-resource-name>
- <description>description_0</description>
- <url-pattern>urlPattern_0</url-pattern>
- <url-pattern>urlPattern_1</url-pattern>
- <url-pattern>urlPattern_2</url-pattern>
- <url-pattern>urlPattern_3</url-pattern>
- <url-pattern>urlPattern_4</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500453">
- <web-resource-name>webResourceName_1</web-resource-name>
- <description>description_1</description>
- <url-pattern>urlPattern_5</url-pattern>
- <url-pattern>urlPattern_6</url-pattern>
- <url-pattern>urlPattern_7</url-pattern>
- <url-pattern>urlPattern_8</url-pattern>
- <url-pattern>urlPattern_9</url-pattern>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500454">
- <web-resource-name>webResourceName_2</web-resource-name>
- <description>description_2</description>
- <url-pattern>urlPattern_10</url-pattern>
- <url-pattern>urlPattern_11</url-pattern>
- <url-pattern>urlPattern_12</url-pattern>
- <url-pattern>urlPattern_13</url-pattern>
- <url-pattern>urlPattern_14</url-pattern>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500455">
- <web-resource-name>webResourceName_3</web-resource-name>
- <description>description_3</description>
- <url-pattern>urlPattern_15</url-pattern>
- <url-pattern>urlPattern_16</url-pattern>
- <url-pattern>urlPattern_17</url-pattern>
- <url-pattern>urlPattern_18</url-pattern>
- <url-pattern>urlPattern_19</url-pattern>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500462">
- <web-resource-name>webResourceName_4</web-resource-name>
- <description>description_4</description>
- <url-pattern>urlPattern_20</url-pattern>
- <url-pattern>urlPattern_21</url-pattern>
- <url-pattern>urlPattern_22</url-pattern>
- <url-pattern>urlPattern_23</url-pattern>
- <url-pattern>urlPattern_24</url-pattern>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- </web-resource-collection>
- <auth-constraint id="AuthConstraint_1051643500462">
- <description>description_0</description>
- <role-name>roles_0</role-name>
- <role-name>roles_1</role-name>
- <role-name>roles_2</role-name>
- <role-name>roles_3</role-name>
- <role-name>roles_4</role-name>
- </auth-constraint>
- <user-data-constraint id="UserDataConstraint_1051643500462">
- <description>description_0</description>
- <transport-guarantee>NONE</transport-guarantee>
- </user-data-constraint>
- </security-constraint>
- <security-constraint id="SecurityConstraint_1051643500462">
- <display-name>displayName_1</display-name>
- <web-resource-collection id="WebResourceCollection_1051643500463">
- <web-resource-name>webResourceName_5</web-resource-name>
- <description>description_5</description>
- <url-pattern>urlPattern_25</url-pattern>
- <url-pattern>urlPattern_26</url-pattern>
- <url-pattern>urlPattern_27</url-pattern>
- <url-pattern>urlPattern_28</url-pattern>
- <url-pattern>urlPattern_29</url-pattern>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500464">
- <web-resource-name>webResourceName_6</web-resource-name>
- <description>description_6</description>
- <url-pattern>urlPattern_30</url-pattern>
- <url-pattern>urlPattern_31</url-pattern>
- <url-pattern>urlPattern_32</url-pattern>
- <url-pattern>urlPattern_33</url-pattern>
- <url-pattern>urlPattern_34</url-pattern>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500465">
- <web-resource-name>webResourceName_7</web-resource-name>
- <description>description_7</description>
- <url-pattern>urlPattern_35</url-pattern>
- <url-pattern>urlPattern_36</url-pattern>
- <url-pattern>urlPattern_37</url-pattern>
- <url-pattern>urlPattern_38</url-pattern>
- <url-pattern>urlPattern_39</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500466">
- <web-resource-name>webResourceName_8</web-resource-name>
- <description>description_8</description>
- <url-pattern>urlPattern_40</url-pattern>
- <url-pattern>urlPattern_41</url-pattern>
- <url-pattern>urlPattern_42</url-pattern>
- <url-pattern>urlPattern_43</url-pattern>
- <url-pattern>urlPattern_44</url-pattern>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500467">
- <web-resource-name>webResourceName_9</web-resource-name>
- <description>description_9</description>
- <url-pattern>urlPattern_45</url-pattern>
- <url-pattern>urlPattern_46</url-pattern>
- <url-pattern>urlPattern_47</url-pattern>
- <url-pattern>urlPattern_48</url-pattern>
- <url-pattern>urlPattern_49</url-pattern>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- </web-resource-collection>
- <auth-constraint id="AuthConstraint_1051643500463">
- <description>description_1</description>
- <role-name>roles_5</role-name>
- <role-name>roles_6</role-name>
- <role-name>roles_7</role-name>
- <role-name>roles_8</role-name>
- <role-name>roles_9</role-name>
- </auth-constraint>
- <user-data-constraint id="UserDataConstraint_1051643500463">
- <description>description_1</description>
- <transport-guarantee>INTEGRAL</transport-guarantee>
- </user-data-constraint>
- </security-constraint>
- <security-constraint id="SecurityConstraint_1051643500463">
- <display-name>displayName_2</display-name>
- <web-resource-collection id="WebResourceCollection_1051643500468">
- <web-resource-name>webResourceName_10</web-resource-name>
- <description>description_10</description>
- <url-pattern>urlPattern_50</url-pattern>
- <url-pattern>urlPattern_51</url-pattern>
- <url-pattern>urlPattern_52</url-pattern>
- <url-pattern>urlPattern_53</url-pattern>
- <url-pattern>urlPattern_54</url-pattern>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500469">
- <web-resource-name>webResourceName_11</web-resource-name>
- <description>description_11</description>
- <url-pattern>urlPattern_55</url-pattern>
- <url-pattern>urlPattern_56</url-pattern>
- <url-pattern>urlPattern_57</url-pattern>
- <url-pattern>urlPattern_58</url-pattern>
- <url-pattern>urlPattern_59</url-pattern>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500470">
- <web-resource-name>webResourceName_12</web-resource-name>
- <description>description_12</description>
- <url-pattern>urlPattern_60</url-pattern>
- <url-pattern>urlPattern_61</url-pattern>
- <url-pattern>urlPattern_62</url-pattern>
- <url-pattern>urlPattern_63</url-pattern>
- <url-pattern>urlPattern_64</url-pattern>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500471">
- <web-resource-name>webResourceName_13</web-resource-name>
- <description>description_13</description>
- <url-pattern>urlPattern_65</url-pattern>
- <url-pattern>urlPattern_66</url-pattern>
- <url-pattern>urlPattern_67</url-pattern>
- <url-pattern>urlPattern_68</url-pattern>
- <url-pattern>urlPattern_69</url-pattern>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500472">
- <web-resource-name>webResourceName_14</web-resource-name>
- <description>description_14</description>
- <url-pattern>urlPattern_70</url-pattern>
- <url-pattern>urlPattern_71</url-pattern>
- <url-pattern>urlPattern_72</url-pattern>
- <url-pattern>urlPattern_73</url-pattern>
- <url-pattern>urlPattern_74</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- </web-resource-collection>
- <auth-constraint id="AuthConstraint_1051643500464">
- <description>description_2</description>
- <role-name>roles_10</role-name>
- <role-name>roles_11</role-name>
- <role-name>roles_12</role-name>
- <role-name>roles_13</role-name>
- <role-name>roles_14</role-name>
- </auth-constraint>
- <user-data-constraint id="UserDataConstraint_1051643500464">
- <description>description_2</description>
- <transport-guarantee>CONFIDENTIAL</transport-guarantee>
- </user-data-constraint>
- </security-constraint>
- <security-constraint id="SecurityConstraint_1051643500464">
- <display-name>displayName_3</display-name>
- <web-resource-collection id="WebResourceCollection_1051643500473">
- <web-resource-name>webResourceName_15</web-resource-name>
- <description>description_15</description>
- <url-pattern>urlPattern_75</url-pattern>
- <url-pattern>urlPattern_76</url-pattern>
- <url-pattern>urlPattern_77</url-pattern>
- <url-pattern>urlPattern_78</url-pattern>
- <url-pattern>urlPattern_79</url-pattern>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500474">
- <web-resource-name>webResourceName_16</web-resource-name>
- <description>description_16</description>
- <url-pattern>urlPattern_80</url-pattern>
- <url-pattern>urlPattern_81</url-pattern>
- <url-pattern>urlPattern_82</url-pattern>
- <url-pattern>urlPattern_83</url-pattern>
- <url-pattern>urlPattern_84</url-pattern>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500475">
- <web-resource-name>webResourceName_17</web-resource-name>
- <description>description_17</description>
- <url-pattern>urlPattern_85</url-pattern>
- <url-pattern>urlPattern_86</url-pattern>
- <url-pattern>urlPattern_87</url-pattern>
- <url-pattern>urlPattern_88</url-pattern>
- <url-pattern>urlPattern_89</url-pattern>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500476">
- <web-resource-name>webResourceName_18</web-resource-name>
- <description>description_18</description>
- <url-pattern>urlPattern_90</url-pattern>
- <url-pattern>urlPattern_91</url-pattern>
- <url-pattern>urlPattern_92</url-pattern>
- <url-pattern>urlPattern_93</url-pattern>
- <url-pattern>urlPattern_94</url-pattern>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500477">
- <web-resource-name>webResourceName_19</web-resource-name>
- <description>description_19</description>
- <url-pattern>urlPattern_95</url-pattern>
- <url-pattern>urlPattern_96</url-pattern>
- <url-pattern>urlPattern_97</url-pattern>
- <url-pattern>urlPattern_98</url-pattern>
- <url-pattern>urlPattern_99</url-pattern>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- </web-resource-collection>
- <auth-constraint id="AuthConstraint_1051643500472">
- <description>description_3</description>
- <role-name>roles_15</role-name>
- <role-name>roles_16</role-name>
- <role-name>roles_17</role-name>
- <role-name>roles_18</role-name>
- <role-name>roles_19</role-name>
- </auth-constraint>
- <user-data-constraint id="UserDataConstraint_1051643500472">
- <description>description_3</description>
- <transport-guarantee>NONE</transport-guarantee>
- </user-data-constraint>
- </security-constraint>
- <security-constraint id="SecurityConstraint_1051643500472">
- <display-name>displayName_4</display-name>
- <web-resource-collection id="WebResourceCollection_1051643500478">
- <web-resource-name>webResourceName_20</web-resource-name>
- <description>description_20</description>
- <url-pattern>urlPattern_100</url-pattern>
- <url-pattern>urlPattern_101</url-pattern>
- <url-pattern>urlPattern_102</url-pattern>
- <url-pattern>urlPattern_103</url-pattern>
- <url-pattern>urlPattern_104</url-pattern>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500479">
- <web-resource-name>webResourceName_21</web-resource-name>
- <description>description_21</description>
- <url-pattern>urlPattern_105</url-pattern>
- <url-pattern>urlPattern_106</url-pattern>
- <url-pattern>urlPattern_107</url-pattern>
- <url-pattern>urlPattern_108</url-pattern>
- <url-pattern>urlPattern_109</url-pattern>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500480">
- <web-resource-name>webResourceName_22</web-resource-name>
- <description>description_22</description>
- <url-pattern>urlPattern_110</url-pattern>
- <url-pattern>urlPattern_111</url-pattern>
- <url-pattern>urlPattern_112</url-pattern>
- <url-pattern>urlPattern_113</url-pattern>
- <url-pattern>urlPattern_114</url-pattern>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500481">
- <web-resource-name>webResourceName_23</web-resource-name>
- <description>description_23</description>
- <url-pattern>urlPattern_115</url-pattern>
- <url-pattern>urlPattern_116</url-pattern>
- <url-pattern>urlPattern_117</url-pattern>
- <url-pattern>urlPattern_118</url-pattern>
- <url-pattern>urlPattern_119</url-pattern>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- <http-method>TRACE</http-method>
- <http-method>GET</http-method>
- </web-resource-collection>
- <web-resource-collection id="WebResourceCollection_1051643500482">
- <web-resource-name>webResourceName_24</web-resource-name>
- <description>description_24</description>
- <url-pattern>urlPattern_120</url-pattern>
- <url-pattern>urlPattern_121</url-pattern>
- <url-pattern>urlPattern_122</url-pattern>
- <url-pattern>urlPattern_123</url-pattern>
- <url-pattern>urlPattern_124</url-pattern>
- <http-method>POST</http-method>
- <http-method>PUT</http-method>
- <http-method>DELETE</http-method>
- <http-method>HEAD</http-method>
- <http-method>OPTIONS</http-method>
- </web-resource-collection>
- <auth-constraint id="AuthConstraint_1051643500473">
- <description>description_4</description>
- <role-name>roles_20</role-name>
- <role-name>roles_21</role-name>
- <role-name>roles_22</role-name>
- <role-name>roles_23</role-name>
- <role-name>roles_24</role-name>
- </auth-constraint>
- <user-data-constraint id="UserDataConstraint_1051643500473">
- <description>description_4</description>
- <transport-guarantee>INTEGRAL</transport-guarantee>
- </user-data-constraint>
- </security-constraint>
- <login-config id="LoginConfig_1051643500482">
- <auth-method>BASIC</auth-method>
- <realm-name>realmName_0</realm-name>
- <form-login-config id="FormLoginConfig_1051643500482">
- <form-login-page>formLoginPage_0</form-login-page>
- <form-error-page>formErrorPage_0</form-error-page>
- </form-login-config>
- </login-config>
- <security-role id="SecurityRole_1051643500492">
- <description>description_0</description>
- <role-name>roleName_0</role-name>
- </security-role>
- <security-role id="SecurityRole_1051643500493">
- <description>description_1</description>
- <role-name>roleName_1</role-name>
- </security-role>
- <security-role id="SecurityRole_1051643500494">
- <description>description_2</description>
- <role-name>roleName_2</role-name>
- </security-role>
- <security-role id="SecurityRole_1051643500495">
- <description>description_3</description>
- <role-name>roleName_3</role-name>
- </security-role>
- <security-role id="SecurityRole_1051643500496">
- <description>description_4</description>
- <role-name>roleName_4</role-name>
- </security-role>
- <env-entry id="EnvEntry_1051643500513">
- <description>description_0</description>
- <env-entry-name>name_0</env-entry-name>
- <env-entry-value>value_0</env-entry-value>
- <env-entry-type>java.lang.String</env-entry-type>
- </env-entry>
- <env-entry id="EnvEntry_1051643500514">
- <description>description_1</description>
- <env-entry-name>name_1</env-entry-name>
- <env-entry-value>value_1</env-entry-value>
- <env-entry-type>java.lang.Integer</env-entry-type>
- </env-entry>
- <env-entry id="EnvEntry_1051643500515">
- <description>description_2</description>
- <env-entry-name>name_2</env-entry-name>
- <env-entry-value>value_2</env-entry-value>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- </env-entry>
- <env-entry id="EnvEntry_1051643500516">
- <description>description_3</description>
- <env-entry-name>name_3</env-entry-name>
- <env-entry-value>value_3</env-entry-value>
- <env-entry-type>java.lang.Double</env-entry-type>
- </env-entry>
- <env-entry id="EnvEntry_1051643500517">
- <description>description_4</description>
- <env-entry-name>name_4</env-entry-name>
- <env-entry-value>value_4</env-entry-value>
- <env-entry-type>java.lang.Byte</env-entry-type>
- </env-entry>
- <ejb-ref id="EjbRef_1051643500533">
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_0</home>
- <remote>remote_0</remote>
- <ejb-link>link_0</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051643500534">
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_1</home>
- <remote>remote_1</remote>
- <ejb-link>link_1</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051643500535">
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_2</home>
- <remote>remote_2</remote>
- <ejb-link>link_2</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051643500536">
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_3</home>
- <remote>remote_3</remote>
- <ejb-link>link_3</ejb-link>
- </ejb-ref>
- <ejb-ref id="EjbRef_1051643500537">
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_4</home>
- <remote>remote_4</remote>
- <ejb-link>link_4</ejb-link>
- </ejb-ref>
- <ejb-local-ref id="EJBLocalRef_1051643500553">
- <description>description_5</description>
- <ejb-ref-name>name_5</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_5</local-home>
- <local>remote_5</local>
- <ejb-link>link_5</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051643500554">
- <description>description_6</description>
- <ejb-ref-name>name_6</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_6</local-home>
- <local>remote_6</local>
- <ejb-link>link_6</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051643500555">
- <description>description_7</description>
- <ejb-ref-name>name_7</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_7</local-home>
- <local>remote_7</local>
- <ejb-link>link_7</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051643500556">
- <description>description_8</description>
- <ejb-ref-name>name_8</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <local-home>home_8</local-home>
- <local>remote_8</local>
- <ejb-link>link_8</ejb-link>
- </ejb-local-ref>
- <ejb-local-ref id="EJBLocalRef_1051643500557">
- <description>description_9</description>
- <ejb-ref-name>name_9</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>home_9</local-home>
- <local>remote_9</local>
- <ejb-link>link_9</ejb-link>
- </ejb-local-ref>
- </web-app>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/.metadata/.plugins/com.ibm.etools.j2ee/looseApp.xmi b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/.metadata/.plugins/com.ibm.etools.j2ee/looseApp.xmi
deleted file mode 100644
index 1e3ae0b9..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/.metadata/.plugins/com.ibm.etools.j2ee/looseApp.xmi
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig:LooseApplication xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig="commonarchive.looseconfig.xmi" uri="\d:\work\WTP\org.eclipse.jst.j2ee.core.tests\commonArchiveResources\loose_module_workspace\LooseEAR" binariesPath="\d:\work\WTP\org.eclipse.jst.j2ee.core.tests\commonArchiveResources\loose_module_workspace\LooseEAR" resourcesPath="\d:\work\WTP\org.eclipse.jst.j2ee.core.tests\commonArchiveResources\loose_module_workspace\LooseEAR">
- <looseArchives xsi:type="org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig:LooseModule" uri="LooseEAREjb.jar" binariesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseEAREjb\bin" resourcesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseEAREjb\bin"/>
- <looseArchives xsi:type="org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig:LooseWARFile" uri="LooseEARWeb.war" binariesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseEARWeb\webApplication" resourcesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseEARWeb\webApplication">
- <looseLibs uri="WEB-INF/lib/library.jar" binariesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseJavaWebLib\bin" resourcesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseJavaWebLib\bin"/>
- </looseArchives>
- <looseArchives xsi:type="org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig:LooseLibrary" uri="util.jar" binariesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseJavaUtil\bin" resourcesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseJavaUtil\bin"/>
-</org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig:LooseApplication>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/.metadata/.plugins/com.ibm.etools.j2ee/looseConfig.xmi b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/.metadata/.plugins/com.ibm.etools.j2ee/looseConfig.xmi
deleted file mode 100644
index 64ffaf72..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/.metadata/.plugins/com.ibm.etools.j2ee/looseConfig.xmi
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig:LooseConfiguration xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig="commonarchive.looseconfig.xmi">
- <applications uri="\d:\work\WTP\org.eclipse.jst.j2ee.core.tests\commonArchiveResources\loose_module_workspace\LooseEAR" binariesPath="\d:\work\WTP\org.eclipse.jst.j2ee.core.tests\commonArchiveResources\loose_module_workspace\LooseEAR" resourcesPath="\d:\work\WTP\org.eclipse.jst.j2ee.core.tests\commonArchiveResources\loose_module_workspace\LooseEAR">
- <looseArchives xsi:type="org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig:LooseModule" uri="LooseEAREjb.jar" binariesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseEAREjb\bin" resourcesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseEAREjb\bin"/>
- <looseArchives xsi:type="org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig:LooseWARFile" uri="LooseEARWeb.war" binariesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseEARWeb\webApplication" resourcesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseEARWeb\webApplication">
- <looseLibs uri="WEB-INF/lib/library.jar" binariesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseJavaWebLib\bin" resourcesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseJavaWebLib\bin"/>
- </looseArchives>
- <looseArchives xsi:type="org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig:LooseLibrary" uri="util.jar" binariesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseJavaUtil\bin" resourcesPath="/d:/work/WTP/org.eclipse.jst.j2ee.core.tests/commonArchiveResources\loose_module_workspace\LooseJavaUtil\bin"/>
- </applications>
-</org.eclipse.jst.j2ee.internal.commonarchivecore.looseconfig:LooseConfiguration>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/META-INF/MANIFEST.MF
deleted file mode 100644
index 59499bce..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/META-INF/application.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/META-INF/application.xml
deleted file mode 100644
index 6a1cd6f5..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/META-INF/application.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<application id="Application_ID"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
- <module>
- <connector>fooRAR</connector>
- </module>
-</application>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/fooRAR/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/fooRAR/META-INF/MANIFEST.MF
deleted file mode 100644
index 59499bce..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/fooRAR/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/fooRAR/META-INF/ra.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/fooRAR/META-INF/ra.xml
deleted file mode 100644
index b341c53e..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseConnector/fooRAR/META-INF/ra.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE connector PUBLIC "-//Sun Microsystems, Inc.//DTD Connector 1.0//EN"
- "http://java.sun.com/dtd/connector_1_0.dtd">
-<connector>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <vendor-name>vendorName_0</vendor-name>
- <spec-version>1.0</spec-version>
- <eis-type>eisType_0</eis-type>
- <version>1.0</version>
- <license>
- <description>description_0</description>
- <license-required>true</license-required>
- </license>
- <resourceadapter>
- <managedconnectionfactory-class>managedConnectionFactoryClass_0</managedconnectionfactory-class>
- <connectionfactory-interface>connectionFactoryInterface_0</connectionfactory-interface>
- <connectionfactory-impl-class>connectionFactoryImplClass_0</connectionfactory-impl-class>
- <connection-interface>connectionInterface_0</connection-interface>
- <connection-impl-class>connectionImplClass_0</connection-impl-class>
- <transaction-support>NoTransaction</transaction-support>
- <config-property>
- <description>description_0</description>
- <config-property-name>name_0</config-property-name>
- <config-property-type>type_0</config-property-type>
- <config-property-value>value_0</config-property-value>
- </config-property>
- <config-property>
- <description>description_1</description>
- <config-property-name>name_1</config-property-name>
- <config-property-type>type_1</config-property-type>
- <config-property-value>value_1</config-property-value>
- </config-property>
- <config-property>
- <description>description_2</description>
- <config-property-name>name_2</config-property-name>
- <config-property-type>type_2</config-property-type>
- <config-property-value>value_2</config-property-value>
- </config-property>
- <config-property>
- <description>description_3</description>
- <config-property-name>name_3</config-property-name>
- <config-property-type>type_3</config-property-type>
- <config-property-value>value_3</config-property-value>
- </config-property>
- <config-property>
- <description>description_4</description>
- <config-property-name>name_4</config-property-name>
- <config-property-type>type_4</config-property-type>
- <config-property-value>value_4</config-property-value>
- </config-property>
- <authentication-mechanism>
- <description>description_0</description>
- <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
- <credential-interface>credentialInterface_0</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism>
- <description>description_1</description>
- <authentication-mechanism-type>Kerbv5</authentication-mechanism-type>
- <credential-interface>credentialInterface_1</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism>
- <description>description_2</description>
- <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
- <credential-interface>credentialInterface_2</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism>
- <description>description_3</description>
- <authentication-mechanism-type>Kerbv5</authentication-mechanism-type>
- <credential-interface>credentialInterface_3</credential-interface>
- </authentication-mechanism>
- <authentication-mechanism>
- <description>description_4</description>
- <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
- <credential-interface>credentialInterface_4</credential-interface>
- </authentication-mechanism>
- <reauthentication-support>true</reauthentication-support>
- <security-permission>
- <description>description_0</description>
- <security-permission-spec>specification_0</security-permission-spec>
- </security-permission>
- <security-permission>
- <description>description_1</description>
- <security-permission-spec>specification_1</security-permission-spec>
- </security-permission>
- <security-permission>
- <description>description_2</description>
- <security-permission-spec>specification_2</security-permission-spec>
- </security-permission>
- <security-permission>
- <description>description_3</description>
- <security-permission-spec>specification_3</security-permission-spec>
- </security-permission>
- <security-permission>
- <description>description_4</description>
- <security-permission-spec>specification_4</security-permission-spec>
- </security-permission>
- </resourceadapter>
-</connector>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/.modulemaps b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/.modulemaps
deleted file mode 100644
index aa20a97b..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/.modulemaps
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<modulemap:EARProjectMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:modulemap="modulemap.xmi" xmlns:application="application.xmi" xmi:id="EARProjectMap_1">
- <mappings xmi:id="ModuleMapping_1" projectName="LooseEAREjb">
- <module xmi:type="application:EjbModule" href="META-INF/application.xml#EjbModule_1"/>
- </mappings>
- <mappings xmi:id="ModuleMapping_2" projectName="LooseEARWeb">
- <module xmi:type="application:WebModule" href="META-INF/application.xml#WebModule_1"/>
- </mappings>
-</modulemap:EARProjectMap>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/application.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/application.xml
deleted file mode 100644
index 56067f6c..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/application.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
-<application id="Application_ID">
- <display-name>LooseEAR</display-name>
- <module id="EjbModule_1">
- <ejb>LooseEAREjb.jar</ejb>
- </module>
- <module id="WebModule_1">
- <web>
- <web-uri>LooseEARWeb.war</web-uri>
- <context-root>LooseEARWeb</context-root></web>
- </module>
-</application>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/ibm-application-ext.xmi b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/ibm-application-ext.xmi
deleted file mode 100644
index f3fbd0db..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAR/META-INF/ibm-application-ext.xmi
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<applicationext:ApplicationExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:applicationext="applicationext.xmi" xmlns:application="application.xmi" xmi:id="Application_ID_Ext">
- <moduleExtensions xmi:type="applicationext:EjbModuleExtension" xmi:id="EjbModule_1_Ext" absolutePath="D:\WSAD_DEV\eclipse\workspace\LooseEAREjb\bin">
- <module xmi:type="application:EjbModule" href="META-INF/application.xml#EjbModule_1"/>
- </moduleExtensions>
- <moduleExtensions xmi:type="applicationext:WebModuleExtension" xmi:id="WebModule_1_Ext" absolutePath="D:\WSAD_DEV\eclipse\workspace\LooseEARWeb\webApplication">
- <module xmi:type="application:WebModule" href="META-INF/application.xml#WebModule_1"/>
- </moduleExtensions>
- <application href="META-INF/application.xml#Application_ID"/>
-</applicationext:ApplicationExtension>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/META-INF/MANIFEST.MF
deleted file mode 100644
index 59499bce..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/META-INF/application.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/META-INF/application.xml
deleted file mode 100644
index b44d91e6..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/META-INF/application.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<application id="Application_ID"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
- <module>
- <java>fooAPP</java>
- </module>
-</application>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/fooAPP/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/fooAPP/META-INF/MANIFEST.MF
deleted file mode 100644
index 59499bce..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/fooAPP/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/fooAPP/META-INF/application-client.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/fooAPP/META-INF/application-client.xml
deleted file mode 100644
index c8bed768..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARApp/fooAPP/META-INF/application-client.xml
+++ /dev/null
@@ -1,272 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN"
- "http://java.sun.com/dtd/application-client_1_3.dtd">
-<application-client id="Application-client_ID">
- <icon>
- <small-icon>smallIcon_0</small-icon>
- <large-icon>largeIcon_0</large-icon>
- </icon>
- <display-name>displayName_0</display-name>
- <description>description_0</description>
- <env-entry>
- <description>description_0</description>
- <env-entry-name>name_0</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_0</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_1</description>
- <env-entry-name>name_1</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_1</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_2</description>
- <env-entry-name>name_2</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_2</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_3</description>
- <env-entry-name>name_3</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_3</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_4</description>
- <env-entry-name>name_4</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_4</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_0</description>
- <env-entry-name>name_0</env-entry-name>
- <env-entry-type>java.lang.String</env-entry-type>
- <env-entry-value>value_0</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_1</description>
- <env-entry-name>name_1</env-entry-name>
- <env-entry-type>java.lang.Integer</env-entry-type>
- <env-entry-value>value_1</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_2</description>
- <env-entry-name>name_2</env-entry-name>
- <env-entry-type>java.lang.Boolean</env-entry-type>
- <env-entry-value>value_2</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_3</description>
- <env-entry-name>name_3</env-entry-name>
- <env-entry-type>java.lang.Double</env-entry-type>
- <env-entry-value>value_3</env-entry-value>
- </env-entry>
- <env-entry>
- <description>description_4</description>
- <env-entry-name>name_4</env-entry-name>
- <env-entry-type>java.lang.Byte</env-entry-type>
- <env-entry-value>value_4</env-entry-value>
- </env-entry>
- <ejb-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_0</home>
- <remote>remote_0</remote>
- <ejb-link>link_0</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_1</home>
- <remote>remote_1</remote>
- <ejb-link>link_1</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_2</home>
- <remote>remote_2</remote>
- <ejb-link>link_2</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_3</home>
- <remote>remote_3</remote>
- <ejb-link>link_3</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_4</home>
- <remote>remote_4</remote>
- <ejb-link>link_4</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_0</description>
- <ejb-ref-name>name_0</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_0</home>
- <remote>remote_0</remote>
- <ejb-link>link_0</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_1</description>
- <ejb-ref-name>name_1</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_1</home>
- <remote>remote_1</remote>
- <ejb-link>link_1</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_2</description>
- <ejb-ref-name>name_2</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_2</home>
- <remote>remote_2</remote>
- <ejb-link>link_2</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_3</description>
- <ejb-ref-name>name_3</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <home>home_3</home>
- <remote>remote_3</remote>
- <ejb-link>link_3</ejb-link>
- </ejb-ref>
- <ejb-ref>
- <description>description_4</description>
- <ejb-ref-name>name_4</ejb-ref-name>
- <ejb-ref-type>Session</ejb-ref-type>
- <home>home_4</home>
- <remote>remote_4</remote>
- <ejb-link>link_4</ejb-link>
- </ejb-ref>
- <resource-ref>
- <description>description_0</description>
- <res-ref-name>name_0</res-ref-name>
- <res-type>type_0</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_1</description>
- <res-ref-name>name_1</res-ref-name>
- <res-type>type_1</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_2</description>
- <res-ref-name>name_2</res-ref-name>
- <res-type>type_2</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_3</description>
- <res-ref-name>name_3</res-ref-name>
- <res-type>type_3</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_4</description>
- <res-ref-name>name_4</res-ref-name>
- <res-type>type_4</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_0</description>
- <res-ref-name>name_0</res-ref-name>
- <res-type>type_0</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_1</description>
- <res-ref-name>name_1</res-ref-name>
- <res-type>type_1</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_2</description>
- <res-ref-name>name_2</res-ref-name>
- <res-type>type_2</res-type>
- <res-auth>SERVLET</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_3</description>
- <res-ref-name>name_3</res-ref-name>
- <res-type>type_3</res-type>
- <res-auth>Container</res-auth>
- <res-sharing-scope>Unshareable</res-sharing-scope>
- </resource-ref>
- <resource-ref>
- <description>description_4</description>
- <res-ref-name>name_4</res-ref-name>
- <res-type>type_4</res-type>
- <res-auth>Application</res-auth>
- <res-sharing-scope>Shareable</res-sharing-scope>
- </resource-ref>
- <resource-env-ref>
- <description>description_0</description>
- <resource-env-ref-name>name_0</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_1</description>
- <resource-env-ref-name>name_1</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_2</description>
- <resource-env-ref-name>name_2</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_3</description>
- <resource-env-ref-name>name_3</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_4</description>
- <resource-env-ref-name>name_4</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_0</description>
- <resource-env-ref-name>name_0</resource-env-ref-name>
- <resource-env-ref-type>java.util.HashTable</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_1</description>
- <resource-env-ref-name>name_1</resource-env-ref-name>
- <resource-env-ref-type>java.util.List</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_2</description>
- <resource-env-ref-name>name_2</resource-env-ref-name>
- <resource-env-ref-type>java.sql.Data</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_3</description>
- <resource-env-ref-name>name_3</resource-env-ref-name>
- <resource-env-ref-type>java.lang.Integer</resource-env-ref-type>
- </resource-env-ref>
- <resource-env-ref>
- <description>description_4</description>
- <resource-env-ref-name>name_4</resource-env-ref-name>
- <resource-env-ref-type>java.lang.String</resource-env-ref-type>
- </resource-env-ref>
- <callback-handler>java.util.HashTable</callback-handler>
-</application-client>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.classpath b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.classpath
deleted file mode 100644
index b25cae25..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="ejbModule"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/WebSphere Application Server v6.0 JRE"/>
- <classpathentry kind="con" path="com.ibm.wtp.server.java.core.container/com.ibm.ws.ast.st.runtime.core.runtimeTarget.v60/WebSphere Application Server v6.0"/>
- <classpathentry kind="output" path="ejbModule"/>
-</classpath>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.j2ee b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.j2ee
deleted file mode 100644
index 659969d6..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.j2ee
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<j2eesettings version="600">
-<moduleversion>20</moduleversion>
-</j2eesettings>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.project b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.project
deleted file mode 100644
index a84f7514..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.project
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>LooseEAREjb</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>com.ibm.wtp.migration.MigrationBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>com.ibm.etools.validation.validationbuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>com.ibm.wtp.j2ee.LibCopyBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>com.ibm.etools.j2ee.LibCopyBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
- <nature>com.ibm.etools.j2ee.EJB2_0Nature</nature>
- <nature>com.ibm.wtp.ejb.EJBNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.runtime b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.runtime
deleted file mode 100644
index ddc5d41c..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/.runtime
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<runtime runtime-id="WebSphere Application Server v6.0"/>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/MANIFEST.MF
deleted file mode 100644
index 7ebad27f..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-Class-Path: util.jar ../boo.jar
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ejb-jar.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ejb-jar.xml
deleted file mode 100644
index bdce1e42..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ejb-jar.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
-<ejb-jar id="ejb-jar_ID">
- <display-name>LooseEAREjb</display-name>
- <enterprise-beans>
- <entity id="MyCMP">
- <ejb-name>MyCMP</ejb-name>
- <home>com.ibm.test.ejb.MyCMPHome</home>
- <remote>com.ibm.test.ejb.MyCMP</remote>
- <ejb-class>com.ibm.test.ejb.MyCMPBean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>com.ibm.test.ejb.MyCMPKey</prim-key-class>
- <reentrant>False</reentrant>
- <cmp-field>
- <field-name>k1</field-name>
- </cmp-field>
- </entity>
- </enterprise-beans>
-</ejb-jar>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ibm-ejb-jar-bnd.xmi b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ibm-ejb-jar-bnd.xmi
deleted file mode 100644
index 573af4e6..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ibm-ejb-jar-bnd.xmi
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmi:id="ejb-jar_ID_Bnd">
- <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
- <ejbBindings xmi:id="MyCMP_Bnd" jndiName="ejb/com/ibm/test/ejb/MyCMPHome">
- <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#MyCMP"/>
- </ejbBindings>
-</ejbbnd:EJBJarBinding>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ibm-ejb-jar-ext.xmi b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ibm-ejb-jar-ext.xmi
deleted file mode 100644
index 46e70a8e..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/META-INF/ibm-ejb-jar-ext.xmi
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ejbext:EJBJarExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbext="ejbext.xmi" xmlns:ejb="ejb.xmi" xmi:id="ejb-jar_ID">
- <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
-</ejbext:EJBJarExtension>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMP.class b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMP.class
deleted file mode 100644
index 51f72770..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMP.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPBean.class b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPBean.class
deleted file mode 100644
index 78ced2f0..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPBean.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPHome.class b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPHome.class
deleted file mode 100644
index 04925904..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPHome.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPKey.class b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPKey.class
deleted file mode 100644
index 91b67027..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/bin/com/ibm/test/ejb/MyCMPKey.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/MANIFEST.MF
deleted file mode 100644
index 59499bce..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ejb-jar.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ejb-jar.xml
deleted file mode 100644
index 46bae90a..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ejb-jar.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
-<ejb-jar id="ejb-jar_ID">
- <display-name>LooseEAREjb</display-name>
- <enterprise-beans>
- <entity id="CMP1">
- <ejb-name>CMP1</ejb-name>
- <local-home>ejbs.CMP1LocalHome</local-home>
- <local>ejbs.CMP1Local</local>
- <ejb-class>ejbs.CMP1Bean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>ejbs.CMP1Key</prim-key-class>
- <reentrant>False</reentrant>
- <cmp-version>2.x</cmp-version>
- <abstract-schema-name>CMP1</abstract-schema-name>
- <cmp-field>
- <field-name>id</field-name>
- </cmp-field>
- </entity>
- <entity id="CMP2">
- <ejb-name>CMP2</ejb-name>
- <local-home>ejbs.CMP2LocalHome</local-home>
- <local>ejbs.CMP2Local</local>
- <ejb-class>ejbs.CMP2Bean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>ejbs.CMP2Key</prim-key-class>
- <reentrant>False</reentrant>
- <cmp-version>2.x</cmp-version>
- <abstract-schema-name>CMP2</abstract-schema-name>
- <cmp-field>
- <field-name>id</field-name>
- </cmp-field>
- </entity>
- </enterprise-beans>
-</ejb-jar>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ibm-ejb-jar-bnd.xmi b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ibm-ejb-jar-bnd.xmi
deleted file mode 100644
index a08df997..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ibm-ejb-jar-bnd.xmi
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejb="ejb.xmi" xmlns:ejbbnd="ejbbnd.xmi" xmi:id="EJBJarBinding_1099076698481">
- <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
- <ejbBindings xmi:id="EnterpriseBeanBinding_1099076698491" jndiName="ejb/ejbs/CMP1LocalHome">
- <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#CMP1"/>
- </ejbBindings>
- <ejbBindings xmi:id="EnterpriseBeanBinding_1099076729295" jndiName="ejb/ejbs/CMP2LocalHome">
- <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#CMP2"/>
- </ejbBindings>
- <defaultCMPConnectionFactory xmi:id="CMPConnectionFactoryBinding_1099076698491" jndiName="jdbc/Default" resAuth="Per_Connection_Factory"/>
-</ejbbnd:EJBJarBinding>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ibm-ejb-jar-ext.xmi b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ibm-ejb-jar-ext.xmi
deleted file mode 100644
index 46e70a8e..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/META-INF/ibm-ejb-jar-ext.xmi
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ejbext:EJBJarExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbext="ejbext.xmi" xmlns:ejb="ejb.xmi" xmi:id="ejb-jar_ID">
- <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
-</ejbext:EJBJarExtension>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMP.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMP.java
deleted file mode 100644
index 12b8b7ce..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMP.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package com.ibm.test.ejb;
-/**
- * Remote interface for Enterprise Bean: MyCMP
- */
-public interface MyCMP extends javax.ejb.EJBObject {
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPBean.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPBean.java
deleted file mode 100644
index bcdb0444..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPBean.java
+++ /dev/null
@@ -1,97 +0,0 @@
-package com.ibm.test.ejb;
-/**
- * Bean implementation class for Enterprise Bean: MyCMP
- */
-public class MyCMPBean extends com.ibm.test.A implements javax.ejb.EntityBean {
- private javax.ejb.EntityContext myEntityCtx;
- /**
- * Implemetation field for persistent attribute: k1
- */
- public java.lang.String k1;
- /**
- * getEntityContext
- */
- public javax.ejb.EntityContext getEntityContext() {
- return myEntityCtx;
- }
- /**
- * setEntityContext
- */
- public void setEntityContext(javax.ejb.EntityContext ctx) {
- myEntityCtx = ctx;
- }
- /**
- * unsetEntityContext
- */
- public void unsetEntityContext() {
- myEntityCtx = null;
- }
- /**
- * ejbActivate
- */
- public void ejbActivate() {
- _initLinks();
- }
- /**
- * ejbCreate method for a CMP entity bean.
- */
- public com.ibm.test.ejb.MyCMPKey ejbCreate(java.lang.String k1) throws javax.ejb.CreateException {
- _initLinks();
- this.k1 = k1;
- return null;
- }
- /**
- * ejbLoad
- */
- public void ejbLoad() {
- _initLinks();
- }
- /**
- * ejbPassivate
- */
- public void ejbPassivate() {
- }
- /**
- * ejbPostCreate
- */
- public void ejbPostCreate(java.lang.String k1) throws javax.ejb.CreateException {
- }
- /**
- * ejbRemove
- */
- public void ejbRemove() throws javax.ejb.RemoveException {
- try {
- _removeLinks();
- } catch (java.rmi.RemoteException e) {
- throw new javax.ejb.RemoveException(e.getMessage());
- }
- }
- /**
- * ejbStore
- */
- public void ejbStore() {
- }
- /**
- * This method was generated for supporting the associations.
- */
- protected void _initLinks() {
- }
- /**
- * This method was generated for supporting the associations.
- */
- protected java.util.Vector _getLinks() {
- java.util.Vector links = new java.util.Vector();
- return links;
- }
- /**
- * This method was generated for supporting the associations.
- */
- protected void _removeLinks() throws java.rmi.RemoteException, javax.ejb.RemoveException {
- java.util.List links = _getLinks();
- for (int i = 0; i < links.size() ; i++) {
- try {
- ((com.ibm.ivj.ejb.associations.interfaces.Link) links.get(i)).remove();
- } catch (javax.ejb.FinderException e) {} //Consume Finder error since I am going away
- }
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPHome.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPHome.java
deleted file mode 100644
index 7c09f21b..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPHome.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package com.ibm.test.ejb;
-/**
- * Home interface for Enterprise Bean: MyCMP
- */
-public interface MyCMPHome extends javax.ejb.EJBHome {
- /**
- * Creates an instance from a key for Entity Bean: MyCMP
- */
- public com.ibm.test.ejb.MyCMP create(java.lang.String k1) throws javax.ejb.CreateException, java.rmi.RemoteException;
- /**
- * Finds an instance using a key for Entity Bean: MyCMP
- */
- public com.ibm.test.ejb.MyCMP findByPrimaryKey(com.ibm.test.ejb.MyCMPKey primaryKey) throws javax.ejb.FinderException, java.rmi.RemoteException;
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPKey.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPKey.java
deleted file mode 100644
index 7aa6f79a..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/com/ibm/test/ejb/MyCMPKey.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package com.ibm.test.ejb;
-/**
- * Key class for Entity Bean: MyCMP
- */
-public class MyCMPKey extends com.ibm.test.A implements java.io.Serializable {
-
- static final long serialVersionUID = 3206093459760846163L;
- /**
- * Implemetation field for persistent attribute: k1
- */
- public java.lang.String k1;
- /**
- * Creates an empty key for Entity Bean: MyCMP
- */
- public MyCMPKey() {
- }
- /**
- * Returns true if both keys are equal.
- */
- public boolean equals(java.lang.Object otherKey) {
- if (otherKey instanceof com.ibm.test.ejb.MyCMPKey) {
- com.ibm.test.ejb.MyCMPKey o = (com.ibm.test.ejb.MyCMPKey)otherKey;
- return ((this.k1.equals(o.k1)));
- }
- return false;
- }
- /**
- * Returns the hash code for the key.
- */
- public int hashCode() {
- return (k1.hashCode());
- }
- /**
- * Creates a key for Entity Bean: MyCMP
- */
- public MyCMPKey(java.lang.String k1) {
- this.k1 = k1;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Bean.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Bean.java
deleted file mode 100644
index 79727476..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Bean.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package ejbs;
-/**
- * Bean implementation class for Enterprise Bean: CMP1
- */
-public abstract class CMP1Bean implements javax.ejb.EntityBean {
- private javax.ejb.EntityContext myEntityCtx;
- /**
- * setEntityContext
- */
- public void setEntityContext(javax.ejb.EntityContext ctx) {
- myEntityCtx = ctx;
- }
- /**
- * getEntityContext
- */
- public javax.ejb.EntityContext getEntityContext() {
- return myEntityCtx;
- }
- /**
- * unsetEntityContext
- */
- public void unsetEntityContext() {
- myEntityCtx = null;
- }
- /**
- * ejbCreate
- */
- public ejbs.CMP1Key ejbCreate(java.lang.Integer id)
- throws javax.ejb.CreateException {
- setId(id);
- return null;
- }
- /**
- * ejbPostCreate
- */
- public void ejbPostCreate(java.lang.Integer id)
- throws javax.ejb.CreateException {
- }
- /**
- * ejbActivate
- */
- public void ejbActivate() {
- }
- /**
- * ejbLoad
- */
- public void ejbLoad() {
- }
- /**
- * ejbPassivate
- */
- public void ejbPassivate() {
- }
- /**
- * ejbRemove
- */
- public void ejbRemove() throws javax.ejb.RemoveException {
- }
- /**
- * ejbStore
- */
- public void ejbStore() {
- }
- /**
- * Get accessor for persistent attribute: id
- */
- public abstract java.lang.Integer getId();
- /**
- * Set accessor for persistent attribute: id
- */
- public abstract void setId(java.lang.Integer newId);
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Key.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Key.java
deleted file mode 100644
index 69240162..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Key.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package ejbs;
-/**
- * Key class for Entity Bean: CMP1
- */
-public class CMP1Key implements java.io.Serializable {
- static final long serialVersionUID = 3206093459760846163L;
- /**
- * Implementation field for persistent attribute: id
- */
- public java.lang.Integer id;
- /**
- * Creates an empty key for Entity Bean: CMP1
- */
- public CMP1Key() {
- }
- /**
- * Creates a key for Entity Bean: CMP1
- */
- public CMP1Key(java.lang.Integer id) {
- this.id = id;
- }
- /**
- * Returns true if both keys are equal.
- */
- public boolean equals(java.lang.Object otherKey) {
- if (otherKey instanceof ejbs.CMP1Key) {
- ejbs.CMP1Key o = (ejbs.CMP1Key) otherKey;
- return ((this.id.equals(o.id)));
- }
- return false;
- }
- /**
- * Returns the hash code for the key.
- */
- public int hashCode() {
- return (id.hashCode());
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Local.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Local.java
deleted file mode 100644
index bdfdb592..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1Local.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package ejbs;
-/**
- * Local interface for Enterprise Bean: CMP1
- */
-public interface CMP1Local extends javax.ejb.EJBLocalObject {
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1LocalHome.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1LocalHome.java
deleted file mode 100644
index d856a30b..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP1LocalHome.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package ejbs;
-/**
- * Local Home interface for Enterprise Bean: CMP1
- */
-public interface CMP1LocalHome extends javax.ejb.EJBLocalHome {
- /**
- * Creates an instance from a key for Entity Bean: CMP1
- */
- public ejbs.CMP1Local create(java.lang.Integer id)
- throws javax.ejb.CreateException;
- /**
- * Finds an instance using a key for Entity Bean: CMP1
- */
- public ejbs.CMP1Local findByPrimaryKey(ejbs.CMP1Key primaryKey)
- throws javax.ejb.FinderException;
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Bean.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Bean.java
deleted file mode 100644
index b69abe14..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Bean.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package ejbs;
-/**
- * Bean implementation class for Enterprise Bean: CMP2
- */
-public abstract class CMP2Bean implements javax.ejb.EntityBean {
- private javax.ejb.EntityContext myEntityCtx;
- /**
- * setEntityContext
- */
- public void setEntityContext(javax.ejb.EntityContext ctx) {
- myEntityCtx = ctx;
- }
- /**
- * getEntityContext
- */
- public javax.ejb.EntityContext getEntityContext() {
- return myEntityCtx;
- }
- /**
- * unsetEntityContext
- */
- public void unsetEntityContext() {
- myEntityCtx = null;
- }
- /**
- * ejbCreate
- */
- public ejbs.CMP2Key ejbCreate(java.lang.Integer id)
- throws javax.ejb.CreateException {
- setId(id);
- return null;
- }
- /**
- * ejbPostCreate
- */
- public void ejbPostCreate(java.lang.Integer id)
- throws javax.ejb.CreateException {
- }
- /**
- * ejbActivate
- */
- public void ejbActivate() {
- }
- /**
- * ejbLoad
- */
- public void ejbLoad() {
- }
- /**
- * ejbPassivate
- */
- public void ejbPassivate() {
- }
- /**
- * ejbRemove
- */
- public void ejbRemove() throws javax.ejb.RemoveException {
- }
- /**
- * ejbStore
- */
- public void ejbStore() {
- }
- /**
- * Get accessor for persistent attribute: id
- */
- public abstract java.lang.Integer getId();
- /**
- * Set accessor for persistent attribute: id
- */
- public abstract void setId(java.lang.Integer newId);
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Key.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Key.java
deleted file mode 100644
index 38e9bc7f..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Key.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package ejbs;
-/**
- * Key class for Entity Bean: CMP2
- */
-public class CMP2Key implements java.io.Serializable {
- static final long serialVersionUID = 3206093459760846163L;
- /**
- * Implementation field for persistent attribute: id
- */
- public java.lang.Integer id;
- /**
- * Creates an empty key for Entity Bean: CMP2
- */
- public CMP2Key() {
- }
- /**
- * Creates a key for Entity Bean: CMP2
- */
- public CMP2Key(java.lang.Integer id) {
- this.id = id;
- }
- /**
- * Returns true if both keys are equal.
- */
- public boolean equals(java.lang.Object otherKey) {
- if (otherKey instanceof ejbs.CMP2Key) {
- ejbs.CMP2Key o = (ejbs.CMP2Key) otherKey;
- return ((this.id.equals(o.id)));
- }
- return false;
- }
- /**
- * Returns the hash code for the key.
- */
- public int hashCode() {
- return (id.hashCode());
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Local.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Local.java
deleted file mode 100644
index f6ac7303..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2Local.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package ejbs;
-/**
- * Local interface for Enterprise Bean: CMP2
- */
-public interface CMP2Local extends javax.ejb.EJBLocalObject {
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2LocalHome.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2LocalHome.java
deleted file mode 100644
index 8a1bdf93..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEAREjb/ejbModule/ejbs/CMP2LocalHome.java
+++ /dev/null
@@ -1,16 +0,0 @@
-package ejbs;
-/**
- * Local Home interface for Enterprise Bean: CMP2
- */
-public interface CMP2LocalHome extends javax.ejb.EJBLocalHome {
- /**
- * Creates an instance from a key for Entity Bean: CMP2
- */
- public ejbs.CMP2Local create(java.lang.Integer id)
- throws javax.ejb.CreateException;
- /**
- * Finds an instance using a key for Entity Bean: CMP2
- */
- public ejbs.CMP2Local findByPrimaryKey(ejbs.CMP2Key primaryKey)
- throws javax.ejb.FinderException;
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/.classpath b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/.classpath
deleted file mode 100644
index 71bb38bc..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/.classpath
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="var" path="SERVERJDK_PLUGINDIR/jre/lib/rt.jar"
- rootpath="src" sourcepath="SERVERJDK_PLUGINDIR/src.jar"/>
- <classpathentry kind="src" path="source"/>
- <classpathentry kind="var" path="WAS_PLUGINDIR/lib/j2ee.jar"/>
- <classpathentry kind="var" path="WAS_PLUGINDIR/lib/webcontainer.jar"/>
- <classpathentry kind="var" path="WAS_PLUGINDIR/lib/ivjejb35.jar"/>
- <classpathentry kind="var" path="WAS_PLUGINDIR/lib/websphere.jar"/>
- <classpathentry kind="output" path="webApplication\WEB-INF\classes"/>
-</classpath>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/.websettings b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/.websettings
deleted file mode 100644
index 0e5b9a8e..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/.websettings
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<websettings>
- <context-root>LooseEARWeb</context-root>
-</websettings>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/source/com/ibm/test/web/C.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/source/com/ibm/test/web/C.java
deleted file mode 100644
index b71b3947..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/source/com/ibm/test/web/C.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package com.ibm.test.web;
-public class C {
-
- /**
- * Constructor for C
- */
- public C() {
- super();
- }
-
- public static void main(String[] args) {
- }
-}
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/META-INF/MANIFEST.MF
deleted file mode 100644
index 735160aa..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,3 +0,0 @@
-Manifest-Version: 1.0
-Class-Path: LooseEAREjb.jar
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/classes/com/ibm/test/web/C.class b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/classes/com/ibm/test/web/C.class
deleted file mode 100644
index 40511314..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/classes/com/ibm/test/web/C.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/ibm-web-bnd.xmi b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/ibm-web-bnd.xmi
deleted file mode 100644
index d74844b9..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/ibm-web-bnd.xmi
+++ /dev/null
@@ -1,3 +0,0 @@
-<webappbnd:WebAppBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:webappbnd="webappbnd.xmi" xmlns:webapplication="webapplication.xmi" xmi:id="WebAppBinding_1" virtualHostName="default_host">
- <webapp href="WEB-INF/web.xml#WebApp"/>
-</webappbnd:WebAppBinding> \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/ibm-web-ext.xmi b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/ibm-web-ext.xmi
deleted file mode 100644
index 82ec262a..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/ibm-web-ext.xmi
+++ /dev/null
@@ -1,10 +0,0 @@
-<webappext:WebAppExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:webappext="webappext.xmi" xmlns:webapplication="webapplication.xmi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmi:id="WebAppExtension_1"
- reloadInterval="3"
- reloadingEnabled="true"
- defaultErrorPage="error.jsp"
- additionalClassPath=""
- fileServingEnabled="true"
- directoryBrowsingEnabled="false"
- serveServletsByClassnameEnabled="true">
- <webApp href="WEB-INF/web.xml#WebApp"/>
-</webappext:WebAppExtension> \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/web.xml b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/web.xml
deleted file mode 100644
index 1412efd2..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseEARWeb/webApplication/WEB-INF/web.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
-<web-app id="WebApp">
- <display-name>LooseEARWeb</display-name>
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- <welcome-file>index.htm</welcome-file>
- <welcome-file>index.jsp</welcome-file>
- <welcome-file>default.html</welcome-file>
- <welcome-file>default.htm</welcome-file>
- <welcome-file>default.jsp</welcome-file>
- </welcome-file-list>
-</web-app>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/.classpath b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/.classpath
deleted file mode 100644
index d8b3fa0d..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/.classpath
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/bin/com/ibm/test/A.class b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/bin/com/ibm/test/A.class
deleted file mode 100644
index bfcfff08..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/bin/com/ibm/test/A.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/src/com/ibm/test/A.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/src/com/ibm/test/A.java
deleted file mode 100644
index 07f09c15..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaUtil/src/com/ibm/test/A.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package com.ibm.test;
-public class A {
-
- /**
- * Constructor for A
- */
- public A() {
- super();
- }
-
- public static void main(String[] args) {
- }
-}
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/.classpath b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/.classpath
deleted file mode 100644
index d8b3fa0d..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/.classpath
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/bin/com/ibm/web/test/B.class b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/bin/com/ibm/web/test/B.class
deleted file mode 100644
index e3ee5640..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/bin/com/ibm/web/test/B.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/src/com/ibm/web/test/B.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/src/com/ibm/web/test/B.java
deleted file mode 100644
index ab185337..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/LooseJavaWebLib/src/com/ibm/web/test/B.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package com.ibm.web.test;
-public class B {
-
- /**
- * Constructor for B
- */
- public B() {
- super();
- }
-
- public static void main(String[] args) {
- }
-}
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/boo.jar/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/boo.jar/META-INF/MANIFEST.MF
deleted file mode 100644
index 1743e3da..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/boo.jar/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,4 +0,0 @@
-Manifest-Version: 1.0
-Class-Path: util.jar LooseEAREjb/bin foobar.jar
-
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/foobar.jar b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/foobar.jar
deleted file mode 100644
index e69de29b..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/foobar.jar
+++ /dev/null
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/readme.txt b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/readme.txt
deleted file mode 100644
index 7b195b44..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveResources/loose_module_workspace/readme.txt
+++ /dev/null
@@ -1 +0,0 @@
-This is not a full WSAD workspace; it is just the files necessary to emulate one, for unit testing the runtime \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllDOMTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllDOMTests.java
deleted file mode 100644
index 3049b945..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllDOMTests.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Created on Sep 5, 2003
- *
- */
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.wst.common.internal.emf.resource.EMF2DOMRendererFactory;
-import org.eclipse.wst.common.internal.emf.resource.RendererFactory;
-
-/**
- * @author Administrator
- */
-public class AllDOMTests extends TestCase{
-
- private RendererFactory defaultRendererFactory;
-
- public AllDOMTests(String name) {
- super(name);
- }
-
- public AllDOMTests(String name, RendererFactory rf) {
- super(name);
- this.defaultRendererFactory = rf;
- }
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for com.ibm.etools.archive.emftest");
- //$JUnit-BEGIN$
- suite.addTest(new AllDOMTests("testSwitchRenderer", RendererFactory.getDefaultRendererFactory()));
- suite.addTest(AppClientEMFEditTest.suite());
- suite.addTest(AppClientEMFTest.suite());
- suite.addTest(EarEMFEditTest.suite());
- suite.addTest(EarEMFTest.suite()); //
- suite.addTest(EjbEMFEditTest.suite());
- suite.addTest(EjbEMFTest.suite());
- suite.addTest(RarEMFEditTest.suite());
- suite.addTest(RarEMFTest.suite());
- suite.addTest(WarEMFEditTest.suite());
- suite.addTest(WarEMFTest.suite());
- suite.addTest(WebServicesEMFTest.suite());
- suite.addTest(new AllDOMTests("testSwitchRendererBack", RendererFactory.getDefaultRendererFactory()));
-
- //$JUnit-END$
- return suite;
- }
-
- public static void main(java.lang.String[] args) {
- junit.textui.TestRunner.main(new String[] { AllDOMTests.class.getName() });
- }
-
- public void testSwitchRenderer() {
- RendererFactory.setDefaultRendererFactory(EMF2DOMRendererFactory.INSTANCE);
-
- }
-
- public void testSwitchRendererBack() {
- RendererFactory.setDefaultRendererFactory(defaultRendererFactory);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllSAXTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllSAXTests.java
deleted file mode 100644
index 74c326fc..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllSAXTests.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Created on Sep 5, 2003
- *
- */
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.wst.common.internal.emf.resource.EMF2SAXRendererFactory;
-import org.eclipse.wst.common.internal.emf.resource.RendererFactory;
-
-/**
- * @author Administrator
- */
-public class AllSAXTests extends TestCase{
-
- private RendererFactory defaultRendererFactory;
-
- AllTests tests = new AllTests(); // force the class to load if this test is loaded
-
- public AllSAXTests(String name) {
- super(name);
- }
-
- public AllSAXTests(String name, RendererFactory rf) {
- super(name);
- this.defaultRendererFactory = rf;
- }
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for com.ibm.etools.archive.emftest");
- //$JUnit-BEGIN$
- suite.addTest(new AllSAXTests("testSwitchRenderer", RendererFactory.getDefaultRendererFactory()));
- suite.addTest(AppClientEMFEditTest.suite());
- suite.addTest(AppClientEMFTest.suite());
- suite.addTest(EarEMFEditTest.suite());
- suite.addTest(EarEMFTest.suite()); //
- suite.addTest(EjbEMFEditTest.suite());
- suite.addTest(EjbEMFTest.suite());
- suite.addTest(RarEMFEditTest.suite());
- suite.addTest(RarEMFTest.suite());
- suite.addTest(WarEMFEditTest.suite());
- suite.addTest(WarEMFTest.suite());
- suite.addTest(WebServicesEMFTest.suite());
- suite.addTest(new AllSAXTests("testSwitchRendererBack", RendererFactory.getDefaultRendererFactory()));
-
- //$JUnit-END$
- return suite;
- }
-
- public static void main(java.lang.String[] args) {
- junit.textui.TestRunner.main(new String[] { AllSAXTests.class.getName() });
- }
-
- public void testSwitchRenderer() {
- RendererFactory.setDefaultRendererFactory(EMF2SAXRendererFactory.INSTANCE);
- }
-
- public void testSwitchRendererBack() {
- RendererFactory.setDefaultRendererFactory(defaultRendererFactory);
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllTests.java
deleted file mode 100644
index 7e3008bf..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AllTests.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Created on Apr 1, 2003
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-/**
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class AllTests {
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for Common Archive and EMF Tests");
- //$JUnit-BEGIN$
-
- suite.addTest(AllDOMTests.suite());
- suite.addTest(AllSAXTests.suite());
-
- //$JUnit-END$
- return suite;
- }
-
- public static void main(java.lang.String[] args) {
- junit.textui.TestRunner.main(new String[] { AllTests.class.getName() });
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AppClientEMFEditTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AppClientEMFEditTest.java
deleted file mode 100644
index 029f061b..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AppClientEMFEditTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashSet;
-
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.client.ApplicationClientResource;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ApplicationClientFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-public class AppClientEMFEditTest extends GeneralEMFEditingTest {
- EARFile earFile;
- ApplicationClientFile appClientFile;
-
- public AppClientEMFEditTest(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.AppClientEMFEditTest", "-noloading" };
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new AppClientEMFEditTest("testApplicationClientEdit"));
- return suite;
- }
-
- public void testApplicationClientEdit() throws Exception {
- getAppClient();
- assertEquals("1.3", appClientFile.getDeploymentDescriptor().getVersion());
-
- ApplicationClientResource DD = (ApplicationClientResource) appClientFile.getDeploymentDescriptorResource();
- setVersion(VERSION_1_3);
- setModuleType(APP_CLIENT);
- editRoot(DD.getRootObject());
- String curDir = AutomatedBVT.baseDirectory;
- String out = curDir + "testOutput/EMFModelCreationTests/EditAppEAR";
- appClientFile.extractTo(out, Archive.EXPAND_ALL);
- appClientFile.close();
-
- //Compare
-
- String exampleDeploymentDesURI = curDir + "EMFTests/application-client.xml";
- String curDeploymentDesURI = curDir + out + "/AppClientfoo/META-INF/application-client.xml";
- setIgnoreAtt(ignorableAttributes());
- //compareContents(curDeploymentDesURI, exampleDeploymentDesURI);
- }
-
- public void getAppClient() throws DuplicateObjectException, OpenFailureException {
- String in = AutomatedBVT.baseDirectory + "loose_module_workspace/LooseEARApp/fooAPP/";
- appClientFile = getArchiveFactory().openApplicationClientFile(in);
- }
-
- public HashSet ignorableAttributes(){
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AppClientEMFTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AppClientEMFTest.java
deleted file mode 100644
index ff9f4fd0..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/AppClientEMFTest.java
+++ /dev/null
@@ -1,141 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashSet;
-
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.client.ApplicationClientResource;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ApplicationClientFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-public class AppClientEMFTest extends GeneralEMFPopulationTest {
- EARFile earFile;
- protected ApplicationClientFile appClientFile;
- EARFile earFile14;
- ApplicationClientFile appClientFile14;
-
- public AppClientEMFTest(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchiveFactoryImpl.getActiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.AppClientEMFTest", "-noloading" };
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new AppClientEMFTest("testApplicationClientPopulation"));
- suite.addTest(new AppClientEMFTest("test14ApplicationClientPopulation"));
- return suite;
- }
-
- public void testApplicationClientPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createAppClient();
-
- ApplicationClientResource DD = (ApplicationClientResource) appClientFile.getDeploymentDescriptorResource();
- DD.setVersionID(J2EEVersionConstants.J2EE_1_3_ID);
- setVersion(VERSION_1_3);
- setModuleType(APP_CLIENT);
- populateRoot(DD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory +"testOutput/TestAppEAR";
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- //Compare
- String curDir = AutomatedBVT.baseDirectory;
- String exampleDeploymentDesURI = curDir + "EMFTestNoID/application-client.xml";
- String curDeploymentDesURI = curDir + "testOutput/TestAppEAR/fooAPP/META-INF/application-client.xml";
- setIgnoreAtt(ignorableAttributes());
- compareContentsIgnoreWhitespace(curDeploymentDesURI, exampleDeploymentDesURI, null);
- }
-
- public void test14ApplicationClientPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createAppClient();
-
- ApplicationClientResource DD = (ApplicationClientResource) appClientFile.getDeploymentDescriptorResource();
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- setModuleType(APP_CLIENT);
- populateRoot(DD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory +"testOutput/TestAppEAR14";
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- getApp14Client();
- assertEquals("1.4", appClientFile14.getDeploymentDescriptor().getVersion());
- out = AutomatedBVT.baseDirectory +"testOutput/TestAppEAR14_2";
- appClientFile14.extractTo(out, Archive.EXPAND_ALL);
- appClientFile14.close();
-
- //Compare
- String curDir = AutomatedBVT.baseDirectory;
- String curDeploymentDesURI = curDir + "testOutput/TestAppEAR14/fooAPP/META-INF/application-client.xml";
- String secondDeploymentDesURI = out + "/META-INF/application-client.xml";
- setIgnoreAtt(ignorableAttributes());
- compareContentsIgnoreWhitespace(curDeploymentDesURI, secondDeploymentDesURI, null);
- }
-
- public void createAppClient() throws DuplicateObjectException {
- appClientFile = getArchiveFactory().createApplicationClientFileInitialized("fooAPP");
- appClientFile = (ApplicationClientFile) earFile.addCopy(appClientFile);
- appClientFile.getDeploymentDescriptor().setDisplayName("fooAPP");
- assertTrue(appClientFile.getDeploymentDescriptor() != null);
- }
-
- public void createEAR() {
- String earName = "Test.ear";
- earFile = getArchiveFactory().createEARFileInitialized(earName);
- assertTrue(earFile.getDeploymentDescriptor() != null);
- }
-
-
- public void getApp14Client() throws DuplicateObjectException, OpenFailureException {
- String in = AutomatedBVT.baseDirectory + "testOutput/TestAppEAR14/fooAPP";
- appClientFile14 = getArchiveFactory().openApplicationClientFile(in);
- }
-
- public HashSet ignorableAttributes(){
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EarEMFEditTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EarEMFEditTest.java
deleted file mode 100644
index f41160e4..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EarEMFEditTest.java
+++ /dev/null
@@ -1,142 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashSet;
-
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.application.ApplicationResource;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-public class EarEMFEditTest extends GeneralEMFEditingTest {
- EARFile earFile;
- int createdModules = 0;
-
- private int NUM_MODULES = 4;
-
- public EarEMFEditTest(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.EarEMFEditTest", "-noloading" };
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new EarEMFEditTest("testEAREdit"));
- return suite;
- }
-
- public void testEAREdit() throws Exception {
- getEAR();
-
- assertEquals("1.2", earFile.getDeploymentDescriptor().getVersion());
-
- ApplicationResource DD = (ApplicationResource) earFile.getDeploymentDescriptorResource();
- setVersion(VERSION_1_3);
- setModuleType(APPICATION);
- editRoot(DD.getRootObject());
- String curDir = AutomatedBVT.baseDirectory;
-
- String out = curDir +"testOutput/EditOutput/EMFModelCreationTests/EditEAR";
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- //Compare work in progress
-
- String exampleDeploymentDesURI = curDir + "EMFTests/application.xml";
- String curDeploymentDesURI = curDir + out + "/META-INF/application.xml";
- //compareContents(curDeploymentDesURI, exampleDeploymentDesURI);
- }
-
- public void getEAR() throws OpenFailureException {
- String in = AutomatedBVT.baseDirectory + "loose_module_workspace/LooseEAR/";
- earFile = getArchiveFactory().openEARFile(in);
- assertTrue(earFile.getDeploymentDescriptor() != null);
- }
-
- public HashSet ignorableAttributes(){
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-
- public EObject createInstance(EClass eClassifier) {
- if (eClassifier.getName().equals("Module")) {
- createdModules++;
- switch (createdModules) {
- case (1) :
- return createJavaModuleInstance(eClassifier);
- case (2) :
- return createEJBModuleInstance(eClassifier);
- case (3) :
- return createWebModuleInstance(eClassifier);
- case (4) :
- return createConnetorModuleInstance(eClassifier);
- default :
- return createJavaModuleInstance(eClassifier);
- }
- }
- return super.createInstance(eClassifier);
- }
-
- private EObject createConnetorModuleInstance(EClass eClassifier) {
- return ((ApplicationFactory) eClassifier.getEPackage().getEFactoryInstance()).createConnectorModule();
- }
-
- private EObject createWebModuleInstance(EClass eClassifier) {
- return ((ApplicationFactory) eClassifier.getEPackage().getEFactoryInstance()).createWebModule();
- }
-
- private EObject createEJBModuleInstance(EClass eClassifier) {
- return ((ApplicationFactory) eClassifier.getEPackage().getEFactoryInstance()).createEjbModule();
- }
-
- private EObject createJavaModuleInstance(EClass eClassifier) {
- return ((ApplicationFactory) eClassifier.getEPackage().getEFactoryInstance()).createJavaClientModule();
- }
-
- public Object getSharedObjectByType(EObject owner, EReference ref) {
- if (ref.getName().equals("module"))
- return createJavaModuleInstance((EClass) ref.getEType());
- return super.getSharedObjectByType(owner, ref);
- }
-
- public int getDepthForAttribute(EReference ref) {
- if (ref.getName().equals("modules"))
- return NUM_MODULES;
- return super.getDepthForAttribute(ref);
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EarEMFTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EarEMFTest.java
deleted file mode 100644
index b4f96495..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EarEMFTest.java
+++ /dev/null
@@ -1,186 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashSet;
-
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.application.ApplicationResource;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-public class EarEMFTest extends GeneralEMFPopulationTest {
- protected EARFile earFile;
- int createdModules = 0;
-
- private int NUM_MODULES = 5;
-
- public EarEMFTest(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.EarEMFTest", "-noloading" };
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new EarEMFTest("testEARPopulation"));
- suite.addTest(new EarEMFTest("test14EARPopulation"));
- return suite;
- }
-
- public void testEARPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- //createAppClient();
-
- ApplicationResource DD = (ApplicationResource) earFile.getDeploymentDescriptorResource();
- //TODO: individual test for each version
- DD.setVersionID(J2EEVersionConstants.J2EE_1_3_ID);
- setVersion(VERSION_1_3);
- setModuleType(APPICATION);
- populateRoot(DD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory +"testOutput/TestEAR";
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- //Compare work in progress
- String curDir = AutomatedBVT.baseDirectory;
- String exampleDeploymentDesURI = curDir + "EMFTestNoID/application.xml";
- String curDeploymentDesURI = curDir + "testOutput/TestEAR/META-INF/application.xml";
- setIgnoreAtt(ignorableAttributes());
- compareContentsIgnoreWhitespace(curDeploymentDesURI, exampleDeploymentDesURI, null);
- }
-
- public void test14EARPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- //createAppClient();
-
- ApplicationResource DD = (ApplicationResource) earFile.getDeploymentDescriptorResource();
- //TODO: individual test for each version
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- setModuleType(APPICATION);
- populateRoot(DD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory +"testOutput/TestEAR14";
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- getEAR();
- assertEquals("1.4", earFile.getDeploymentDescriptor().getVersion());
- out = AutomatedBVT.baseDirectory +"testOutput/TestEAR14_2";
- earFile.extractTo(out, Archive.EXPAND_ALL);
-
- earFile.close();
-
- //Compare work in progress
- String curDir = AutomatedBVT.baseDirectory;
- String exampleDeploymentDesURI = out + "/META-INF/application.xml";
- String curDeploymentDesURI = curDir + "testOutput/TestEAR14/META-INF/application.xml";
- setIgnoreAtt(ignorableAttributes());
- compareContentsIgnoreWhitespace(curDeploymentDesURI, exampleDeploymentDesURI, null);
- }
- public void createEAR() {
- String earName = "Test.ear";
- earFile = getArchiveFactory().createEARFileInitialized(earName);
- assertTrue(earFile.getDeploymentDescriptor() != null);
- }
-
- public void getEAR() throws OpenFailureException {
- String in =AutomatedBVT.baseDirectory +"testOutput/TestEAR14";
- earFile = getArchiveFactory().openEARFile(in);
- assertTrue(earFile.getDeploymentDescriptor() != null);
- }
-
- public HashSet ignorableAttributes(){
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-
- public EObject createInstance(EReference ref, EObject eObject) {
- EClass eClassifier = (EClass)ref.getEType();
- if (eClassifier.getName().equals("Module")) {
- createdModules++;
- switch (createdModules) {
- case (1) :
- return createJavaModuleInstance(eClassifier);
- case (2) :
- return createEJBModuleInstance(eClassifier);
- case (3) :
- return createWebModuleInstance(eClassifier);
- case (4) :
- return createConnetorModuleInstance(eClassifier);
- default :
- return createJavaModuleInstance(eClassifier);
- }
- }
- return super.createInstance(ref,eObject);
- }
-
- private EObject createConnetorModuleInstance(EClass eClassifier) {
- return ((ApplicationFactory) eClassifier.getEPackage().getEFactoryInstance()).createConnectorModule();
- }
-
- private EObject createWebModuleInstance(EClass eClassifier) {
- return ((ApplicationFactory) eClassifier.getEPackage().getEFactoryInstance()).createWebModule();
- }
-
- private EObject createEJBModuleInstance(EClass eClassifier) {
- return ((ApplicationFactory) eClassifier.getEPackage().getEFactoryInstance()).createEjbModule();
- }
-
- private EObject createJavaModuleInstance(EClass eClassifier) {
- return ((ApplicationFactory) eClassifier.getEPackage().getEFactoryInstance()).createJavaClientModule();
- }
-
- public Object getSharedObjectByType(EObject owner, EReference ref) {
- if (ref.getName().equals("module"))
- return createJavaModuleInstance((EClass) ref.getEType());
- return super.getSharedObjectByType(owner, ref);
- }
-
- public int getDepthForAttribute(EStructuralFeature ref) {
- if (ref.getName().equals("modules"))
- return NUM_MODULES;
- return super.getDepthForAttribute(ref);
- }
-
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EjbEMFEditTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EjbEMFEditTest.java
deleted file mode 100644
index 5c3e487f..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EjbEMFEditTest.java
+++ /dev/null
@@ -1,341 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashSet;
-import java.util.List;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EClassifier;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.SecurityIdentity;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.CMPAttribute;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.RoleSource;
-import org.eclipse.jst.j2ee.ejb.internal.impl.MethodPermissionImpl;
-import org.eclipse.jst.j2ee.ejb.internal.impl.QueryMethodImpl;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.wst.common.internal.emf.resource.EMF2SAXRendererFactory;
-import org.eclipse.wst.common.internal.emf.resource.RendererFactory;
-
-
-public class EjbEMFEditTest extends GeneralEMFEditingTest {
-
- protected static final EjbPackage EJB_PKG = EjbPackage.eINSTANCE;
- EARFile earFile;
- EJBJarFile ejbFile;
- EObject mesBean, entityBean;
- SecurityIdentity secID;
- RoleSource roleSource;
- int NUM_BEANS = 10;
- final int NUM_RELATION_ROLES = 2;
- int createdBeans = 0;
- int createdSecRoles = 0;
- protected int createdSecurityIdentities = 0;
- boolean mpFlag = false;
-
- public EjbEMFEditTest(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public static void main(java.lang.String[] args) {
- junit.textui.TestRunner.main(new String[] { EjbEMFEditTest.class.getName() });
- }
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
-
- /*System.out.println("Switching to SAX Renderer in " + EjbEMFEditTest.class.getName());
- suite.addTest(new AllSAXTests("testSwitchRenderer"));*/
-
- suite.addTest(new EjbEMFEditTest("testEJBJarEdit"));
- suite.addTest(new EjbEMFEditTest("testWCCMJar"));
- /*suite.addTest(new EjbEMFEditTest("testWCCMProvidedCase"));*/
-
- return suite;
- }
-
- public void testEJBJarEdit() throws Exception {
- getEJB();
-
- assertEquals("2.0", ejbFile.getDeploymentDescriptor().getVersion());
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- setVersion(VERSION_1_3);
- setModuleType(EJB);
- editRoot(DD.getRootObject());
- String curDir = AutomatedBVT.baseDirectory;
- String out = curDir + "testOutput/EMFModelCreationTests/EditEjbEAR";
- ejbFile.extractTo(out, Archive.EXPAND_ALL);
- ejbFile.close();
-
-
- //Compare work in progress
-
- String exampleDeploymentDesURI = null;
- //System.out.println(RendererFactory.getDefaultRendererFactory());
- if (RendererFactory.getDefaultRendererFactory() instanceof EMF2SAXRendererFactory){
- exampleDeploymentDesURI = curDir + "EMFTests/ejb-jar2-0sax.xml";
- }
- else
- exampleDeploymentDesURI = curDir + "EMFTests/ejb-jar2-0.xml";
- //System.out.println("File: " + exampleDeploymentDesURI);
- String curDeploymentDesURI = out + "/META-INF/ejb-jar.xml";
- compareContentsIgnoreWhitespace(curDeploymentDesURI, exampleDeploymentDesURI, "");
- }
-
- public void testWCCMJar() throws Exception {
- String in = AutomatedBVT.baseDirectory + "../testData/ejb";
- ArchiveOptions options = new ArchiveOptions();
- options.setIsReadOnly(true);
- ejbFile = getArchiveFactory().openEJBJarFile(options, in);
-
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- DD.getRootObject();
-
- String out = AutomatedBVT.baseDirectory + "../testData/testOutput";
- ejbFile.extractTo(out, Archive.EXPAND_ALL);
- ejbFile.close();
-
- /*DD.save(System.out, null); */
-
- //Compare work in progress
- String curDir = AutomatedBVT.baseDirectory;
- String exampleDeploymentDesURI = in + "/META-INF/ejb-jar.xml";
- String curDeploymentDesURI = out + "/META-INF/ejb-jar.xml";
-
- compareContents(curDeploymentDesURI, exampleDeploymentDesURI);
- }
-
- /**
- * Requires j2ee.core.ws.ext to be on the classpath
- * @throws DuplicateObjectException
- * @throws OpenFailureException
- */
-/* public void testWCCMProvidedCase() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "../wccm/ear";
- EARFile earFile = null;
- try {
-
- CommonarchiveFactory factory =
- CommonarchiveFactoryImpl.getActiveFactory();
- ArchiveOptions opt = new ArchiveOptions();
- opt.setIsReadOnly (true);
- opt.setUseJavaReflection (false);
-
- earFile = factory.openEARFile (opt, in);
- System.out.println ("uri: " + earFile.getURI());
- System.out.println ("origuri: " + earFile.getOriginalURI());
-
- Application application = earFile.getDeploymentDescriptor();
- ApplicationBinding appBindings = earFile.getBindings();
- ApplicationExtension appExtensions = earFile.getExtensions();
-
-
- Iterator rs = earFile.getLoadedMofResources().iterator();
- while (rs.hasNext())
- {
- Resource r = (Resource) rs.next();
-
- FileOutputStream fo = new FileOutputStream (r.getURI().toString().replace('/', '-'));
- r.save (fo, new HashMap());
- fo.flush();
- fo.close();
- }
-
- System.out.println("==========<Done App DD>==========");
- System.out.println ("");
-
-
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- finally {
- if(earFile != null)
- earFile.close();
- }
-
- }*/
-
- public void getEJB() throws DuplicateObjectException, OpenFailureException {
- String in = AutomatedBVT.baseDirectory + "loose_module_workspace/LooseEAREjb/ejbModule/";
- ejbFile = getArchiveFactory().openEJBJarFile(in);
- assertTrue(ejbFile.getDeploymentDescriptor() != null);
- }
-
- public EObject createInstance(EClass eClassifier) {
- if (eClassifier.getName().equals("EnterpriseBean")) {
- createdBeans++;
- switch (createdBeans) {
- case (3) :
- return createContainerManagedEntityInstance(eClassifier);
- case (7) :
- return createMessageBeanInstance(eClassifier);
- case (4) :
- case (8) :
- return createSessionBeanInstance(eClassifier);
- default :
- return createEntityBeanInstance(eClassifier);
- }
- } else if (eClassifier.getName().equals("SecurityIdentity"))
- return createSecurityIdentitiyInstance(eClassifier);
- else if (eClassifier.getName().equals("RoleSource"))
- return createRoleSourceInstance(eClassifier);
- else if (eClassifier == EcorePackage.eINSTANCE.getEAttribute())
- return getEjbFactory().createCMPAttribute();
- return super.createInstance(eClassifier);
- }
-
- private EObject createSecurityIdentitiyInstance(EClass eClassifier) {
- /* Alternate types */
- createdSecRoles++;
- if ((createdSecRoles & 1) == 0)
- return CommonFactory.eINSTANCE.createUseCallerIdentity();
- else
- return CommonFactory.eINSTANCE.createRunAsSpecifiedIdentity();
- }
-
- private EObject createRoleSourceInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createRoleSource();
- }
-
- private EObject createMessageBeanInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createMessageDriven();
- }
-
- private EObject createSessionBeanInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createSession();
- }
-
- private EObject createEntityBeanInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createEntity();
- }
-
- private EObject createContainerManagedEntityInstance(EClass eClassifier) {
- return EjbFactory.eINSTANCE.createContainerManagedEntity();
- }
-
- /**
- * @see org.eclipse.jst.j2ee.archive.test.GeneralEMFTest#getDepthForAttribute(EReference)
- */
- public int getDepthForAttribute(EReference ref) {
- if (ref.getName().equals("enterpriseBeans"))
- return NUM_BEANS;
- else if (ref.getName().equals("entityBeans"))
- return NUM_BEANS;
- else if (ref.getName().equals("relationshipRoles"))
- return NUM_RELATION_ROLES;
- return super.getDepthForAttribute(ref);
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.archive.emftest.GeneralEMFPopulationTest#populateFeatures(org.eclipse.emf.ecore.EObject)
- */
- public void populateFeatures(EObject eObject) {
- if (eObject.eClass() == EJB_PKG.getCMPAttribute()) {
- ((CMPAttribute) eObject).setName((String) EMFAttributeFeatureGenerator.createAttribute(EcorePackage.eINSTANCE.getENamedElement_Name(),eObject));
- ((CMPAttribute) eObject).setEType((EClassifier) createJavaClassProxy(null));
- } else
- super.editFeatures(eObject);
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.archive.emftest.GeneralEMFPopulationTest#populateAttributes(org.eclipse.emf.ecore.EObject)
- */
- protected void populateAttributes(EObject eObject) {
- if (eObject instanceof QueryMethodImpl) {
- List attributes = eObject.eClass().getEAllAttributes();
- for (int i = 0; i < attributes.size(); i++) {
- EAttribute att = (EAttribute) attributes.get(i);
- Object value = createAttributeValue(att, eObject);
- if (att.getName().equals("parms") && value == null){
- value = createAttributeValue(att, eObject);
- }
- if (att.isChangeable())
- eObject.eSet(att, value);
- }
- } else if (eObject instanceof MethodPermissionImpl) {
- List attributes = eObject.eClass().getEAllAttributes();
- for (int i = 0; i < attributes.size(); i++) {
- EAttribute att = (EAttribute) attributes.get(i);
- if(att.getName().equals("unchecked") && mpFlag){
- continue;
- }
-
- Object value = createAttributeValue(att, eObject);
- if (att.isChangeable())
- eObject.eSet(att, value);
- }
- mpFlag = !mpFlag;
- } else
- super.editAttributes(eObject);
- }
-
-
- protected void populateSharedReference(EObject eObject, EReference ref) {
- if(eObject instanceof MethodPermissionImpl && ref.getName().equals("roles")){
- mpFlag = !mpFlag;
- //if method permission unchecked ignore roles
- if(!mpFlag){
- return;
- }
- }
- super.populateSharedReference(eObject, ref);
- }
-
- public HashSet ignorableAttributes(){
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-
- /* (non-Javadoc)
- * @see junit.framework.TestCase#tearDown()
- */
- protected void tearDown() throws Exception {
- earFile = null;
- ejbFile = null;
- mesBean = null;
- entityBean = null;
- secID = null;
- roleSource = null;
-
- super.tearDown();
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EjbEMFTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EjbEMFTest.java
deleted file mode 100644
index b181b566..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/EjbEMFTest.java
+++ /dev/null
@@ -1,364 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EClassifier;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.jem.java.internal.impl.JavaClassImpl;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.SecurityIdentity;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.CMPAttribute;
-import org.eclipse.jst.j2ee.ejb.CMRField;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.MethodPermission;
-import org.eclipse.jst.j2ee.ejb.RoleSource;
-import org.eclipse.jst.j2ee.ejb.internal.impl.EJBRelationshipRoleImpl;
-import org.eclipse.jst.j2ee.ejb.internal.impl.MethodPermissionImpl;
-import org.eclipse.jst.j2ee.ejb.internal.impl.QueryMethodImpl;
-import org.eclipse.jst.j2ee.internal.J2EEInit;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-public class EjbEMFTest extends GeneralEMFPopulationTest {
- static {
- //Temporary workaround to keep packages from being registered twice
- J2EEInit.init();
- }
- protected static final EjbPackage EJB_PKG = EjbPackage.eINSTANCE;
- EARFile earFile;
- protected EJBJarFile ejbFile;
- EObject mesBean, entityBean;
- SecurityIdentity secID;
- RoleSource roleSource;
- int NUM_BEANS = 10;
- final int NUM_RELATION_ROLES = 2;
- int createdBeans = 0;
- int createdSecRoles = 0;
- protected int createdSecurityIdentities = 0;
- boolean mpFlag = false;
- boolean firstReturnTypeMapping = true;
- public EjbEMFTest(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EJB_PKG.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public static void main(java.lang.String[] args) {
- junit.textui.TestRunner.main(new String[] { EjbEMFTest.class.getName()});
- }
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
-
- /*System.out.println("Switching to SAX Renderer in " + EjbEMFTest.class.getName());
- suite.addTest(new AllSAXTests("testSwitchRenderer"));*/
- suite.addTest(new EjbEMFTest("testEJBJarPopulation"));
- suite.addTest(new EjbEMFTest("test14EJBJarPopulation"));
- return suite;
- }
-
- public void testEJBJarPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createEJB();
-
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- //TODO: individual test for each version
- DD.setVersionID(J2EEVersionConstants.J2EE_1_3_ID);
- setVersion(VERSION_1_3);
- setModuleType(EJB);
- populateRoot(DD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory +"testOutput/TestEJBEAR";
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
- setEquivalentLines(getEquivalentLinesMap());
- //Compare work in progress
- String curDir = AutomatedBVT.baseDirectory;
- String exampleDeploymentDesURI = curDir + "/EMFTestNoID/ejb-jar.xml";
- String curDeploymentDesURI = curDir + "testOutput/TestEJBEAR/fooEJB/META-INF/ejb-jar.xml";
- setIgnoreAtt(ignorableAttributes());
- compareContentsIgnoreWhitespace(curDeploymentDesURI, exampleDeploymentDesURI, null);
-// DD.unload();
-// DD.load(new HashMap());
- }
-
- public void test14EJBJarPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createEJB();
-
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- //TODO: individual test for each version
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- setModuleType(EJB);
- //setGeneralDepth(2);
- populateRoot(DD.getRootObject());
- String out = AutomatedBVT.baseDirectory +"testOutput/TestEJBEAR14";
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- setEquivalentLines(getEquivalentLinesMap());
- getEJB();
- assertEquals("2.1", ejbFile.getDeploymentDescriptor().getVersion());
- out = AutomatedBVT.baseDirectory +"testOutput/TestEJBEAR14_2";
- ejbFile.extractTo(out, Archive.EXPAND_ALL);
- ejbFile.close();
-
- //Compare work in progress
- String curDir = AutomatedBVT.baseDirectory;
- String exampleDeploymentDesURI = out + "/META-INF/ejb-jar.xml";
- String curDeploymentDesURI = curDir + "testOutput/TestEJBEAR14/fooEJB/META-INF/ejb-jar.xml";
- setIgnoreAtt(ignorableAttributes());
- compareContentsIgnoreWhitespace(curDeploymentDesURI, exampleDeploymentDesURI, null);
- }
-
- /**
- * @return
- */
- private Map getEquivalentLinesMap() {
- Map lines = new HashMap();
- lines.put("<cascade-delete></cascade-delete>", "<cascade-delete/>");
- lines.put("<method-params></method-params>","<method-params/>");
- lines.put("<unchecked></unchecked>","<unchecked/>");
- lines.put("<use-caller-identity></use-caller-identity>","<use-caller-identity/>");
- return lines;
- }
-
- public void getEJB() throws DuplicateObjectException, OpenFailureException {
- String in = AutomatedBVT.baseDirectory +"testOutput/TestEJBEAR14/fooEJB";
- ejbFile = getArchiveFactory().openEJBJarFile(in);
- assertTrue(ejbFile.getDeploymentDescriptor() != null);
- }
-
- public void createEJB() throws DuplicateObjectException {
- ejbFile = getArchiveFactory().createEJBJarFileInitialized("fooEJB");
- ejbFile = (EJBJarFile) earFile.addCopy(ejbFile);
- ejbFile.getDeploymentDescriptor().setDisplayName("fooEJB");
- assertTrue(ejbFile.getDeploymentDescriptor() != null);
- }
-
- public void createEAR() {
- String earName = "Test.ear";
- earFile = getArchiveFactory().createEARFileInitialized(earName);
- assertTrue(earFile.getDeploymentDescriptor() != null);
- }
-
- public EObject createInstance(EReference ref, EObject eObject) {
- EClass eClassifier = (EClass)ref.getEType();
- if (eClassifier.getName().equals("EnterpriseBean")) {
- createdBeans++;
- switch (createdBeans) {
- case (3) :
- return createContainerManagedEntityInstance(eClassifier);
- case (7) :
- return createMessageBeanInstance(eClassifier);
- case (4) :
- case (8) :
- return createSessionBeanInstance(eClassifier);
- default :
- return createEntityBeanInstance(eClassifier);
- }
- } else if (eClassifier.getName().equals("SecurityIdentity"))
- return createSecurityIdentitiyInstance(eClassifier);
- else if (eClassifier.getName().equals("RoleSource"))
- return createRoleSourceInstance(eClassifier);
- else if (eClassifier == EcorePackage.eINSTANCE.getEAttribute())
- return getEjbFactory().createCMPAttribute();
- return super.createInstance(ref,eObject);
- }
-
- private EObject createSecurityIdentitiyInstance(EClass eClassifier) {
- /* Alternate types */
- createdSecRoles++;
- if ((createdSecRoles & 1) == 0)
- return CommonFactory.eINSTANCE.createUseCallerIdentity();
- else
- return CommonFactory.eINSTANCE.createRunAsSpecifiedIdentity();
- }
-
- private EObject createRoleSourceInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createRoleSource();
- }
-
- private EObject createMessageBeanInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createMessageDriven();
- }
-
- private EObject createSessionBeanInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createSession();
- }
-
- private EObject createEntityBeanInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createEntity();
- }
-
- private EObject createContainerManagedEntityInstance(EClass eClassifier) {
- return EjbFactory.eINSTANCE.createContainerManagedEntity();
- }
-
- /**
- * @see org.eclipse.jst.j2ee.archive.test.GeneralEMFTest#getDepthForAttribute(EReference)
- */
- public int getDepthForAttribute(EStructuralFeature ref) {
- if (ref.getName().equals("enterpriseBeans"))
- return NUM_BEANS;
- else if (ref.getName().equals("entityBeans"))
- return NUM_BEANS;
- else if (ref.getName().equals("relationshipRoles"))
- return NUM_RELATION_ROLES;
- return super.getDepthForAttribute(ref);
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.archive.emftest.GeneralEMFPopulationTest#populateFeatures(org.eclipse.emf.ecore.EObject)
- */
- public void populateFeatures(EObject eObject) {
- if (eObject.eClass() == EJB_PKG.getCMPAttribute()) {
- ((CMPAttribute) eObject).setName((String) EMFAttributeFeatureGenerator.createAttribute(EcorePackage.eINSTANCE.getENamedElement_Name(),eObject));
- ((CMPAttribute) eObject).setEType((EClassifier) EMFAttributeFeatureGenerator.createJavaClassProxy(EcorePackage.eINSTANCE.getETypedElement_EType(),eObject));
- } else if (eObject.eClass() == EJB_PKG.getCMRField()) {
- ((CMRField) eObject).setName((String) EMFAttributeFeatureGenerator.createAttribute(EcorePackage.eINSTANCE.getENamedElement_Name(),eObject));
- populateSharedReference(eObject, EJB_PKG.getCMRField_CollectionType());
- populateSharedReference(eObject, EJB_PKG.getCMRField_Role());
- } else
- super.populateFeatures(eObject);
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.archive.emftest.GeneralEMFPopulationTest#populateAttributes(org.eclipse.emf.ecore.EObject)
- */
- protected void populateAttributes(EObject eObject) {
- if (eObject instanceof QueryMethodImpl) {
- List attributes = eObject.eClass().getEAllAttributes();
- for (int i = 0; i < attributes.size(); i++) {
- EAttribute att = (EAttribute) attributes.get(i);
- if (att.equals(EJB_PKG.getMethodElement_Description()) || att.equals(EJB_PKG.getMethodElement_EnterpriseBean()) || att.equals(EJB_PKG.getMethodElement_Type()) )
- continue;
- Object value = createAttributeValue(att, eObject);
- if (att.getName().equals("parms") && value == null){
- value = createAttributeValue(att, eObject);
- }
- if (att.isChangeable())
- eObject.eSet(att, value);
- }
- } else if (eObject instanceof MethodPermissionImpl) {
- List attributes = eObject.eClass().getEAllAttributes();
- for (int i = 0; i < attributes.size(); i++) {
- EAttribute att = (EAttribute) attributes.get(i);
- if(att.getName().equals("unchecked") && mpFlag){
- continue;
- }
-
- Object value = createAttributeValue(att, eObject);
- if (att.isChangeable())
- eObject.eSet(att, value);
- }
- mpFlag = !mpFlag;
- } else if (eObject instanceof EJBRelationshipRoleImpl) {
- List attributes = eObject.eClass().getEAllAttributes();
- EAttribute lastAttr = null;
- Object value = null;
- for (int i = 0; i < attributes.size(); i++) {
- EAttribute att = (EAttribute) attributes.get(i);
- if (att.getName().equals("cascadeDelete") && (lastAttr.getName().equals("multiplicity") && !value.toString().equals("Many")))
- continue;
-
- value = createAttributeValue(att, eObject);
- if (att.isChangeable())
- eObject.eSet(att, value);
- lastAttr = att;
- }
- mpFlag = !mpFlag;
- } else
- super.populateAttributes(eObject);
- }
-
-
- protected void populateSharedReference(EObject eObject, EReference ref) {
- if (ref == EJB_PKG.getCMRField_CollectionType()) {
- setReferenceValue(eObject, ref, JavaClassImpl.createClassRef("java.util.Collection"));
- return;
- } else if(eObject instanceof MethodPermission && ref.getName().equals("roles")){
- //if method permission unchecked ignore roles
- if(mpFlag){
- return;
- }
- mpFlag = !mpFlag;
- }
- super.populateSharedReference(eObject, ref);
- }
-
- public HashSet ignorableAttributes(){
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.archive.emftest.GeneralEMFPopulationTest#createAttributeValue(org.eclipse.emf.ecore.EAttribute, org.eclipse.emf.ecore.EObject)
- */
- protected Object createAttributeValue(EAttribute att, EObject eObject) {
- //eat the first return type mapping because the order was changed.
- if (firstReturnTypeMapping && att.equals(EJB_PKG.getQuery_ReturnTypeMapping())){
- super.createAttributeValue(att,eObject);
- firstReturnTypeMapping = false;
- } else if (att.equals(EJB_PKG.getEnterpriseBean_Name()))
- return EMFAttributeFeatureGenerator.createAttribute(att,EJB_PKG.getEntity());
- return super.createAttributeValue(att, eObject);
- }
-
- /* (non-Javadoc)
- * @see junit.framework.TestCase#tearDown()
- */
- protected void tearDown() throws Exception {
- super.tearDown();
- earFile = null;
- ejbFile = null;
- mesBean = null;
- entityBean = null;
- secID = null;
- roleSource = null;
-
-
-}
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/GeneralEMFEditingTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/GeneralEMFEditingTest.java
deleted file mode 100644
index 52e3df65..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/GeneralEMFEditingTest.java
+++ /dev/null
@@ -1,459 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.LineNumberReader;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.jem.java.JavaRefPackage;
-import org.eclipse.jem.java.internal.impl.JavaClassImpl;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.archive.testutilities.J2EEVersionCheck;
-import org.eclipse.jst.j2ee.archive.testutilities.TestUtilities;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.wst.common.tests.BaseTestCase;
-
-
-public class GeneralEMFEditingTest extends BaseTestCase {
- //inner class to handle deffered shared references
- protected class DeferredSharedReferenceAction {
- EObject owner;
- EReference ref;
-
- public DeferredSharedReferenceAction(EObject owner, EReference ref) {
- this.owner = owner;
- this.ref = ref;
- }
-
- public void performAction() {
- Object value = getSharedObjectByType(owner, ref);
- setReferenceValue(owner, ref, value);
- }
- }
-
- protected Map equivalentLines;
- public List deferedReferences;
- public static int genDepth = 5;
- public static Object sharedValue;
- public int classIndex = 0;
- public static String avClass[];
- public static HashSet ignoreAtt;
-
- public int version;
- public int moduleType;
- //static versions
- public static final int VERSION_1_2 = 0;
- public static final int VERSION_1_3 = 1;
- public static final int VERSION_1_4 = 2;
-
- public static final int APPICATION = 0;
- public static final int APP_CLIENT = 1;
- public static final int CONNECTOR = 2;
- public static final int EJB = 3;
- public static final int WEB = 4;
-
- public GeneralEMFEditingTest(String name) {
- super(name);
- }
-
- public void editRoot(EObject eObject) {
- editFeatures(eObject);
- //if (deferedReferences != null) {
- // for (int i = 0; i < deferedReferences.size(); i++) {
- // ((DeferredSharedReferenceAction) deferedReferences.get(i)).performAction();
- // }
- //}
- }
-
- public void editFeatures(EObject eObject) {
- if (eObject == null)
- return;
- else {
- editAttributes(eObject);
- editReferences(eObject);
- }
- }
-
- protected void editReferences(EObject eObject) {
- List references = eObject.eClass().getEAllReferences();
- for (int i = 0; i < references.size(); i++) {
- EReference ref = (EReference) references.get(i);
- if (!ref.isMany() && eObject.eGet(ref) != null)
- continue;
- if (ref.isContainment())
- populateContainmentReference(eObject, ref);
- else
- populateSharedReference(eObject, ref);
- }
- }
-
- protected void populateSharedReference(EObject eObject, EReference ref) {
- if (ref.getEType() == JavaRefPackage.eINSTANCE.getJavaClass())
- setReferenceValue(eObject, ref, createJavaClassProxy((EClass) ref.getEType()));
- else {
- EPackage pkg = ref.getEType().getEPackage();
- if (pkg == eObject.eClass().getEPackage() || pkg == CommonPackage.eINSTANCE) {
- if (eObject.eClass().getName().equals("EAnnotation") || eObject.eClass().getName().equals("EAnnotationImpl") || !J2EEVersionCheck.checkReferenceVersion(ref, version, moduleType))
- return;
- if (deferedReferences == null)
- deferedReferences = new ArrayList();
- deferedReferences.add(new DeferredSharedReferenceAction(eObject, ref));
- }
- }
- }
-
- protected void populateContainmentReference(EObject eObject, EReference ref) {
- for (int i = 0; i < getDepthForAttribute(ref); i++) {
- EObject instance = createInstance((EClass) ref.getEType());
- if (instance == null)
- return;
- if (!J2EEVersionCheck.checkReferenceVersion(ref, version, moduleType))
- continue;
- setReferenceValue(eObject, ref, instance);
- if (((InternalEObject) instance).eIsProxy())
- return;
- if (ref.getEType() == eObject.eClass())
- editAttributes(instance);
- else
- editFeatures(instance);
- }
- }
-
- protected void setReferenceValue(EObject eObject, EReference ref, Object value) {
- if (ref.getName().equals("EAnnotation") || ref.getName().equals("EAnnotationImpl") || !J2EEVersionCheck.checkReferenceVersion(ref, version, moduleType))
- return;
- if (ref.isMany()) {
- List list = (List) eObject.eGet(ref);
- if (value instanceof Collection)
- list.addAll((Collection) value);
- else
- list.add(value);
- } else {
- eObject.eSet(ref, value);
- }
- }
-
- public EObject createInstance(EClass eClassifier) {
- if (eClassifier == JavaRefPackage.eINSTANCE.getJavaClass())
- return createJavaClassProxy(eClassifier);
- return eClassifier.getEPackage().getEFactoryInstance().create(eClassifier);
- }
-
- protected void editAttributes(EObject eObject) {
- List attributes = eObject.eClass().getEAllAttributes();
- for (int i = 0; i < attributes.size(); i++) {
- EAttribute att = (EAttribute) attributes.get(i);
- if (att.isChangeable() && J2EEVersionCheck.checkAttributeVersion(att, version, moduleType)) {
- Object value = createAttributeValue(att, eObject);
- eObject.eSet(att, value);
- }
- }
- }
-
- protected Object createAttributeValue(EAttribute att, EObject eObject) {
- if (att.getEType() == JavaRefPackage.eINSTANCE.getJavaClass()) {
- return createJavaClassProxy(att.eClass()).getClass();
- }
- // if (moduleType == WEB)
- return EMFAttributeFeatureGenerator.createAttribute(att, eObject, true, version, moduleType);
- //return EMFAttributeFeatureGenerator.createAttribute(att);
- }
-
- protected EObject createJavaClassProxy(EClass metaClass) {
- if (avClass == null) {
- avClass = new String[] { "java.util.HashTable", "java.util.List", "java.sql.Data", "java.lang.Integer", "java.lang.String" };
- }
- String name = avClass[classIndex];
- classIndex++;
- if (classIndex == 5)
- classIndex = 0;
- return JavaClassImpl.createClassRef(name);
- }
-
- // Old Compare method....now using DOMComparator...remove once stable
- public void compareContents(String file1, String file2) throws Exception {
- BufferedReader reader1 = null;
- BufferedReader reader2 = null;
- try {
- int lineno = 1;
- reader1 = new BufferedReader(new InputStreamReader(getFileInputStream(file1)));
- reader2 = new BufferedReader(new InputStreamReader(getFileInputStream(file2)));
- String line1 = "", line2 = "";
- while (reader1.ready() && reader2.ready()) {
- line1 = readLineTrimComments(reader1);
- line2 = readLineTrimComments(reader2);
- if (line1 == null && line2 == null && lineno != 0)
- return;
-
- if (!line1.trim().equals(line2.trim())) {
- String message = "Error at line #: " + lineno + '\n' + line1 + '\n' + line2 + '\n';
- System.out.println(message);
- //assertTrue(message, false);
- }
- lineno++;
- }
- assertTrue("The files have a different number of lines:" + lineno + '\n' + line1 + '\n' + line2 + '\n', (!reader1.ready() && !reader2.ready()));
- } catch (IOException ex) {
- ex.printStackTrace();
- assertTrue("IO failed", false);
- } finally {
- if(reader1 != null)
- reader1.close();
- if(reader2 != null)
- reader2.close();
- }
- }
-
- /**
- * @param string
- * @return
- */
- private String readLineTrimComments(BufferedReader reader) throws IOException {
- String result = reader.readLine();
- if(result.indexOf("<!--") < 0)
- return result;
- else {
- int endCommentIndx = 0;
- while(reader.ready()) {
- if( (endCommentIndx = result.indexOf("-->")) >= 0)
- result = reader.readLine();
- else
- return result;
- }
- }
- return result;
- }
-
- public void compareContentsIgnoreWhitespace(String file1, String file2, String identifier) throws Exception {
-
- LineNumberReader reader1 = new LineNumberReader(new InputStreamReader(getFileInputStream(file1)));
- LineNumberReader reader2 = new LineNumberReader(new InputStreamReader(getFileInputStream(file2)));
- compareContentsIgnoreWhitespace(reader1, reader2, identifier);
-
- }
-
- public void compareContentsIgnoreWhitespace(LineNumberReader reader1, LineNumberReader reader2, String identifier) throws Exception {
-
- while (reader1.ready() || reader2.ready()) {
- String line1 = "", line2 = "";
- while (reader1.ready() && line1.equals("")) {
- line1 = reader1.readLine().trim();
- }
- while (reader2.ready() && line2.equals("")) {
- line2 = reader2.readLine().trim();
- }
- if (!isEquivalentLines(line1, line2)) {
- StringBuffer buff = new StringBuffer();
- buff.append("Difference found in test ");
-
- buff.append(identifier);
- buff.append("\nSource line #: ");
- buff.append(reader1.getLineNumber());
- buff.append('\n');
- buff.append(line1);
- buff.append("\nDestination line #: ");
- buff.append(reader2.getLineNumber());
- buff.append('\n');
- buff.append(line2);
- assertTrue(buff.toString(), false);
- }
- }
-
- }
-
- public boolean lineEquals(String line1, String line2) {
- return line1.equals(line2);
- }
-
- public boolean isEquivalentLines(String line1, String line2) {
- if (lineEquals(line1, line2))
- return true;
- if (equalTags(line1, line2))
- return true;
- String equiv = (String) getEquivalentLines().get(line1);
- return equiv != null && equiv.equals(line2);
- }
-
- public boolean equalTags(String line1, String line2){
- //data check, there should be no data for this test to return true
- int shortEndIndex1 = line1.indexOf("/>");
- int shortEndIndex2 = line2.indexOf("/>");
- if (shortEndIndex1 == -1 && shortEndIndex2 == -1)
- return false;
- else if (shortEndIndex1 != -1){
- String tagName1 = line1.substring(1,shortEndIndex1);
- String tagName2 = extractTagName(line2);
- if (checkNoData(line2) && tagName1.equals(tagName2)){
- return true;
- }
- }
- else if (shortEndIndex2 != -1){
- String tagName1 = extractTagName(line1);
- String tagName2 = line2.substring(1,shortEndIndex2);
- if (checkNoData(line1) && tagName1.equals(tagName2)){
- return true;
- }
- }
- return false;
- }
- /**
- * @param line2
- * @return
- */
- private String extractTagName(String line) {
- int endOpenTag = line.indexOf(">");
- return line.substring(1,endOpenTag);
- }
-
- /**
- * @param line2
- * @return
- */
- private boolean checkNoData(String line) {
- int endOpenTag = line.indexOf(">");
- int startEndTag = line.lastIndexOf("<");
- if (endOpenTag == line.length())
- return true;
- else if (endOpenTag+1 == startEndTag)
- return true;
- return false;
- }
-
- public Map getEquivalentLines() {
- if (equivalentLines == null)
- equivalentLines = new HashMap();
- return equivalentLines;
- }
-
- public void setEquivalentLines(Map equivalentLines) {
- this.equivalentLines = equivalentLines;
- }
- /*
- public void compareContents(String file1, String file2) throws Exception {
- InputStream is1, is2;
- is1 = getFileInputStream(file1);
- is2 = getFileInputStream(file2);
- InputSource input1 = new InputSource(is1);
- InputSource input2 = new InputSource(is2);
- try {
- String results;
- if(ignoreAtt == null)
- results = DomComparitor.compareDoms(input1, input2);
- else
- results = DomComparitor.compareDoms(input1, input2, ignoreAtt);
- if (results != null) {
- assertTrue("Unequal doms compared as equal " + file1 + " " + file2 + "Details: " + results, false);
- }
- } finally {
- try {
- is1.close();
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
- try {
- is2.close();
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
- }
- }
- */
- public InputStream getFileInputStream(String path) throws FileNotFoundException {
- return new FileInputStream(path);
- }
-
- public InputStream getResourceAsStream(String fileName) {
- InputStream in = null;
- ClassLoader loader = getClass().getClassLoader();
- if (loader == null) {
- in = ClassLoader.getSystemResourceAsStream(fileName);
- } else {
- in = loader.getResourceAsStream(fileName);
- }
- assertTrue("Unable to find resource: " + fileName, in != null);
- return in;
- }
-
- public void setGeneralDepth(int depth) {
- GeneralEMFPopulationTest.genDepth = depth;
- }
-
- public void setModuleType(int type) {
- moduleType = type;
- }
-
- public void setVersion(int version) {
- this.version = version;
- }
-
- public int getDepthForAttribute(EReference ref) {
- if (ref.isMany())
- return genDepth;
- else
- return 1;
- }
-
- public Object getSharedObjectByType(EObject owner, EReference ref) {
- sharedValue = TestUtilities.getObjectByType(owner.eResource(), ref.getEType(), ref.isMany());
- return sharedValue;
- }
-
- /**
- * @param set
- */
- public static void setIgnoreAtt(HashSet set) {
- ignoreAtt = set;
- }
-
- /* (non-Javadoc)
- * @see junit.framework.TestCase#tearDown()
- */
- protected void tearDown() throws Exception {
- try {
- String out = AutomatedBVT.baseDirectory + "testOutput/";
- File del = new File(out);
- deleteDirectory(del);
- del.delete();
- out = AutomatedBVT.baseDirectory + "../testData/testOutput/";
- del = new File(out);
- deleteDirectory(del);
- del.delete();
- }
- catch (Exception e){
- e.printStackTrace();
- }
- super.tearDown();
- }
-
- protected void deleteDirectory(File directory)
- throws IOException
- {
- if (directory.exists()){
- File[] delFiles = directory.listFiles();
-
- for(int i=0; i<delFiles.length; ++i)
- {
- if(delFiles[i].isDirectory())
- deleteDirectory(delFiles[i]);
- delFiles[i].delete();
- }
- }
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/GeneralEMFPopulationTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/GeneralEMFPopulationTest.java
deleted file mode 100644
index fb1e311e..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/GeneralEMFPopulationTest.java
+++ /dev/null
@@ -1,457 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.LineNumberReader;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.jem.java.JavaRefPackage;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.archive.testutilities.J2EEVersionCheck;
-import org.eclipse.jst.j2ee.archive.testutilities.TestUtilities;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.common.EJBLocalRef;
-import org.eclipse.jst.j2ee.common.QName;
-import org.eclipse.jst.j2ee.common.ResAuthTypeBase;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.MessageDriven;
-import org.eclipse.jst.j2ee.ejb.MethodElementKind;
-import org.eclipse.wst.common.tests.BaseTestCase;
-
-
-public class GeneralEMFPopulationTest extends BaseTestCase {
- //inner class to handle deffered shared references
- protected class DeferredSharedReferenceAction {
- EObject owner;
- EReference ref;
-
- public DeferredSharedReferenceAction(EObject owner, EReference ref) {
- this.owner = owner;
- this.ref = ref;
- }
-
- public void performAction() {
- Object value = getSharedObjectByType(owner, ref);
- setReferenceValue(owner, ref, value);
- }
- }
-
- protected Map equivalentLines;
- public List deferedReferences;
- public static int genDepth = 5;
- public static Object sharedValue;
- public static HashSet ignoreAtt;
-
- public int version;
- public int moduleType;
- //static versions
- public static final int VERSION_1_2 = 0;
- public static final int VERSION_1_3 = 1;
- public static final int VERSION_1_4 = 2;
-
- public static final int APPICATION = 0;
- public static final int APP_CLIENT = 1;
- public static final int CONNECTOR = 2;
- public static final int EJB = 3;
- public static final int WEB = 4;
-
- public GeneralEMFPopulationTest(String name) {
- super(name);
- }
-
- public void populateRoot(EObject eObject) {
- populateFeatures(eObject);
- if (deferedReferences != null) {
- for (int i = 0; i < deferedReferences.size(); i++) {
- ((DeferredSharedReferenceAction) deferedReferences.get(i)).performAction();
- }
- }
- }
-
- public void populateFeatures(EObject eObject) {
- if (eObject == null)
- return;
- else {
- populateAttributes(eObject);
- populateReferences(eObject);
- }
- }
-
- protected void populateReferences(EObject eObject) {
- List references = eObject.eClass().getEAllReferences();
- for (int i = 0; i < references.size(); i++) {
- EReference ref = (EReference) references.get(i);
- if (!ref.isMany() && eObject.eGet(ref) != null)
- continue;
- if (eObject instanceof MessageDriven && (ref.equals(EjbPackage.eINSTANCE.getEnterpriseBean_HomeInterface()) || ref.equals(EjbPackage.eINSTANCE.getEnterpriseBean_RemoteInterface()) || ref.equals(EjbPackage.eINSTANCE.getEnterpriseBean_LocalInterface()) || ref.equals(EjbPackage.eINSTANCE.getEnterpriseBean_LocalHomeInterface()) || ref.equals(EjbPackage.eINSTANCE.getEnterpriseBean_SecurityRoleRefs())))
- continue;
- if (ref.isContainment())
- populateContainmentReference(eObject, ref);
- else
- populateSharedReference(eObject, ref);
- }
- }
-
- protected void populateSharedReference(EObject eObject, EReference ref) {
- if (ref.getEType() == JavaRefPackage.eINSTANCE.getJavaClass())
- setReferenceValue(eObject, ref, EMFAttributeFeatureGenerator.createJavaClassProxy(ref,eObject));
- else {
- EPackage pkg = ref.getEType().getEPackage();
- //if (pkg == eObject.eClass().getEPackage() || pkg == CommonPackage.eINSTANCE) {
- if (eObject.eClass().getName().equals("EAnnotation") || eObject.eClass().getName().equals("EAnnotationImpl") || !J2EEVersionCheck.checkReferenceVersion(ref, version, moduleType))
- return;
- if (deferedReferences == null)
- deferedReferences = new ArrayList();
- deferedReferences.add(new DeferredSharedReferenceAction(eObject, ref));
- //}
- }
- }
-
- protected void populateContainmentReference(EObject eObject, EReference ref) {
- for (int i = 0; i < getDepthForAttribute(ref); i++) {
- EObject instance = createInstance(ref,eObject);
- if (instance == null)
- return;
- if (!J2EEVersionCheck.checkReferenceVersion(ref, version, moduleType))
- continue;
- setReferenceValue(eObject, ref, instance);
- if (((InternalEObject) instance).eIsProxy())
- return;
- if (ref.getEType() == eObject.eClass())
- populateAttributes(instance);
- else
- populateFeatures(instance);
- }
- }
-
- protected void setReferenceValue(EObject eObject, EStructuralFeature ref, Object value) {
- if (ref.getName().equals("EAnnotation") || ref.getName().equals("EAnnotationImpl") || !J2EEVersionCheck.checkReferenceVersion(ref, version, moduleType))
- return;
- if (ref.isMany()) {
- List list = (List) eObject.eGet(ref);
- if (value instanceof Collection)
- list.addAll((Collection) value);
- else
- list.add(value);
- } else {
- eObject.eSet(ref, value);
- }
- }
-
- public EObject createInstance(EReference ref, EObject eObject) {
- if (ref.getEType() == JavaRefPackage.eINSTANCE.getJavaClass())
- return EMFAttributeFeatureGenerator.createJavaClassProxy(ref, eObject);
- return ref.getEType().getEPackage().getEFactoryInstance().create((EClass)ref.getEType());
- }
-
- protected void populateAttributes(EObject eObject) {
- if (eObject.eClass() == CommonPackage.eINSTANCE.getQName()) {
- populateAttributesQName(eObject);
- return;
- }
- List attributes = eObject.eClass().getEAllAttributes();
- for (int i = 0; i < attributes.size(); i++) {
- EAttribute att = (EAttribute) attributes.get(i);
- if (eObject instanceof EJBLocalRef && (att.equals(CommonPackage.eINSTANCE.getEjbRef_Home()) || att.equals(CommonPackage.eINSTANCE.getEjbRef_Remote())))
- continue;
- primPopulateAttrbute(eObject, att);
- }
- }
-
- private void primPopulateAttrbute(EObject eObject, EAttribute att) {
- if (att.isChangeable() && J2EEVersionCheck.checkAttributeVersion(att, version, moduleType)) {
- for (int j = 0 ; j < getDepthForAttribute(att);j++){
- Object value = createAttributeValue(att, eObject);
- setReferenceValue(eObject,att,value);
- }
- }
- }
-
-
-
- /**
- * @param eObject
- */
- private void populateAttributesQName(EObject eObject) {
- String prefix = (String)createAttributeValue(CommonPackage.eINSTANCE.getQName_InternalPrefixOrNsURI(), eObject);
- String localPart = (String)createAttributeValue(CommonPackage.eINSTANCE.getQName_LocalPart(), eObject);
- ((QName)eObject).setValues(prefix, "http://www.ibm.com", localPart);
- }
-
- protected Object createAttributeValue(EAttribute att, EObject eObject) {
- if (att.getEType() == JavaRefPackage.eINSTANCE.getJavaClass()) {
- return EMFAttributeFeatureGenerator.createJavaClassProxy(att,eObject).getClass();
- } else if (att == CommonPackage.eINSTANCE.getResourceRef_Auth())
- return createResAuth(att, eObject);
- else if (att == EjbPackage.eINSTANCE.getMethodElement_Type())
- return createMethodElementType(att, eObject);
- else
- return primCreateAttributeValue(att, eObject);
- //return EMFAttributeFeatureGenerator.createAttribute(att);
- }
-
- protected Object primCreateAttributeValue(EAttribute att, EObject eObject) {
- return EMFAttributeFeatureGenerator.createAttribute(att, eObject, true, version, moduleType);
- }
-
- // Old Compare method....now using DOMComparator...remove once stable
- public void compareContents(String file1, String file2) throws Exception {
- try {
- int lineno = 1;
- BufferedReader reader1 = new BufferedReader(new InputStreamReader(getFileInputStream(file1)));
- BufferedReader reader2 = new BufferedReader(new InputStreamReader(getFileInputStream(file2)));
- String line1 = "", line2 = "";
- while (reader1.ready() && reader2.ready()) {
- line1 = reader1.readLine();
- line2 = reader2.readLine();
- if (line1 == null && line2 == null && lineno != 0)
- return;
- if (!line1.equals(line2)) {
- String message = "Error at line #: " + lineno + '\n' + line1 + '\n' + line2 + '\n';
- assertTrue(message, false);
- break; // added to escape compare
- }
- lineno++;
- }
- assertTrue("The files have a different number of lines:" + lineno + '\n' + line1 + '\n' + line2 + '\n', (!reader1.ready() && !reader2.ready()));
- } catch (IOException ex) {
- assertTrue("IO failed", false);
- }
- }
- public void compareContentsIgnoreWhitespace(String file1, String file2, String identifier) throws Exception {
-
- LineNumberReader reader1 = new LineNumberReader(new InputStreamReader(getFileInputStream(file1)));
- LineNumberReader reader2 = new LineNumberReader(new InputStreamReader(getFileInputStream(file2)));
- compareContentsIgnoreWhitespace(reader1, reader2, identifier);
-
- }
-
- public void compareContentsIgnoreWhitespace(LineNumberReader reader1, LineNumberReader reader2, String identifier) throws Exception {
- List errors = new ArrayList();
- String msg = null;
- while (reader1.ready() || reader2.ready()) {
- String line1 = "", line2 = "";
- while (reader1.ready() && line1 != null && line1.equals("")) {
- line1 = reader1.readLine();
- if (line1 != null)
- line1 = line1.trim();
- }
- while (reader2.ready() && line2 != null && line2.equals("")) {
- line2 = reader2.readLine();
- if (line2 != null)
- line2 = line2.trim();
- }
- if (line1 != null && line2 != null && !isEquivalentLines(line1, line2)) {
- StringBuffer buff = new StringBuffer();
- buff.append("------------------------------ ");
- buff.append("\nSource line #: ");
- buff.append(reader1.getLineNumber());
- buff.append('\n');
- buff.append(line1);
- buff.append("\nDestination line #: ");
- buff.append(reader2.getLineNumber());
- buff.append('\n');
- buff.append(line2);
- System.out.println(buff.toString());
- errors.add(buff);
- break;
- }
- }
- if (!errors.isEmpty())
- assertTrue("Errors Found, Check Console.", false);
- }
-
- public boolean lineEquals(String line1, String line2) {
- return line1 != null && line1.equals(line2);
- }
-
- public boolean isEquivalentLines(String line1, String line2) {
- if (lineEquals(line1, line2))
- return true;
-
- String equiv = (String) getEquivalentLines().get(line1);
- if (equiv == null){
- equiv = (String)getEquivalentLines().get(line2);
- if (equiv != null)
- return equiv.equals(line1);
- }
- return equiv != null && equiv.equals(line2);
- }
- public Map getEquivalentLines() {
- if (equivalentLines == null)
- equivalentLines = new HashMap();
- return equivalentLines;
- }
-
- public void setEquivalentLines(Map equivalentLines) {
- this.equivalentLines = equivalentLines;
- }
- /*
- public void compareContents(String file1, String file2) throws Exception {
- InputStream is1, is2;
- is1 = getFileInputStream(file1);
- is2 = getFileInputStream(file2);
- InputSource input1 = new InputSource(is1);
- InputSource input2 = new InputSource(is2);
- try {
- String results;
- if(ignoreAtt == null)
- results = DomComparitor.compareDoms(input1, input2);
- else
- results = DomComparitor.compareDoms(input1, input2, ignoreAtt);
- if (results != null) {
- assertTrue("Unequal doms compared as equal " + file1 + " " + file2 + "Details: " + results, false);
- }
- } finally {
- try {
- is1.close();
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
- try {
- is2.close();
- } catch (Exception e) {
- Assert.fail(e.getMessage());
- }
- }
- }
- */
- public InputStream getFileInputStream(String path) throws FileNotFoundException {
- return new FileInputStream(path);
- }
-
- public InputStream getResourceAsStream(String fileName) {
- InputStream in = null;
- ClassLoader loader = getClass().getClassLoader();
- if (loader == null) {
- in = ClassLoader.getSystemResourceAsStream(fileName);
- } else {
- in = loader.getResourceAsStream(fileName);
- }
- assertTrue("Unable to find resource: " + fileName, in != null);
- return in;
- }
-
- public void setGeneralDepth(int depth) {
- GeneralEMFPopulationTest.genDepth = depth;
- }
-
- public void setModuleType(int type) {
- moduleType = type;
- }
-
- public void setVersion(int version) {
- this.version = version;
- }
-
- public int getDepthForAttribute(EStructuralFeature feature) {
- if (feature.isMany())
- return genDepth;
- else
- return 1;
- }
-
- public Object getSharedObjectByType(EObject owner, EReference ref) {
- sharedValue = TestUtilities.getObjectByType(owner.eResource(), ref.getEType(), ref.isMany());
- return sharedValue;
- }
-
- /**
- * @param set
- */
- public static void setIgnoreAtt(HashSet set) {
- ignoreAtt = set;
- }
-
-
-
- protected Object createResAuth(EAttribute att, EObject eObject) {
- Object auth = null;
- do {
- auth = primCreateAttributeValue(att, eObject);
- } while (!isValidAuth((ResAuthTypeBase)auth));
- return auth;
- }
-
- /**
- * Web will need to override for J2EE 1.2/1/3
- * @param auth
- * @return
- */
- protected boolean isValidAuth(ResAuthTypeBase auth) {
- return auth == ResAuthTypeBase.APPLICATION_LITERAL || auth == ResAuthTypeBase.CONTAINER_LITERAL;
- }
-
- protected Object createMethodElementType(EAttribute att, EObject eObject) {
- Object type = null;
- do {
- type = primCreateAttributeValue(att, eObject);
- } while (!isValidMethodElementType((MethodElementKind)type));
- return type;
- }
-
- /**
- * Web will need to override for J2EE 1.2/1/3
- * @param auth
- * @return
- */
- protected boolean isValidMethodElementType(MethodElementKind type) {
- if (version == VERSION_1_4)
- return true;
- return version != VERSION_1_4 && type != MethodElementKind.SERVICE_ENDPOINT_LITERAL;
- }
-
- /* (non-Javadoc)
- * @see junit.framework.TestCase#tearDown()
- */
- protected void tearDown() throws Exception {
- try {
- String out = AutomatedBVT.baseDirectory + "testOutput/";
- File del = new File(out);
- deleteDirectory(del);
- del.delete();
- out = AutomatedBVT.baseDirectory + "../testData/testOutput/";
- del = new File(out);
- deleteDirectory(del);
- del.delete();
- }
- catch (Exception e){
- e.printStackTrace();
- }
- super.tearDown();
- }
-
- protected void deleteDirectory(File directory)
- throws IOException
- {
- if (directory.exists()){
- File[] delFiles = directory.listFiles();
-
- for(int i=0; i<delFiles.length; ++i)
- {
- if(delFiles[i].isDirectory())
- deleteDirectory(delFiles[i]);
- delFiles[i].delete();
- }
- }
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/RarEMFEditTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/RarEMFEditTest.java
deleted file mode 100644
index 58a6ce0a..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/RarEMFEditTest.java
+++ /dev/null
@@ -1,88 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashSet;
-
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.RARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.jca.ConnectorResource;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-public class RarEMFEditTest extends GeneralEMFEditingTest {
- RARFile rarFile;
-
- public RarEMFEditTest(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.RarEMFEditTest", "-noloading" };
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new RarEMFEditTest("testRAREdit"));
- return suite;
- }
-
- public void testRAREdit() throws Exception {
- getRar();
- assertEquals("1.0", rarFile.getDeploymentDescriptor().getSpecVersion());
-
- ConnectorResource DD = (ConnectorResource) rarFile.getDeploymentDescriptorResource();
- setVersion(VERSION_1_3);
- setModuleType(CONNECTOR);
- editRoot(DD.getRootObject());
- String curDir = AutomatedBVT.baseDirectory;
-
- String out = curDir + "testOutput/EMFModelCreationTests/EditRarEAR";
- rarFile.extractTo(out, Archive.EXPAND_ALL);
- rarFile.close();
-
- //Compare work in progress
-
- String exampleDeploymentDesURI = curDir + "EMFTests/ra.xml";
- String curDeploymentDesURI = curDir + out + "/fooRAR/META-INF/ra.xml";
- //compareContents(curDeploymentDesURI, exampleDeploymentDesURI);
- }
-
- public void getRar() throws DuplicateObjectException, OpenFailureException {
- String in = AutomatedBVT.baseDirectory + "loose_module_workspace/LooseConnector/fooRAR/";
- rarFile = getArchiveFactory().openRARFile(in);
- assertTrue(rarFile.getDeploymentDescriptor() != null);
- }
- public HashSet ignorableAttributes(){
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/RarEMFTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/RarEMFTest.java
deleted file mode 100644
index 78dbbff2..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/RarEMFTest.java
+++ /dev/null
@@ -1,158 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashSet;
-
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.RARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.jca.ConnectorResource;
-import org.eclipse.jst.j2ee.jca.JcaPackage;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-public class RarEMFTest extends GeneralEMFPopulationTest {
- EARFile earFile;
- protected RARFile rarFile;
-
- public RarEMFTest(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.RarEMFTest", "-noloading" };
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new RarEMFTest("testRARPopulation"));
- suite.addTest(new RarEMFTest("test14RARPopulation"));
- return suite;
- }
-
- public void testRARPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createRAR();
-
- ConnectorResource DD = (ConnectorResource) rarFile.getDeploymentDescriptorResource();
- //TODO: individual test for each version
- DD.setVersionID(J2EEVersionConstants.J2EE_1_3_ID);
- setVersion(VERSION_1_3);
- setModuleType(CONNECTOR);
- populateRoot(DD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory + "testOutput/TestRarEAR";
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- //Compare work in progress
- String curDir = AutomatedBVT.baseDirectory;
- String exampleDeploymentDesURI = curDir + "EMFTestNoID/ra.xml";
- String curDeploymentDesURI = curDir + "testOutput/TestRarEAR/fooRAR/META-INF/ra.xml";
- setIgnoreAtt(ignorableAttributes());
- compareContentsIgnoreWhitespace(curDeploymentDesURI, exampleDeploymentDesURI, null);
- }
- public void test14RARPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createRAR();
-
- ConnectorResource DD = (ConnectorResource) rarFile.getDeploymentDescriptorResource();
- //TODO: individual test for each version
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- setModuleType(CONNECTOR);
- populateRoot(DD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory + "testOutput/Test14RarEAR";
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- getRar();
- assertTrue("1.5".equals(rarFile.getDeploymentDescriptor().getSpecVersion()));
- out = AutomatedBVT.baseDirectory + "testOutput/Test14RarEAR2";
- rarFile.extractTo(out, Archive.EXPAND_ALL);
- rarFile.close();
-
- //Compare work in progress
- String curDir = AutomatedBVT.baseDirectory;
- String exampleDeploymentDesURI = curDir + "testOutput/Test14RarEAR2/META-INF/ra.xml";
- String curDeploymentDesURI = curDir + "testOutput/Test14RarEAR/fooRAR/META-INF/ra.xml";
- setIgnoreAtt(ignorableAttributes());
- compareContentsIgnoreWhitespace(curDeploymentDesURI, exampleDeploymentDesURI, null);
- }
-
- public void getRar() throws DuplicateObjectException, OpenFailureException {
- String in = AutomatedBVT.baseDirectory + "testOutput/Test14RarEAR/fooRAR";
- rarFile = getArchiveFactory().openRARFile(in);
- assertTrue(rarFile.getDeploymentDescriptor() != null);
- }
-
- public void createRAR() throws DuplicateObjectException {
- rarFile = getArchiveFactory().createRARFileInitialized("fooRAR");
- rarFile = (RARFile) earFile.addCopy(rarFile);
- rarFile.getDeploymentDescriptor().setDisplayName("fooRAR");
- assertTrue(rarFile.getDeploymentDescriptor() != null);
- }
-
- public void createEAR() {
- String earName = "Test.ear";
- earFile = getArchiveFactory().createEARFileInitialized(earName);
- assertTrue(earFile.getDeploymentDescriptor() != null);
- }
-
- public HashSet ignorableAttributes() {
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-
- /* (non-Javadoc)
- * @see com.ibm.etools.archive.emftest.GeneralEMFPopulationTest#createAttributeValue(org.eclipse.emf.ecore.EAttribute)
- */
- protected Object createAttributeValue(EAttribute att, EObject eObject) {
- //TODO: delete this after the model is fixed
- if (att == JcaPackage.eINSTANCE.getConfigProperty_Type())
- return "java.lang.String";
- else if (att == JcaPackage.eINSTANCE.getAuthenticationMechanism_CredentialInterface())
- return "javax.resource.spi.security.PasswordCredential";
- else if (att == JcaPackage.eINSTANCE.getConnector_SpecVersion() && version == VERSION_1_3)
- return "1.0";
- else
- return super.createAttributeValue(att, eObject);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/ResolverTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/ResolverTest.java
deleted file mode 100644
index ec50dcf9..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/ResolverTest.java
+++ /dev/null
@@ -1,290 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashSet;
-import java.util.List;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EClassifier;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.SecurityIdentity;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.CMPAttribute;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.RoleSource;
-import org.eclipse.jst.j2ee.ejb.internal.impl.MethodPermissionImpl;
-import org.eclipse.jst.j2ee.ejb.internal.impl.QueryMethodImpl;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.wst.common.internal.emf.resource.RendererFactory;
-
-
-public class ResolverTest extends GeneralEMFEditingTest {
-
- protected static final String _META_INF_EJB_JAR_XML = "/META-INF/ejb-jar.xml";
-
- protected static final EjbPackage EJB_PKG = EjbPackage.eINSTANCE;
-
- EARFile earFile;
-
- EJBJarFile ejbFile;
-
- EObject mesBean, entityBean;
-
- SecurityIdentity secID;
-
- RoleSource roleSource;
-
- int NUM_BEANS = 10;
-
- final int NUM_RELATION_ROLES = 2;
-
- int createdBeans = 0;
-
- int createdSecRoles = 0;
-
- protected int createdSecurityIdentities = 0;
-
- boolean mpFlag = false;
-
- public ResolverTest(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public static void main(java.lang.String[] args) {
- junit.textui.TestRunner.main(new String[] { ResolverTest.class.getName()});
- }
-
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- /*suite.addTest(new AllSAXTests("testSwitchRenderer"));*/
- suite.addTest(new ResolverTest("testResolver"));
- suite.addTest(new ResolverTest("testResolverNoSchemaLocation"));
- return suite;
- }
-
- public void testResolver() throws Exception {
- String in = AutomatedBVT.baseDirectory + "../testData/sl";
- getEJB(in);
-
- assertEquals("2.1", ejbFile.getDeploymentDescriptor().getVersion());
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- setVersion(VERSION_1_4);
- setModuleType(EJB);
-
- String out = AutomatedBVT.baseDirectory + "../testData/testOutput/sl";
- ejbFile.extractTo(out, Archive.EXPAND_ALL);
- ejbFile.close();
-
- String exampleDeploymentDesURI = in + _META_INF_EJB_JAR_XML;
- String curDeploymentDesURI = out + _META_INF_EJB_JAR_XML;
- compareContents(curDeploymentDesURI, exampleDeploymentDesURI);
- }
-
- public void testResolverNoSchemaLocation() throws Exception {
-
- boolean validating = RendererFactory.getDefaultRendererFactory().isValidating();
- try {
- RendererFactory.getDefaultRendererFactory().setValidating(false);
-
- String in = AutomatedBVT.baseDirectory + "../testData/no-sl";
- getEJB(in);
-
- assertEquals("2.1", ejbFile.getDeploymentDescriptor().getVersion());
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- setVersion(VERSION_1_4);
- setModuleType(EJB);
-
- String out = AutomatedBVT.baseDirectory + "../testData/testOutput/no-sl";
- ejbFile.extractTo(out, Archive.EXPAND_ALL);
- ejbFile.close();
-
- String exampleDeploymentDesURI = in + _META_INF_EJB_JAR_XML;
- String curDeploymentDesURI = out + _META_INF_EJB_JAR_XML;
- compareContents(curDeploymentDesURI, exampleDeploymentDesURI);
- } catch (RuntimeException re) {
- re.printStackTrace();
- } finally {
- RendererFactory.getDefaultRendererFactory().setValidating(validating);
- }
- }
-
- public void getEJB(String in) throws DuplicateObjectException, OpenFailureException {
- ejbFile = getArchiveFactory().openEJBJarFile(in);
- assertTrue(ejbFile.getDeploymentDescriptor() != null);
- }
-
- public EObject createInstance(EClass eClassifier) {
- if (eClassifier.getName().equals("EnterpriseBean")) {
- createdBeans++;
- switch (createdBeans) {
- case (3):
- return createContainerManagedEntityInstance(eClassifier);
- case (7):
- return createMessageBeanInstance(eClassifier);
- case (4):
- case (8):
- return createSessionBeanInstance(eClassifier);
- default:
- return createEntityBeanInstance(eClassifier);
- }
- } else if (eClassifier.getName().equals("SecurityIdentity"))
- return createSecurityIdentitiyInstance(eClassifier);
- else if (eClassifier.getName().equals("RoleSource"))
- return createRoleSourceInstance(eClassifier);
- else if (eClassifier == EcorePackage.eINSTANCE.getEAttribute()) return getEjbFactory().createCMPAttribute();
- return super.createInstance(eClassifier);
- }
-
- private EObject createSecurityIdentitiyInstance(EClass eClassifier) {
- /* Alternate types */
- createdSecRoles++;
- if ((createdSecRoles & 1) == 0)
- return CommonFactory.eINSTANCE.createUseCallerIdentity();
- else
- return CommonFactory.eINSTANCE.createRunAsSpecifiedIdentity();
- }
-
- private EObject createRoleSourceInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createRoleSource();
- }
-
- private EObject createMessageBeanInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createMessageDriven();
- }
-
- private EObject createSessionBeanInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createSession();
- }
-
- private EObject createEntityBeanInstance(EClass eClassifier) {
- return ((EjbFactory) eClassifier.getEPackage().getEFactoryInstance()).createEntity();
- }
-
- private EObject createContainerManagedEntityInstance(EClass eClassifier) {
- return EjbFactory.eINSTANCE.createContainerManagedEntity();
- }
-
- /**
- * @see org.eclipse.jst.j2ee.archive.test.GeneralEMFTest#getDepthForAttribute(EReference)
- */
- public int getDepthForAttribute(EReference ref) {
- if (ref.getName().equals("enterpriseBeans"))
- return NUM_BEANS;
- else if (ref.getName().equals("entityBeans"))
- return NUM_BEANS;
- else if (ref.getName().equals("relationshipRoles")) return NUM_RELATION_ROLES;
- return super.getDepthForAttribute(ref);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.archive.emftest.GeneralEMFPopulationTest#populateFeatures(org.eclipse.emf.ecore.EObject)
- */
- public void populateFeatures(EObject eObject) {
- if (eObject.eClass() == EJB_PKG.getCMPAttribute()) {
- ((CMPAttribute) eObject).setName((String) EMFAttributeFeatureGenerator.createAttribute(
- EcorePackage.eINSTANCE.getENamedElement_Name(), eObject));
- ((CMPAttribute) eObject).setEType((EClassifier) createJavaClassProxy(null));
- } else
- super.editFeatures(eObject);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.archive.emftest.GeneralEMFPopulationTest#populateAttributes(org.eclipse.emf.ecore.EObject)
- */
- protected void populateAttributes(EObject eObject) {
- if (eObject instanceof QueryMethodImpl) {
- List attributes = eObject.eClass().getEAllAttributes();
- for (int i = 0; i < attributes.size(); i++) {
- EAttribute att = (EAttribute) attributes.get(i);
- Object value = createAttributeValue(att, eObject);
- if (att.getName().equals("parms") && value == null) {
- value = createAttributeValue(att, eObject);
- }
- if (att.isChangeable()) eObject.eSet(att, value);
- }
- } else if (eObject instanceof MethodPermissionImpl) {
- List attributes = eObject.eClass().getEAllAttributes();
- for (int i = 0; i < attributes.size(); i++) {
- EAttribute att = (EAttribute) attributes.get(i);
- if (att.getName().equals("unchecked") && mpFlag) {
- continue;
- }
-
- Object value = createAttributeValue(att, eObject);
- if (att.isChangeable()) eObject.eSet(att, value);
- }
- mpFlag = !mpFlag;
- } else
- super.editAttributes(eObject);
- }
-
- protected void populateSharedReference(EObject eObject, EReference ref) {
- if (eObject instanceof MethodPermissionImpl && ref.getName().equals("roles")) {
- mpFlag = !mpFlag;
- //if method permission unchecked ignore roles
- if (!mpFlag) { return; }
- }
- super.populateSharedReference(eObject, ref);
- }
-
- public HashSet ignorableAttributes() {
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see junit.framework.TestCase#tearDown()
- */
- protected void tearDown() throws Exception {
- earFile = null;
- ejbFile = null;
- mesBean = null;
- entityBean = null;
- secID = null;
- roleSource = null;
-
- super.tearDown();
- }
-
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WarEMFEditTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WarEMFEditTest.java
deleted file mode 100644
index 563e38f2..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WarEMFEditTest.java
+++ /dev/null
@@ -1,163 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashSet;
-import java.util.List;
-
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.webapplication.ErrorPage;
-import org.eclipse.jst.j2ee.webapplication.WebAppResource;
-import org.eclipse.jst.j2ee.webapplication.WebType;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.webapplication.internal.impl.FilterMappingImpl;
-
-
-public class WarEMFEditTest extends GeneralEMFEditingTest {
- protected EARFile earFile;
- protected WARFile warFile;
- protected int createdWebTypes = 0;
- protected int createdErrorPages = 0;
- protected boolean fmFlag = false;
-
- public WarEMFEditTest(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.WarEMFTest", "-noloading" };
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new WarEMFEditTest("testWAREdit"));
- return suite;
- }
-
- public void testWAREdit() throws Exception {
- getWARClient();
-
- WebAppResource DD = (WebAppResource) warFile.getDeploymentDescriptorResource();
- setVersion(VERSION_1_3);
- setModuleType(WEB);
- editRoot(DD.getRootObject());
- String curDir = AutomatedBVT.baseDirectory;
- String out = curDir + "testOutput/EMFModelCreationTests/EditWarEAR";
- warFile.extractTo(out, Archive.EXPAND_ALL);
- warFile.close();
-
- //Compare work in progress
-
- String exampleDeploymentDesURI = curDir + "EMFTests/web.xml";
- String curDeploymentDesURI = curDir + out + "/fooWAR/WEB-INF/web.xml";
- //compareContents(curDeploymentDesURI, exampleDeploymentDesURI);
- }
-
- public void getWARClient() throws DuplicateObjectException, OpenFailureException {
- String in = AutomatedBVT.baseDirectory + "loose_module_workspace/LooseEARWeb/webApplication/";
- warFile = getArchiveFactory().openWARFile(in);
- assertTrue(warFile.getDeploymentDescriptor() != null);
- }
- public EObject createInstance(EClass eClassifier) {
-
- if (WebapplicationPackage.eINSTANCE.getWebType().equals(eClassifier))
- return createWebType();
- else if (WebapplicationPackage.eINSTANCE.getErrorPage().equals(eClassifier))
- return createErrorPage();
-
- return super.createInstance(eClassifier);
- }
- /* The web type is abstract. Alternate between servlet-class
- * and jsp-file
- */
- public WebType createWebType() {
- createdWebTypes++;
- if ((createdWebTypes & 1) == 0)
- return WebapplicationFactory.eINSTANCE.createServletType();
- else
- return WebapplicationFactory.eINSTANCE.createJSPType();
-
- }
- /* The error page is abstract. Alternate between exceptiontype
- * and error code
- */
- public ErrorPage createErrorPage() {
- createdErrorPages++;
- if ((createdErrorPages & 1) == 0)
- return WebapplicationFactory.eINSTANCE.createErrorCodeErrorPage();
- else
- return WebapplicationFactory.eINSTANCE.createExceptionTypeErrorPage();
- }
- /* (non-Javadoc)
- * @see com.ibm.etools.archive.emftest.GeneralEMFPopulationTest#populateAttributes(org.eclipse.emf.ecore.EObject)
- */
- protected void populateAttributes(EObject eObject) {
- if (eObject instanceof FilterMappingImpl){
- List attributes = eObject.eClass().getEAllAttributes();
- for (int i = 0; i < attributes.size(); i++) {
- EAttribute att = (EAttribute) attributes.get(i);
- if(att.getName().equals("urlPattern") && fmFlag){
- continue;
- }
-
- Object value = createAttributeValue(att, eObject);
- if (att.isChangeable())
- eObject.eSet(att, value);
- }
- fmFlag = !fmFlag;
- }
- else
- super.editAttributes(eObject);
- }
-
-
- protected void populateSharedReference(EObject eObject, EReference ref) {
- if(eObject instanceof FilterMappingImpl && ref.getName().equals("servlet")){
- fmFlag = !fmFlag;
- //if method permission unchecked ignore roles
- if(!fmFlag){
- return;
- }
- }
- super.populateSharedReference(eObject, ref);
- }
-
- public HashSet ignorableAttributes(){
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WarEMFTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WarEMFTest.java
deleted file mode 100644
index f15cbae7..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WarEMFTest.java
+++ /dev/null
@@ -1,234 +0,0 @@
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.common.ResAuthTypeBase;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.webapplication.ErrorPage;
-import org.eclipse.jst.j2ee.webapplication.WebAppResource;
-import org.eclipse.jst.j2ee.webapplication.WebType;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.webapplication.internal.impl.FilterMappingImpl;
-
-
-public class WarEMFTest extends GeneralEMFPopulationTest {
- protected EARFile earFile;
- protected WARFile warFile;
- protected int createdWebTypes = 0;
- protected int createdErrorPages = 0;
- protected boolean fmFlag = false;
- public WarEMFTest(String name) {
- super(name);
- }
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public static void main(java.lang.String[] args) {
-
- junit.textui.TestRunner.main(new String[]{ WarEMFTest.class.getName() });
- }
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new WarEMFTest("testWARPopulation"));
- suite.addTest(new WarEMFTest("test14WARPopulation"));
- return suite;
- }
-
- public void testWARPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createWARClient();
-
- WebAppResource DD = (WebAppResource) warFile.getDeploymentDescriptorResource();
- DD.setVersionID(J2EEVersionConstants.J2EE_1_3_ID);
- //TODO: individual test for each version
- setVersion(VERSION_1_3);
- setModuleType(WEB);
- populateRoot(DD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory +"testOutput/TestWarEAR";
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- //Compare work in progress
- String curDir = AutomatedBVT.baseDirectory;
- String exampleDeploymentDesURI = curDir + "EMFTestNoID/web.xml";
- String curDeploymentDesURI = curDir + "testOutput/TestWarEAR/fooWAR/WEB-INF/web.xml";
- setIgnoreAtt(ignorableAttributes());
- setEquivalentLines(getEquivalentLinesMap());
- compareContentsIgnoreWhitespace(curDeploymentDesURI, exampleDeploymentDesURI, null);
- }
-
- public void test14WARPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createWARClient();
-
- WebAppResource DD = (WebAppResource) warFile.getDeploymentDescriptorResource();
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- //TODO: individual test for each version
- setVersion(VERSION_1_4);
- setModuleType(WEB);
- //setGeneralDepth(2);
- populateRoot(DD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory +"testOutput/TestWarEAR14";
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- getWARClient();
- assertEquals("2.4", warFile.getDeploymentDescriptor().getVersion());
- out = AutomatedBVT.baseDirectory +"testOutput/TestWarEAR14_2";
- warFile.extractTo(out, Archive.EXPAND_ALL);
- warFile.close();
-
- //Compare work in progress
- String curDir = AutomatedBVT.baseDirectory;
- String exampleDeploymentDesURI = out + "/WEB-INF/web.xml";
- String curDeploymentDesURI = curDir + "testOutput/TestWarEAR14/fooWAR/WEB-INF/web.xml";
- setIgnoreAtt(ignorableAttributes());
- compareContentsIgnoreWhitespace(curDeploymentDesURI, exampleDeploymentDesURI, null);
- }
-
- /**
- * @return
- */
- private Map getEquivalentLinesMap() {
- Map lines = new HashMap();
- lines.put("<distributable></distributable>", "<distributable/>");
- return lines;
- }
-
- public void createWARClient() throws DuplicateObjectException {
- warFile = getArchiveFactory().createWARFileInitialized("fooWAR");
- warFile = (WARFile) earFile.addCopy(warFile);
- warFile.getDeploymentDescriptor().setDisplayName("fooWAR");
- assertTrue(warFile.getDeploymentDescriptor() != null);
- }
-
- public void createEAR() {
- String earName = "Test.ear";
- earFile = getArchiveFactory().createEARFileInitialized(earName);
- assertTrue(earFile.getDeploymentDescriptor() != null);
- }
-
- public void getWARClient() throws DuplicateObjectException, OpenFailureException {
- String in = AutomatedBVT.baseDirectory + "testOutput/TestWarEAR14/fooWAR";
- warFile = getArchiveFactory().openWARFile(in);
- assertTrue(warFile.getDeploymentDescriptor() != null);
- }
-
- public EObject createInstance(EReference ref,EObject eObject) {
-
- if (WebapplicationPackage.eINSTANCE.getWebType().equals(ref.getEType()))
- return createWebType();
- else if (WebapplicationPackage.eINSTANCE.getErrorPage().equals(ref.getEType()))
- return createErrorPage();
-
- return super.createInstance(ref, eObject);
- }
- /* The web type is abstract. Alternate between servlet-class
- * and jsp-file
- */
- public WebType createWebType() {
- createdWebTypes++;
- if ((createdWebTypes & 1) == 0)
- return WebapplicationFactory.eINSTANCE.createServletType();
- else
- return WebapplicationFactory.eINSTANCE.createJSPType();
-
- }
- /* The error page is abstract. Alternate between exceptiontype
- * and error code
- */
- public ErrorPage createErrorPage() {
- createdErrorPages++;
- if ((createdErrorPages & 1) == 0)
- return WebapplicationFactory.eINSTANCE.createErrorCodeErrorPage();
- else
- return WebapplicationFactory.eINSTANCE.createExceptionTypeErrorPage();
- }
- /* (non-Javadoc)
- * @see com.ibm.etools.archive.emftest.GeneralEMFPopulationTest#populateAttributes(org.eclipse.emf.ecore.EObject)
- */
- protected void populateAttributes(EObject eObject) {
- if (eObject instanceof FilterMappingImpl){
- List attributes = eObject.eClass().getEAllAttributes();
- for (int i = 0; i < attributes.size(); i++) {
- EAttribute att = (EAttribute) attributes.get(i);
- if(att.getName().equals("urlPattern") && fmFlag){
- continue;
- }
-
- Object value = createAttributeValue(att, eObject);
- if (att.isChangeable())
- eObject.eSet(att, value);
- }
- fmFlag = !fmFlag;
- }
- else
- super.populateAttributes(eObject);
- }
-
-
- protected void populateSharedReference(EObject eObject, EReference ref) {
- if(eObject instanceof FilterMappingImpl && ref.getName().equals("servlet")){
- fmFlag = !fmFlag;
- //if method permission unchecked ignore roles
- if(!fmFlag){
- return;
- }
- }
- super.populateSharedReference(eObject, ref);
- }
-
- public HashSet ignorableAttributes(){
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-
-
- protected boolean isValidAuth(ResAuthTypeBase auth) {
- if (version == VERSION_1_2)
- return auth == ResAuthTypeBase.SERVLET_LITERAL || auth == ResAuthTypeBase.CONTAINER_LITERAL;
- else
- return super.isValidAuth(auth);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WebServicesEMFTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WebServicesEMFTest.java
deleted file mode 100644
index 95186770..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/emftests/WebServicesEMFTest.java
+++ /dev/null
@@ -1,222 +0,0 @@
-/*
- * Created on Aug 6, 2003
- *
- * To change the template for this generated file go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.archive.emftests;
-
-import java.util.HashSet;
-
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEResourceFactoryRegistry;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.webservice.jaxrpcmap.InterfaceMapping;
-import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JavaWSDLMapping;
-import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapFactory;
-import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapPackage;
-import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapResource;
-import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapResourceFactory;
-import org.eclipse.jst.j2ee.webservice.wsclient.WebServicesResource;
-import org.eclipse.jst.j2ee.webservice.wsdd.WsddFactory;
-import org.eclipse.jst.j2ee.webservice.wsdd.WsddResource;
-import org.eclipse.wst.common.internal.emf.resource.RendererFactory;
-
-
-/**
- * @author dfholttp
- *
- * To change the template for this generated type comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class WebServicesEMFTest extends GeneralEMFPopulationTest {
- EARFile earFile;
- EJBJarFile ejbFile;
- int currentVersion = J2EEVersionConstants.J2EE_1_3_ID;
- private int createdInterfaceMaps = 0;
-
- public WebServicesEMFTest(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
-
- public EjbFactory getEjbFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public ApplicationFactory getApplicationFactory() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
- public WebapplicationFactory getWebAppFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
- public EObject createInstance(EReference ref,EObject eObject) {
-
- if (JaxrpcmapPackage.eINSTANCE.getInterfaceMapping().equals(ref.getEType()))
- return createInterfaceMap();
-
- return super.createInstance(ref, eObject);
- }
- /* The web type is abstract. Alternate between servlet-class
- * and jsp-file
- */
- public InterfaceMapping createInterfaceMap() {
- createdInterfaceMaps++;
- if ((createdInterfaceMaps & 1) == 0)
- return JaxrpcmapFactory.eINSTANCE.createServiceEndpointInterfaceMapping();
- else
- return JaxrpcmapFactory.eINSTANCE.createServiceEndpointInterfaceMapping();
-
- }
-
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.WebServicesEMFTest", "-noloading" };
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new WebServicesEMFTest("test13WebServicesClientPopulation"));
- suite.addTest(new WebServicesEMFTest("test13WebServicesDDPopulation"));
- suite.addTest(new WebServicesEMFTest("test14WebServicesDDPopulation"));
- suite.addTest(new WebServicesEMFTest("testJaxRPCMapPopulation"));
- return suite;
- }
-
- public void test13WebServicesClientPopulation() throws Exception {
- currentVersion = J2EEVersionConstants.J2EE_1_3_ID;
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createEJB();
-
-
- WebServicesResource webserDD = (WebServicesResource)ejbFile.getResourceSet().createResource(URI.createURI("META-INF/webservicesclient.xml"));
- //TODO: individual test for each version
- webserDD.setVersionID(currentVersion);
- setVersion(VERSION_1_3);
- populateRoot(webserDD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory +getProjectLocation();
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- }
- public void testJaxRPCMapPopulation() throws Exception {
- currentVersion = J2EEVersionConstants.J2EE_1_3_ID;
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createEJB();
- String mappingFilePathURI = "META-INF/testmap.xml";
- URI uri = URI.createURI(mappingFilePathURI);
- ResourceSet resSet = ejbFile.getResourceSet();
- J2EEResourceFactoryRegistry registry = (J2EEResourceFactoryRegistry) resSet.getResourceFactoryRegistry();
- registry.registerLastFileSegment(uri.lastSegment(), new JaxrpcmapResourceFactory(RendererFactory.getDefaultRendererFactory()));
- resSet = earFile.getResourceSet();
- registry = (J2EEResourceFactoryRegistry) resSet.getResourceFactoryRegistry();
- registry.registerLastFileSegment(uri.lastSegment(), new JaxrpcmapResourceFactory(RendererFactory.getDefaultRendererFactory()));
-
- JaxrpcmapResource jaxrpcmapRes = (JaxrpcmapResource) resSet.createResource(uri);
-
- jaxrpcmapRes.setVersionID(currentVersion);
- setVersion(VERSION_1_3);
-
- JavaWSDLMapping map = JaxrpcmapFactory.eINSTANCE.createJavaWSDLMapping();
- jaxrpcmapRes.getContents().add(map);
- populateRoot(jaxrpcmapRes.getRootObject());
-
- String out = AutomatedBVT.baseDirectory +getProjectLocation();
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- }
-
-
-
- public void test13WebServicesDDPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- currentVersion = J2EEVersionConstants.J2EE_1_3_ID;
- createEAR();
- createEJB();
-
- WsddResource webserDD = (WsddResource)ejbFile.getResourceSet().createResource(URI.createURI("META-INF/webservices.xml"));
- //TODO: individual test for each version
- webserDD.setVersionID(currentVersion);
- setVersion(VERSION_1_3);
- populateRoot(webserDD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory +getProjectLocation();
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- }
- public void test14WebServicesDDPopulation() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- currentVersion = J2EEVersionConstants.J2EE_1_4_ID;
- createEAR();
- createEJB();
-
- WsddResource webserDD = (WsddResource)ejbFile.getResourceSet().createResource(URI.createURI("META-INF/webservices.xml"));
- webserDD.getContents().add(WsddFactory.eINSTANCE.createWebServices());
- //TODO: individual test for each version
- webserDD.setVersionID(currentVersion);
- setVersion(VERSION_1_4);
- populateRoot(webserDD.getRootObject());
-
- String out = AutomatedBVT.baseDirectory +getProjectLocation();
- earFile.extractTo(out, Archive.EXPAND_ALL);
- earFile.close();
-
- }
- public String getProjectLocation() {
- if (currentVersion == J2EEVersionConstants.J2EE_1_3_ID)
- return "testOutput/TestWebServices";
- else
- return "testOutput/TestWebServices14";
- }
- public void getEJB() throws DuplicateObjectException, OpenFailureException {
- String in = AutomatedBVT.baseDirectory +getProjectLocation() +"/fooWebServices";
- ejbFile = getArchiveFactory().openEJBJarFile(in);
- assertTrue(ejbFile.getDeploymentDescriptor() != null);
- }
- public void createEJB() throws DuplicateObjectException {
- ejbFile = getArchiveFactory().createEJBJarFileInitialized("fooWebServices");
- ejbFile = (EJBJarFile) earFile.addCopy(ejbFile);
- ejbFile.getDeploymentDescriptor().setDisplayName("fooWebServices");
- assertTrue(ejbFile.getDeploymentDescriptor() != null);
- }
- public void createEAR() {
- String earName = "Test.ear";
- earFile = getArchiveFactory().createEARFileInitialized(earName);
- assertTrue(earFile.getDeploymentDescriptor() != null);
- }
-
- public HashSet ignorableAttributes(){
- HashSet set = new HashSet();
- set.add("id");
- return set;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AbstractArchiveTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AbstractArchiveTest.java
deleted file mode 100644
index 491a319d..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AbstractArchiveTest.java
+++ /dev/null
@@ -1,84 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
- /*
- * Licensed Material - Property of IBM
- * (C) Copyright IBM Corp. 2001 - All Rights Reserved.
- * US Government Users Restricted Rights - Use, duplication or disclosure
- * restricted by GSA ADP Schedule Contract with IBM Corp.
- */
-
-import java.util.Collection;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-/**
- * Insert the type's description here.
- * Creation date: (02/07/01 1:48:18 PM)
- * @author: Administrator
- */
-public class AbstractArchiveTest extends junit.framework.TestCase {
- private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
-/**
- * AbstractArchiveTest constructor comment.
- * @param name java.lang.String
- */
-public AbstractArchiveTest(String name) {
- super(name);
-}
-public Set getAllUnresolvedProxies(EObject root) {
- Set visited = new HashSet();
- Set proxies = new HashSet();
- getAllUnresolvedProxies(root, proxies, visited, root.eResource());
- return proxies;
-}
-public void getAllUnresolvedProxies(EObject object, Set proxies, Set visitedObjects, Resource originalResource) {
-
- if (visitedObjects.contains(object))
- return;
- else
- visitedObjects.add(object);
-
- if (object.eResource() != originalResource) {
- if (((org.eclipse.emf.ecore.InternalEObject )object).eIsProxy()) {
- proxies.add(object);
- }
- return;
- }
-
- List refs = object.eClass().getEAllReferences();
- if (refs != null) {
- Iterator ir = refs.iterator();
- while (ir.hasNext()) {
- EReference r = (EReference) ir.next();
- Object value = object.eGet(r);
- if (value == null)
- continue;
-
- if (r.isMany()) {
- Collection c = (Collection) value;
- Iterator ir2 = c.iterator();
- while (ir2.hasNext()) {
- EObject refObj = (EObject) ir2.next();
- getAllUnresolvedProxies(refObj, proxies, visitedObjects, originalResource);
- }
- } else
- getAllUnresolvedProxies((EObject) value, proxies, visitedObjects, originalResource);
- }
- }
-}
-public static CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
-}
-public void verifyProxies(EObject root) {
-
- Set proxies = getAllUnresolvedProxies(root);
- assertTrue("Some proxies could not be resolved", proxies.isEmpty());
-}
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AllArchiveTestsEclipse.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AllArchiveTestsEclipse.java
deleted file mode 100644
index 449fc6e1..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AllArchiveTestsEclipse.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Created on Apr 18, 2003
- *
- * To change the template for this generated file go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.archive.test;
-
-/**
- * @author jsholl
- *
- * To change the template for this generated type comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class AllArchiveTestsEclipse extends AllArchiveTestsJava {
-
- public AllArchiveTestsEclipse(String name) {
- super(name);
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AllArchiveTestsJava.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AllArchiveTestsJava.java
deleted file mode 100644
index 1a6c8eb8..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/AllArchiveTestsJava.java
+++ /dev/null
@@ -1,58 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
- /*
- * Licensed Material - Property of IBM
- * (C) Copyright IBM Corp. 2001 - All Rights Reserved.
- * US Government Users Restricted Rights - Use, duplication or disclosure
- * restricted by GSA ADP Schedule Contract with IBM Corp.
- */
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-/**
- * Insert the type's description here.
- * Creation date: (12/19/00 4:44:04 PM)
- * @author: Administrator
- */
-public class AllArchiveTestsJava extends TestCase {
- private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
-/**
- * AllTests constructor comment.
- * @param name java.lang.String
- */
-public AllArchiveTestsJava(String name) {
- super(name);
-}
-/**
- * Starts the application.
- * @param args an array of command-line arguments
- */
-public static void main(java.lang.String[] args) {
- String[] className = {"com.ibm.etools.archive.test.AllTests", "-noloading"};
- TestRunner.main(className);
-}
-public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite("Test for com.ibm.etools.archive.test");
- suite.addTest(DiscriminatorTest.suite());
- suite.addTest(LooseArchiveTests.suite());
- suite.addTest(InitializationTests.suite());
- suite.addTest(SimpleTests.suite());
- suite.addTest(CopyTests.suite());
-// suite.addTest(EJBJarConversionTests.suite());
- suite.addTest(WARFileTests.suite());
- suite.addTest(SaveTests.suite());
- suite.addTest(JavaTests.suite());
-// suite.addTest(IDTests.suite());
- //suite.addTest(AltDDTests.suite());
- suite.addTest(SecurityRoleTests.suite());
- suite.addTest(RarFileTests.suite());
- suite.addTest(ResourceTests.suite());
- suite.addTest(ClientContainerResourceLoadTest.suite());
- suite.addTest(TestModuleClassLoading.suite());
- suite.addTest(TestInvalidXmlMultiplicity.suite());
- suite.addTest(DefectVerificationTests.suite());
-
- return suite;
-}
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/ClientContainerResourceLoadTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/ClientContainerResourceLoadTest.java
deleted file mode 100644
index 5ed8198f..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/ClientContainerResourceLoadTest.java
+++ /dev/null
@@ -1,106 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
-import java.io.FileNotFoundException;
-import java.util.List;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ApplicationClientFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-
-
-
-public class ClientContainerResourceLoadTest extends TestCase{
- public static EARFile earFile = null;
-
- private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$
- /**
- * SimpleTests constructor comment.
- * @param name java.lang.String
- */
- public ClientContainerResourceLoadTest(String name) {
- super(name);
- }
-
- protected void setUp() throws Exception {
- // TODO Auto-generated method stub
- super.setUp();
- ArchiveInit.init();
- }
-
-
- public static junit.framework.Test suite() {
- return new TestSuite(ClientContainerResourceLoadTest.class);
- }
- /**
- * Starts the application.
- * @param args an array of command-line arguments
- */
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.ClientContainerResourceLoadTest", "-noloading" };
- TestRunner.main(className);
- }
-
- public void testClientContainerLoad () throws Exception {
-
- try {
-
- CommonarchiveFactory factory = CommonarchiveFactoryImpl.getActiveFactory();
- String in = AutomatedBVT.baseDirectory + "mtapp2.ear";
- String out = AutomatedBVT.baseDirectory + "mtapp2Finished.ear";
- earFile = factory.openEARFile (in);
- System.out.println ("uri: " + earFile.getURI());
-
- List appClients = earFile.getApplicationClientFiles();
- boolean exFound1 = false;
- boolean exFound2 = false;
-
- for(int i = 0; i<appClients.size(); i++){
- ApplicationClientFile file = (ApplicationClientFile)appClients.get(0);
- Resource res;
-
- try{
- res = file.getMofResource("META-INF/FOOclient-resource.xmi");
- } catch(Exception e){
- exFound1 = true;
- if(!(e instanceof FileNotFoundException)){
- assertTrue("Expected FileNotFoundException", false);
- }
- }
-
- try {
- res = file.getMofResource("META-INF/client-resource.xmi");
- } catch (Exception e) {
- exFound2 = true;
- if(!(e instanceof ResourceLoadException)){
- assertTrue("Expected ResourceLoadException", false);
- }
- }
- }
- assertTrue("No exception logged for non-existing file", exFound1);
- assertTrue("No exception logged for existing", exFound2);
-
-
- earFile.saveAs(out);
- earFile.close();
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
- /* (non-Javadoc)
- * @see junit.framework.TestCase#tearDown()
- */
- protected void tearDown() throws Exception {
- super.tearDown();
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/CopyTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/CopyTests.java
deleted file mode 100644
index 3ae6167d..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/CopyTests.java
+++ /dev/null
@@ -1,234 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
-/*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2001 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*/
-
-import java.util.Iterator;
-import java.util.List;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.application.WebModule;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ReadOnlyDirectory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * Insert the type's description here.
- * Creation date: (12/14/00 12:10:36 PM)
- * @author: Administrator
- */
-public class CopyTests extends TestCase {
- private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$
- /**
- * CopyTests constructor comment.
- * @param name java.lang.String
- */
- public CopyTests(String name) {
- super(name);
- }
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
- public EjbFactory getEJBFactory() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
- public EjbPackage getEJBPackage() {
- return EjbPackage.eINSTANCE;
- }
- public WebapplicationFactory getWebFactory() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
- /**
- * Starts the application.
- * @param args an array of command-line arguments
- */
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.CopyTests", "-noloading" };
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- return new TestSuite(CopyTests.class);
- }
- /**
- * Tests the addCopy(ReadOnlyDirectory) api on archive
- */
- public void testAddCopyDirectory() throws Exception {
-
- WARFile aWarFile = (WARFile) getArchiveFactory().openArchive(AutomatedBVT.baseDirectory + "example2.war");
-
- ReadOnlyDirectory sampleDirectory = getArchiveFactory().openReadOnlyDirectory(AutomatedBVT.baseDirectory + "WarTestClasses");
-
- int initialSize = aWarFile.getFiles().size();
-
- aWarFile.addCopy(sampleDirectory);
- Iterator iter = aWarFile.getFiles().iterator();
- //For running inside eclipse
- while (iter.hasNext()) {
- String uri = ((File)iter.next()).getURI();
- if (uri.indexOf("CVS") >= 0)
- iter.remove();
- }
- assertTrue("Wrong number of files ", aWarFile.getFiles().size() == initialSize + 7);
- aWarFile.saveAsNoReopen(AutomatedBVT.baseDirectory + "testOutput/CopyTests/addCopyDir.war");
-
- }
-
- public void testAddCopyModule() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.ear";
- EARFile earFile = (EARFile) getArchiveFactory().openArchive(in);
- List modules = earFile.getDeploymentDescriptor().getModules();
- EJBJarFile ejbJarFile = null;
-
- for (int i = 0; i < modules.size(); i++) {
- Module aModule = (Module) modules.get(i);
- if (aModule.isEjbModule()) {
- ejbJarFile = (EJBJarFile) earFile.getFile(aModule.getUri());
- break;
- }
- }
-
- assertTrue("EJBJarFile should not be null", ejbJarFile != null);
- ejbJarFile.getDeploymentDescriptor();
-
- EARFile newEarFile = getArchiveFactory().createEARFileInitialized(AutomatedBVT.baseDirectory + "testOutput/CopyTests/newEarWithCopiedModule.ear");
- newEarFile.addCopy(ejbJarFile);
- EJBJarFile copied = (EJBJarFile) newEarFile.getModuleFiles().get(0);
- assertTrue(copied.isDeploymentDescriptorSet());
- assertTrue(copied.getDeploymentDescriptor() == copied.getDeploymentDescriptorResource().getContents().get(0));
- assertTrue(copied.getDeploymentDescriptor() != ejbJarFile.getDeploymentDescriptor());
- assertTrue(ejbJarFile.getFiles().size() == copied.getFiles().size());
-
- newEarFile.saveNoReopen();
- }
-
- /**
- * Test per CMVC defect report 96197
- * Create a new application, open ejb jar file, use addcopy to add the module, and save
- * using original ear, get the ejb jar, and modify bindings
- * save again
- * Result: bindings not updated
- */
- public void testAddCopyModuleFilesToEAR() throws Exception {
- String uri = AutomatedBVT.baseDirectory + "testOutput/CopyTests/testAddCopyModuleFilesToEAR.ear";
- //Create a new ear file, add a standalone ejb jar file and standalone war file, and save
- EARFile earFile = getArchiveFactory().createEARFileInitialized(uri);
- earFile.setJ2EEVersion(J2EEVersionConstants.J2EE_1_3_ID);
- earFile.getDeploymentDescriptor().setDisplayName(uri);
- EJBJarFile ejbJarFile = getArchiveFactory().openEJBJarFile(AutomatedBVT.baseDirectory + "bankejbs.jar");
- earFile.addCopy(ejbJarFile);
- WARFile warFile = getArchiveFactory().openWARFile(AutomatedBVT.baseDirectory + "example2.war");
- earFile.addCopy(warFile);
- ((WebModule) earFile.getDeploymentDescriptor().getFirstModule(warFile.getURI())).setContextRoot("/");
- earFile.save();
-
- ejbJarFile = (EJBJarFile) earFile.getEJBJarFiles().get(0);
- assertTrue("ejb dd resource not right", ejbJarFile.getDeploymentDescriptor().eResource() == ejbJarFile.getDeploymentDescriptorResource());
-
-
-
- warFile = (WARFile) earFile.getWARFiles().get(0);
- assertTrue("war dd resource not right", warFile.getDeploymentDescriptor().eResource() == warFile.getDeploymentDescriptorResource());
-
-
- earFile.saveNoReopen();
-
-
- earFile.close();
-
- }
- /**
- * Tests opening a standalone module with an absolute path, and adding that to a new ear file, per defect report
- */
- public void testAddCopyStandaloneModule() throws Exception {
- String fileName = AutomatedBVT.baseDirectory + "bankejbs.jar";
-
- EJBJarFile ejbJarFile = (EJBJarFile) getArchiveFactory().openArchive(fileName);
- ejbJarFile.getDeploymentDescriptor();
-
- EARFile newEarFile = getArchiveFactory().createEARFileInitialized(AutomatedBVT.baseDirectory + "testOutput/CopyTests/newEarWithStandAloneModule-out.ear");
- newEarFile.addCopy(ejbJarFile);
- EJBJarFile copied = (EJBJarFile) newEarFile.getModuleFiles().get(0);
- assertTrue(copied.isDeploymentDescriptorSet());
- assertTrue(copied.getDeploymentDescriptor() == copied.getDeploymentDescriptorResource().getContents().get(0));
- assertTrue(copied.getDeploymentDescriptor() != ejbJarFile.getDeploymentDescriptor());
- assertTrue(ejbJarFile.getFiles().size() == copied.getFiles().size());
-
- newEarFile.saveNoReopen();
- }
-
- public void testAddRenameAndDelete() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.ear";
- EARFile earFile = (EARFile) getArchiveFactory().openArchive(in);
- List modules = earFile.getDeploymentDescriptor().getModules();
- EJBJarFile ejbJarFile = null;
-
- for (int i = 0; i < modules.size(); i++) {
- Module aModule = (Module) modules.get(i);
- if (aModule.isEjbModule()) {
- ejbJarFile = (EJBJarFile) earFile.getFile(aModule.getUri());
- break;
- }
- }
-
- assertTrue("EJBJarFile should not be null", ejbJarFile != null);
- ejbJarFile.getDeploymentDescriptor();
-
- EARFile newEarFile = getArchiveFactory().createEARFileInitialized(AutomatedBVT.baseDirectory + "testOutput/CopyTests/newEarWithCopiedModule.ear");
- EJBModuleRef addedCopy = (EJBModuleRef) newEarFile.addCopyRef(ejbJarFile);
- assertTrue("Module files should not be empty", !newEarFile.getModuleFiles().isEmpty());
- assertTrue("Modules should not be empty", !newEarFile.getDeploymentDescriptor().getModules().isEmpty());
- assertTrue("Module should be accessible and have the same uri as file", addedCopy.getModule().getUri().equals(addedCopy.getModuleFile().getURI()));
-
- String newURI = "temp/foobar.jar";
- addedCopy.setURI(newURI);
- assertTrue("Module should be accessible and have the new renamed uri as well as the file", addedCopy.getModule().getUri().equals(addedCopy.getModuleFile().getURI()) && addedCopy.getModule().getUri().equals(newURI));
- newEarFile.remove(addedCopy);
- assertTrue("Module files should be empty", newEarFile.getModuleFiles().isEmpty());
- assertTrue("Modules should be empty", newEarFile.getDeploymentDescriptor().getModules().isEmpty());
-
- }
-
- public void testAddRenameAndDeleteStandalone() throws Exception {
-
- String fileName = AutomatedBVT.baseDirectory + "bankejbs.jar";
-
- EJBJarFile ejbJarFile = (EJBJarFile) getArchiveFactory().openArchive(fileName);
-
- EARFile newEarFile = getArchiveFactory().createEARFileInitialized(AutomatedBVT.baseDirectory + "testOutput/CopyTests/newEarWithCopiedModule.ear");
- EJBModuleRef addedCopy = (EJBModuleRef) newEarFile.addCopyRef(ejbJarFile);
- assertTrue("Module files should not be empty", !newEarFile.getModuleFiles().isEmpty());
- assertTrue("Modules should not be empty", !newEarFile.getDeploymentDescriptor().getModules().isEmpty());
- assertTrue("Module should be accessible and have the same uri as file", addedCopy.getModule().getUri().equals(addedCopy.getModuleFile().getURI()));
-
- String newURI = "temp/foobar.jar";
- addedCopy.setURI(newURI);
- assertTrue("Module should be accessible and have the new renamed uri as well as the file", addedCopy.getModule().getUri().equals(addedCopy.getModuleFile().getURI()) && addedCopy.getModule().getUri().equals(newURI));
- newEarFile.remove(addedCopy);
- assertTrue("Module files should be empty", newEarFile.getModuleFiles().isEmpty());
- assertTrue("Modules should be empty", newEarFile.getDeploymentDescriptor().getModules().isEmpty());
-
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DefectVerificationTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DefectVerificationTests.java
deleted file mode 100644
index 08393f7c..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DefectVerificationTests.java
+++ /dev/null
@@ -1,389 +0,0 @@
-/*
- * Created on May 20, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.jst.j2ee.archive.test;
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Iterator;
-import java.util.List;
-import java.util.zip.ZipInputStream;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.eclipse.jst.j2ee.application.Application;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Container;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WebModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.internal.WrappedException;
-import org.eclipse.jst.j2ee.webapplication.FilterMapping;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-
-/**
- * @author mdelder
- *
- * TODO To change the template for this generated type comment go to Window -
- * Preferences - Java - Code Generation - Code and Comments
- */
-public class DefectVerificationTests extends TestCase {
-
- /**
- *
- */
- public DefectVerificationTests() {
- super();
- }
-
- /**
- * @param name
- */
- public DefectVerificationTests(String name) {
- super(name);
- }
-
- public static junit.framework.Test suite() {
- /*TestSuite suite = new TestSuite();
- suite.addTest(new DefectVerificationTests("testFilterMappingTranslator"));
- return suite;*/
- return new TestSuite(DefectVerificationTests.class);
- }
-
-
- public void testFilterMappingTranslator() throws Exception {
-/* ArchiveOptions options = new ArchiveOptions();
- options.setRendererType(ArchiveOptions.DOM);
- final String earPath = AutomatedBVT.baseDirectory + "sample.ear";
- CommonarchivePackage pkg = CommonarchivePackage.eINSTANCE;
- EARFile earFile = pkg.getCommonarchiveFactory().openEARFile(options,
- earPath);
- // open the ear
- System.out.println("opening " + archive + " ... ");*/
-
- String archive = AutomatedBVT.baseDirectory + "QIDefectsNew.ear";
- String name = "QIDefects.war";
- /*
- * crack open the ear file using the common archive:
- */
- CommonarchiveFactory archiveFactory = (CommonarchiveFactory) CommonarchivePackage.eINSTANCE.getEFactoryInstance();
- ArchiveOptions options = new ArchiveOptions();
- options.setRendererType(ArchiveOptions.SAX);
- options.setUseJavaReflection(false);
- // options.setDiscriminateNestedArchives(extraProcessing);
-
- EARFile earFile = archiveFactory.openEARFile(options, archive);
- WebModuleRef warFile = null;
- for (Iterator i = earFile.getModuleRefs().iterator(); i.hasNext();) {
- ModuleRef mref = (ModuleRef) i.next();
- if (name.equals(mref.getUri())) {
- warFile = (WebModuleRef) mref;
- }
- }
-
- WebApp dd = (WebApp)warFile.getDeploymentDescriptor();
-
- EList filterMappings = dd.getFilterMappings();
- assertTrue("The test requires two filter mappings.", filterMappings.size() == 2);
- FilterMapping filterMapping1 = (FilterMapping)filterMappings.get(0);
- assertNotNull("A URL Pattern was not found for filter with name " + filterMapping1.getFilter().getName(),filterMapping1.getUrlPattern());
- FilterMapping filterMapping2 = (FilterMapping)filterMappings.get(1);
- assertNotNull("A Servlet name was not found for filter with name " + filterMapping2.getFilter().getName(),filterMapping2.getServletName());
- assertNotNull("A Servlet was not found for filter with name " + filterMapping2.getFilter().getName(),filterMapping2.getServlet());
-
- }
-
- public void testFormerDefect297() throws Exception {
- ArchiveOptions options = new ArchiveOptions();
- options.setRendererType(ArchiveOptions.DOM);
- final String earPath = AutomatedBVT.baseDirectory + "sample.ear";
- CommonarchivePackage pkg = CommonarchivePackage.eINSTANCE;
- EARFile earFile = pkg.getCommonarchiveFactory().openEARFile(options,
- earPath);
- earFile.extractNoReopen(Archive.EXPAND_ALL);
- }
-
- public void testFormerDefect1459() throws Exception {
- ArchiveOptions options = new ArchiveOptions();
- options.setRendererType(ArchiveOptions.DOM);
- CommonarchivePackage pkg = CommonarchivePackage.eINSTANCE;
- CommonarchiveFactory factory = pkg.getCommonarchiveFactory();
-
- EARFile earFile = factory.createEARFileInitialized(options, "Test.ear");
- earFile.saveAs("C:\\Test.ear");
- }
-
- /*
- * public void testCorruptedEAR() throws Exception { ArchiveOptions options =
- * new ArchiveOptions(); options.setRendererType(ArchiveOptions.DOM); final
- * String earPath = AutomatedBVT.baseDirectory + "occam.ear";
- * CommonarchivePackage pkg = CommonarchivePackage.eINSTANCE;
- * CommonarchiveFactory factory = pkg.getCommonarchiveFactory();
- *
- * EARFile earFile = factory.openEARFile(options, earPath);
- *
- * List files = earFile.getFiles();
- *
- * for(int i=0; i <files.size(); i++) { System.err.println(files.get(i));
- * readFile( (File) files.get(i)); if(files.get(i) instanceof WARFile) {
- * WARFile war = (WARFile) files.get(i); List warFiles = war.getFiles();
- * for(int j=0; j <warFiles.size(); j++) {
- * System.err.println(warFiles.get(j)); readFile((File)warFiles.get(j)); } } }
- * System.out.println("Done"); }
- */
-
- /**
- * @param file
- * @throws FileNotFoundException
- * @throws IOException
- */
- private void readFile(File file) throws FileNotFoundException, IOException {
- InputStream is = file.getInputStream();
- ZipInputStream zis = new ZipInputStream(is);
- try {
- while (zis.getNextEntry() != null);
-
- } finally {
- if (is != null)
- is.close();
- if (zis != null)
- zis.close();
- is = null;
- zis = null;
- }
- }
-
- public void testSavingEARWhileDeploying() throws Exception {
- try {
- ArchiveOptions options = new ArchiveOptions();
- options.setRendererType(ArchiveOptions.SAX);
- options.setUseJavaReflection(true);
- final String earPath = AutomatedBVT.baseDirectory
- + "AuctionApp.ear";
- CommonarchivePackage pkg = CommonarchivePackage.eINSTANCE;
- EARFile earFile = pkg.getCommonarchiveFactory().openEARFile(
- options, earPath);
- printFiles(earFile);
- earFile.save();
-
- earFile.reopen();
- } catch (WrappedException we) {
- Logger.getLogger().logError(we);
- Logger.getLogger().logError(we.getMessage());
- if (we.getCause() != null)
- Logger.getLogger().logError(we.getCause());
- if (we.getNestedException() != null)
- Logger.getLogger().logError(we.getNestedException());
- if (we.getNestedException() != null)
- Logger.getLogger().logError(we.getConcatenatedMessages());
- throw we;
- }
- }
-
- public void testCreatingEARFile() throws Exception {
-
- CommonarchivePackage pkg = CommonarchivePackage.eINSTANCE;
- CommonarchiveFactory factory = pkg.getCommonarchiveFactory();
- final String earPath = AutomatedBVT.baseDirectory
- + "InitializedEAR.ear";
-
- ArchiveOptions options = new ArchiveOptions();
- options.setIsReadOnly(true);
- options.setRendererType(ArchiveOptions.DOM);
-
- // new ear file
- EARFile earFile = factory.createEARFileInitialized(options, earPath);
-
- Application appl = earFile.getDeploymentDescriptor();
-
- }
-
- public void testServiceQNameTranslator() throws Exception {
- try {
- ArchiveOptions options = new ArchiveOptions();
- options.setRendererType(ArchiveOptions.SAX);
- final String earPath = AutomatedBVT.baseDirectory + "WSSecured_InsuranceServices_EJB_WS.ear";
- CommonarchivePackage pkg = CommonarchivePackage.eINSTANCE;
- CommonarchiveFactory factory = pkg.getCommonarchiveFactory();
- EARFile earFile = factory.openEARFile(options, earPath);
- printFiles(earFile);
- String tmp = "C:\\temp\\"+System.currentTimeMillis();
- earFile.extractTo(tmp, 0);
-
- List ejbModuleRefs = earFile.getEJBModuleRefs();
-
- for(int i=0; i<ejbModuleRefs.size(); i++) {
- EJBModuleRef ejbmodref = (EJBModuleRef) ejbModuleRefs.get(i);
- if(ejbmodref.getUri().equals("WSInsSession20EJB.jar")) {
- Resource res = ejbmodref.getMofResource("META-INF/webservicesclient.xml");
- System.err.println(res.getURI());
-
- }
- }
- /*
- * Application app = earFile.getDeploymentDescriptor(); List modules =
- * app.getModules(); for(int i=0; i <modules.size(); i++) {
- * System.err.println(modules.get(i)); Module
- * mod=(Module)modules.get(i); if( mod.isEjbModule() ) { EjbModule
- * ejbModule = (EjbModule) mod; EJBJarFile ejbJarFile =
- * factory.openEJBJarFile(options, "WSInsSession20EJB.jar"); EJBJar
- * ejbjar = ejbJarFile.getDeploymentDescriptor(); }
- * }
- */
- } catch (WrappedException we) {
- Logger.getLogger().logError(we);
- Logger.getLogger().logError(we.getMessage());
- if(we.getCause() != null)
- Logger.getLogger().logError(we.getCause());
- if(we.getNestedException() != null)
- Logger.getLogger().logError(we.getNestedException());
- if(we.getNestedException() != null)
- Logger.getLogger().logError(we.getConcatenatedMessages());
- throw we;
- }
- }
-
- public void testReadCrimsonCase() throws Exception {
- try {
- ArchiveOptions options = new ArchiveOptions();
- options.setRendererType(ArchiveOptions.DOM);
- final String earPath = AutomatedBVT.baseDirectory
- + "ejb_sam_Hello.ear";
- CommonarchivePackage pkg = CommonarchivePackage.eINSTANCE;
- EARFile earFile = pkg.getCommonarchiveFactory().openEARFile(
- options, earPath);
- Application app = earFile.getDeploymentDescriptor();
- assertNotNull("Could not read deployment descriptor.", app);
- System.err.println("\n\n******************Printing files from " + app.getDisplayName());
- assertNotNull("Could not read display name from deployment descriptor.", app.getDisplayName());
- printFiles(earFile);
- earFile.extractTo(AutomatedBVT.baseDirectory + "testOutput/temp", 0);
- earFile.reopen();
- } catch (WrappedException we) {
- Logger.getLogger().logError(we);
- Logger.getLogger().logError(we.getMessage());
- if (we.getCause() != null)
- Logger.getLogger().logError(we.getCause());
- if (we.getNestedException() != null)
- Logger.getLogger().logError(we.getNestedException());
- if (we.getNestedException() != null)
- Logger.getLogger().logError(we.getConcatenatedMessages());
- throw we;
- }
- }
-
- /*public void testReadInitParms13() throws Exception {
- readInitParms(true);
- }
- public void testReadInitParms14() throws Exception{
- readInitParms(false);
- } */
-
- /*public void readInitParms(boolean is13) throws Exception {
- try {
- System.out.println("Using J2EE " + (is13?"1.3" :"1.4") );
- ArchiveOptions options = new ArchiveOptions();
- options.setRendererType(ArchiveOptions.DOM);
- final String earPath = AutomatedBVT.baseDirectory
- + ((is13) ? "filter13war.ear" : "servlet_js_filter.ear");
- CommonarchivePackage pkg = CommonarchivePackage.eINSTANCE;
- EARFile earFile = pkg.getCommonarchiveFactory().openEARFile(
- options, earPath);
- WARFile warFile = (WARFile) (is13 ? earFile.getFile("FilterWar.war") :earFile.getFile("servlet_js_filter_web.war"));
- WebApp webapp = warFile.getDeploymentDescriptor();
- assertNotNull("The web app DD could not be located", webapp);
- EList filters = webapp.getFilters();
- Filter f = null;
- EList parms, paramValues;
- for(int i=0; i<filters.size(); i++) {
- f = (Filter) filters.get(i);
- System.out.println(f);
- EList parms = f.getInitParams();
- System.out.println("There are " + parms.size() + " InitParams");
- for(int j=0; j<parms.size(); j++) {
- InitParam p = (InitParam) parms.get(j);
- System.out.println(p);
- }
- EList paramValues = f.getInitParamValues();
- System.out.println("There are " + paramValues.size() + " InitParamValues");
- for(int j=0; j<paramValues.size(); j++) {
- ParamValue p = (ParamValue) paramValues.get(j);
- System.out.println(p);
- }
-
- System.out.println("Demo version case");
-
-
- WebApp container = (WebApp) f.eContainer();
- switch(container.getJ2EEVersionID()) {
- case J2EEVersionConstants.J2EE_1_2_ID:
- case J2EEVersionConstants.J2EE_1_3_ID:
-
- parms = f.getInitParams();
- System.out.println("There are " + parms.size() + " InitParams");
- assertEquals("There must be 2 Filter Init Params", parms.size(), 2);
- for(int j=0; j<parms.size(); j++) {
- InitParam ip = (InitParam) parms.get(j);
- System.out.println(p);
- assertTrue("The param names much match", ("param"+j+"name").equals(ip.getParamName()));
- assertTrue("The param values much match", ("param"+j+"value").equals(ip.getParamValue()));
- }
- break;
- case J2EEVersionConstants.J2EE_1_4_ID: default: {
-
- paramValues = f.getInitParamValues();
- assertEquals("There must be 1 Filter Init Param Values", paramValues.size(), 1);
- System.out.println("There are " + paramValues.size() + " InitParamValues");
-
- ParamValue pv = (ParamValue) paramValues.get(0);
- System.out.println(pv);
- assertTrue("The param names much match", ("attribute").equals(pv.getName()));
- String expectedValue = (i == 0) ? "com.sun.ts.tests.servlet.api.javax_servlet.filter.DoFilter_Filter.SERVLET_MAPPED" : "com.sun.ts.tests.servlet.api.javax_servlet.filter.InitFilter_Filter.SERVLET_MAPPED";
- assertEquals("The param values much match", expectedValue , pv.getValue());
- }
- break;
- }
- }
-
-
- } catch (WrappedException we) {
- Logger.getLogger().logError(we);
- Logger.getLogger().logError(we.getMessage());
- if (we.getCause() != null)
- Logger.getLogger().logError(we.getCause());
- if (we.getNestedException() != null)
- Logger.getLogger().logError(we.getNestedException());
- if (we.getNestedException() != null)
- Logger.getLogger().logError(we.getConcatenatedMessages());
- throw we;
- }
- }*/
-
-
- private void printFiles(Container ar) {
- List files = ar.getFiles();
-
- for (int i = 0; i < files.size(); i++) {
- System.err.println(files.get(i));
- if (files.get(i) instanceof Container) {
- Container tainer = (Container) files.get(i);
- printFiles(tainer);
- }
- }
- }
-
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DiscriminatorTest.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DiscriminatorTest.java
deleted file mode 100644
index 734786d7..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DiscriminatorTest.java
+++ /dev/null
@@ -1,107 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
-import java.io.File;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ArchiveTypeDiscriminatorRegistry;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.GenericArchiveTypeDiscriminator;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-
-
-/*
- * Licensed Material - Property of IBM
- * (C) Copyright IBM Corp. 2001, 2002 - All Rights Reserved.
- * US Government Users Restricted Rights - Use, duplication or disclosure
- * restricted by GSA ADP Schedule Contract with IBM Corp.
- */
-
-/**
- * @author mdelder
- *
- */
-public class DiscriminatorTest
- extends TestCase {
-
- public boolean assertBarFile = false;
-
- public DiscriminatorTest(String name) {
- super(name);
- }
-
- public static Test suite() {
- TestSuite suite = new TestSuite("DiscriminatorTest");
- suite.addTest(new DiscriminatorTest("testDiscriminator"));
- return suite;
- }
-
- // TODO Implement unit test for discriminator framework
- public void testDiscriminator() throws Exception {
- assertBarFile = true;
- try {
- ArchiveTypeDiscriminatorRegistry.registorDiscriminator(new BeverageArchiveDiscriminator());
- Archive archive = CommonarchiveFactory.eINSTANCE.openArchive( AutomatedBVT.baseDirectory + File.separator + "my.bar");
- assertNotNull("The archive was not found!", archive);
-
- assertTrue("The archive extension (.bar) was not recognized as a custom extension!", archive.isNestedArchive("my.bar"));
-
- boolean typeContributedSuccessfully = false;
- EList types = archive.getTypes();
- for (int i = 0; i < types.size(); i++) {
- if (types.get(i).equals(BeverageArchiveDiscriminator.BEVERAGE_ARCHIVE_TYPE_KEY)) {
- typeContributedSuccessfully = true;
- break;
- }
- }
- assertTrue("The BEVERAGE_ARCHIVE_TYPE_KEY was not found in the list of types of the archive!", typeContributedSuccessfully);
- } finally {
- assertBarFile = false;
- }
- }
-
- public class BeverageArchiveDiscriminator
- extends TestCase implements GenericArchiveTypeDiscriminator {
-
- public static final String BEVERAGE_ARCHIVE_TYPE_KEY = "com.ibm.beverage.archive";
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.j2ee.commonarchivecore.GenericArchiveTypeDiscriminator#discriminate(com.ibm.etools.j2ee.commonarchivecore.Archive)
- */
- public boolean discriminate(Archive anArchive) {
- boolean result = anArchive.containsFile("META-INF/adult-beverage-imbibement-options.xml");
- if (assertBarFile)
- assertTrue(
- "The BeverageArchiveDiscriminator did not recogniZe the file! (Ensure it contains a file named META-INF/adult-beverage-imbibement-venues.xml)",
- result);
- return result;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.j2ee.commonarchivecore.GenericArchiveTypeDiscriminator#getCustomFileExtensions()
- */
- public String[] getCustomFileExtensions() {
-
- return new String[] { "bar"};
-
- }
-
- /*
- * (non-Javadoc)
- *
- * @see com.ibm.etools.j2ee.commonarchivecore.GenericArchiveTypeDiscriminator#getTypeKey()
- */
- public String getTypeKey() {
-
- return BEVERAGE_ARCHIVE_TYPE_KEY;
- }
- }
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DomComparitor.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DomComparitor.java
deleted file mode 100644
index 454c1e30..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/DomComparitor.java
+++ /dev/null
@@ -1,285 +0,0 @@
-/*
- * Created on Mar 17, 2003
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.archive.test;
-
-import java.util.HashSet;
-
-import org.w3c.dom.Attr;
-import org.w3c.dom.CharacterData;
-import org.w3c.dom.Document;
-import org.w3c.dom.DocumentFragment;
-import org.w3c.dom.DocumentType;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.w3c.dom.ProcessingInstruction;
-import org.xml.sax.EntityResolver;
-
-/**
- * THE MASTER COPY of this class is in com.ibm.etools.commontests
- * Please update the copy in commontests and then copy this class to
- * where you need it if you are looking at a different copy
- *
- * @author jsholl
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class DomComparitor {
- private static EntityResolver entityResolver;
- private static HashSet attributeList;
-// TODO replace this with non xerces
-// public static String compareDoms(InputSource source1, InputSource source2, HashSet ignorableAtts) throws Exception {
-// attributeList = ignorableAtts;
-// DOMParser parser = new DOMParser();
-// if (entityResolver == null) {
-// parser.setEntityResolver(new EntityResolver() {
-// public InputSource resolveEntity(String arg0, String arg1) throws SAXException, IOException {
-// return null;
-// }
-//
-// });
-// } else {
-// parser.setEntityResolver(entityResolver);
-// }
-// parser.parse(source1);
-// Document doc1 = parser.getDocument();
-// parser.parse(source2);
-// Document doc2 = parser.getDocument();
-// return compareNodes(doc1, doc2);
-// }
-
-// public static String compareDoms(InputSource source1, InputSource source2) throws Exception {
-// return compareDoms(source1, source2, null);
-// }
-
-
- public static String compareNodes(Node node1, Node node2) throws Exception {
- // System.out.println("checking A:" + node1);
- // System.out.println("checking B:" + node2);
- // System.out.println("nodeType=" + node1.getNodeType());
- // System.out.println("getNodeName=" + node1.getNodeName());
- // System.out.println("getNodeValue=" + node1.getNodeValue());
-
- //Generic Node Testing
- if (node1 == null && node2 == null)
- return null;
- else if ((node1 != null && node2 == null) || node1 == null && node2 != null)
- return nullNodeEncountered(node1, node2);
- else if (node1.getNodeType() != node2.getNodeType()) {
- return mismatch("Node.getNodeType() " + node1.getNodeType() + " " + node2.getNodeType(), node1, node2);
- } else if (node1.getNodeName() != node2.getNodeName()) {
- return mismatch("Node.getNodeName() <" + node1.getNodeName() + "> <" + node2.getNodeName() + ">", node1, node2);
- } else if (!(node1.getNodeValue() == null && node2.getNodeValue() == null)) {
- if (node1.getNodeValue() == null) {
- return mismatch("Node.getNodeValue() node A is null", node1, node2);
- } else if (node2.getNodeValue() == null) {
- return mismatch("Node.getNodeValue() node B is null", node1, node2);
- } else if (!node1.getNodeValue().equals(node2.getNodeValue())) {
- return mismatch("Node.getNodeValue() <" + node1.getNodeValue() + "> <" + node2.getNodeValue() + ">", node1, node2);
- }
- } else if (node1.hasAttributes() != node2.hasAttributes()) {
- return mismatch("Node.hasAttributes() " + node1.hasAttributes() + " " + node2.hasAttributes(), node1, node2);
- } else if (node1.hasChildNodes() != node2.hasChildNodes()) {
- return mismatch("Node.hasChildNodes() " + node1.hasChildNodes() + " " + node2.hasChildNodes(), node1, node2);
- }
- //TODO strengthen node comparisons as necessary
- //Specialized Node Testing
- switch (node1.getNodeType()) {
- case Node.TEXT_NODE :
- case Node.CDATA_SECTION_NODE :
- CharacterData cdata1 = (CharacterData) node1;
- CharacterData cdata2 = (CharacterData) node2;
- if (!cdata1.getData().equals(cdata2.getData())) {
- return mismatch("CharacterData.getData() " + cdata1.getData() + " " + cdata2.getData(), node1, node2);
- }
- break;
- case Node.ATTRIBUTE_NODE :
- Attr attr1 = (Attr) node1;
- Attr attr2 = (Attr) node2;
- if (!attr1.getName().equals(attr2.getName())) {
- return mismatch("Attr.getName() " + attr1.getName() + " " + attr2.getName(), node1, node2);
- }
- else if( attributeList != null && !attributeList.contains(attr1.getName()) && !attributeList.contains(attr2.getName())) {
- if (!attr1.getValue().equals(attr2.getValue())) {
- return mismatch("Attr.getValue() " + attr1.getValue() + " " + attr2.getValue(), node1, node2);
- } else if (attr1.getSpecified() != attr2.getSpecified()) {
- return mismatch("Attr.getSpecified() " + attr1.getSpecified() + " " + attr2.getSpecified(), node1, node2);
- }
- }
- break;
- case Node.DOCUMENT_NODE :
- Document doc1 = (Document)node1;
- Document doc2 = (Document)node2;
- String result = compareNodes(doc1.getDoctype(), doc2.getDoctype());
- if(result != null){
- return result;
- }
- break;
- case Node.DOCUMENT_TYPE_NODE:
- DocumentType docType1 = (DocumentType)node1;
- DocumentType docType2 = (DocumentType)node2;
- if(!docType1.getPublicId().equals(docType2.getPublicId())){
- return mismatch("DocumentType.getPublicId() "+docType1.getPublicId()+ " "+docType2.getPublicId(), node1, node2);
- }
- break;
- case Node.PROCESSING_INSTRUCTION_NODE :
- ProcessingInstruction pInst1 = (ProcessingInstruction)node1;
- ProcessingInstruction pInst2 = (ProcessingInstruction)node2;
- //System.out.println("ProcessingInstruction todo");
- break;
- case Node.DOCUMENT_FRAGMENT_NODE :
- DocumentFragment frag1 = (DocumentFragment)node1;
- DocumentFragment frag2 = (DocumentFragment)node2;
- //System.out.println("DocumentFragment todo");
- break;
-
- case Node.ELEMENT_NODE :
- case Node.COMMENT_NODE :
- case Node.ENTITY_NODE :
- case Node.NOTATION_NODE :
- break;
-
- }
-
- //Recursion
- NamedNodeMap attributes1 = node1.getAttributes();
- NamedNodeMap attributes2 = node2.getAttributes();
-
- if (attributes1 != null && attributes2 != null) {
- if (attributes1.getLength() != attributes2.getLength()) {
- return mismatch("getAttributes().getLength() " + attributes1.getLength() + " " + attributes2.getLength(), node1, node2);
- }
- for (int i = 0; i < attributes1.getLength(); i++) {
- Attr attr1 = (Attr) attributes1.item(i);
- Attr attr2 = (Attr) attributes2.item(i);
- if(!attr1.getName().equals(attr2.getName())){
- return mismatch("Attr.getName() " + attr1.getName() + " " + attr2.getName(), attr1, attr2);
- }
- if(attributeList != null && !attributeList.contains(attr1.getName()) && !attributeList.contains(attr2.getName())) {
- String results = compareNodes(attr1, attr2);
- if (null != results) {
- return results;
- }
- }
- }
-
- } else if (attributes1 != null || attributes2 != null) {
- return mismatch("getAttributes() null", node1, node2);
- }
-
- NodeList children1 = node1.getChildNodes();
- NodeList children2 = node2.getChildNodes();
-
- // if (children1.getLength() != children2.getLength()) {
- // return mismatch("getChildNodes().getLength() "+children1.getLength()+" "+children2.getLength(), node1, node2);
- // }
-
- int count1 = 0;
- int count2 = 0;
-
- //compare all children, skipping empty text nodes
- while (count1 < children1.getLength() && count2 < children2.getLength()) {
- Node child1 = children1.item(count1);
- Node child2 = children2.item(count2);
- if (child1.getNodeType() != child2.getNodeType()) {
- if (child1.getNodeType() == Node.TEXT_NODE && (child1.getNodeValue() == null || child1.getNodeValue().trim().equals(""))) {
- count1++;
- continue;
- } else if (child2.getNodeType() == Node.TEXT_NODE && (child2.getNodeValue() != null || child2.getNodeValue().trim().equals(""))) {
- count2++;
- continue;
- }
- }
- count1++;
- count2++;
- String results = compareNodes(child1, child2);
- if (null != results) {
- return results;
- }
- }
- //TODO there must be a way to tell the parser to ignore whitespace.
- //be sure skip any empty text nodes at the end
- while (count1 < children1.getLength()) {
- Node child1 = children1.item(count1);
- if (child1.getNodeType() == Node.TEXT_NODE && child1.getNodeValue() == null || child1.getNodeValue().trim().equals("")) {
- count1++;
- continue;
- }
- return nodeNotCompared(child1);
- }
-
- while (count2 < children2.getLength()) {
- Node child2 = children2.item(count2);
- if (child2.getNodeType() == Node.TEXT_NODE && child2.getNodeValue() == null || child2.getNodeValue().trim().equals("")) {
- count2++;
- continue;
- }
- return nodeNotCompared(child2);
- }
-
- // for (int i = 0; i < children1.getLength(); i++) {
- // Node child1 = children1.item(i);
- // Node child2 = children2.item(i);
- // }
-
- return null;
- }
-
-
- public static String nullNodeEncountered(Node node1, Node node2) {
- String message = "Null node encountered";
- Node nonNullNode = node1 == null ? node2 : node1;
- char source = node1 == null ? 'B' : 'A';
- while (nonNullNode != null) {
- message += source + nonNullNode.getNodeName() + "\n";
- nonNullNode = nonNullNode.getParentNode();
- }
- return message;
-
-
- }
-
- public static String nodeNotCompared(Node node) {
- String message = "Node node compared:";
- while (node != null) {
- message += node.getNodeName() + "\n";
- node = node.getParentNode();
- }
-
- return message;
- }
-
- public static String mismatch(String mismatchtype, Node node1, Node node2) throws Exception {
- String message = "Nodes A and B do not match because of node." + mismatchtype + "\n";
- while (node1 != null && node2 != null) {
- message += "A:" + node1.getNodeName() + "\n";
- message += "B:" + node2.getNodeName() + "\n";
- node1 = node1.getParentNode();
- node2 = node2.getParentNode();
- }
-
- return message;
- }
-
- public static void main(String[] args) {
- }
- /**
- * @return
- */
- public static EntityResolver getEntityResolver() {
- return entityResolver;
- }
-
- /**
- * @param resolver
- */
- public static void setEntityResolver(EntityResolver resolver) {
- entityResolver = resolver;
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/InitializationTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/InitializationTests.java
deleted file mode 100644
index 354c4f88..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/InitializationTests.java
+++ /dev/null
@@ -1,90 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
- /*
- * Licensed Material - Property of IBM
- * (C) Copyright IBM Corp. 2001 - All Rights Reserved.
- * US Government Users Restricted Rights - Use, duplication or disclosure
- * restricted by GSA ADP Schedule Contract with IBM Corp.
- */
-
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ApplicationClientFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WebModuleRef;
-/**
- * Insert the type's description here.
- * Creation date: (12/18/00 7:41:39 PM)
- * @author: Administrator
- */
-public class InitializationTests extends TestCase {
- private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
-/**
- * InitializationTests constructor comment.
- * @param name java.lang.String
- */
-public InitializationTests(String name) {
- super(name);
-}
-public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
-}
-/**
- * Starts the application.
- * @param args an array of command-line arguments
- */
-public static void main(java.lang.String[] args) {
- String[] className = {"com.ibm.etools.archive.test.InitializationTests", "-noloading"};
- TestRunner.main(className);
-}
-public static junit.framework.Test suite() {
- return new TestSuite(InitializationTests.class);
-}
-public void testNewArchives() throws Exception {
-
-// Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("*", new XMIResourceFactoryImpl());
- ApplicationClientFile clientFile = getArchiveFactory().createApplicationClientFileInitialized("foo");
- assertTrue(clientFile.getDeploymentDescriptor() != null);
-
-
- clientFile = getArchiveFactory().createApplicationClientFileInitialized("foo");
-
- EJBJarFile ejbJarFile = getArchiveFactory().createEJBJarFileInitialized("foo");
- assertTrue(ejbJarFile.getDeploymentDescriptor() != null);
-
- //The next piece is to verify no exceptions occur
- ejbJarFile = getArchiveFactory().createEJBJarFileInitialized("foo");
- EJBModuleRef ejbModuleRef = getArchiveFactory().createEJBModuleRef();
- ejbModuleRef.setModuleFile(ejbJarFile);
-
-
- EARFile earFile = getArchiveFactory().createEARFileInitialized("foo");
-
- assertTrue(earFile.getDeploymentDescriptor() != null);
-
-
- WARFile warFile = getArchiveFactory().createWARFileInitialized("foo");
-
- assertTrue(warFile.getDeploymentDescriptor() != null);
-
-
- warFile = getArchiveFactory().createWARFileInitialized("foo");
- WebModuleRef webModuleRef = getArchiveFactory().createWebModuleRef();
- webModuleRef.setModuleFile(warFile);
-
-
-}
-
-
-
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/JavaTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/JavaTests.java
deleted file mode 100644
index 7133bd86..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/JavaTests.java
+++ /dev/null
@@ -1,61 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
- /*
- * Licensed Material - Property of IBM
- * (C) Copyright IBM Corp. 2001 - All Rights Reserved.
- * US Government Users Restricted Rights - Use, duplication or disclosure
- * restricted by GSA ADP Schedule Contract with IBM Corp.
- */
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-/**
- * Insert the type's description here.
- * Creation date: (1/17/2001 10:17:29 AM)
- * @author: Administrator
- */
-public class JavaTests extends TestCase {
- private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
-/**
- * JavaTests constructor comment.
- * @param name java.lang.String
- */
-public JavaTests(String name) {
- super(name);
-}
-public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
-}
-/**
- * Starts the application.
- * @param args an array of command-line arguments
- */
-public static void main(java.lang.String[] args) {
- String[] className = {"com.ibm.etools.archive.test.JavaTests", "-noloading"};
- TestRunner.main(className);
-}
-public static junit.framework.Test suite() {
- return new TestSuite(JavaTests.class);
-}
-/**
- * This method verifies that java reflection works on archives, and that
- * class loading and java reflection is dynamic with changes to the class
- * path of the archive
- */
-public void testJavaReflection() throws Exception {
-/*
- Archive anArchive = getArchiveFactory().primOpenArchive("bank35deployed.jar");
- JavaClass cls = (JavaClass)org.eclipse.jem.internal.java.impl.JavaClassImpl.reflect("com.ibm.ejb.bank.VapAccountBean", anArchive.getContext());
- //Ignore the constructor
- assertTrue("Should not have been able to reflect methods" ,cls.getMethods().size() == 1 && ((Method)cls.getMethods().get(0)).getName().equals(cls.getName()));
-
- anArchive.setExtraClasspath("ivjejb35.jar");
-
- assertTrue("Methods should have been reflected", cls.getMethods().size() > 1);
-*/
-}
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/LooseArchiveTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/LooseArchiveTests.java
deleted file mode 100644
index ffeb37a5..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/LooseArchiveTests.java
+++ /dev/null
@@ -1,282 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
-
-import java.util.List;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.RuntimeClasspathEntry;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-import org.eclipse.jst.j2ee.commonarchivecore.looseconfig.internal.LooseApplication;
-import org.eclipse.jst.j2ee.commonarchivecore.looseconfig.internal.LooseConfigRegister;
-import org.eclipse.jst.j2ee.commonarchivecore.looseconfig.internal.LooseConfiguration;
-import org.eclipse.jst.j2ee.commonarchivecore.looseconfig.internal.LooseLibrary;
-import org.eclipse.jst.j2ee.commonarchivecore.looseconfig.internal.LooseModule;
-import org.eclipse.jst.j2ee.commonarchivecore.looseconfig.internal.LooseWARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.looseconfig.internal.LooseconfigFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.looseconfig.internal.LooseconfigPackage;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-
-
-public class LooseArchiveTests extends AbstractArchiveTest {
-
- /** The current working directory */
- protected String cwd;
- protected URI looseConfigLoc;
- protected URI looseAppLoc;
- protected String looseModuleWorkspace;
- protected String looseEARUri;
-
- protected static final String EJB_JAR_URI = "LooseEAREjb.jar";
- protected static final String WAR_URI = "LooseEARWeb.war";
- protected static final String UTIL_JAR_URI = "util.jar";
- protected static final String WEBLIB_URI = "WEB-INF/lib/library.jar";
- protected static final String WEBLIB_FULL_URI = "WEB-INF/lib/library.jar";
- protected static final String OUTPUT_EAR_FILE_URI = AutomatedBVT.baseDirectory +"testOutput/LooseArchiveTests/LooseApp.ear";
- protected static char sep = java.io.File.separatorChar;
- /**
- * Constructor for LooseArchiveTests.
- * @param name
- */
- public LooseArchiveTests(String name) {
- super(name);
- }
-
- public void testLooseConfigCreation() throws Exception {
- Resource resource = Resource.Factory.Registry.INSTANCE.getFactory(looseConfigLoc).createResource(looseConfigLoc);
- resource.getContents().add(createLooseConfig());
- resource.save(new java.util.HashMap());
- }
-
- public void testLooseAppCreation() throws Exception {
- Resource resource = Resource.Factory.Registry.INSTANCE.getFactory(looseAppLoc).createResource(looseAppLoc);
- resource.getContents().add(createLooseApplication());
- resource.save(new java.util.HashMap());
- }
-
- public void testLooseConfigOpenAndSave() throws Exception {
- System.setProperty(LooseConfigRegister.LOOSE_CONFIG_PROPERTY, looseConfigLoc.toString());
- EARFile ear = getArchiveFactory().openEARFile(looseEARUri);
- verify(ear);
- //printClasspaths(ear);
- ear.saveAs(OUTPUT_EAR_FILE_URI);
- ear.close();
- ear = getArchiveFactory().openEARFile(OUTPUT_EAR_FILE_URI);
- verify(ear);
- ear.close();
-
- }
-
-
-
- public void testLooseConfigUnimodeOpenAndSave() throws Exception {
- System.setProperty(LooseConfigRegister.LOOSE_CONFIG_PROPERTY, "");
-
- LooseConfigRegister.singleton().addLooseMapping(looseEARUri, looseAppLoc.toString());
- EARFile ear = getArchiveFactory().openEARFile(looseEARUri);
- verify(ear);
- //printClasspaths(ear);
- ear.saveAs(OUTPUT_EAR_FILE_URI);
- ear.close();
-
- ear = getArchiveFactory().openEARFile(OUTPUT_EAR_FILE_URI);
- verify(ear);
- ear.close();
-
- }
-
- public void testLooseConfigOpenAndReOpen() throws Exception {
- System.setProperty(LooseConfigRegister.LOOSE_CONFIG_PROPERTY, looseConfigLoc.toString());
- EARFile ear = getArchiveFactory().openEARFile(looseEARUri);
- ear.close();
- ear.reopen();
- List jars = ear.getArchiveFiles();
- for (int i = 0; i < jars.size(); i++) {
- Archive archive = (Archive) jars.get(i);
- archive.close();
- archive.reopen(ear);
- }
- ear.close();
-
- }
-
- protected void verify(EARFile ear) throws Exception {
- verifyModules(ear);
- verifyModuleRefs(ear);
- verifyUtilAndLib(ear);
- }
-
- /**
- * Another level of verification that for each module, the module files exists
- * and the deployment descriptor can be read
- */
- protected void verifyModuleRefs(EARFile ear) throws Exception {
- List moduleRefs = ear.getModuleRefs();
- int size = moduleRefs.size();
- assertEquals("Wrong number of modules", 2, size);
- for (int i = 0; i < size; i++) {
- ModuleRef ref = (ModuleRef) moduleRefs.get(i);
- assertNotNull("ModuleRef should have a module file:"+ref.getModule().getUri(), ref.getModuleFile());
- assertNotNull("Deployment descriptor should not be null", ref.getDeploymentDescriptor());
- }
- }
-
- /**
- * Verify that the util jar in the ear and the library in the war exist and are not empty
- */
- protected void verifyUtilAndLib(EARFile ear) throws Exception {
- verifyJAR(ear, UTIL_JAR_URI);
- verifyJAR((Archive)ear.getFile(WAR_URI), WEBLIB_FULL_URI);
-
- }
-
- protected void verifyJAR(Archive parent, String uri) throws Exception {
- assertTrue("Should contain JAR: "+uri, parent.containsFile(uri));
- Archive jar = (Archive)parent.getFile(uri);
- //at lease one file plus the manifest
- assertTrue("JAR should contain a class file: "+uri, containsClassFile(jar));
- }
-
- protected boolean containsClassFile(Archive jar) {
- List files = jar.getFiles();
- for (int i = 0; i < files.size(); i++) {
- File aFile = (File) files.get(i);
- if (aFile.getURI().endsWith(".class"));
- return true;
- }
- return false;
- }
-
- /**
- * Make sure {@link Container#containsFile(String) works for loose modules
- */
- public void verifyModules(EARFile ear) throws Exception {
- List modules = ear.getDeploymentDescriptor().getModules();
- int size = modules.size();
- for (int i = 0; i < modules.size(); i++) {
- Module m = (Module) modules.get(i);
- assertTrue("EAR file should contain module file: "+m.getUri(), ear.containsFile(m.getUri()));
- }
- assertEquals("Wrong number of modules", 2, size);
- for (int i = 0; i < modules.size(); i++) {
- Module m = (Module) modules.get(i);
- assertTrue("EAR file should contain module file: "+m.getUri(), ear.containsFile(m.getUri()));
- }
- }
-
- protected LooseConfiguration createLooseConfig() {
- LooseConfiguration config = looseConfigFactory().createLooseConfiguration();
- config.getApplications().add(createLooseApplication());
- return config;
- }
-
- protected LooseApplication createLooseApplication() {
- LooseApplication app = looseConfigFactory().createLooseApplication();
- app.setUri(looseEARUri);
- app.setResourcesPath(looseEARUri);
- app.setBinariesPath(looseEARUri);
- List looseArchives = app.getLooseArchives();
- looseArchives.add(createLooseEJB());
- looseArchives.add(createLooseWEB());
- looseArchives.add(createLooseUtil());
- return app;
- }
-
- protected LooseModule createLooseEJB() {
- LooseModule mod = looseConfigFactory().createLooseModule();
- mod.setUri(EJB_JAR_URI);
- String absPath = looseModuleWorkspace+sep+"LooseEAREjb"+sep+"bin";
- mod.setBinariesPath(absPath);
- mod.setResourcesPath(absPath);
- return mod;
- }
-
- protected LooseModule createLooseWEB() {
- LooseWARFile mod = looseConfigFactory().createLooseWARFile();
- mod.setUri(WAR_URI);
- String absPath = looseModuleWorkspace+sep+"LooseEARWeb"+sep+"webApplication";
- mod.setBinariesPath(absPath);
- mod.setResourcesPath(absPath);
- mod.getLooseLibs().add(createLooseWebLib());
- return mod;
- }
-
- protected LooseLibrary createLooseUtil() {
- LooseLibrary lib = looseConfigFactory().createLooseLibrary();
- lib.setUri(UTIL_JAR_URI);
- String absPath = looseModuleWorkspace+sep+"LooseJavaUtil"+sep+"bin";
- lib.setBinariesPath(absPath);
- lib.setResourcesPath(absPath);
- return lib;
- }
-
- protected LooseLibrary createLooseWebLib() {
- LooseLibrary lib = looseConfigFactory().createLooseLibrary();
- lib.setUri(WEBLIB_URI);
- String absPath = looseModuleWorkspace+sep+"LooseJavaWebLib"+sep+"bin";
- lib.setBinariesPath(absPath);
- lib.setResourcesPath(absPath);
- return lib;
- }
-
- protected LooseconfigFactory looseConfigFactory() {
- return LooseconfigPackage.eINSTANCE.getLooseconfigFactory();
- }
-
- protected void printClasspaths(EARFile ear) {
- List archives = ear.getArchiveFiles();
- for (int i = 0; i < archives.size(); i++) {
- Archive archive = (Archive) archives.get(i);
- System.out.println("Local runtime classpath for: "+archive.getURI());
- RuntimeClasspathEntry[] entries = archive.getLocalRuntimeClassPath();
- for (int j = 0; j < entries.length; j++) {
- System.out.println(entries[j]);
- }
- System.out.println("Full runtime classpath for: "+archive.getURI());
- entries = archive.getFullRuntimeClassPath();
- for (int j = 0; j < entries.length; j++) {
- System.out.println(entries[j]);
- }
- }
- }
-
-
- public static void main(String[] args) {
- String[] className = { "com.ibm.etools.archive.test.LooseArchiveTests", "-noloading" };
- TestRunner.main(className);
- }
-
- public static Test suite() {
- TestSuite suite = new TestSuite("LooseArchiveTests");
- suite.addTest(new LooseArchiveTests("testLooseConfigCreation"));
- suite.addTest(new LooseArchiveTests("testLooseAppCreation"));
- suite.addTest(new LooseArchiveTests("testLooseConfigOpenAndSave"));
- suite.addTest(new LooseArchiveTests("testLooseConfigOpenAndReOpen"));
- suite.addTest(new LooseArchiveTests("testLooseConfigUnimodeOpenAndSave"));
- return suite;
- }
- /*
- * @see TestCase#setUp()
- */
- protected void setUp() throws Exception {
- super.setUp();
- ArchiveInit.init();
- LooseConfigRegister.singleton().flush();
- cwd = AutomatedBVT.baseDirectory;
- looseModuleWorkspace = cwd+"loose_module_workspace";
- looseConfigLoc = URI.createFileURI(looseModuleWorkspace+sep+".metadata"+sep+".plugins"+sep+"com.ibm.etools.j2ee"+sep+"looseConfig.xmi");
- looseAppLoc = URI.createFileURI(looseModuleWorkspace+sep+".metadata"+sep+".plugins"+sep+"com.ibm.etools.j2ee"+sep+"looseApp.xmi");
- looseEARUri = ArchiveUtil.getOSUri(looseModuleWorkspace+sep+"LooseEAR");
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/RarFileTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/RarFileTests.java
deleted file mode 100644
index d5358d2d..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/RarFileTests.java
+++ /dev/null
@@ -1,207 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
-/*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2001 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*/
-
-import java.util.List;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.RARFile;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.jca.AuthenticationMechanism;
-import org.eclipse.jst.j2ee.jca.ConfigProperty;
-import org.eclipse.jst.j2ee.jca.Connector;
-import org.eclipse.jst.j2ee.jca.ResourceAdapter;
-import org.eclipse.jst.j2ee.jca.SecurityPermission;
-
-/**
- * Tests for verfication that RAR support works correctly in WCCM.
- * Creation date: (12/11/00 10:26:11 AM)
- * @author: Jared Jurkiewicz, et al.
- */
-public class RarFileTests extends TestCase {
- private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$
- /**
- * SimpleTests constructor comment.
- * @param name java.lang.String
- */
- public RarFileTests(String name) {
- super(name);
- }
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
- /**
- * Starts the application.
- * @param args an array of command-line arguments
- */
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.RarFileTests", "-noloading" };
- TestRunner.main(className);
- }
- public void printRARToConsole(Connector connector) {
- ResourceAdapter ra = connector.getResourceAdapter();
-
- System.out.println("ResourceAdapter from XML Deployment Descriptor");
- System.out.println("-------------------------------------------------");
- System.out.println(connector.getDisplayName() + ": " + connector.getDescription());
- System.out.println("Vendor : " + connector.getVendorName());
- System.out.println("Version : " + connector.getVersion());
- System.out.println("Spec Version : " + connector.getSpecVersion());
- System.out.println("EIS Type : " + connector.getEisType());
- System.out.println("Reauthentication Support : " + ra.isReauthenticationSupport());
- System.out.println("Transaction Support : " + ra.getTransactionSupport().getName().toLowerCase());
-
- if (connector.getLicense() != null) {
- System.out.println("License Required : " + connector.getLicense().isRequired());
- System.out.println("License Description : " + connector.getLicense().getDescription());
- }
-
- System.out.println("Small Icon : " + connector.getSmallIcon());
- System.out.println("Large Icon : " + connector.getLargeIcon());
-
- List authMechs = ra.getAuthenticationMechanisms();
- for (int i = 0; i < authMechs.size(); i++) {
- AuthenticationMechanism auth = (AuthenticationMechanism) authMechs.get(i);
- System.out.println("\nAuthentication Mechanism:");
- System.out.println("Description : " + auth.getDescription());
- System.out.println("Type : " + auth.getAuthenticationMechanismType().getName().toLowerCase());
- System.out.println("Credential Interface : " + auth.getCredentialInterface());
- }
- System.out.println("\nRegistered classes:");
- System.out.println("\t" + ra.getConnectionFactoryImplClass() + " implements ");
- System.out.println("\t\t" + ra.getConnectionFactoryInterface());
- System.out.println("\t" + ra.getConnectionImplClass() + " implements ");
- System.out.println("\t\t" + ra.getConnectionInterface());
- System.out.println("\tManagedConnectionFactory: " + ra.getManagedConnectionFactoryClass());
-
- List configs = ra.getConfigProperties();
- System.out.println("\nConfig-properties:");
- for (int i = 0; i < configs.size(); i++) {
- ConfigProperty prop = (ConfigProperty) configs.get(i);
- System.out.println("\tConfig-property : " + prop.getName());
- System.out.println("\tType : " + prop.getType() + " / Value : " + prop.getValue());
- System.out.println("\tDescription : " + prop.getDescription() + "\n");
- }
-
- List secs = ra.getSecurityPermissions();
- System.out.println("\nSecurity-Permissions:");
- for (int i = 0; i < secs.size(); i++) {
- SecurityPermission prop = (SecurityPermission) secs.get(i);
- System.out.println("\tConfig-Description : " + prop.getDescription());
- System.out.println("\tSpecification : " + prop.getSpecification() + "\n");
- }
-
- }
- public static junit.framework.Test suite() {
- return new TestSuite(RarFileTests.class);
- }
- public void testaddCopyModule() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.rar";
- RARFile rarFile = (RARFile) getArchiveFactory().openArchive(in);
-
- rarFile.getDeploymentDescriptor();
-
- EARFile newEarFile = getArchiveFactory().createEARFileInitialized(AutomatedBVT.baseDirectory + "testOutput/CopyTests/newEarWithRarCopiedModule.ear");
-
- newEarFile.addCopy(rarFile);
- RARFile copied = (RARFile) newEarFile.getModuleFiles().get(0);
- assertTrue(copied.isDeploymentDescriptorSet());
- assertTrue(copied.getDeploymentDescriptor() == copied.getDeploymentDescriptorResource().getContents().get(0));
- assertTrue(copied.getDeploymentDescriptor() != rarFile.getDeploymentDescriptor());
- assertTrue(rarFile.getFiles().size() == copied.getFiles().size());
-
- newEarFile.saveNoReopen();
- }
- public void testexpandRarModule() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.rar";
- RARFile rarFile = (RARFile) getArchiveFactory().openArchive(in);
- rarFile.setURI("sample.rar");
-
- rarFile.getDeploymentDescriptor();
-
- EARFile newEarFile = getArchiveFactory().createEARFileInitialized(AutomatedBVT.baseDirectory + "testOutput/RarTests/newEarWithRarModule.ear");
- newEarFile.addCopy(rarFile);
-
- newEarFile.saveNoReopen();
-
- String out = AutomatedBVT.baseDirectory + "testOutput/RarTests/Rar-containing-ear-out.ear";
- newEarFile.extractTo(out, Archive.EXPAND_RAR_FILES);
- }
-
- /**
- * Very basic method to open an archive and save it as a directory to a new destination. Requires visual inspection
- * for verification. Nested wars and ejb jars will be exploded but other nested jars will not
- */
- public void testOpenAndExtract() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.rar";
- RARFile rarFile = (RARFile) getArchiveFactory().openArchive(in);
- String out = AutomatedBVT.baseDirectory + "testOutput/Exploded_RAR_Dir/";
- rarFile.extractToConnectorDirectory(out, Archive.EXPAND_ALL);
- }
- /**
- * Opens an ear file, and for each module, writes it's dd components to the console. Requires visual inspection
- * for verification
- */
-
- public void testOpenAndRead() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.rar";
- RARFile rarFile = (RARFile) getArchiveFactory().openArchive(in);
-
- Connector dd = rarFile.getDeploymentDescriptor();
- //printRARToConsole(dd);
- }
-
- public void testopenRarEar() throws Exception {
- EARFile earFile = (EARFile) getArchiveFactory().openArchive(AutomatedBVT.baseDirectory + "testrar.ear");
- assertTrue(earFile.getDeploymentDescriptor().getFirstModule("sample.rar") != null);
- }
-
- public void testSaveRarEar() throws Exception {
- String in = AutomatedBVT.baseDirectory + "sample.rar";
- RARFile rarFile = (RARFile) getArchiveFactory().openArchive(in);
- rarFile.setURI("sample.rar");
-
- rarFile.getDeploymentDescriptor();
-
- EARFile newEarFile = getArchiveFactory().createEARFileInitialized(AutomatedBVT.baseDirectory + "testOutput/RarTests/newEarWithRarModule_saved.ear");
- newEarFile.addCopy(rarFile);
-
- assertNotNull("Module wasn't found!", newEarFile.getDeploymentDescriptor().getFirstModule("sample.rar"));
-
- newEarFile.save();
- }
-
- public void testJ2Cauth() throws Exception {
- String in = AutomatedBVT.baseDirectory + "sample.rar";
- RARFile rarFile = (RARFile) getArchiveFactory().openArchive(in);
-
- Connector dd = rarFile.getDeploymentDescriptor();
-
- ResourceAdapter rd = dd.getResourceAdapter();
-
- EList myAuthList = rd.getAuthenticationMechanisms();
-// System.out.println("Number of auth mechanisms is: " + myAuthList.size());
-// for (int i = 0; i < myAuthList.size(); i++) {
-// System.out.println("Auth type is: " + ((AuthenticationMechanism) myAuthList.get(i)).getAuthenticationMechanismType());
-// System.out.println("Auth type is: " + ((AuthenticationMechanism) myAuthList.get(i)).getAuthenticationMechanismType().getName());
-// }
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/ResourceTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/ResourceTests.java
deleted file mode 100644
index 29ca510a..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/ResourceTests.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- * Created on Mar 13, 2003
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.archive.test;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.common.EjbRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ApplicationClientFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-
-
-/**
- * @author schacher
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class ResourceTests extends AbstractArchiveTest {
-
- /**
- * @param name
- */
- public ResourceTests(String name) {
- super(name);
- }
-
- /**
- * Starts the application.
- * @param args an array of command-line arguments
- */
- public static void main(java.lang.String[] args) {
- String[] className = {"com.ibm.etools.archive.test.ResourceTests", "-noloading"};
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- return new TestSuite(ResourceTests.class);
- }
-
- protected List findOccurrences(List resources, String uri) {
- List result = new ArrayList(1);
- for (int i = 0; i < resources.size(); i++) {
- Resource aResource = (Resource) resources.get(i);
- if (uri.equals(aResource.getURI().toString()))
- result.add(aResource);
- }
- return result;
- }
-
- public void testResourceCreation() throws Exception {
- String uri = "META-INF/client-resource.xmi";
- ApplicationClientFile appClientFile = getArchiveFactory().createApplicationClientFileInitialized("test.jar");
- Resource res = null;
- boolean exceptionCaught = false;
- try {
- res = appClientFile.getMofResource(uri);
- } catch (java.io.FileNotFoundException e) {
- exceptionCaught = true;
- List foundResources = findOccurrences(appClientFile.getResourceSet().getResources(), uri);
- assertTrue("There should exist exactly one resource", foundResources.size() == 1);
- Resource foundResource = (Resource)foundResources.get(0);
- assertFalse("The resource should be unloaded", foundResource.isLoaded());
- res = appClientFile.makeMofResource(uri);
- assertTrue("Resource should not be null", res != null);
- foundResources = findOccurrences(appClientFile.getResourceSet().getResources(), uri);
- assertTrue("There should exist exactly one resource", foundResources.size() == 1);
- foundResource = (Resource)foundResources.get(0);
- assertTrue("The resource should exist", foundResource != null);
- assertFalse("The resource should be unloaded", foundResource.isLoaded());
- }
- assertTrue("Exception should have been caught", exceptionCaught);
- Collection loadedResources = appClientFile.getLoadedMofResources();
- assertTrue("Loaded resources should be size 1", loadedResources.size() == 1);
- EjbRef aRef = CommonPackage.eINSTANCE.getCommonFactory().createEjbRef();
- res.getContents().add(aRef);
- loadedResources = appClientFile.getLoadedMofResources();
- assertTrue("Loaded resources should be size 2", loadedResources.size() == 2);
- }
-
- public void testResourceDirty() throws Exception {
- EJBJarFile jar = getArchiveFactory().openEJB11JarFile(AutomatedBVT.baseDirectory + "bankejbs.jar");
- EnterpriseBean bean = (EnterpriseBean)jar.getDeploymentDescriptor().getEnterpriseBeans().get(0);
-
- EARFile newEar = getArchiveFactory().createEARFileInitialized("test");
- EJBJarFile copyJar = (EJBJarFile) newEar.addCopy(jar);
-
- assertFalse("dd should not be dirty", copyJar.getDeploymentDescriptorResource().isModified());
- }
-
- /* (non-Javadoc)
- * @see junit.framework.TestCase#setUp()
- */
- protected void setUp() throws Exception {
- super.setUp();
- ArchiveInit.init();
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SaveTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SaveTests.java
deleted file mode 100644
index 046c1167..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SaveTests.java
+++ /dev/null
@@ -1,106 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
-/*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2001 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*/
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ReadOnlyDirectory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveConstants;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-
-/**
- * Insert the type's description here.
- * Creation date: (12/21/00 3:04:36 PM)
- * @author: Administrator
- */
-public class SaveTests extends TestCase {
- private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$
- /**
- * SaveTests constructor comment.
- * @param name java.lang.String
- */
- public SaveTests(String name) {
- super(name);
- }
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
- /**
- * Starts the application.
- * @param args an array of command-line arguments
- */
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.SaveTests", "-noloading" };
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- return new TestSuite(SaveTests.class);
- }
- /**
- * This scenario tests the case of opening an archive, modifying it's contents, and saving to the same uri from which it was
- * loaded. The problem is that the reading of input streams of individual entries in an archive is deferred until requested through
- * the api or save time; therefore, an open file exists on the source file. To get around this, the implementation saves the archive
- * to a temp file, then deletes (or renames, based on setting, to be implemented) the old file, renames the temp file, and does some
- * housekeeping on the saved archive, with it's load strategy and contained files
- */
- public void testSave() throws Exception {
-
- //First make a copy of our reference file
- Archive anArchive = getArchiveFactory().openArchive(AutomatedBVT.baseDirectory + "example2.war");
- anArchive.saveAsNoReopen(AutomatedBVT.baseDirectory + "testOutput/SaveTests/copy.war");
- anArchive = null;
-
- WARFile aWarFile = (WARFile) getArchiveFactory().openArchive(AutomatedBVT.baseDirectory + "testOutput/SaveTests/copy.war");
- ReadOnlyDirectory sampleDirectory = getArchiveFactory().openReadOnlyDirectory(AutomatedBVT.baseDirectory + "WarTestClasses");
- int initialSize = aWarFile.getClasses().size();
- File aFile = sampleDirectory.getFileInSelfOrSubdirectory("com/ibm/etools/archive/test/WARFileTests.class");
- aWarFile.addCopyClass(aFile);
- assertTrue(aWarFile.getClasses().size() == initialSize + 1);
-
- String classURI = ArchiveUtil.concatUri(ArchiveConstants.WEBAPP_CLASSES_URI, aFile.getURI(), '/');
- assertTrue(aWarFile.containsFile(classURI));
- aWarFile.save();
-
- File classFile = aWarFile.getFile(classURI);
- assertTrue("File should not be null", classFile != null);
- assertTrue("Wrong loading archive", classFile.getLoadingContainer() == aWarFile);
- assertTrue("Wrong original URI", classFile.getOriginalURI().equals(classURI));
-
- aWarFile.saveAs("testOutput/SaveTests/copy2.war");
- aWarFile.save();
- }
-
- /**
- * This scenario is similar to @link #testSave, except that it tests with a directory instead of a jar file
- */
- public void testSaveDirectory() throws Exception {
-
- //First make a copy of our reference file
- Archive anArchive = getArchiveFactory().openArchive(AutomatedBVT.baseDirectory + "sample.ear");
- anArchive.saveAsNoReopen(AutomatedBVT.baseDirectory + "testOutput/SaveTests/sample-copied.ear");
- anArchive = null;
-
- EARFile anEARFile = (EARFile) getArchiveFactory().openArchive(AutomatedBVT.baseDirectory + "testOutput/SaveTests/sample-copied.ear");
-
- anEARFile.getDeploymentDescriptor();
-
-
- anEARFile.extractNoReopen(Archive.EXPAND_WAR_FILES);
-
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SecurityRoleTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SecurityRoleTests.java
deleted file mode 100644
index 4ac0dc4c..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SecurityRoleTests.java
+++ /dev/null
@@ -1,119 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
- /*
- * Licensed Material - Property of IBM
- * (C) Copyright IBM Corp. 2001 - All Rights Reserved.
- * US Government Users Restricted Rights - Use, duplication or disclosure
- * restricted by GSA ADP Schedule Contract with IBM Corp.
- */
-
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WebModuleRef;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-
-/**
- * Insert the type's description here.
- * Creation date: (02/09/01 12:05:18 AM)
- * @author: Administrator
- */
-public class SecurityRoleTests extends AbstractArchiveTest {
- private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
-/**
- * SecurityRoleTests constructor comment.
- * @param name java.lang.String
- */
-public SecurityRoleTests(String name) {
- super(name);
-}
-public CommonFactory getCommonFactory() {
- return CommonPackage.eINSTANCE.getCommonFactory();
-}
-/**
- * Starts the application.
- * @param args an array of command-line arguments
- */
-public static void main(java.lang.String[] args) {
- String[] className = {"com.ibm.etools.archive.test.SecurityRoleTests", "-noloading"};
- TestRunner.main(className);
-}
-public static junit.framework.Test suite() {
- return new TestSuite(SecurityRoleTests.class);
-}
-public void testPushDownCopy() throws Exception {
-
- EARFile earFile = getArchiveFactory().openEARFile(AutomatedBVT.baseDirectory + "sample.ear");
-
- WARFile warFile = (WARFile)earFile.getWARFiles().get(0);
-
- EJBJarFile ejbJarFile = (EJBJarFile) earFile.getEJBJarFiles().get(0);
-
- SecurityRole aRole = getCommonFactory().createSecurityRole();
- aRole.setRoleName("administrator");
- aRole.setDescription("The all powerful");
- earFile.getDeploymentDescriptor().getSecurityRoles().add(aRole);
- earFile.pushDownRole(aRole);
-
- assertTrue("Push down failed for ejb jar", ejbJarFile.getDeploymentDescriptor().getAssemblyDescriptor().getSecurityRoleNamed("administrator") != null);
- assertTrue("Push down failed for war", warFile.getDeploymentDescriptor().getSecurityRoleNamed("administrator") != null);
-
- earFile.close();
-
-}
-public void testRollupAddAndPushDown() throws Exception {
-
- EARFile earFile = getArchiveFactory().openEARFile(AutomatedBVT.baseDirectory +"sample.ear");
-
- WebModuleRef webRef = (WebModuleRef)earFile.getWebModuleRefs().get(0);
-
- EJBModuleRef ejbModRef = (EJBModuleRef) earFile.getEJBModuleRefs().get(0);
-
- SecurityRole aRole = getCommonFactory().createSecurityRole();
- aRole.setRoleName("Joe");
- aRole.setDescription("New description");
- webRef.getWebApp().getSecurityRoles().add(aRole);
-
- aRole = getCommonFactory().createSecurityRole();
- aRole.setRoleName("administrator");
- aRole.setDescription("The all powerful");
-
- webRef.getWebApp().getSecurityRoles().add(aRole);
-
- //Test the rollup
- earFile.rollUpRoles();
- //We cheated here because we already knew there were two roles in the ejb jar
- //one of which is named Joe, and zero roles in the war file
- assertTrue("Roll up not right", earFile.getDeploymentDescriptor().getSecurityRoles().size() == 5);
-
- aRole = getCommonFactory().createSecurityRole();
- aRole.setRoleName("manager");
- aRole.setDescription("the manager");
- earFile.addCopy(aRole, webRef.getModule());
-
- //Test the add and rollup
- assertTrue("Add copy not right", earFile.getDeploymentDescriptor().getSecurityRoles().size() == 6
- && earFile.getDeploymentDescriptor().containsSecurityRole(aRole.getRoleName())
- && webRef.getWebApp().containsSecurityRole(aRole.getRoleName()));
-
- //Test the push down
- earFile.renameSecurityRole("Joe", "guest");
-
- assertTrue("Push down not right", !earFile.getDeploymentDescriptor().containsSecurityRole("Joe")
- && earFile.getDeploymentDescriptor().containsSecurityRole("guest")
- && !webRef.getWebApp().containsSecurityRole("Joe")
- && webRef.getWebApp().containsSecurityRole("guest")
- && !ejbModRef.getEJBJar().containsSecurityRole("Joe")
- && ejbModRef.getEJBJar().containsSecurityRole("guest"));
-
- earFile.saveAsNoReopen(AutomatedBVT.baseDirectory +"testOutput/SecurityRoleTests/newSample.ear");
-
-}
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SimpleTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SimpleTests.java
deleted file mode 100644
index 5ba873b4..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/SimpleTests.java
+++ /dev/null
@@ -1,433 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
-/*
-* Licensed Material - Property of IBM
-* (C) Copyright IBM Corp. 2001 - All Rights Reserved.
-* US Government Users Restricted Rights - Use, duplication or disclosure
-* restricted by GSA ADP Schedule Contract with IBM Corp.
-*/
-
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.jst.j2ee.application.Application;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ValidateXmlCommand;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WebModuleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.XmlValidationResult;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveInit;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.Entity;
-import org.eclipse.jst.j2ee.ejb.Session;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-
-/**
- * Insert the type's description here.
- * Creation date: (12/11/00 10:26:11 AM)
- * @author: Administrator
- */
-public class SimpleTests extends TestCase {
- private final static String copyright = "(c) Copyright IBM Corporation 2001."; //$NON-NLS-1$
- /**
- * SimpleTests constructor comment.
- * @param name java.lang.String
- */
- public SimpleTests(String name) {
- super(name);
- }
- public boolean isEmpty(Collection adapters) {
- if (adapters.isEmpty())
- return true;
- for (Iterator iter = adapters.iterator(); iter.hasNext();) {
- if (iter.next() != null)
- return false;
- }
- return true;
- }
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
- /**
- * Starts the application.
- * @param args an array of command-line arguments
- */
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.SimpleTests", "-noloading" };
- TestRunner.main(className);
- }
- public void printApplToConsole(Application appl) {
-
- List modules = appl.getModules();
- for (int i = 0; i < modules.size(); i++) {
- System.out.println(modules.get(i));
- }
- }
- public void printEJBJarToConsole(EJBJar ejbJar) {
-
- List ejbs = ejbJar.getEnterpriseBeans();
- for (int i = 0; i < ejbs.size(); i++) {
- System.out.println(ejbs.get(i));
- }
-
- }
- public void printWebAppToConsole(WebApp webApp) {
- List servlets = webApp.getServlets();
-
- for (int i = 0; i < servlets.size(); i++) {
- System.out.println(servlets.get(i));
- }
-
- }
- public static junit.framework.Test suite() {
- return new TestSuite(SimpleTests.class);
- }
- public void testContainerManagedEntityExtensionRead() throws Exception {
- CommonarchiveFactory factory = CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- EJBJarFile jarFile = (EJBJarFile) factory.openArchive(AutomatedBVT.baseDirectory + "cmpsample.jar");
- EJBJar jar = jarFile.getDeploymentDescriptor();
-
- }
- public void testEJB11JarAdd() throws Exception {
- EARFile _earFile = getArchiveFactory().createEARFileInitialized(AutomatedBVT.baseDirectory + "testOutput/TestEAREJBAdd.ear");
- CommonarchiveFactory factory = CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- EJBJarFile jar = (EJBJarFile) factory.openArchive(AutomatedBVT.baseDirectory + "ejb_compat_entitycmp.jar");
- jar.setURI(AutomatedBVT.baseDirectory + "ejb_compat_entitycmp.jar");
- _earFile.addCopy(jar);
- _earFile.save();
- }
- public void testEJBSetAbstractSchemaName() throws Exception {
- String testSm = AutomatedBVT.baseDirectory + "TestSchema";
- CommonarchiveFactory factory = CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- EJBJarFile jarFile = (EJBJarFile) factory.openArchive(AutomatedBVT.baseDirectory + "cmpsample.jar");
- EJBJar jar = jarFile.getDeploymentDescriptor();
- List lst = jar.getContainerManagedBeans();
-
- //I know this will be a CMP, so, lets try set/get on it..
- ContainerManagedEntity cmp = (ContainerManagedEntity) lst.get(0);
-
- //System.out.println("Setting Schema name to: " + testSm);
- cmp.setAbstractSchemaName(testSm);
- //Retrieve it and see if it matches
- //System.out.println("Getting schema name: " + cmp.getAbstractSchemaName());
- assertTrue(cmp.getAbstractSchemaName().equals(testSm));
- }
- /**
- * This excercises the index adapter on Container
- */
- public void testIndexing() throws Exception {
- Archive anArchive = getArchiveFactory().openArchive(AutomatedBVT.baseDirectory + "foo.jar");
- String uri = "com/ibm/etools/archive/test/SimpleTests.java";
-
- List files = anArchive.getFiles();
-
- File aFile = anArchive.getFile(uri);
- assertTrue("Adapter should be attached to aFile", !isEmpty(aFile.eAdapters()));
-
- files.remove(aFile);
-
- assertTrue("Adapter should not be attached to aFile", isEmpty(aFile.eAdapters()));
-
- assertTrue("Contains should return false", !anArchive.containsFile(uri));
-
- File copy = anArchive.addCopy(aFile);
-
- assertTrue("Contains should return true", anArchive.containsFile(uri));
-
- String renamedURI = "com/ibm/goobledygook";
- copy.setURI(renamedURI);
-
- assertTrue("Contains should return false for old uri", !anArchive.containsFile(uri));
-
- assertTrue("Contains should return true for new uri", anArchive.containsFile(renamedURI));
-
- }
- /**
- * This excercises the index adapter on Container
- * Tests notifications with add/remove of lists, and that adapters are set post copy
- */
- public void testIndexingWithCollections() throws Exception {
- Archive anArchive = getArchiveFactory().openArchive(AutomatedBVT.baseDirectory + "bankejbs.jar");
- EARFile earFile = getArchiveFactory().createEARFileInitialized(AutomatedBVT.baseDirectory + "bar.ear");
- earFile.addCopy(anArchive);
- anArchive = (Archive) earFile.getFile(AutomatedBVT.baseDirectory + "bankejbs.jar");
-
- assertTrue("Index out of sync", !anArchive.getFiles().isEmpty() && anArchive.isIndexed());
- List files = anArchive.getFiles();
- for (int i = 0; i < files.size(); i++) {
- File aFile = (File) files.get(i);
- assertTrue("Index out of whack; containment should be true", anArchive.containsFile(aFile.getURI()));
- assertTrue("Adapter should be attached to aFile", !isEmpty(aFile.eAdapters()));
- }
-
- List filesToAdd = getArchiveFactory().openReadOnlyDirectory(AutomatedBVT.baseDirectory + "WarTestClasses").getFilesRecursive();
- List addedFiles = anArchive.addCopyFiles(filesToAdd);
-
- assertTrue("Files added incorrectly", !filesToAdd.isEmpty() && filesToAdd.size() == addedFiles.size());
-
- for (int i = 0; i < addedFiles.size(); i++) {
- File aFile = (File) addedFiles.get(i);
- assertTrue("Contains should be true", anArchive.containsFile(aFile.getURI()));
- assertTrue("Should be same instance", anArchive.getFile(aFile.getURI()) == aFile);
- assertTrue("Adapter should be attached to aFile", !isEmpty(aFile.eAdapters()));
- }
- anArchive.getFiles().removeAll(addedFiles);
-
- for (int i = 0; i < addedFiles.size(); i++) {
- File aFile = (File) addedFiles.get(i);
- assertTrue("Adapter should not be attached to aFile", isEmpty(aFile.eAdapters()));
- assertTrue("Contains should return false", !anArchive.containsFile(aFile.getURI()));
- }
- getArchiveFactory().closeOpenArchives();
- }
- /**
- * Very basic method to open an archive and save it as a directory to a new destination. Requires visual inspection
- * for verification. Nested jars will not be exploded
- */
- public void testOpenAndExtract1() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.ear";
- EARFile earFile = (EARFile) getArchiveFactory().openArchive(in);
- //System.out.println("EAR spec version " + earFile.getSpecVersion() + " detected.");
-
- String out = AutomatedBVT.baseDirectory + "testOutput/SimpleTests/sample-expanded-out1.ear";
- earFile.extractTo(out, Archive.EXPAND_NONE);
- earFile.close();
- }
- /**
- * Very basic method to open an archive and save it as a directory to a new destination. Requires visual inspection
- * for verification. Nested wars will be exploded but other nested jars will not. This method emulates the websphere install.
- * the archive is opened as read only; test that no temp files are created by putting a breakpoint in ArchiveUtil#createTempFile(String, File)
- * Also the archive is opened with java reflection disabled. Verify no reflection occurs by putting a breakpoints in the constructors
- * of JavaJDKAdapterFactory, and the method reflectValues() in each of the subclasses of JdkAdaptor.
- */
- public void testOpenAndExtract2() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.ear";
- ArchiveOptions options = new ArchiveOptions();
- options.setIsReadOnly(true);
- options.setUseJavaReflection(false);
- EARFile earFile = (EARFile) getArchiveFactory().openArchive(options, in);
- //The following code forces the load of all the deployment descriptors, just to make sure java reflection doesn't happen
- List moduleRefs = earFile.getModuleRefs();
- for (int i = 0; i < moduleRefs.size(); i++) {
- ModuleRef m = (ModuleRef) moduleRefs.get(i);
- m.getDeploymentDescriptor();
-
- }
-
- String out = "testOutput/SimpleTests/sample-expanded-out2.ear";
- earFile.extractTo(out, Archive.EXPAND_WAR_FILES);
- earFile.close();
- }
- /**
- * Very basic method to open an archive and save it as a directory to a new destination. Requires visual inspection
- * for verification. Nested wars and ejb jars will be exploded but other nested jars will not
- */
- public void testOpenAndExtract3() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.ear";
- EARFile earFile = (EARFile) getArchiveFactory().openArchive(in);
- String out = AutomatedBVT.baseDirectory + "testOutput/SimpleTests/sample-expanded-out3.ear";
- earFile.extractTo(out, Archive.EXPAND_WAR_FILES | Archive.EXPAND_EJBJAR_FILES);
- earFile.close();
- }
- /**
- * Opens an ear file, and for each module, writes it's dd components to the console. Requires visual inspection
- * for verification
- */
- public void testOpenAndRead() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.ear";
- EARFile earFile = (EARFile) getArchiveFactory().openArchive(in);
-
- Application appl = earFile.getDeploymentDescriptor();
- printApplToConsole(appl);
-
- List moduleRefs = earFile.getModuleRefs();
-
- for (int i = 0; i < moduleRefs.size(); i++) {
- ModuleRef aModuleRef = (ModuleRef) moduleRefs.get(i);
- if (aModuleRef.isWeb()) {
- WebModuleRef wRef = (WebModuleRef) aModuleRef;
- printWebAppToConsole(wRef.getWebApp());
-
- } else if (aModuleRef.isEJB()) {
- EJBModuleRef eRef = (EJBModuleRef) aModuleRef;
- printEJBJarToConsole(eRef.getEJBJar());
-
- }
- }
- }
- /**
- * Very basic method to open an archive and save it as a jar file to a new destination. Requires visual inspection
- * for verification
- */
- public void testOpenAndSaveAsJarFile() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.ear";
- EARFile earFile = (EARFile) getArchiveFactory().openArchive(in);
- String out = AutomatedBVT.baseDirectory + "testOutput/SimpleTests/sample-copy.ear";
- earFile.saveAsNoReopen(out);
- }
- /**
- * Test case created as a result of a defect report that currently cannot be reproduced; open an expanded ear file and save it out
- * as a jar file
- */
- public void testOpenDirectoryAndSaveAsJarFile() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample_expanded.ear";
- in = new java.io.File(in).getAbsolutePath();
- //System.out.println(in);
- EARFile earFile = (EARFile) getArchiveFactory().openArchive(in);
- //Added this line to see if loading the dd would make a difference
- earFile.getDeploymentDescriptor();
- String out = "testOutput/SimpleTests/sample-jarred.ear";
- out = new java.io.File(out).getAbsolutePath();
- //System.out.println(out);
- earFile.saveAsNoReopen(out);
- }
- /**
- * @see Archive#canClose()
- */
- public void testSafeClose() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.ear";
- EARFile earFile = getArchiveFactory().openEARFile(in);
- List modules = earFile.getDeploymentDescriptor().getModules();
- EJBJarFile ejbJarFile = null;
-
- for (int i = 0; i < modules.size(); i++) {
- Module aModule = (Module) modules.get(i);
- if (aModule.isEjbModule()) {
- ejbJarFile = (EJBJarFile) earFile.getFile(aModule.getUri());
- //System.out.println("EJBJar spec version " + ejbJarFile.getSpecVersion() + " detected.");
-
- break;
- }
- }
-
- assertTrue("EJBJarFile should not be null", ejbJarFile != null);
-
- EARFile newEarFile = getArchiveFactory().createEARFileInitialized("testOutput/SimpleTests/safeClose1.ear");
- newEarFile.addCopy(ejbJarFile);
- assertTrue(!earFile.getDependentOpenArchives().isEmpty() && !ejbJarFile.getDependentOpenArchives().isEmpty());
-
- newEarFile.save();
- assertTrue(earFile.getDependentOpenArchives().isEmpty() && ejbJarFile.getDependentOpenArchives().isEmpty());
- earFile.close();
- newEarFile.close();
- }
- /**
- * CMVC defect 99544 - If a save fails and the file didn't exist, one should not
- * be created
- */
- public void testSaveFailure() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.ear";
- String out = AutomatedBVT.baseDirectory + "testOutput/SimpleTests/saveFailure.ear";
- EARFile earFile = getArchiveFactory().openEARFile(in);
- List modules = earFile.getDeploymentDescriptor().getModules();
- EJBJarFile ejbJarFile = null;
-
- for (int i = 0; i < modules.size(); i++) {
- Module aModule = (Module) modules.get(i);
- if (aModule.isEjbModule()) {
- ejbJarFile = (EJBJarFile) earFile.getFile(aModule.getUri());
- break;
- }
- }
-
- assertTrue("EJBJarFile should not be null", ejbJarFile != null);
-
- EARFile newEarFile = getArchiveFactory().createEARFileInitialized(out);
- newEarFile.addCopy(ejbJarFile);
- ejbJarFile.close();
- try {
- newEarFile.save();
- } catch (SaveFailureException expected) {
- System.out.println("Expected save failure occurred");
- return;
- } finally {
- assertTrue("File should not exist", !(new java.io.File(out).exists()));
- getArchiveFactory().closeOpenArchives();
- }
- assertTrue("Save should have failed", false);
- }
- /**
- * Opens an ear file, makes a few changes to ensure the xml is not valid, and validates the xml in all the dds; verifies that
- * sax exceptions are collected
- */
- public void testXmlValidation() throws Exception {
-
- String in = AutomatedBVT.baseDirectory + "sample.ear";
- EARFile earFile = getArchiveFactory().openEARFile(in);
-
- Application appl = earFile.getDeploymentDescriptor();
- appl.getSecurityRoles().add(CommonPackage.eINSTANCE.getCommonFactory().createSecurityRole());
-
- List moduleFiles = earFile.getModuleFiles();
-
- for (int i = 0; i < moduleFiles.size(); i++) {
- ModuleFile aModuleFile = (ModuleFile) moduleFiles.get(i);
- if (aModuleFile.isWARFile()) {
- WARFile aWarFile = (WARFile) aModuleFile;
- aWarFile.getDeploymentDescriptor().getServlets().add(WebapplicationPackage.eINSTANCE.getWebapplicationFactory().createServlet());
- } else if (aModuleFile.isEJBJarFile()) {
- EJBJarFile anEjbJarFile = (EJBJarFile) aModuleFile;
- anEjbJarFile.getDeploymentDescriptor().getEnterpriseBeans().add(EjbPackage.eINSTANCE.getEjbFactory().createEntity());
- anEjbJarFile.getDeploymentDescriptor().getAssemblyDescriptor().getSecurityRoles().add(CommonPackage.eINSTANCE.getCommonFactory().createSecurityRole());
- }
- }
- Command cmd = new ValidateXmlCommand(earFile);
- cmd.execute();
- List errors = (List) cmd.getResult();
- assertTrue("Total validation errors should be 3, instead of "+errors.size(), errors.size() == 3);
- for (int i = 0; i < 3; i++) {
- XmlValidationResult result = (XmlValidationResult) errors.get(i);
- if (i == 1)
- assertTrue("The ejb module should have 2 errors instead of "+ result.getCaughtExceptions().size(), result.getCaughtExceptions().size() == 2);
- else
- assertTrue("The web module should have 1 error instead of "+ result.getCaughtExceptions().size(), result.getCaughtExceptions().size() == 1);
- }
- earFile.close();
- }
- protected void setUp() throws Exception {
- super.setUp();
- ArchiveInit.init();
- }
-
- public void testReadEmptyTags() throws Exception {
- String uri = AutomatedBVT.baseDirectory + "CHKJ280X.jar";
- EJBJarFile jarfile = getArchiveFactory().openEJBJarFile(uri);
- EJBJar jar = jarfile.getDeploymentDescriptor();
- Session sess = (Session) jar.getEnterpriseBeans().get(0);
- Entity entity = (Entity) jar.getEnterpriseBeans().get(1);
- assertFalse("Value should be unset", entity.isSetReentrant());
- assertFalse("Value should be unset", sess.isSetSessionType());
- assertFalse("Value should be unset", sess.isSetTransactionType());
-}
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/TestInvalidXmlMultiplicity.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/TestInvalidXmlMultiplicity.java
deleted file mode 100644
index 5c8dced2..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/TestInvalidXmlMultiplicity.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Created on Dec 2, 2003
- *
- */
-package org.eclipse.jst.j2ee.archive.test;
-
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-import org.eclipse.jst.j2ee.internal.IWrappedException;
-
-
-/**
- * @author schacher
- */
-public class TestInvalidXmlMultiplicity extends AbstractArchiveTest {
-
- /**
- * @param name
- */
- public TestInvalidXmlMultiplicity(String name) {
- super(name);
- }
-
- /**
- * Starts the application.
- * @param args an array of command-line arguments
- */
- public static void main(java.lang.String[] args) {
- String[] className = { "com.ibm.etools.archive.test.TestInvalidXmlMultiplicity", "-noloading" };
- TestRunner.main(className);
- }
-
- public static junit.framework.Test suite() {
- return new TestSuite(TestInvalidXmlMultiplicity.class);
- }
-
- public void test1() throws Exception {
- String uri = AutomatedBVT.baseDirectory + "BadJspConfig.war";
- runTest(uri);
- }
-
- public void test2() throws Exception {
- String uri = AutomatedBVT.baseDirectory + "BadLoginConfig.war";
- runTest(uri);
- }
-
- public void test3() throws Exception {
- String uri = AutomatedBVT.baseDirectory + "BadSessionConfig.war";
- runTest(uri);
- }
-
- public void runTest(String uri) throws Exception {
- IWrappedException ex = null;
- WARFile war = getArchiveFactory().openWARFile(uri);
- try {
- war.getDeploymentDescriptor();
- } catch (DeploymentDescriptorLoadException ddex) {
- ex = ddex;
- }
- assertNotNull("Exception should have been caught", ex);
- Exception inner = ex.getNestedException();
-
- while (ex != null) {
- if (inner instanceof IWrappedException) {
- ex = (IWrappedException)inner;
- if (ex.getNestedException() != null)
- inner = ex.getNestedException();
- } else
- ex = null;
- }
-
- assertTrue("The exception should be an IllegalStateException", inner instanceof IllegalStateException);
- war.close();
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/TestModuleClassLoading.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/TestModuleClassLoading.java
deleted file mode 100644
index f5c7ce50..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/TestModuleClassLoading.java
+++ /dev/null
@@ -1,98 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
-import java.util.List;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.internal.impl.JavaClassImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-
-
-public class TestModuleClassLoading extends TestCase {
- static String testClass = "client.Subtract";
-
-
-
- /**
- *
- */
- public TestModuleClassLoading() {
- super();
- }
-
- public TestModuleClassLoading(String name) {
- super(name);
- }
-
- public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
- }
- /**
- * Starts the application.
- * @param args an array of command-line arguments
- */
- public static void main(java.lang.String[] args) {
- String[] className = {"com.ibm.etools.archive.test.TestModuleClassLoading", "-noloading"};
- TestRunner.main(className);
- }
- public static junit.framework.Test suite() {
- return new TestSuite(TestModuleClassLoading.class);
- }
- public static void testAddModuleClassLoading() throws Exception {
- String[] files = { "PROTO.ear","SEIinAnotherJar.ear", "SEIinWEB-INF_lib_jar.ear" };
-
- if (files.length == 0) {
- System.out.println("Usage: args specify full path to ear files.");
- }
-
- // com.ibm.websphere.models.config.init.ConfigInit.init();
- for (int i = 0; i < files.length; i++) {
- String filename = files[i];
- CommonarchiveFactory factory = CommonarchiveFactoryImpl.getActiveFactory();
-
- String in = AutomatedBVT.baseDirectory + files[i];
- try {
- EARFile earFile = factory.openEARFile (in);
- System.out.println ("uri: " + earFile.getURI());
- System.out.println("Testing " + earFile.getURI());
- doModules(earFile);
- } catch (Exception e) {
- System.out.println(e);
- }
- }
- }
-
-
-
- public static void doModules(EARFile earFile) {
- List modules = earFile.getModuleFiles();
- for (int i = 0; i < modules.size(); i++) {
- Archive module = (Archive) modules.get(i);
- System.out.print("\tLooking for class " + testClass + " in module " + module.getURI());
- doLoad(module, testClass);
- }
- } // validateModules
-
- private static void doLoad(Archive module, String testClass) {
- try {
- JavaClass javaClass =
- (JavaClass) JavaClassImpl.reflect(testClass, module.getResourceSet());
- if (!(javaClass).isExistingType()) {
- // This is what happens if the class can't be loaded.
- System.out.println("- NOT FOUND - isExistingType returns false.");
- } else {
- System.out.println(" - found: isExistingType returns true.");
- }
- } catch (RuntimeException e) {
- e.printStackTrace();
- }
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/WARFileTests.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/WARFileTests.java
deleted file mode 100644
index b7c126eb..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/test/WARFileTests.java
+++ /dev/null
@@ -1,108 +0,0 @@
-package org.eclipse.jst.j2ee.archive.test;
-
- /*
- * Licensed Material - Property of IBM
- * (C) Copyright IBM Corp. 2001 - All Rights Reserved.
- * US Government Users Restricted Rights - Use, duplication or disclosure
- * restricted by GSA ADP Schedule Contract with IBM Corp.
- */
-
-import java.util.List;
-
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-import junit.swingui.TestRunner;
-
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchivePackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ReadOnlyDirectory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveConstants;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.util.ArchiveUtil;
-import org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT;
-
-/**
- * Insert the type's description here.
- * Creation date: (12/15/00 2:26:04 PM)
- * @author: Administrator
- */
-public class WARFileTests extends TestCase {
- private final static String copyright = "(c) Copyright IBM Corporation 2001.";//$NON-NLS-1$
-/**
- * WARFileTests constructor comment.
- * @param name java.lang.String
- */
-public WARFileTests(String name) {
- super(name);
-}
-public CommonarchiveFactory getArchiveFactory() {
- return CommonarchivePackage.eINSTANCE.getCommonarchiveFactory();
-}
-/**
- * Starts the application.
- * @param args an array of command-line arguments
- */
-public static void main(java.lang.String[] args) {
- String[] className = {"com.ibm.etools.archive.test.WARFileTests", "-noloading"};
- TestRunner.main(className);
-}
-public static junit.framework.Test suite() {
- return new TestSuite(WARFileTests.class);
-}
-public void testAddCopyClass() throws Exception {
-
- WARFile aWarFile = (WARFile)getArchiveFactory().openArchive(AutomatedBVT.baseDirectory +"example2.war");
-
- ReadOnlyDirectory sampleDirectory = getArchiveFactory().openReadOnlyDirectory(AutomatedBVT.baseDirectory +"WarTestClasses");
-
- int initialSize = aWarFile.getClasses().size();
-
- File aFile = sampleDirectory.getFileInSelfOrSubdirectory("com/ibm/etools/archive/test/WARFileTests.class");
-
- aWarFile.addCopyClass(aFile);
- assertTrue(aWarFile.getClasses().size() == initialSize+1);
-
- String classURI = ArchiveUtil.concatUri(ArchiveConstants.WEBAPP_CLASSES_URI, aFile.getURI(), '/');
- assertTrue(aWarFile.containsFile(classURI));
- //System.out.println(aWarFile.getURI()+" contains class "+classURI);
-
- aWarFile.saveAsNoReopen(AutomatedBVT.baseDirectory +"testOutput/WarTests/addCopyClass.war");
-
-}
-
-public void testAddCopyLib() throws Exception {
-
- WARFile aWarFile = (WARFile)getArchiveFactory().openArchive(AutomatedBVT.baseDirectory + "example2.war");
-
- Archive lib = getArchiveFactory().openArchive(AutomatedBVT.baseDirectory + "foo.jar");
-
- int initialSize = aWarFile.getLibs().size();
-
- aWarFile.addCopyLib(lib);
- assertTrue(aWarFile.getLibs().size() == initialSize+1);
-
- String libURI = ArchiveUtil.concatUri(ArchiveConstants.WEBAPP_LIB_URI, lib.getURI(), '/');
- assertTrue(aWarFile.containsFile(libURI));
- //System.out.println(aWarFile.getURI()+" contains lib "+libURI);
-
- aWarFile.saveAsNoReopen("testOutput/WarTests/addCopyLib.war");
-
-}
-
-public void testListClassesAndLibs() throws Exception {
-
- WARFile aWarFile = (WARFile)getArchiveFactory().openArchive(AutomatedBVT.baseDirectory + "example2.war");
-
- List libs = aWarFile.getLibs();
- List classes = aWarFile.getClasses();
- List resources = aWarFile.getResources();
-// System.out.println("WAR spec version "+aWarFile.getSpecVersion()+" detected.");
-// System.out.println("example2.war contains "+classes.size()+ " files in classes");
-// System.out.println("example2.war contains "+libs.size()+ " libs");
-// System.out.println("example2.war contains "+resources.size()+ " resources");
-
-}
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/EAttributeDescriptor.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/EAttributeDescriptor.java
deleted file mode 100644
index d8500780..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/EAttributeDescriptor.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Created on May 1, 2003
- *
- * To change the template for this generated file go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.archive.testutilities;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-/**
- * @author administrator
- *
- * To change the template for this generated type comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class EAttributeDescriptor {
-
- EStructuralFeature feature;
- EClass metaClass;
-
- /**
- *
- */
- public EAttributeDescriptor(EStructuralFeature feature, EClass metaClass) {
- this.feature = feature;
- this.metaClass = metaClass;
- }
-
- /**
- * @return
- */
- public EClass getMetaClass() {
- return metaClass;
- }
-
- /**
- * @param class1
- */
- public void setMetaClass(EClass class1) {
- metaClass = class1;
- }
-
- public boolean equals(Object object) {
- EAttributeDescriptor o = (EAttributeDescriptor)object;
- return o.getFeature() == getFeature() && o.getMetaClass() == getMetaClass();
- }
-
- public int hashCode() {
- return feature.hashCode() ^ metaClass.hashCode();
- }
-
-
- /**
- * @return
- */
- public EStructuralFeature getFeature() {
- return feature;
- }
-
- /**
- * @param attribute
- */
- public void setFeature(EAttribute attribute) {
- this.feature = attribute;
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/EMFAttributeFeatureGenerator.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/EMFAttributeFeatureGenerator.java
deleted file mode 100644
index 243f915b..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/EMFAttributeFeatureGenerator.java
+++ /dev/null
@@ -1,413 +0,0 @@
-package org.eclipse.jst.j2ee.archive.testutilities;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Random;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EClassifier;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.jem.java.internal.impl.JavaClassImpl;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-public class EMFAttributeFeatureGenerator {
- public static String avClass[];
- protected static int count = 0;
- protected static Random randomGenerator = new Random();
- protected static int maxNumberOfProjectsCreated = 1000;
- protected static Map enumMap = new HashMap();
- protected static int paramCount;
- protected static String[] langArray = new String[] { "EN","FR","DE","JP","CN","BR","SP"};
- protected static int langCount = 0;
- protected static Map booleanMap = new HashMap();
- protected static Map attIndex = new HashMap();
- protected static boolean specialNumberGen = false;
- protected static String httpArray[] = null;
- protected static int httpArrayIndex = 0;
-
- public static int version;
- public static int moduleType;
- //static versions
- public static final int VERSION_1_2 = 0;
- public static final int VERSION_1_3 = 1;
- public static final int VERSION_1_4 = 2;
-
- public static final int APPICATION = 0;
- public static final int APP_CLIENT = 1;
- public static final int CONNECTOR = 2;
- public static final int EJB = 3;
- public static final int WEB = 4;
-
- public EMFAttributeFeatureGenerator() {
- super();
- }
-
- public static void resetCount() {
- count = 0;
- return;
- }
- public static Object createAttribute(EAttribute att, EObject obj){
- return createAttribute(new EAttributeDescriptor(att,obj.eClass()));
- }
-
- public static Object createAttribute(EAttribute att, EClass eClass){
- return createAttribute(new EAttributeDescriptor(att,eClass));
- }
-
- public static Object createAttribute(EAttribute att, EObject obj, boolean special){
- specialNumberGen = special;
- return createAttribute(new EAttributeDescriptor(att,obj.eClass()));
- }
-
- public static Object createAttribute(EAttribute att, EObject obj, boolean special, int ver, int modType) {
- specialNumberGen = special;
- version = ver;
- moduleType = modType;
- return createAttribute(new EAttributeDescriptor(att,obj.eClass()));
- }
-
- protected static Object createAttribute(EAttributeDescriptor att) {
- EClassifier meta = att.getFeature().getEType();
- if (meta instanceof EEnum && att.getFeature().isMany()){
- List collection = new ArrayList();
- collection.add(createEnum(att));
- return collection;
- }
- else if (meta instanceof EEnum)
- return createEnum(att);
- else if ((version == VERSION_1_3 || version == VERSION_1_2) && att.getFeature().equals(WebapplicationPackage.eINSTANCE.getHTTPMethodType_HttpMethod()))
- return createSpecialHttpMethodsFor13();
- else if (version == VERSION_1_3 && att.getFeature().equals(CommonPackage.eINSTANCE.getEJBLocalRef_Local()))
- return generateRandomAttributeString(new EAttributeDescriptor(CommonPackage.eINSTANCE.getEjbRef_Remote(), att.getMetaClass()));
- else if (version == VERSION_1_3 && att.getFeature().equals(CommonPackage.eINSTANCE.getEJBLocalRef_LocalHome()))
- return generateRandomAttributeString(new EAttributeDescriptor(CommonPackage.eINSTANCE.getEjbRef_Home(),att.getMetaClass()));
- else if (att.getFeature().getName().equals("parms"))
- return createParams(att);
- else if (att.getFeature().getName().startsWith("location") && version == VERSION_1_4)
- return createLocation(att);
- else if (att.getFeature().getName().startsWith("locale") && version == VERSION_1_4)
- return createLocale();
- else if (att.getFeature().getName().equals("lang"))
- return createLang(att);
- else if (att.getFeature().getName().equals("version"))
- if (att.getFeature() == EjbPackage.eINSTANCE.getContainerManagedEntity_Version())
- return "2.x";
- else
- return createVersion(att);
- else if (att.getFeature().getName().equals("mimeType") && version == VERSION_1_4)
- return "text/plain";
- else if (att.getFeature().getName().equals("errorCode") && version == VERSION_1_4)
- return "404";
- else if (att.getFeature().getName().equals("formLoginPage") && version == VERSION_1_4)
- return "/testFormLoginPage";
- else if (att.getFeature().getName().equals("formErrorPage") && version == VERSION_1_4)
- return "/testFormErrorpage";
- else if(att.getFeature().getName().equals("link") && version == VERSION_1_4)
- return "roleName_0";
- else if(att.getFeature().getName().equals("specVersion") && version == VERSION_1_4)
- return "1.5";
- else if (att.getFeature().isMany())
- return createCollection(att);
- switch (meta.getClassifierID()) {
- case EcorePackage.ESTRING:
- return generateRandomAttributeString(att);
- case EcorePackage.EBOOLEAN_OBJECT:
- case EcorePackage.EBOOLEAN:
- return generateRandomBoolean(att);
- case EcorePackage.EINTEGER_OBJECT:
- case EcorePackage.EINT:
- return generateRandomInteger(att);
- case EcorePackage.EFLOAT_OBJECT:
- case EcorePackage.EFLOAT:
- return generateRandomFloat(att);
- case EcorePackage.ECHARACTER_OBJECT:
- case EcorePackage.ECHAR:
- return generateRandomChar(att);
- case EcorePackage.ELONG_OBJECT:
- case EcorePackage.ELONG:
- return generateRandomLong();
- case EcorePackage.EBYTE_OBJECT:
- case EcorePackage.EBYTE:
- return generateRandomByte();
- case EcorePackage.EDOUBLE_OBJECT:
- case EcorePackage.EDOUBLE:
- return generateRandomDouble();
- case EcorePackage.ESHORT_OBJECT:
- case EcorePackage.ESHORT:
- return generateRandomShort(att);
- case EcorePackage.EJAVA_OBJECT:
- return generateRandomObject(att);
- }
- return null;
- }
-
- /**
- * @return
- */
- private static Object createLocale() {
- return "en_US";
- }
-
- /**
- * @param att
- * @return
- */
- private static Object createLocation(EAttributeDescriptor att) {
- String temp = generateRandomAttributeString(att);
- return "/." + temp;
- }
-
- public static EObject createJavaClassProxy(EStructuralFeature ref, EObject eObject) {
- if (avClass == null) {
- avClass = new String[] { "java.util.HashTable", "java.util.List", "java.sql.Data", "java.lang.Integer", "java.lang.String" };
- }
- EAttributeDescriptor feature = new EAttributeDescriptor(ref,eObject.eClass());
- if (!attIndex.containsKey(feature))
- attIndex.put(feature, new Integer(0));
- int classIndex = ((Integer)attIndex.get(feature)).intValue();
- String name = avClass[classIndex];
- classIndex++;
- if (classIndex == 5)
- classIndex = 0;
- attIndex.put(feature,new Integer(classIndex));
- return JavaClassImpl.createClassRef(name);
- }
- /**
- * @return
- */
- protected static Object createSpecialHttpMethodsFor13() {
- if (httpArray == null)
- httpArray = new String[] {
- "GET",
- "POST",
- "PUT",
- "DELETE",
- "HEAD",
- "OPTIONS",
- "TRACE"
- };
- if (httpArrayIndex >= httpArray.length)
- httpArrayIndex = 0;
- Object holder = httpArray[httpArrayIndex];
- httpArrayIndex++;
- return holder;
- }
-
- /**
- * @param att
- * @return
- */
- protected static String createVersion(EAttributeDescriptor att) {
- String versionHolder = "";
- switch (moduleType) {
- case APPICATION :
- if(version == VERSION_1_2) {
- versionHolder = "1.2";
- break;
- }
- else if(version == VERSION_1_3){
- versionHolder = "1.3";
- break;
- }
- else {
- versionHolder = "1.4";
- break;
- }
- case APP_CLIENT :
- if(version == VERSION_1_2) {
- versionHolder = "1.2";
- break;
- }
- else if(version == VERSION_1_3) {
- versionHolder = "1.3";
- break;
- }
- else {
- versionHolder = "1.4";
- break;
- }
- case EJB :
- if(version == VERSION_1_2) {
- versionHolder = "1.1";
- break;
- }
- else if(version == VERSION_1_3) {
- versionHolder = "2.0";
- break;
- }
- else {
- versionHolder = "2.1";
- break;
- }
- case CONNECTOR :
- if(version == VERSION_1_2) {
- versionHolder = "1.0";
- break;
- }
- else if(version == VERSION_1_3) {
- versionHolder = "1.0";
- break;
- }
- else {
- versionHolder = "1.5";
- break;
- }
- case WEB :
- if(version == VERSION_1_2) {
- versionHolder = "2.2";
- break;
- }
- else if(version == VERSION_1_3) {
- versionHolder = "2.3";
- break;
- }
- else {
- versionHolder = "2.4";
- break;
- }
- }
-
- return versionHolder;
- }
-
- protected static Object createParams(EAttributeDescriptor att) {
- if (paramCount == 0){
- paramCount++;
- return null;
- }
- else if (paramCount == 1){
- paramCount++;
- return "";
- }
- String r = "";
- for (int i = 1 ; i < paramCount ;i++){
- r += generateRandomAttributeString(att) + " ";
- }
- paramCount++;
- if (paramCount == 5)
- paramCount = 0;
- return r;
-
- }
-
-
- protected static Object createLang(EAttributeDescriptor att) {
- String name = langArray[langCount];
- langCount++;
- if (langCount == 7)
- langCount = 0;
- return name;
- }
-
- protected static Object createCollection(EAttributeDescriptor att) {
- ArrayList list = new ArrayList();
- list.add(generateRandomAttributeString(att));
- return list;
- }
-
-
- protected static Object generateRandomObject(EAttributeDescriptor att) {
- return generateRandomAttributeString(att);
- }
-
- protected static Object createEnum(EAttributeDescriptor att) {
- EEnum anEnum = (EEnum) att.getFeature().getEType();
- if (!enumMap.containsKey(att)){
- if (att.getFeature().getName().equals("authMethod"))
- enumMap.put(att,new Integer(1));
- else
- enumMap.put(att,new Integer(0));
- }
- int pos = ((Integer)enumMap.get(att)).intValue();
- EList literals = anEnum.getELiterals();
- int size = literals.size();
- if (pos == size)
- pos = 0;
- Object holder = anEnum.getEEnumLiteral(pos).getInstance();
- pos++;
- enumMap.put(att,new Integer(pos));
- return holder;
-
- }
- public static Object generateRandomClassname(EAttributeDescriptor att) {
- return "com.foo." + generateRandomAttributeString(att);
- }
-
- //REVISIT
- protected static Object generateRandomShort(EAttributeDescriptor att) {
- return new Short(generateRandomAttributeString(att));
- }
-
- protected static Object generateRandomDouble() {
- return new Double(randomGenerator.nextDouble());
- }
- //REVISIT
- protected static Object generateRandomByte() {
- return new Byte("byte");
- }
-
- protected static Object generateRandomLong() {
- return new Long(randomGenerator.nextLong());
- }
-
- protected static Object generateRandomChar(EAttributeDescriptor att) {
- return new Character(generateRandomAttributeString(att).charAt(0));
- }
-
-
- protected static Object generateRandomFloat(EAttributeDescriptor att) {
- return new Float(randomGenerator.nextFloat());
- }
-
- protected static Object generateRandomInteger(EAttributeDescriptor att) {
- return new Integer(generateNumber(att));
- }
-
-
- protected static Object generateRandomBoolean(EAttributeDescriptor att) {
- if (!booleanMap.containsKey(att)){
- booleanMap.put(att,new Boolean(true));
- }
- Boolean holder = (Boolean)booleanMap.get(att);
- booleanMap.put(att, new Boolean(!holder.booleanValue()));
- return holder;
- }
-
- public static String generateRandomAttributeString(EAttributeDescriptor att) {
- return att.getFeature().getName() + "_" + generateNumber(att);
- }
- protected static int generateNumber(EAttributeDescriptor att) {
- if(!specialNumberGen)
- return count ++;
- else{
- if(!attIndex.containsKey(att))
- attIndex.put(att, new Integer(0));
- int holder = ((Integer) attIndex.get(att)).intValue();
- attIndex.put(att, new Integer(holder+1));
- return holder;
- }
- }
-
- public static void reset(){
- count = 0;
- enumMap = new HashMap();
- httpArrayIndex = 0;
- paramCount = 0;
- langCount = 0;
- booleanMap = new HashMap();
- attIndex = new HashMap();
- specialNumberGen = false;
- TestUtilities.reset();
- J2EEVersionCheck.cur_Tags = null;
-
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/J2EEVersionCheck.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/J2EEVersionCheck.java
deleted file mode 100644
index d8113678..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/J2EEVersionCheck.java
+++ /dev/null
@@ -1,199 +0,0 @@
-/*
- * Created on Apr 14, 2003
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.archive.testutilities;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.client.ClientPackage;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.jca.JcaPackage;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-
-public class J2EEVersionCheck {
- public int version;
- //static versions
- public static final int VERSION_1_2 = 0;
- public static final int VERSION_1_3 = 1;
- public static final int VERSION_1_4 = 2;
-
- //modules
- public static final int APPICATION = 0;
- public static final int APP_CLIENT = 1;
- public static final int CONNECTOR = 2;
- public static final int EJB = 3;
- public static final int WEB = 4;
-
- public static List cur_Tags;
- private static CommonPackage COM = CommonPackage.eINSTANCE;
-
- public J2EEVersionCheck() {
- super();
- }
- public static boolean checkAttributeVersion(EAttribute att, int version, int type){
- //TODO: Add version 1.2 excludes
- if(version == VERSION_1_3 || version == VERSION_1_2){
- if(cur_Tags == null){
- cur_Tags = new ArrayList();
- populate_1_3List(type);
- }
- }
- else if(version == VERSION_1_4){
- return true;
- }
-
- if(cur_Tags.contains(att) || cur_Tags.contains(att.getEType()))
- return false;
- return true;
- }
-
- public static boolean checkReferenceVersion(EStructuralFeature ref, int version, int type){
- //TODO: Add version 1.2 excludes
- if(version == VERSION_1_3 || version == VERSION_1_2){
- if(cur_Tags == null){
- cur_Tags = new ArrayList();
- populate_1_3List(type);
- }
- }
- else if(version == VERSION_1_4){
- return true;
- }
-
- if(cur_Tags.contains(ref) || cur_Tags.contains(ref.getEType()))
- return false;
- return true;
- }
-
- private static void populate_1_2List(int type) {
- switch (type) {
- case APPICATION :
- populate_1_2Application();
- break;
- case APP_CLIENT :
- populate_1_2AppClient();
- break;
- case EJB :
- populate_1_2EJB();
- break;
- case CONNECTOR :
- populate_1_2EJB();
- break;
- case WEB :
- populate_1_2Web();
- default :
- break;
- }
- }
-
- private static void populate_1_3List(int type) {
- switch (type) {
- case APPICATION :
- populate_1_3Application();
- break;
- case APP_CLIENT :
- populate_1_3AppClient();
- break;
- case EJB :
- populate_1_3EJB();
- break;
- case CONNECTOR :
- populate_1_3EJB();
- break;
- case WEB :
- populate_1_3Web();
- default :
- break;
- }
- }
-
- private static void populate_1_2Application(){
- populate_1_3Application();
- }
-
- private static void populate_1_2AppClient(){
- populate_1_3AppClient();
- }
-
- private static void populate_1_2EJB(){
- populate_1_3EJB();
- }
-
- private static void populate_1_2Connector(){
- populate_1_3Connector();
- }
-
- private static void populate_1_2Web(){
- populate_1_3Web();
- }
-
- //1.3
- private static void populate_1_3Application(){
- CommonPackage COM = CommonPackage.eINSTANCE;
- cur_Tags.add(COM.getIconType());
- cur_Tags.add(COM.getDisplayName());
- cur_Tags.add(COM.getDescription());
- cur_Tags.add(COM.getDescriptionGroup());
- cur_Tags.add(COM.getSecurityIdentity_Descriptions());
- cur_Tags.add(ApplicationPackage.eINSTANCE.getApplication_Version());
- }
-
- private static void populate_1_3AppClient(){
- cur_Tags.add(COM.getIconType());
- cur_Tags.add(COM.getDisplayName());
- cur_Tags.add(COM.getDescription());
- cur_Tags.add(COM.getDescriptionGroup());
- cur_Tags.add(ClientPackage.eINSTANCE.getApplicationClient_Version());
- cur_Tags.add(ClientPackage.eINSTANCE.getApplicationClient_ServiceRefs());
- cur_Tags.add(ClientPackage.eINSTANCE.getApplicationClient_MessageDestinationRefs());
- cur_Tags.add(ClientPackage.eINSTANCE.getApplicationClient_MessageDestinations());
- cur_Tags.add(COM.getMessageDestination());
- cur_Tags.add(COM.getMessageDestinationRef());
- //cur_Tags.add(ClientPackage.eINSTANCE.getApplicationClient_ServiceRefs());
- }
-
- private static void populate_1_3Connector(){
- cur_Tags.add(COM.getIconType());
- cur_Tags.add(COM.getDisplayName());
- cur_Tags.add(COM.getDescription());
- cur_Tags.add(COM.getDescriptionGroup());
- cur_Tags.add(JcaPackage.eINSTANCE.getOutboundResourceAdapter());
- cur_Tags.add(JcaPackage.eINSTANCE.getInboundResourceAdapter());
- cur_Tags.add(JcaPackage.eINSTANCE.getAdminObject());
- cur_Tags.add(JcaPackage.eINSTANCE.getConnector_Version());
- }
-
- private static void populate_1_3EJB() {
- cur_Tags.add(COM.getIconType());
- cur_Tags.add(COM.getDisplayName());
- cur_Tags.add(COM.getDescription());
- cur_Tags.add(COM.getDescriptionGroup());
- cur_Tags.add(EjbPackage.eINSTANCE.getEJBJar_Version());
- cur_Tags.add(EjbPackage.eINSTANCE.getSession_ServiceEndpoint());
- cur_Tags.add(COM.getJNDIEnvRefsGroup_MessageDestinationRefs());
- cur_Tags.add(COM.getJNDIEnvRefsGroup_ServiceRefs());
- cur_Tags.add(EjbPackage.eINSTANCE.getMessageDriven_MessagingType());
- cur_Tags.add(EjbPackage.eINSTANCE.getMessageDriven_MessageDestination());
- cur_Tags.add(EjbPackage.eINSTANCE.getMessageDriven_Link());
- cur_Tags.add(EjbPackage.eINSTANCE.getMessageDriven_ActivationConfig());
- }
-
- private static void populate_1_3Web(){
- cur_Tags.add(COM.getIconType());
- cur_Tags.add(COM.getDisplayName());
- cur_Tags.add(COM.getDescription());
- cur_Tags.add(COM.getDescriptionGroup());
- cur_Tags.add(WebapplicationPackage.eINSTANCE.getWebApp_Version());
- cur_Tags.add(WebapplicationPackage.eINSTANCE.getWebApp_JspConfig());
- cur_Tags.add(WebapplicationPackage.eINSTANCE.getWebApp_MessageDestinations());
- cur_Tags.add(WebapplicationPackage.eINSTANCE.getWebApp_LocalEncodingMappingList());
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/TestUtilities.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/TestUtilities.java
deleted file mode 100644
index 5f778ecc..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/archive/testutilities/TestUtilities.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * Created on Apr 3, 2003
- *
- * To change the template for this generated file go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.archive.testutilities;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EClassifier;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-/**
- * @author administrator
- *
- * To change the template for this generated type comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class TestUtilities extends EcoreUtil {
- private static Map objectMap = new HashMap();
- private static Map subsetMap = new HashMap();
-
-
- /**
- * Returns the first collection member that {@link EClassifier#isInstance is an instance} of the type.
- * @param objects a collection of objects to check.
- * @param type the type of object to find.
- * @return the first object of the specified type.
- */
- public static Object getObjectByType(Resource res, EClassifier type, boolean isMany) {
- if (isMany)
- return getContainedCollectionByType(res.getContents(), type);
- else
- return getContainedObjectByType(res.getContents(), type);
- }
-
- public static Object getContainedObjectByType(List list, EClassifier type) {
- Object found;
- found = getObjectsByType(list, type);
- if (found != null && !((Collection)found).isEmpty())
- return extractObject((List) found,type);
-
- for (int i = 0; i < list.size(); i++) {
- EObject obj = (EObject) list.get(i);
- found = getContainedObjectByType(obj.eContents(), type);
- if (found != null)
- return found;
- }
-
- return null;
- }
-
- public static Object getContainedCollectionByType(List list, EClassifier type) {
- List found;
- found = (List)getObjectsByType(list, type);
- if (found != null && !found.isEmpty())
- return extractSubset(found, type);
-
- for (int i = 0; i < list.size(); i++) {
- EObject obj = (EObject) list.get(i);
- found = (List) getContainedCollectionByType(obj.eContents(), type);
- if (found != null)
- return found;
- }
-
- return null;
-
-
-
- }
-
- public static List extractSubset(List found, EClassifier type) {
- if (!subsetMap.containsKey(type)){
- subsetMap.put(type,new Integer(1));
- }
- int pos = ((Integer)subsetMap.get(type)).intValue();
-
- if (pos == found.size())
- pos = 1;
- List result = new ArrayList();
- for (int i = 0; i < pos; i++)
- result.add(found.get(i));
- pos++;
- subsetMap.put(type,new Integer(pos));
-
- return result;
- }
-
- public static Object extractObject(List found, EClassifier type) {
- if (!objectMap.containsKey(type)){
- objectMap.put(type,new Integer(0));
- }
- int pos = ((Integer)objectMap.get(type)).intValue();
-
- if (pos == found.size())
- pos = 0;
- Object holder = found.get(pos);
- pos++;
- objectMap.put(type,new Integer(pos));
-
- return holder;
- }
-
- public static void reset(){
- subsetMap.clear();
- objectMap.clear();
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/core/tests/bvt/AutomatedBVT.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/core/tests/bvt/AutomatedBVT.java
deleted file mode 100644
index 740689a8..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/core/tests/bvt/AutomatedBVT.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Created on Apr 1, 2003
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.core.tests.bvt;
-
-import java.net.URL;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
-
-import org.eclipse.core.runtime.IPluginDescriptor;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.jst.j2ee.archive.emftests.AllTests;
-
-
-/**
- * @author jsholl
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class AutomatedBVT extends TestSuite {
-
- public static String baseDirectory = System.getProperty("user.dir") + java.io.File.separatorChar + "commonArchiveResources" + java.io.File.separatorChar;
-
- static {
- try {
- IPluginDescriptor pluginDescriptor = Platform.getPluginRegistry().getPluginDescriptor("org.eclipse.jst.j2ee.core.tests");
- URL url = pluginDescriptor.getInstallURL();
- AutomatedBVT.baseDirectory = Platform.asLocalURL(url).getFile() + "commonArchiveResources"+ java.io.File.separatorChar;
- } catch (Exception e) {
- System.err.println("Using working directory since a workspace URL could not be located.");
- }
- }
-
- public static int unimplementedMethods;
-
- public static void main(String[] args) {
- unimplementedMethods = 0;
- TestRunner.run(suite());
- if (unimplementedMethods > 0) {
- System.out.println("\nCalls to warnUnimpl: " + unimplementedMethods);
- }
- }
-
- public AutomatedBVT() {
- super();
- TestSuite suite = (TestSuite) AutomatedBVT.suite();
- for (int i = 0; i < suite.testCount(); i++) {
- addTest(suite.testAt(i));
- }
- }
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for org.eclipse.jst.j2ee.core.bvt");
- //$JUnit-BEGIN$
- //TODO: Make the Archive Test Work
- // suite.addTest(AllArchiveTestsJava.suite());
- suite.addTest(AllTests.suite());
- //suite.addTest(AllJavaTestsJava.suite());
- //$JUnit-END$
- return suite;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/core/tests/bvt/AutomatedBVTEclipse.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/core/tests/bvt/AutomatedBVTEclipse.java
deleted file mode 100644
index 08b007d7..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/core/tests/bvt/AutomatedBVTEclipse.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Created on Mar 25, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.jst.j2ee.core.tests.bvt;
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.eclipse.core.runtime.IPluginDescriptor;
-import org.eclipse.core.runtime.Platform;
-
-/**
- * @author jsholl
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class AutomatedBVTEclipse extends AutomatedBVT {
-
- public AutomatedBVTEclipse(){
- super();
- IPluginDescriptor pluginDescriptor = Platform.getPluginRegistry().getPluginDescriptor("org.eclipse.jst.j2ee.core.tests");
- URL url = pluginDescriptor.getInstallURL();
- try {
- AutomatedBVT.baseDirectory = Platform.asLocalURL(url).getFile() + "commonArchiveResources"+ java.io.File.separatorChar;
- } catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/emfload/LoadJaxRPCMapOutsideWorkspace.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/emfload/LoadJaxRPCMapOutsideWorkspace.java
deleted file mode 100644
index aabf1dec..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/emfload/LoadJaxRPCMapOutsideWorkspace.java
+++ /dev/null
@@ -1,86 +0,0 @@
-package org.eclipse.jst.j2ee.emfload;
-
-import java.net.URL;
-import java.util.Iterator;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.IPluginDescriptor;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.emf.common.util.Diagnostic;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.URIConverter;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.emf.ecore.resource.impl.URIConverterImpl;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEResourceFactoryRegistry;
-import org.eclipse.jst.j2ee.internal.J2EEInit;
-import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapResource;
-import org.eclipse.jst.j2ee.webservice.jaxrpcmap.JaxrpcmapResourceFactory;
-import org.eclipse.wst.common.internal.emf.resource.EMF2DOMRendererFactory;
-
-
-public class LoadJaxRPCMapOutsideWorkspace extends TestCase {
-
- //public static String baseDirectory = System.getProperty("user.dir") + java.io.File.separatorChar + "testData" + java.io.File.separatorChar + "webservices" + java.io.File.separatorChar + "META-INF" + java.io.File.separatorChar;
-
- /**
- * <!-- begin-user-doc -->
- * Load all the argument file paths or URIs as instances of the model.
- * <!-- end-user-doc -->
- * @param args the file paths or URIs.
- * @generated
- */
- public void testLoadFile() throws Exception {
-
- IPluginDescriptor pluginDescriptor = Platform.getPluginRegistry().getPluginDescriptor("org.eclipse.jst.j2ee.core.tests");
- URL url = pluginDescriptor.getInstallURL();
- String baseDirectory = Platform.asLocalURL(url).getFile() + "testData" + java.io.File.separatorChar + "webservices" + java.io.File.separatorChar + "META-INF" + java.io.File.separatorChar;
-
- // Call J2EE Init();
-
- J2EEInit.init();
- // Create a resource set to hold the resources.
- //
- ResourceSet resourceSet = new ResourceSetImpl();
- J2EEResourceFactoryRegistry registry = new J2EEResourceFactoryRegistry();
- resourceSet.setResourceFactoryRegistry(registry);
- URIConverter conv = new URIConverterImpl();
- resourceSet.setURIConverter(conv);
- EMF2DOMRendererFactory.INSTANCE.setValidating(false);
-
- URI uri = URI.createFileURI(baseDirectory + "AnnuityServices_mapping.xml");
- registry.registerLastFileSegment(uri.lastSegment(), new JaxrpcmapResourceFactory(EMF2DOMRendererFactory.INSTANCE));
-
- try {
- // Demand load resource for this file.
- //
- JaxrpcmapResource jaxrpcmapRes = (JaxrpcmapResource)resourceSet.getResource(uri, true);
- System.out.println("Loaded " + uri);
- jaxrpcmapRes.getContents();
-
- }
- catch (RuntimeException exception) {
- System.out.println("Problem loading " + uri);
- exception.printStackTrace();
- }
- }
-/**
- * <!-- begin-user-doc -->
- * Prints diagnostics with indentation.
- * <!-- end-user-doc -->
- * @param diagnostic the diagnostic to print.
- * @param indent the indentation for printing.
- * @generated
- */
-protected static void printDiagnostic(Diagnostic diagnostic, String indent) {
- System.out.print(indent);
- System.out.println(diagnostic.getMessage());
- for (Iterator i = diagnostic.getChildren().iterator(); i.hasNext(); ) {
- printDiagnostic((Diagnostic)i.next(), indent + " ");
- }
-}
- }
-
-
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/emfload/LoadWebServicesOutsideWorkspace.java b/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/emfload/LoadWebServicesOutsideWorkspace.java
deleted file mode 100644
index 542c5b03..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/commonArchiveTests/org/eclipse/jst/j2ee/emfload/LoadWebServicesOutsideWorkspace.java
+++ /dev/null
@@ -1,83 +0,0 @@
-package org.eclipse.jst.j2ee.emfload;
-
-import java.util.Iterator;
-
-import junit.framework.TestCase;
-
-import org.eclipse.emf.common.util.Diagnostic;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.URIConverter;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.emf.ecore.resource.impl.URIConverterImpl;
-import org.eclipse.emf.ecore.util.Diagnostician;
-import org.eclipse.jst.j2ee.common.internal.impl.J2EEResourceFactoryRegistry;
-import org.eclipse.jst.j2ee.internal.J2EEInit;
-
-
-public class LoadWebServicesOutsideWorkspace extends TestCase {
- public static String baseDirectory = System.getProperty("user.dir") + java.io.File.separatorChar + "testData" + java.io.File.separatorChar + "webservices" + java.io.File.separatorChar + "META-INF" + java.io.File.separatorChar;
-
- /**
- * <!-- begin-user-doc -->
- * Load all the argument file paths or URIs as instances of the model.
- * <!-- end-user-doc -->
- * @param args the file paths or URIs.
- * @generated
- */
- public void testLoadFile() throws Exception {
-
- // Call J2EE Init();
-
- J2EEInit.init();
- // Create a resource set to hold the resources.
- //
- ResourceSet resourceSet = new ResourceSetImpl();
- resourceSet.setResourceFactoryRegistry(new J2EEResourceFactoryRegistry());
- URIConverter conv = new URIConverterImpl();
- resourceSet.setURIConverter(conv);
-
- URI uri = URI.createFileURI(baseDirectory + "webservices.xml");
-
- try {
- // Demand load resource for this file.
- //
- Resource resource = resourceSet.getResource(uri, true);
- System.out.println("Loaded " + uri);
-
- // Validate the contents of the loaded resource.
- //
- for (Iterator j = resource.getContents().iterator(); j.hasNext(); ) {
- EObject eObject = (EObject)j.next();
- Diagnostic diagnostic = Diagnostician.INSTANCE.validate(eObject);
- if (diagnostic.getSeverity() != Diagnostic.OK) {
- printDiagnostic(diagnostic, "");
- }
- }
- }
- catch (RuntimeException exception) {
- System.out.println("Problem loading " + uri);
- exception.printStackTrace();
- }
- }
-/**
- * <!-- begin-user-doc -->
- * Prints diagnostics with indentation.
- * <!-- end-user-doc -->
- * @param diagnostic the diagnostic to print.
- * @param indent the indentation for printing.
- * @generated
- */
-protected static void printDiagnostic(Diagnostic diagnostic, String indent) {
- System.out.print(indent);
- System.out.println(diagnostic.getMessage());
- for (Iterator i = diagnostic.getChildren().iterator(); i.hasNext(); ) {
- printDiagnostic((Diagnostic)i.next(), indent + " ");
- }
-}
- }
-
-
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/application/test/ApplicationFactoryTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/application/test/ApplicationFactoryTest.java
deleted file mode 100644
index eaba86b2..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/application/test/ApplicationFactoryTest.java
+++ /dev/null
@@ -1,76 +0,0 @@
-package org.eclipse.jst.j2ee.application.test;
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.application.Application;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.application.ConnectorModule;
-import org.eclipse.jst.j2ee.application.EjbModule;
-import org.eclipse.jst.j2ee.application.JavaClientModule;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.application.WebModule;
-
-public class ApplicationFactoryTest extends TestCase {
-
- public static Test suite(){
- return new TestSuite(ApplicationFactoryTest.class);
- }
-
- public ApplicationFactory getInstance() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
-
-
- public void test_createApplication() {
-
- ApplicationFactory objApplicationFactory = getInstance();
- Application retValue = null;
- retValue = objApplicationFactory.createApplication();
- assertNotNull(retValue);
- }
-
- public void test_createModule() {
-
- ApplicationFactory objApplicationFactory = getInstance();
- Module retValue = null;
- retValue = objApplicationFactory.createModule();
- assertNotNull(retValue);
- }
-
- public void test_createWebModule() {
-
- ApplicationFactory objApplicationFactory = getInstance();
- WebModule retValue = null;
- retValue = objApplicationFactory.createWebModule();
- assertNotNull(retValue);
- }
-
- public void test_createJavaClientModule() {
-
- ApplicationFactory objApplicationFactory = getInstance();
- JavaClientModule retValue = null;
- retValue = objApplicationFactory.createJavaClientModule();
- assertNotNull(retValue);
- }
-
- public void test_createEjbModule() {
-
- ApplicationFactory objApplicationFactory = getInstance();
- EjbModule retValue = null;
- retValue = objApplicationFactory.createEjbModule();
- assertNotNull(retValue);
- }
-
- public void test_createConnectorModule() {
-
- ApplicationFactory objApplicationFactory = getInstance();
- ConnectorModule retValue = null;
- retValue = objApplicationFactory.createConnectorModule();
- assertNotNull(retValue);
- }
-
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/application/test/ApplicationTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/application/test/ApplicationTest.java
deleted file mode 100644
index cd53b725..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/application/test/ApplicationTest.java
+++ /dev/null
@@ -1,237 +0,0 @@
-package org.eclipse.jst.j2ee.application.test;
-import java.io.FileNotFoundException;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.application.Application;
-import org.eclipse.jst.j2ee.application.ApplicationFactory;
-import org.eclipse.jst.j2ee.application.ApplicationPackage;
-import org.eclipse.jst.j2ee.application.ApplicationResource;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.archive.emftests.EarEMFTest;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-
-public class ApplicationTest extends EarEMFTest {
-
- private static final CommonFactory COMMONFACTORY = CommonPackage.eINSTANCE.getCommonFactory();
- public ApplicationFactory getInstance() {
- return ApplicationPackage.eINSTANCE.getApplicationFactory();
- }
- /**
- * @param name
- */
- public ApplicationTest(String name) {
- super(name);
- }
-
- private void init() throws DuplicateObjectException, ResourceLoadException, FileNotFoundException {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- }
-
- public void test_containsSecurityRole() {
-
- Application objApplication = getInstance().createApplication();
- String name ="role1" ;
- String name2 ="role2" ;
- boolean retValue = false;
- retValue = objApplication.containsSecurityRole(name);
- assertEquals(retValue, false) ;
- SecurityRole role = COMMONFACTORY.createSecurityRole();
- role.setRoleName(name);
- objApplication.getSecurityRoles().add(role);
- retValue = objApplication.containsSecurityRole(name);
- assertEquals(retValue, true) ;
- retValue = objApplication.containsSecurityRole(name2);
- assertEquals(retValue, false) ;
-
- }
-
- /* public void test_getModule() {
-
- Application objApplication = getInstance().createApplication();
- String uri = "";
- Module retValue = null;
- retValue = objApplication.getModule(uri);
- }*/
-
- public void test_getModule_2() {
-
- Application objApplication = getInstance().createApplication();
- Module module = getInstance().createModule();
- String uri = "uri1";
- String altDD = "altDD1";
- module.setUri(uri);
- module.setAltDD(altDD);
- objApplication.getModules().add(module);
- Module retValue = null;
- retValue = objApplication.getModule(uri, altDD);
- assertEquals(module,retValue);
- }
-
- public void test_getFirstModule() {
-
- Application objApplication = getInstance().createApplication();
- Module module = getInstance().createModule();
- Module module2 = getInstance().createModule();
- Module module3 = getInstance().createModule();
- String uri = "uri1";
- String uri2 = "uri2" ;
- String altDD = "altDD1";
- String altDD2 = "altDD2" ;
-
- module.setUri(uri);
- module.setAltDD(altDD);
-
- module2.setUri(uri2);
- module2.setAltDD(altDD2);
-
- module3.setUri(uri2);
- module3.setAltDD(altDD);
-
- objApplication.getModules().add(module);
- objApplication.getModules().add(module2);
- objApplication.getModules().add(module3);
- Module retValue = null;
- retValue = objApplication.getFirstModule(uri2);
- assertEquals(module2,retValue);
-
- }
-
- public void test_getModuleHavingAltDD() {
-
- Application objApplication = getInstance().createApplication();
- Module module = getInstance().createModule();
- String uri = "uri1";
- String altDD = "altDD1";
- module.setUri(uri);
- module.setAltDD(altDD);
- objApplication.getModules().add(module);
- Module retValue = null;
- retValue = objApplication.getModuleHavingAltDD(altDD);
- assertEquals(module,retValue);
- }
-
- public void test_getSecurityRoleNamed() {
-
- Application objApplication = getInstance().createApplication();
- String name ="role1" ;
- String name2 ="role2" ;
- SecurityRole retValue = null;
- retValue = objApplication.getSecurityRoleNamed(name);
- assertNull(retValue);
- SecurityRole role = COMMONFACTORY.createSecurityRole();
- role.setRoleName(name);
- objApplication.getSecurityRoles().add(role);
- retValue = objApplication.getSecurityRoleNamed(name);
- assertEquals(retValue, role) ;
- retValue = objApplication.getSecurityRoleNamed(name2);
- assertNull(retValue);
-
- }
-
- /* public void test_isVersion1_2Descriptor() {
-
- Application objApplication = getInstance().createApplication();
- boolean retValue = false;
- retValue = objApplication.isVersion1_2Descriptor();
- }
-
- public void test_isVersion1_3Descriptor() {
-
- Application objApplication = getInstance().createApplication();
- boolean retValue = false;
- retValue = objApplication.isVersion1_3Descriptor();
- }*/
-
- /* public void test_getVersion() {
-
- Application objApplication = getInstance().createApplication();
- String retValue = "";
- retValue = objApplication.getVersion();
- }*/
-
- public void test_getVersionID() throws Exception {
- init();
- ApplicationResource DD = (ApplicationResource) earFile.getDeploymentDescriptorResource();
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- setModuleType(APP_CLIENT);
- populateRoot(DD.getRootObject());
- int retValue = 0;
- retValue = DD.getApplication().getVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_4);
- DD.setVersionID(J2EEVersionConstants.J2EE_1_3_ID);
- setVersion(VERSION_1_3);
- retValue = DD.getApplication().getVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_3);
- DD.setVersionID(J2EEVersionConstants.J2EE_1_2_ID);
- setVersion(VERSION_1_2);
- retValue = DD.getApplication().getVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_2);
- }
-
- public void test_getJ2EEVersionID() throws IllegalStateException, ResourceLoadException, DuplicateObjectException, FileNotFoundException {
-
- init();
- ApplicationResource DD = (ApplicationResource) earFile.getDeploymentDescriptorResource();
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- setModuleType(APP_CLIENT);
- populateRoot(DD.getRootObject());
- int retValue = 0;
- retValue = DD.getApplication().getJ2EEVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_4);
- DD.setVersionID(J2EEVersionConstants.J2EE_1_3_ID);
- setVersion(VERSION_1_3);
- retValue = DD.getApplication().getJ2EEVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_3);
- DD.setVersionID(J2EEVersionConstants.J2EE_1_2_ID);
- setVersion(VERSION_1_2);
- retValue = DD.getApplication().getJ2EEVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_2);
-
-
- }
-
- /* public void test_setVersion() {
-
- Application objApplication = getInstance().createApplication();
- String newVersion = "";
- objApplication.setVersion(newVersion);
- }
-
- public void test_getSecurityRoles() {
-
- Application objApplication = getInstance().createApplication();
- EList retValue = null;
- retValue = objApplication.getSecurityRoles();
- }
-
- public void test_getModules() {
-
- Application objApplication = getInstance().createApplication();
- EList retValue = null;
- retValue = objApplication.getModules();
- }*/
-
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new ApplicationTest("test_getVersionID"));
- suite.addTest(new ApplicationTest("test_getJ2EEVersionID"));
-
- suite.addTest(new ApplicationTest("test_getSecurityRoleNamed"));
- suite.addTest(new ApplicationTest("test_getModuleHavingAltDD"));
- suite.addTest(new ApplicationTest("test_containsSecurityRole"));
- suite.addTest(new ApplicationTest("test_getModule_2"));
- suite.addTest(new ApplicationTest("test_getFirstModule"));
- return suite;
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/client/test/ApplicationClientTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/client/test/ApplicationClientTest.java
deleted file mode 100644
index 7fe34160..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/client/test/ApplicationClientTest.java
+++ /dev/null
@@ -1,185 +0,0 @@
-package org.eclipse.jst.j2ee.client.test;
-
-import java.io.FileNotFoundException;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.archive.emftests.AppClientEMFTest;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.jst.j2ee.client.ApplicationClientResource;
-import org.eclipse.jst.j2ee.client.ClientPackage;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DuplicateObjectException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.ResourceLoadException;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-
-public class ApplicationClientTest extends AppClientEMFTest {
-
- /**
- * @param name
- */
- public ApplicationClientTest(String name) {
- super(name);
-
- }
- private void init() throws DuplicateObjectException, ResourceLoadException, FileNotFoundException {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createAppClient();
- }
- private ApplicationClient getInstance() {
- return ClientPackage.eINSTANCE.getClientFactory().createApplicationClient();
- }
-
-
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new ApplicationClientTest("test_getVersionID"));
- suite.addTest(new ApplicationClientTest("test_getJ2EEVersionID"));
-
- suite.addTest(new ApplicationClientTest("test_getCallbackHandlerClassName"));
- suite.addTest(new ApplicationClientTest("test_setCallbackHandlerClassName"));
- return suite;
- }
-
-
- public void test_getCallbackHandlerClassName() {
- ApplicationClient objApplicationClient = getInstance();
- String callBackHandlerName = "TestCallBackHandlerName" ;
- objApplicationClient.setCallbackHandlerClassName(callBackHandlerName);
-
- String retValue = "";
- retValue = objApplicationClient.getCallbackHandlerClassName();
- assertEquals(callBackHandlerName, retValue);
- }
-
- public void test_setCallbackHandlerClassName() {
-
- ApplicationClient objApplicationClient = getInstance();
- String callBackHandlerName = "TestCallBackHandlerName" ;
- objApplicationClient.setCallbackHandlerClassName(callBackHandlerName);
-
- String retValue = "";
- retValue = objApplicationClient.getCallbackHandlerClassName();
- assertEquals(callBackHandlerName, retValue);
- }
-
- public void test_getVersionID() throws Exception {
- init();
- ApplicationClientResource DD = (ApplicationClientResource) appClientFile.getDeploymentDescriptorResource();
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- setModuleType(APP_CLIENT);
- populateRoot(DD.getRootObject());
- int retValue = 0;
- retValue = DD.getApplicationClient().getVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_4);
- DD.setVersionID(J2EEVersionConstants.J2EE_1_3_ID);
- setVersion(VERSION_1_3);
- retValue = DD.getApplicationClient().getVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_3);
- DD.setVersionID(J2EEVersionConstants.J2EE_1_2_ID);
- setVersion(VERSION_1_2);
- retValue = DD.getApplicationClient().getVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_2);
-
- }
-
- public void test_getJ2EEVersionID() throws Exception {
- init();
- ApplicationClientResource DD = (ApplicationClientResource) appClientFile.getDeploymentDescriptorResource();
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- setModuleType(APP_CLIENT);
- populateRoot(DD.getRootObject());
- int retValue = 0;
- retValue = DD.getApplicationClient().getJ2EEVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_4);
- DD.setVersionID(J2EEVersionConstants.J2EE_1_3_ID);
- setVersion(VERSION_1_3);
- retValue = DD.getApplicationClient().getJ2EEVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_3);
- DD.setVersionID(J2EEVersionConstants.J2EE_1_2_ID);
- setVersion(VERSION_1_2);
- retValue = DD.getApplicationClient().getJ2EEVersionID();
- assertEquals(retValue,J2EEVersionConstants.VERSION_1_2);
- }
-
- /* public void test_getVersion() {
-
- ApplicationClient objApplicationClient = getInstance();
- String retValue = "";
- retValue = objApplicationClient.getVersion();
- }
-
- public void test_setVersion() {
-
- ApplicationClient objApplicationClient = getInstance();
- String newVersion = "";
- objApplicationClient.setVersion(newVersion);
- }*/
-
- /*public void test_getResourceRefs() {
-
- ApplicationClient objApplicationClient = getInstance();
- EList retValue = null;
- retValue = objApplicationClient.getResourceRefs();
- }
-*/
- /* public void test_getEnvironmentProps() {
-
- ApplicationClient objApplicationClient = getInstance();
- EList retValue = null;
- retValue = objApplicationClient.getEnvironmentProps();
- }*/
-
- /* public void test_getEjbReferences() {
-
- ApplicationClient objApplicationClient = getInstance();
- EList retValue = null;
- retValue = objApplicationClient.getEjbReferences();
- }*/
-
- /* public void test_getResourceEnvRefs() {
-
- ApplicationClient objApplicationClient = getInstance();
- EList retValue = null;
- retValue = objApplicationClient.getResourceEnvRefs();
- }*/
-
- /* public void test_getCallbackHandler() {
-
- ApplicationClient objApplicationClient = getInstance();
- JavaClass retValue = null;
- retValue = objApplicationClient.getCallbackHandler();
- }*/
-
- /* public void test_setCallbackHandler() {
-
- ApplicationClient objApplicationClient = getInstance();
- JavaClass newCallbackHandler = null;
- objApplicationClient.setCallbackHandler(newCallbackHandler);
- }*/
-
- /* public void test_getServiceRefs() {
-
- ApplicationClient objApplicationClient = getInstance();
- EList retValue = null;
- retValue = objApplicationClient.getServiceRefs();
- }
-
- public void test_getMessageDestinationRefs() {
-
- ApplicationClient objApplicationClient = getInstance();
- EList retValue = null;
- retValue = objApplicationClient.getMessageDestinationRefs();
- }
-
- public void test_getMessageDestinations() {
-
- ApplicationClient objApplicationClient = getInstance();
- EList retValue = null;
- retValue = objApplicationClient.getMessageDestinations();
- }*/
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/client/test/ClientFactoryTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/client/test/ClientFactoryTest.java
deleted file mode 100644
index 42541d2b..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/client/test/ClientFactoryTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.eclipse.jst.j2ee.client.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.jst.j2ee.client.ClientFactory;
-import org.eclipse.jst.j2ee.client.ClientPackage;
-
-public class ClientFactoryTest extends TestCase {
-
- private ClientFactory getInstance() {
- return ClientPackage.eINSTANCE.getClientFactory();
- }
- public void test_ClientFactory() {
- ClientFactory tmpClientFactory = getInstance();
- assertNotNull(tmpClientFactory);
- }
-
-
- public void test_createApplicationClient() {
-
- ClientFactory objClientFactory = getInstance();
- ApplicationClient retValue = null;
- retValue = objClientFactory.createApplicationClient();
- assertNotNull(retValue);
- }
-
- /**
- * @return
- */
- public static Test suite() {
- return new TestSuite(ClientFactoryTest.class);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/CommonFactoryTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/CommonFactoryTest.java
deleted file mode 100644
index 192869c0..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/CommonFactoryTest.java
+++ /dev/null
@@ -1,218 +0,0 @@
-package org.eclipse.jst.j2ee.common.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup;
-import org.eclipse.jst.j2ee.common.Description;
-import org.eclipse.jst.j2ee.common.DescriptionGroup;
-import org.eclipse.jst.j2ee.common.DisplayName;
-import org.eclipse.jst.j2ee.common.EJBLocalRef;
-import org.eclipse.jst.j2ee.common.EjbRef;
-import org.eclipse.jst.j2ee.common.EnvEntry;
-import org.eclipse.jst.j2ee.common.IconType;
-import org.eclipse.jst.j2ee.common.Identity;
-import org.eclipse.jst.j2ee.common.Listener;
-import org.eclipse.jst.j2ee.common.MessageDestination;
-import org.eclipse.jst.j2ee.common.MessageDestinationRef;
-import org.eclipse.jst.j2ee.common.ParamValue;
-import org.eclipse.jst.j2ee.common.QName;
-import org.eclipse.jst.j2ee.common.ResourceEnvRef;
-import org.eclipse.jst.j2ee.common.ResourceRef;
-import org.eclipse.jst.j2ee.common.RunAsSpecifiedIdentity;
-import org.eclipse.jst.j2ee.common.SecurityIdentity;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-import org.eclipse.jst.j2ee.common.SecurityRoleRef;
-import org.eclipse.jst.j2ee.common.UseCallerIdentity;
-
-public class CommonFactoryTest extends TestCase {
-
- private CommonFactory getInstance() {
- return CommonPackage.eINSTANCE.getCommonFactory();
- }
-
- public void test_CommonFactory() {
-
- CommonFactory tmpCommonFactory =getInstance();
- }
-
-
- public void test_createEjbRef() {
-
- CommonFactory objCommonFactory =getInstance();
- EjbRef retValue = null;
- retValue = objCommonFactory.createEjbRef();
- assertNotNull(retValue);
- }
-
- public void test_createEnvEntry() {
-
- CommonFactory objCommonFactory =getInstance();
- EnvEntry retValue = null;
- retValue = objCommonFactory.createEnvEntry();
- assertNotNull(retValue);
- }
-
- public void test_createResourceRef() {
-
- CommonFactory objCommonFactory =getInstance();
- ResourceRef retValue = null;
- retValue = objCommonFactory.createResourceRef();
- assertNotNull(retValue);
- }
-
- public void test_createSecurityRoleRef() {
-
- CommonFactory objCommonFactory =getInstance();
- SecurityRoleRef retValue = null;
- retValue = objCommonFactory.createSecurityRoleRef();
- assertNotNull(retValue);
- }
-
- public void test_createSecurityRole() {
-
- CommonFactory objCommonFactory =getInstance();
- SecurityRole retValue = null;
- retValue = objCommonFactory.createSecurityRole();
- assertNotNull(retValue);
- }
-
- public void test_createResourceEnvRef() {
-
- CommonFactory objCommonFactory =getInstance();
- ResourceEnvRef retValue = null;
- retValue = objCommonFactory.createResourceEnvRef();
- assertNotNull(retValue);
- }
-
- public void test_createEJBLocalRef() {
-
- CommonFactory objCommonFactory =getInstance();
- EJBLocalRef retValue = null;
- retValue = objCommonFactory.createEJBLocalRef();
- assertNotNull(retValue);
- }
-
- public void test_createRunAsSpecifiedIdentity() {
-
- CommonFactory objCommonFactory =getInstance();
- RunAsSpecifiedIdentity retValue = null;
- retValue = objCommonFactory.createRunAsSpecifiedIdentity();
- assertNotNull(retValue);
- }
-
- public void test_createIdentity() {
-
- CommonFactory objCommonFactory =getInstance();
- Identity retValue = null;
- retValue = objCommonFactory.createIdentity();
- assertNotNull(retValue);
- }
-
- public void test_createIconType() {
-
- CommonFactory objCommonFactory =getInstance();
- IconType retValue = null;
- retValue = objCommonFactory.createIconType();
- assertNotNull(retValue);
- }
-
- public void test_createDisplayName() {
-
- CommonFactory objCommonFactory =getInstance();
- DisplayName retValue = null;
- retValue = objCommonFactory.createDisplayName();
- assertNotNull(retValue);
- }
-
- public void test_createMessageDestinationRef() {
-
- CommonFactory objCommonFactory =getInstance();
- MessageDestinationRef retValue = null;
- retValue = objCommonFactory.createMessageDestinationRef();
- assertNotNull(retValue);
- }
-
- public void test_createMessageDestination() {
-
- CommonFactory objCommonFactory =getInstance();
- MessageDestination retValue = null;
- retValue = objCommonFactory.createMessageDestination();
- assertNotNull(retValue);
- }
-
- public void test_createParamValue() {
-
- CommonFactory objCommonFactory =getInstance();
- ParamValue retValue = null;
- retValue = objCommonFactory.createParamValue();
- assertNotNull(retValue);
- }
-
- public void test_createDescriptionGroup() {
-
- CommonFactory objCommonFactory =getInstance();
- DescriptionGroup retValue = null;
- retValue = objCommonFactory.createDescriptionGroup();
- assertNotNull(retValue);
- }
-
- public void test_createSecurityIdentity() {
-
- CommonFactory objCommonFactory =getInstance();
- SecurityIdentity retValue = null;
- retValue = objCommonFactory.createSecurityIdentity();
- assertNotNull(retValue);
- }
-
- public void test_createUseCallerIdentity() {
-
- CommonFactory objCommonFactory =getInstance();
- UseCallerIdentity retValue = null;
- retValue = objCommonFactory.createUseCallerIdentity();
- assertNotNull(retValue);
- }
-
- public void test_createDescription() {
-
- CommonFactory objCommonFactory =getInstance();
- Description retValue = null;
- retValue = objCommonFactory.createDescription();
- assertNotNull(retValue);
- }
-
- public void test_createQName() {
-
- CommonFactory objCommonFactory =getInstance();
- QName retValue = null;
- retValue = objCommonFactory.createQName();
- assertNotNull(retValue);
- }
-
- public void test_createListener() {
-
- CommonFactory objCommonFactory =getInstance();
- Listener retValue = null;
- retValue = objCommonFactory.createListener();
- assertNotNull(retValue);
- }
-
- public void test_createCompatibilityDescriptionGroup() {
-
- CommonFactory objCommonFactory =getInstance();
- CompatibilityDescriptionGroup retValue = null;
- retValue = objCommonFactory.createCompatibilityDescriptionGroup();
- assertNotNull(retValue);
- }
-
-
- /**
- * @return
- */
- public static Test suite() {
- return new TestSuite(CommonFactoryTest.class);
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/CompatibilityDescriptionGroupTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/CompatibilityDescriptionGroupTest.java
deleted file mode 100644
index 92d76f63..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/CompatibilityDescriptionGroupTest.java
+++ /dev/null
@@ -1,99 +0,0 @@
-package org.eclipse.jst.j2ee.common.test;
-
-import junit.framework.TestCase;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup;
-
-public class CompatibilityDescriptionGroupTest extends TestCase {
-
- private CompatibilityDescriptionGroup getInstance() {
- return CommonFactory.eINSTANCE.createCompatibilityDescriptionGroup();
- }
-
- /* public void test_getSmallIcon() {
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String retValue = "";
- retValue = objCompatibilityDescriptionGroup.getSmallIcon();
- }
-
- public void test_setSmallIcon() {
-
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String newSmallIcon = "";
- objCompatibilityDescriptionGroup.setSmallIcon(newSmallIcon);
- } */
-
- /* public void test_setSmallIconGen() {
-
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String newSmallIcon = "";
- objCompatibilityDescriptionGroup.setSmallIconGen(newSmallIcon);
- }*/
-
- /* public void test_getLargeIcon() {
-
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String retValue = "";
- retValue = objCompatibilityDescriptionGroup.getLargeIcon();
- }
-
- public void test_setLargeIcon() {
-
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String newLargeIcon = "";
- objCompatibilityDescriptionGroup.setLargeIcon(newLargeIcon);
- } */
-
- /*public void test_setLargeIconGen() {
-
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String newLargeIcon = "";
- objCompatibilityDescriptionGroup.setLargeIconGen(newLargeIcon);
- }*/
-
- /* public void test_getDescription() {
-
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String retValue = "";
- retValue = objCompatibilityDescriptionGroup.getDescription();
- }
-
- public void test_setDescription() {
-
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String newDescription = "";
- objCompatibilityDescriptionGroup.setDescription(newDescription);
- }
-*/
-
- /* public void test_setDescriptionGen() {
-
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String newDescription = "";
- objCompatibilityDescriptionGroup.setDescriptionGen(newDescription);
- }*/
-
- /* public void test_getDisplayName() {
-
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String retValue = "";
- retValue = objCompatibilityDescriptionGroup.getDisplayName();
- }
-
- public void test_setDisplayName() {
-
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String newDisplayName = "";
- objCompatibilityDescriptionGroup.setDisplayName(newDisplayName);
- }*/
-
- /*public void test_setDisplayNameGen() {
-
- CompatibilityDescriptionGroup objCompatibilityDescriptionGroup = getInstance();
- String newDisplayName = "";
- objCompatibilityDescriptionGroup.setDisplayNameGen(newDisplayName);
- }*/
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/EjbRefTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/EjbRefTest.java
deleted file mode 100644
index 1110adef..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/EjbRefTest.java
+++ /dev/null
@@ -1,257 +0,0 @@
-package org.eclipse.jst.j2ee.common.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.common.EJBLocalRef;
-import org.eclipse.jst.j2ee.common.EjbRef;
-import org.eclipse.jst.j2ee.ejb.AssemblyDescriptor;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.ejb.Session;
-
-public class EjbRefTest extends TestCase {
-
- private static final EjbFactory EJBFACTORY = EjbPackage.eINSTANCE.getEjbFactory();
- private static final CommonFactory COMMONFACTORY = CommonPackage.eINSTANCE.getCommonFactory();
-
- private EjbRef getInstance() {
- return COMMONFACTORY.createEjbRef();
- }
-
- public void test_EjbRef() {
- EjbRef tmpEjbRef = getInstance();
- assertNotNull(tmpEjbRef);
- }
-
- public void test_getLinkedEjb() {
-
- EJBJar objEJBJar = EJBFACTORY.createEJBJar();
- AssemblyDescriptor descriptor = EJBFACTORY.createAssemblyDescriptor();
- objEJBJar.setAssemblyDescriptor(descriptor);
-
- EjbRef ejbRef = COMMONFACTORY.createEjbRef();
- Session session1 = EJBFACTORY.createSession();
- String name1 = "Name1";
- session1.setName(name1);
-
- Session session2 = EJBFACTORY.createSession();
- String name2 = "Name2";
- session2.setName(name2);
-
- ejbRef.setLink(name2);
- ejbRef.setName("EjbRef_" + name2);
-
- objEJBJar.getEnterpriseBeans().add(session1);
- objEJBJar.getEnterpriseBeans().add(session2);
- EnterpriseBean retValue = null;
- retValue = ejbRef.getLinkedEjb(objEJBJar);
- assertEquals(session2,retValue);
- }
-
- public void test_isEquivalent() {
-
- EJBJar objEJBJar = EJBFACTORY.createEJBJar();
- AssemblyDescriptor descriptor = EJBFACTORY.createAssemblyDescriptor();
- objEJBJar.setAssemblyDescriptor(descriptor);
-
- EjbRef ejbRef1 = COMMONFACTORY.createEjbRef();
- EjbRef ejbRef2 = COMMONFACTORY.createEjbRef();
- Session session1 = EJBFACTORY.createSession();
- String name1 = "Name1";
- session1.setName(name1);
-
- Session session2 = EJBFACTORY.createSession();
- String name2 = "Name2";
- session2.setName(name2);
-
- ejbRef1.setLink(name2);
- ejbRef1.setName("EjbRef_" + name2);
-
- ejbRef2.setLink(name2);
- ejbRef2.setName("EjbRef_" + name2);
-
- String home1 = "home1";
- String home2 = "home2" ;
- String remote1 = "remote1" ;
- String remote2 = "remote2";
-
- ejbRef1.setHome(home1);
- ejbRef2.setHome(home1);
-
- ejbRef1.setRemote(remote1);
- ejbRef2.setRemote(remote1);
-
- objEJBJar.getEnterpriseBeans().add(session1);
- objEJBJar.getEnterpriseBeans().add(session2);
-
- boolean retValue = false;
- retValue = ejbRef1.isEquivalent(ejbRef2);
- assertEquals(retValue,true);
-
- ejbRef2.setRemote(remote2);
- retValue = ejbRef1.isEquivalent(ejbRef2);
- assertEquals(retValue,false);
-
- ejbRef2.setRemote(remote1);
- ejbRef2.setHome(home2);
- retValue = ejbRef1.isEquivalent(ejbRef2);
- assertEquals(retValue,false);
-
- ejbRef2.setHome(home1);
- ejbRef2.setLink(name1);
- retValue = ejbRef1.isEquivalent(ejbRef2);
- assertEquals(retValue,false);
-
- ejbRef2.setLink(name2);
- ejbRef2.setName("EjbRef_" + name1);
- retValue = ejbRef1.isEquivalent(ejbRef2);
- assertEquals(retValue,false);
-
- }
-
- public void test_isLinked() {
-
- Session session1 = EJBFACTORY.createSession();
- String name1 = "Name1";
- session1.setName(name1);
- EjbRef objEjbRef = getInstance();
-
- boolean retValue = false;
- retValue = objEjbRef.isLinked(session1);
- assertEquals(retValue, false);
-
- objEjbRef.setLink(name1);
- retValue = objEjbRef.isLinked(session1);
- assertEquals(retValue, true);
-
-
- }
-
- public void test_isLocal() {
-
- EjbRef objEjbRef = getInstance();
- boolean retValue = false;
- retValue = objEjbRef.isLocal();
- assertEquals(retValue,false);
- EJBLocalRef objLocalRef = CommonPackage.eINSTANCE.getCommonFactory().createEJBLocalRef();
- retValue = objLocalRef.isLocal();
- assertEquals(retValue,true);
- }
-
- /* public void test_getName() {
-
- EjbRef objEjbRef = getInstance();
- String retValue = "";
- retValue = objEjbRef.getName();
- }
-
- public void test_setName() {
-
- EjbRef objEjbRef = getInstance();
- String newName = "";
- objEjbRef.setName(newName);
- }
-
- public void test_getType() {
-
- EjbRef objEjbRef = getInstance();
- EjbRefType retValue = null;
- retValue = objEjbRef.getType();
- }
-
- public void test_setType() {
-
- EjbRef objEjbRef = getInstance();
- EjbRefType newType = null;
- objEjbRef.setType(newType);
- }
-
- public void test_unsetType() {
-
- EjbRef objEjbRef = getInstance();
- objEjbRef.unsetType();
- }
-
- public void test_isSetType() {
-
- EjbRef objEjbRef = getInstance();
- boolean retValue = false;
- retValue = objEjbRef.isSetType();
- }
-
- public void test_getHome() {
-
- EjbRef objEjbRef = getInstance();
- String retValue = "";
- retValue = objEjbRef.getHome();
- }
-
- public void test_setHome() {
-
- EjbRef objEjbRef = getInstance();
- String newHome = "";
- objEjbRef.setHome(newHome);
- }
-
- public void test_getRemote() {
-
- EjbRef objEjbRef = getInstance();
- String retValue = "";
- retValue = objEjbRef.getRemote();
- }
-
- public void test_setRemote() {
-
- EjbRef objEjbRef = getInstance();
- String newRemote = "";
- objEjbRef.setRemote(newRemote);
- }
-
- public void test_getLink() {
-
- EjbRef objEjbRef = getInstance();
- String retValue = "";
- retValue = objEjbRef.getLink();
- }
-
- public void test_setLink() {
-
- EjbRef objEjbRef = getInstance();
- String newLink = "";
- objEjbRef.setLink(newLink);
- }
-
- public void test_setDescription() {
-
- EjbRef objEjbRef = getInstance();
- String newDescription = "";
- objEjbRef.setDescription(newDescription);
- }
-
- public void test_getDescription() {
-
- EjbRef objEjbRef = getInstance();
- String retValue = "";
- retValue = objEjbRef.getDescription();
- }
-
- public void test_getDescriptions() {
-
- EjbRef objEjbRef = getInstance();
- EList retValue = null;
- retValue = objEjbRef.getDescriptions();
- }*/
-
- /**
- * @return
- */
- public static Test suite() {
- return new TestSuite(EjbRefTest.class);
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/ListenerTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/ListenerTest.java
deleted file mode 100644
index 54085ec9..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/ListenerTest.java
+++ /dev/null
@@ -1,56 +0,0 @@
-package org.eclipse.jst.j2ee.common.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.Listener;
-
-public class ListenerTest extends TestCase {
-
- private Listener getInstance() {
- return CommonFactory.eINSTANCE.createListener();
- }
- /* public void test_getListenerClass() {
- Listener objListener = getInstance();
- JavaClass retValue = null;
- retValue = objListener.getListenerClass();
- }
-
- public void test_setListenerClass() {
-
- Listener objListener = getInstance();
- JavaClass newListenerClass = null;
- objListener.setListenerClass(newListenerClass);
- }*/
-
-
- public void test_getListenerClassName() {
-
- Listener objListener = getInstance();
- String listenerClassName = "org.eclipse.jst.j2ee.common.Listener1" ;
- objListener.setListenerClassName(listenerClassName);
- String retValue = "";
- retValue = objListener.getListenerClassName();
- assertEquals(listenerClassName, retValue);
- }
-
- public void test_setListenerClassName() {
-
- Listener objListener = getInstance();
- String listenerClassName = "org.eclipse.jst.j2ee.common.Listener1";
- objListener.setListenerClassName(listenerClassName);
- String retValue = "";
- retValue = objListener.getListenerClassName();
- assertEquals(listenerClassName, retValue);
- }
-
- /**
- * @return
- */
- public static Test suite() {
- return new TestSuite(ListenerTest.class);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/QNameTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/QNameTest.java
deleted file mode 100644
index d25bf805..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/test/QNameTest.java
+++ /dev/null
@@ -1,96 +0,0 @@
-package org.eclipse.jst.j2ee.common.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.QName;
-
-public class QNameTest extends TestCase {
-
- private QName getInstance() {
- return CommonFactory.eINSTANCE.createQName();
- }
-
- /* public void test_getNamespaceURI() {
-
- QName objQName = getInstance();
- String retValue = "";
- retValue = objQName.getNamespaceURI();
- }
-
-
- public void test_setNamespaceURI() {
-
- QName objQName = getInstance();
- String newNamespaceURI = "";
- objQName.setNamespaceURI(newNamespaceURI);
- }
-
- public void test_getLocalPart() {
-
- QName objQName = getInstance();
- String retValue = "";
- retValue = objQName.getLocalPart();
- }
-
- public void test_setLocalPart() {
-
- QName objQName = getInstance();
- String newLocalPart = "";
- objQName.setLocalPart(newLocalPart);
- }
-
- public void test_getCombinedQName() {
-
- QName objQName = getInstance();
- String retValue = "";
- retValue = objQName.getCombinedQName();
- }
-
-
- public void test_setCombinedQName() {
-
- QName objQName = getInstance();
- String newCombinedQName = "";
- objQName.setCombinedQName(newCombinedQName);
- }
-
- public void test_getInternalPrefixOrNsURI() {
-
- QName objQName = getInstance();
- String retValue = "";
- retValue = objQName.getInternalPrefixOrNsURI();
- }
-
-
-
- public void test_setInternalPrefixOrNsURI() {
-
- QName objQName = getInstance();
- String newInternalPrefixOrNsURI = "";
- objQName.setInternalPrefixOrNsURI(newInternalPrefixOrNsURI);
- }*/
-
-
- public void test_setValues() {
-
- QName objQName = getInstance();
- String prefix = "prefix1";
- String nsURI = "nsURI1";
- String localPart = "localPart1";
- objQName.setValues(prefix, nsURI, localPart);
- assertEquals(prefix,objQName.getInternalPrefixOrNsURI());
- assertEquals(nsURI,objQName.getNamespaceURI());
- assertEquals(localPart,objQName.getLocalPart());
- }
-
- /**
- * @return
- */
- public static Test suite() {
- return new TestSuite(QNameTest.class);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CommonExample.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CommonExample.java
deleted file mode 100644
index ac930c6e..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CommonExample.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CommonExample.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import java.io.File;
-import java.io.IOException;
-
-import java.util.Iterator;
-
-import org.eclipse.emf.common.util.Diagnostic;
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-
-import org.eclipse.emf.ecore.util.Diagnostician;
-
-import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.common.EjbRef;
-
-/**
- * <!-- begin-user-doc -->
- * A sample utility for the '<em><b>common</b></em>' package.
- * <!-- end-user-doc -->
- * @generated
- */
-public class CommonExample {
- /**
- * <!-- begin-user-doc -->
- * Load all the argument file paths or URIs as instances of the model.
- * <!-- end-user-doc -->
- * @param args the file paths or URIs.
- * @generated
- */
- public static void main(String[] args) {
- // Create a resource set to hold the resources.
- //
- ResourceSet resourceSet = new ResourceSetImpl();
-
- // Register the appropriate resource factory to handle all file extentions.
- //
- resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put
- (Resource.Factory.Registry.DEFAULT_EXTENSION,
- new XMIResourceFactoryImpl());
-
- // Register the package to ensure it is available during loading.
- //
- resourceSet.getPackageRegistry().put
- (CommonPackage.eNS_URI,
- CommonPackage.eINSTANCE);
-
- // If there are no arguments, emit an appropriate usage message.
- //
- if (args.length == 0) {
- System.out.println("Enter a list of file paths or URIs that have content like this:");
- try {
- Resource resource = resourceSet.createResource(URI.createURI("http:///My.common"));
- EjbRef root = CommonFactory.eINSTANCE.createEjbRef();
- resource.getContents().add(root);
- resource.save(System.out, null);
- }
- catch (IOException exception) {
- exception.printStackTrace();
- }
- }
- else {
- // Iterate over all the arguments.
- //
- for (int i = 0; i < args.length; ++i) {
- // Construct the URI for the instance file.
- // The argument is treated as a file path only if it denotes an existing file.
- // Otherwise, it's directly treated as a URL.
- //
- File file = new File(args[0]);
- URI uri = file.isFile() ? URI.createFileURI(file.getAbsolutePath()): URI.createURI(args[0]);
-
- try {
- // Demand load resource for this file.
- //
- Resource resource = resourceSet.getResource(uri, true);
- System.out.println("Loaded " + uri);
-
- // Validate the contents of the loaded resource.
- //
- for (Iterator j = resource.getContents().iterator(); j.hasNext(); ) {
- EObject eObject = (EObject)j.next();
- Diagnostic diagnostic = Diagnostician.INSTANCE.validate(eObject);
- if (diagnostic.getSeverity() != Diagnostic.OK) {
- printDiagnostic(diagnostic, "");
- }
- }
- }
- catch (RuntimeException exception) {
- System.out.println("Problem loading " + uri);
- exception.printStackTrace();
- }
- }
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * Prints diagnostics with indentation.
- * <!-- end-user-doc -->
- * @param diagnostic the diagnostic to print.
- * @param indent the indentation for printing.
- * @generated
- */
- protected static void printDiagnostic(Diagnostic diagnostic, String indent) {
- System.out.print(indent);
- System.out.println(diagnostic.getMessage());
- for (Iterator i = diagnostic.getChildren().iterator(); i.hasNext(); ) {
- printDiagnostic((Diagnostic)i.next(), indent + " ");
- }
- }
-
-} //CommonExample
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CommonTests.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CommonTests.java
deleted file mode 100644
index 2b1e9304..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CommonTests.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CommonTests.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import junit.textui.TestRunner;
-
-/**
- * <!-- begin-user-doc -->
- * A test suite for the '<em><b>common</b></em>' package.
- * <!-- end-user-doc -->
- * @generated
- */
-public class CommonTests extends TestSuite {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(suite());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static Test suite() {
- TestSuite suite = new CommonTests("common Tests");
- return suite;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CommonTests(String name) {
- super(name);
- }
-
-} //CommonTests
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CompatibilityDescriptionGroupTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CompatibilityDescriptionGroupTest.java
deleted file mode 100644
index 5f4ad24c..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/CompatibilityDescriptionGroupTest.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CompatibilityDescriptionGroupTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Compatibility Description Group</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class CompatibilityDescriptionGroupTest extends DescriptionGroupTest {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(CompatibilityDescriptionGroupTest.class);
- }
-
- /**
- * Constructs a new Compatibility Description Group test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CompatibilityDescriptionGroupTest(String name) {
- super(name);
- }
-
- /**
- * Returns the fixture for this Compatibility Description Group test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private CompatibilityDescriptionGroup getFixture() {
- return (CompatibilityDescriptionGroup)fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createCompatibilityDescriptionGroup());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //CompatibilityDescriptionGroupTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DescriptionGroupTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DescriptionGroupTest.java
deleted file mode 100644
index 50f02713..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DescriptionGroupTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DescriptionGroupTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.DescriptionGroup;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Description Group</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class DescriptionGroupTest extends TestCase {
- /**
- * The fixture for this Description Group test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DescriptionGroup fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(DescriptionGroupTest.class);
- }
-
- /**
- * Constructs a new Description Group test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DescriptionGroupTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Description Group test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(DescriptionGroup fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Description Group test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private DescriptionGroup getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createDescriptionGroup());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //DescriptionGroupTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DescriptionTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DescriptionTest.java
deleted file mode 100644
index daa3d8a8..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DescriptionTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DescriptionTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.Description;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Description</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class DescriptionTest extends TestCase {
- /**
- * The fixture for this Description test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Description fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(DescriptionTest.class);
- }
-
- /**
- * Constructs a new Description test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DescriptionTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Description test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(Description fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Description test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private Description getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createDescription());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //DescriptionTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DisplayNameTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DisplayNameTest.java
deleted file mode 100644
index db803912..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/DisplayNameTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DisplayNameTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.DisplayName;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Display Name</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class DisplayNameTest extends TestCase {
- /**
- * The fixture for this Display Name test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DisplayName fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(DisplayNameTest.class);
- }
-
- /**
- * Constructs a new Display Name test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DisplayNameTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Display Name test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(DisplayName fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Display Name test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private DisplayName getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createDisplayName());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //DisplayNameTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EJBLocalRefTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EJBLocalRefTest.java
deleted file mode 100644
index 3a43d4a2..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EJBLocalRefTest.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: EJBLocalRefTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.EJBLocalRef;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>EJB Local Ref</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class EJBLocalRefTest extends EjbRefTest {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(EJBLocalRefTest.class);
- }
-
- /**
- * Constructs a new EJB Local Ref test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EJBLocalRefTest(String name) {
- super(name);
- }
-
- /**
- * Returns the fixture for this EJB Local Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EJBLocalRef getFixture() {
- return (EJBLocalRef)fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createEJBLocalRef());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //EJBLocalRefTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EjbRefTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EjbRefTest.java
deleted file mode 100644
index 7a587e9d..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EjbRefTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: EjbRefTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.EjbRef;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Ejb Ref</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class EjbRefTest extends TestCase {
- /**
- * The fixture for this Ejb Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EjbRef fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(EjbRefTest.class);
- }
-
- /**
- * Constructs a new Ejb Ref test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EjbRefTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Ejb Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(EjbRef fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Ejb Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EjbRef getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createEjbRef());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //EjbRefTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EnvEntryTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EnvEntryTest.java
deleted file mode 100644
index 1e2c0be3..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/EnvEntryTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: EnvEntryTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.EnvEntry;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Env Entry</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class EnvEntryTest extends TestCase {
- /**
- * The fixture for this Env Entry test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EnvEntry fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(EnvEntryTest.class);
- }
-
- /**
- * Constructs a new Env Entry test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EnvEntryTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Env Entry test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(EnvEntry fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Env Entry test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EnvEntry getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createEnvEntry());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //EnvEntryTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/IconTypeTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/IconTypeTest.java
deleted file mode 100644
index 70bbfe5f..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/IconTypeTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IconTypeTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.IconType;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Icon Type</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class IconTypeTest extends TestCase {
- /**
- * The fixture for this Icon Type test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected IconType fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(IconTypeTest.class);
- }
-
- /**
- * Constructs a new Icon Type test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IconTypeTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Icon Type test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(IconType fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Icon Type test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private IconType getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createIconType());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //IconTypeTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/IdentityTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/IdentityTest.java
deleted file mode 100644
index 6880dffe..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/IdentityTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: IdentityTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.Identity;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Identity</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class IdentityTest extends TestCase {
- /**
- * The fixture for this Identity test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected Identity fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(IdentityTest.class);
- }
-
- /**
- * Constructs a new Identity test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IdentityTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Identity test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(Identity fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Identity test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private Identity getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createIdentity());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //IdentityTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/JNDIEnvRefsGroupTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/JNDIEnvRefsGroupTest.java
deleted file mode 100644
index dd41c02d..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/JNDIEnvRefsGroupTest.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: JNDIEnvRefsGroupTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import org.eclipse.jst.j2ee.common.JNDIEnvRefsGroup;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>JNDI Env Refs Group</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public abstract class JNDIEnvRefsGroupTest extends CompatibilityDescriptionGroupTest {
- /**
- * Constructs a new JNDI Env Refs Group test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public JNDIEnvRefsGroupTest(String name) {
- super(name);
- }
-
- /**
- * Returns the fixture for this JNDI Env Refs Group test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private JNDIEnvRefsGroup getFixture() {
- return (JNDIEnvRefsGroup)fixture;
- }
-
-} //JNDIEnvRefsGroupTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ListenerTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ListenerTest.java
deleted file mode 100644
index 70cba58e..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ListenerTest.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ListenerTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.Listener;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Listener</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ListenerTest extends CompatibilityDescriptionGroupTest {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(ListenerTest.class);
- }
-
- /**
- * Constructs a new Listener test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ListenerTest(String name) {
- super(name);
- }
-
- /**
- * Returns the fixture for this Listener test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private Listener getFixture() {
- return (Listener)fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createListener());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //ListenerTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/MessageDestinationRefTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/MessageDestinationRefTest.java
deleted file mode 100644
index 554a6829..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/MessageDestinationRefTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: MessageDestinationRefTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.MessageDestinationRef;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Message Destination Ref</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class MessageDestinationRefTest extends TestCase {
- /**
- * The fixture for this Message Destination Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MessageDestinationRef fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(MessageDestinationRefTest.class);
- }
-
- /**
- * Constructs a new Message Destination Ref test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MessageDestinationRefTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Message Destination Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(MessageDestinationRef fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Message Destination Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private MessageDestinationRef getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createMessageDestinationRef());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //MessageDestinationRefTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/MessageDestinationTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/MessageDestinationTest.java
deleted file mode 100644
index 98bef404..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/MessageDestinationTest.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: MessageDestinationTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.MessageDestination;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Message Destination</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class MessageDestinationTest extends CompatibilityDescriptionGroupTest {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(MessageDestinationTest.class);
- }
-
- /**
- * Constructs a new Message Destination test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MessageDestinationTest(String name) {
- super(name);
- }
-
- /**
- * Returns the fixture for this Message Destination test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private MessageDestination getFixture() {
- return (MessageDestination)fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createMessageDestination());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //MessageDestinationTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ParamValueTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ParamValueTest.java
deleted file mode 100644
index 2f683281..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ParamValueTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ParamValueTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.ParamValue;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Param Value</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ParamValueTest extends TestCase {
- /**
- * The fixture for this Param Value test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ParamValue fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(ParamValueTest.class);
- }
-
- /**
- * Constructs a new Param Value test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ParamValueTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Param Value test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(ParamValue fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Param Value test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private ParamValue getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createParamValue());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //ParamValueTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/QNameTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/QNameTest.java
deleted file mode 100644
index f088b1df..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/QNameTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: QNameTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.QName;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>QName</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class QNameTest extends TestCase {
- /**
- * The fixture for this QName test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected QName fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(QNameTest.class);
- }
-
- /**
- * Constructs a new QName test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QNameTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this QName test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(QName fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this QName test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private QName getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createQName());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //QNameTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ResourceEnvRefTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ResourceEnvRefTest.java
deleted file mode 100644
index 2ebc4707..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ResourceEnvRefTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ResourceEnvRefTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.ResourceEnvRef;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Resource Env Ref</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ResourceEnvRefTest extends TestCase {
- /**
- * The fixture for this Resource Env Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ResourceEnvRef fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(ResourceEnvRefTest.class);
- }
-
- /**
- * Constructs a new Resource Env Ref test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ResourceEnvRefTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Resource Env Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(ResourceEnvRef fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Resource Env Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private ResourceEnvRef getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createResourceEnvRef());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //ResourceEnvRefTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ResourceRefTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ResourceRefTest.java
deleted file mode 100644
index 21b601d6..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/ResourceRefTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ResourceRefTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.ResourceRef;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Resource Ref</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ResourceRefTest extends TestCase {
- /**
- * The fixture for this Resource Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ResourceRef fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(ResourceRefTest.class);
- }
-
- /**
- * Constructs a new Resource Ref test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ResourceRefTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Resource Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(ResourceRef fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Resource Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private ResourceRef getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createResourceRef());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //ResourceRefTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/RunAsSpecifiedIdentityTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/RunAsSpecifiedIdentityTest.java
deleted file mode 100644
index 31339069..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/RunAsSpecifiedIdentityTest.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RunAsSpecifiedIdentityTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.RunAsSpecifiedIdentity;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Run As Specified Identity</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class RunAsSpecifiedIdentityTest extends SecurityIdentityTest {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(RunAsSpecifiedIdentityTest.class);
- }
-
- /**
- * Constructs a new Run As Specified Identity test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RunAsSpecifiedIdentityTest(String name) {
- super(name);
- }
-
- /**
- * Returns the fixture for this Run As Specified Identity test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private RunAsSpecifiedIdentity getFixture() {
- return (RunAsSpecifiedIdentity)fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createRunAsSpecifiedIdentity());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //RunAsSpecifiedIdentityTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityIdentityTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityIdentityTest.java
deleted file mode 100644
index 8596457b..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityIdentityTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecurityIdentityTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.SecurityIdentity;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Security Identity</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class SecurityIdentityTest extends TestCase {
- /**
- * The fixture for this Security Identity test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SecurityIdentity fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(SecurityIdentityTest.class);
- }
-
- /**
- * Constructs a new Security Identity test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecurityIdentityTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Security Identity test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(SecurityIdentity fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Security Identity test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private SecurityIdentity getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createSecurityIdentity());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //SecurityIdentityTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityRoleRefTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityRoleRefTest.java
deleted file mode 100644
index d94b633e..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityRoleRefTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecurityRoleRefTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.SecurityRoleRef;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Security Role Ref</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class SecurityRoleRefTest extends TestCase {
- /**
- * The fixture for this Security Role Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SecurityRoleRef fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(SecurityRoleRefTest.class);
- }
-
- /**
- * Constructs a new Security Role Ref test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecurityRoleRefTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Security Role Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(SecurityRoleRef fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Security Role Ref test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private SecurityRoleRef getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createSecurityRoleRef());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //SecurityRoleRefTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityRoleTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityRoleTest.java
deleted file mode 100644
index 8114a3e3..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/SecurityRoleTest.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SecurityRoleTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.framework.TestCase;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Security Role</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class SecurityRoleTest extends TestCase {
- /**
- * The fixture for this Security Role test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SecurityRole fixture = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(SecurityRoleTest.class);
- }
-
- /**
- * Constructs a new Security Role test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SecurityRoleTest(String name) {
- super(name);
- }
-
- /**
- * Sets the fixture for this Security Role test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void setFixture(SecurityRole fixture) {
- this.fixture = fixture;
- }
-
- /**
- * Returns the fixture for this Security Role test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private SecurityRole getFixture() {
- return fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createSecurityRole());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //SecurityRoleTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/UseCallerIdentityTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/UseCallerIdentityTest.java
deleted file mode 100644
index d3cb3a84..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/common/tests/UseCallerIdentityTest.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UseCallerIdentityTest.java,v 1.1 2005/08/23 03:31:00 cbridgha Exp $
- */
-package org.eclipse.jst.j2ee.common.tests;
-
-import junit.textui.TestRunner;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.UseCallerIdentity;
-
-/**
- * <!-- begin-user-doc -->
- * A test case for the model object '<em><b>Use Caller Identity</b></em>'.
- * <!-- end-user-doc -->
- * @generated
- */
-public class UseCallerIdentityTest extends SecurityIdentityTest {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static void main(String[] args) {
- TestRunner.run(UseCallerIdentityTest.class);
- }
-
- /**
- * Constructs a new Use Caller Identity test case with the given name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UseCallerIdentityTest(String name) {
- super(name);
- }
-
- /**
- * Returns the fixture for this Use Caller Identity test case.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private UseCallerIdentity getFixture() {
- return (UseCallerIdentity)fixture;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#setUp()
- * @generated
- */
- protected void setUp() throws Exception {
- setFixture(CommonFactory.eINSTANCE.createUseCallerIdentity());
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see junit.framework.TestCase#tearDown()
- * @generated
- */
- protected void tearDown() throws Exception {
- setFixture(null);
- }
-
-} //UseCallerIdentityTest
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/api/test/AllCoreAPITests.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/api/test/AllCoreAPITests.java
deleted file mode 100644
index 4dd01300..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/api/test/AllCoreAPITests.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Created on Apr 1, 2003
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.core.api.test;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.core.tests.api.AllAPITest;
-
-/**
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class AllCoreAPITests {
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for J2EE Core Api Test");
- //$JUnit-BEGIN$
- suite.addTest(AllAPITest.suite());
-
- //$JUnit-END$
- return suite;
- }
-
- public static void main(java.lang.String[] args) {
- junit.textui.TestRunner.main(new String[] { AllCoreAPITests.class.getName() });
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/api/test/AutomatedAPIBVT.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/api/test/AutomatedAPIBVT.java
deleted file mode 100644
index 6524afe4..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/api/test/AutomatedAPIBVT.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Created on Apr 1, 2003
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.core.api.test;
-
-import java.net.URL;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
-
-import org.eclipse.core.runtime.IPluginDescriptor;
-import org.eclipse.core.runtime.Platform;
-
-
-/**
- * @author jsholl
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class AutomatedAPIBVT extends TestSuite {
-
- public static String baseDirectory = System.getProperty("user.dir") + java.io.File.separatorChar + "commonArchiveResources" + java.io.File.separatorChar;
-
- static {
- try {
- IPluginDescriptor pluginDescriptor = Platform.getPluginRegistry().getPluginDescriptor("org.eclipse.jst.j2ee.core.tests");
- URL url = pluginDescriptor.getInstallURL();
- AutomatedAPIBVT.baseDirectory = Platform.asLocalURL(url).getFile() + "commonArchiveResources"+ java.io.File.separatorChar;
- } catch (Exception e) {
- System.err.println("Using working directory since a workspace URL could not be located.");
- }
- }
-
- public static int unimplementedMethods;
-
- public static void main(String[] args) {
- unimplementedMethods = 0;
- TestRunner.run(suite());
- if (unimplementedMethods > 0) {
- System.out.println("\nCalls to warnUnimpl: " + unimplementedMethods);
- }
- }
-
- public AutomatedAPIBVT() {
- super();
- TestSuite suite = (TestSuite) AutomatedAPIBVT.suite();
- for (int i = 0; i < suite.testCount(); i++) {
- addTest(suite.testAt(i));
- }
- }
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for org.eclipse.jst.j2ee.core.api.bvt");
- //$JUnit-BEGIN$
- suite.addTest(AllCoreAPITests.suite());
- //$JUnit-END$
- return suite;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/tests/api/AllAPITest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/tests/api/AllAPITest.java
deleted file mode 100644
index 71a18c20..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/core/tests/api/AllAPITest.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Created on Mar 18, 2005
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.j2ee.core.tests.api;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.application.test.ApplicationFactoryTest;
-import org.eclipse.jst.j2ee.application.test.ApplicationTest;
-import org.eclipse.jst.j2ee.client.test.ApplicationClientTest;
-import org.eclipse.jst.j2ee.client.test.ClientFactoryTest;
-import org.eclipse.jst.j2ee.common.test.CommonFactoryTest;
-import org.eclipse.jst.j2ee.common.test.EjbRefTest;
-import org.eclipse.jst.j2ee.common.test.ListenerTest;
-import org.eclipse.jst.j2ee.common.test.QNameTest;
-import org.eclipse.jst.j2ee.ejb.test.AssemblyDescriptorTest;
-import org.eclipse.jst.j2ee.ejb.test.CMPAttributeTest;
-import org.eclipse.jst.j2ee.ejb.test.CMRFieldTest;
-import org.eclipse.jst.j2ee.ejb.test.ContainerManagedEntityTest;
-import org.eclipse.jst.j2ee.ejb.test.EJBRelationTest;
-import org.eclipse.jst.j2ee.ejb.test.EJBRelationshipRoleTest;
-import org.eclipse.jst.j2ee.ejb.test.EjbFactoryTest;
-import org.eclipse.jst.j2ee.ejb.test.EntityTest;
-import org.eclipse.jst.j2ee.ejb.test.MethodElementTest;
-import org.eclipse.jst.j2ee.ejb.test.MethodPermissionTest;
-import org.eclipse.jst.j2ee.ejb.test.QueryMethodTest;
-import org.eclipse.jst.j2ee.ejb.test.QueryTest;
-import org.eclipse.jst.j2ee.ejb.test.SessionTest;
-import org.eclipse.jst.j2ee.jca.test.ConnectorTest;
-import org.eclipse.jst.j2ee.jca.test.JcaFactoryTest;
-import org.eclipse.jst.j2ee.jsp.test.JspFactoryTest;
-import org.eclipse.jst.j2ee.webapplication.test.WebapplicationFactoryTest;
-import org.eclipse.jst.j2ee.webservice.wscommon.test.WscommonFactoryTest;
-import org.eclipse.jst.j2ee.webservice.wsdd.test.WsddFactoryTest;
-
-
-
-/**
- * @author Admin
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class AllAPITest extends TestSuite {
-
- public static Test suite(){
- return new AllAPITest();
- }
-
- public AllAPITest(){
- super("J2EE Core API Tests");
- addTest(ApplicationFactoryTest.suite());
- addTest(ApplicationTest.suite());
- addTest(ApplicationClientTest.suite());
- addTest(ClientFactoryTest.suite());
- addTest(CommonFactoryTest.suite());
- addTest(EjbRefTest.suite());
- addTest(ListenerTest.suite());
- addTest(QNameTest.suite());
- addTest(AssemblyDescriptorTest.suite());
- addTest(CMPAttributeTest.suite());
- addTest(CMRFieldTest.suite());
- addTest(ContainerManagedEntityTest.suite());
- addTest(EjbFactoryTest.suite());
- addTest(EJBRelationshipRoleTest.suite());
- addTest(EJBRelationTest.suite());
- addTest(EntityTest.suite());
- addTest(MethodElementTest.suite());
- addTest(MethodPermissionTest.suite());
- addTest(QueryMethodTest.suite());
- addTest(QueryTest.suite());
- addTest(SessionTest.suite());
- addTest(ConnectorTest.suite());
- addTest(JcaFactoryTest.suite());
- addTest(JspFactoryTest.suite());
- addTest(WebapplicationFactoryTest.suite());
- addTest(WscommonFactoryTest.suite());
- addTest(WsddFactoryTest.suite());
-
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/AssemblyDescriptorTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/AssemblyDescriptorTest.java
deleted file mode 100644
index 1876e420..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/AssemblyDescriptorTest.java
+++ /dev/null
@@ -1,220 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-import org.eclipse.jst.j2ee.ejb.AssemblyDescriptor;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.ejb.MethodPermission;
-import org.eclipse.jst.j2ee.ejb.MethodTransaction;
-
-public class AssemblyDescriptorTest extends EjbEMFTestBase {
-
- /**
- * @param name
- */
- public AssemblyDescriptorTest(String name) {
- super(name);
- }
-
-
- public void test_getMethodPermissionMethodElements() throws Exception {
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
- assertNotNull(assemblyDescriptor);
- List enterpriseBeans = DD.getEJBJar().getEnterpriseBeans();
- EnterpriseBean eb1 = (EnterpriseBean)enterpriseBeans.get(0);
- List methodPermissionList = assemblyDescriptor.getMethodPermissionMethodElements(eb1);
-
-
- List allMethodElements = new ArrayList();
- List permissions = assemblyDescriptor.getMethodPermissions();
- MethodPermission permission;
- for (int i = 0; i < permissions.size(); i++){
- permission = (MethodPermission) permissions.get(i);
- allMethodElements.addAll(permission.getMethodElements(eb1));
- }
- assertEquals(methodPermissionList,allMethodElements);
-
- }
-
- /**
- * @param expected
- * @param actual
- */
- public static void assertEquals(List expected, List actual) {
- assertEquals(actual.size(), expected.size());
- for (int x=0; x< expected.size(); ++x) {
- Object o = expected.get(x);
- assertEquals(actual.contains(o), true);
- }
-
- }
-
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new AssemblyDescriptorTest("test_getMethodPermissionMethodElements"));
- suite.addTest(new AssemblyDescriptorTest("test_getMethodTransactionMethodElements"));
- suite.addTest(new AssemblyDescriptorTest("test_getSecurityRoleNamed"));
- suite.addTest(new AssemblyDescriptorTest("test_renameSecurityRole"));
- suite.addTest(new AssemblyDescriptorTest("test_removeData"));
-
-
- return suite;
- }
-
-
- /* public void test_getMethodPermission() {
-
- AssemblyDescriptor objAssemblyDescriptor = getInstance();
- List securityRolesList = null;
- MethodPermission retValue = null;
- retValue = objAssemblyDescriptor
- .getMethodPermission(securityRolesList);
- } */
-
-
-
- public void test_getMethodTransactionMethodElements() throws Exception {
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
- assertNotNull(assemblyDescriptor);
- List enterpriseBeans = DD.getEJBJar().getEnterpriseBeans();
- EnterpriseBean eb1 = (EnterpriseBean)enterpriseBeans.get(0);
- List methodTransactionList = assemblyDescriptor.getMethodTransactionMethodElements(eb1);
-
-
- List allMethodElements = new ArrayList();
- List transactions = assemblyDescriptor.getMethodTransactions();
- MethodTransaction transaction;
- for (int i = 0; i < transactions.size(); i++){
- transaction = (MethodTransaction) transactions.get(i);
- allMethodElements.addAll(transaction.getMethodElements(eb1));
- }
- assertEquals(methodTransactionList,allMethodElements);
- }
-
-
-
- public void test_getSecurityRoleNamed()throws Exception {
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
- assertNotNull(assemblyDescriptor);
- SecurityRole securityRole= CommonPackage.eINSTANCE.getCommonFactory().createSecurityRole();
- String securityRoleName = "testRole";
- securityRole.setRoleName(securityRoleName);
- assemblyDescriptor.getSecurityRoles().add(securityRole);
- SecurityRole retValue = assemblyDescriptor.getSecurityRoleNamed(securityRoleName) ;
- assertEquals(retValue,securityRole);
- }
-
- public void test_renameSecurityRole() throws Exception {
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
- assertNotNull(assemblyDescriptor);
- String securityRoleName = "testRole";
-
- SecurityRole securityRole= CommonPackage.eINSTANCE.getCommonFactory().createSecurityRole();
-
- securityRole.setRoleName(securityRoleName);
- assemblyDescriptor.getSecurityRoles().add(securityRole);
- String newSecurityRoleName = "newTestRole" ;
- SecurityRole retValue = assemblyDescriptor.getSecurityRoleNamed(newSecurityRoleName) ;
- assertNull(retValue);
- assemblyDescriptor.renameSecurityRole(securityRoleName,
- newSecurityRoleName);
- retValue = assemblyDescriptor.getSecurityRoleNamed(newSecurityRoleName) ;
- assertNotNull(retValue);
-
- }
-
- /* public void test_getMethodPermissions() {
-
- AssemblyDescriptor objAssemblyDescriptor = getInstance();
- EList retValue = null;
- retValue = objAssemblyDescriptor.getMethodPermissions();
- }*/
-
- /* public void test_getMethodTransactions() {
-
- AssemblyDescriptor objAssemblyDescriptor = getInstance();
- EList retValue = null;
- retValue = objAssemblyDescriptor.getMethodTransactions();
- } */
-
- /* public void test_getEjbJar() {
-
- AssemblyDescriptor objAssemblyDescriptor = getInstance();
- EJBJar retValue = null;
- retValue = objAssemblyDescriptor.getEjbJar();
- }
-
- public void test_setEjbJar() {
-
- AssemblyDescriptor objAssemblyDescriptor = getInstance();
- EJBJar newEjbJar = null;
- objAssemblyDescriptor.setEjbJar(newEjbJar);
- } */
-
- /* public void test_getSecurityRoles() {
-
- AssemblyDescriptor objAssemblyDescriptor = getInstance();
- EList retValue = null;
- retValue = objAssemblyDescriptor.getSecurityRoles();
- }*/
-
- /* public void test_getExcludeList() {
-
- AssemblyDescriptor objAssemblyDescriptor = getInstance();
- ExcludeList retValue = null;
- retValue = objAssemblyDescriptor.getExcludeList();
- } */
-
-
-
- /* public void test_setExcludeList() {
-
- AssemblyDescriptor objAssemblyDescriptor = getInstance();
- ExcludeList newExcludeList = null;
- objAssemblyDescriptor.setExcludeList(newExcludeList);
- } */
-
- /* public void test_getMessageDestinations() {
-
- AssemblyDescriptor objAssemblyDescriptor = getInstance();
- EList retValue = null;
- retValue = objAssemblyDescriptor.getMessageDestinations();
- } */
-
- public void test_removeData() throws Exception {
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
- assertNotNull(assemblyDescriptor);
- List enterpriseBeans = DD.getEJBJar().getEnterpriseBeans();
- EnterpriseBean eb1 = (EnterpriseBean)enterpriseBeans.get(0);
- List methodTransactionList = assemblyDescriptor.getMethodTransactionMethodElements(eb1);
- List methodPermissionList = assemblyDescriptor.getMethodPermissionMethodElements(eb1);
- assertEquals(methodTransactionList.size() > 0, true);
- assertEquals(methodPermissionList.size() > 0, true);
-
- assemblyDescriptor.removeData(eb1);
-
- methodTransactionList = assemblyDescriptor.getMethodTransactionMethodElements(eb1);
- methodPermissionList = assemblyDescriptor.getMethodPermissionMethodElements(eb1);
- assertEquals(methodTransactionList.size() == 0, true);
- assertEquals(methodPermissionList.size() == 0, true);
-
-
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/CMPAttributeTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/CMPAttributeTest.java
deleted file mode 100644
index dcafc0d7..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/CMPAttributeTest.java
+++ /dev/null
@@ -1,186 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import java.util.List;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaRefFactory;
-import org.eclipse.jst.j2ee.ejb.CMPAttribute;
-import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-
-public class CMPAttributeTest extends TestCase {
-
- private EjbFactory EJBFACTORY = EjbPackage.eINSTANCE.getEjbFactory();
-
- public CMPAttributeTest(String name) {
- super(name);
- }
-
- private CMPAttribute getInstance() {
- return EjbPackage.eINSTANCE.getEjbFactory().createCMPAttribute();
-
- }
- /* public void test_getField() {
-
- CMPAttribute objCMPAttribute = getInstance();
- Field retValue = null;
- retValue = objCMPAttribute.getField();
- } */
-
- public void test_getGetterName() {
- CMPAttribute objCMPAttribute = getInstance();
- String name = "attrName" ;
- String getterName = "get" + name.substring(0, 1).toUpperCase() + (name.length() > 1 ? name.substring(1) : "");
- objCMPAttribute.setName(name);
- String retValue = objCMPAttribute.getGetterName();
- assertEquals(getterName,retValue);
- }
-
- public void test_getOriginatingType() {
- CMPAttribute objCMPAttribute = getInstance();
- JavaHelpers retValue = null;
- retValue = objCMPAttribute.getOriginatingType();
- assertNull(retValue);
- JavaHelpers newValue = JavaRefFactory.eINSTANCE.createClassRef("java.lang.String");
- objCMPAttribute.setOriginatingType(newValue);
- retValue = objCMPAttribute.getOriginatingType();
- assertEquals(retValue,newValue);
- }
-
- public void test_getSetterName() {
- CMPAttribute objCMPAttribute = getInstance();
- String name = "attrName" ;
- String setterName = "set" + name.substring(0, 1).toUpperCase() + (name.length() > 1 ? name.substring(1) : "");
- objCMPAttribute.setName(name);
- String retValue = objCMPAttribute.getSetterName();
- assertEquals(setterName,retValue);
- }
-
- public void test_getType() throws Exception {
- CMPAttribute objCMPAttribute = getInstance();
- String name = "attrName" ;
- objCMPAttribute.setName(name);
- JavaHelpers newValue = JavaRefFactory.eINSTANCE.createClassRef("java.lang.String");
- objCMPAttribute.setEType(newValue);
- JavaHelpers retValue = null;
- retValue = objCMPAttribute.getType();
- assertEquals(newValue,retValue);
-
-
- }
-
-
-
-
- public void test_isCMRField() {
- CMPAttribute objCMPAttribute = getInstance();
- boolean retValue = objCMPAttribute.isCMRField();
- assertEquals(retValue,false);
- objCMPAttribute = EJBFACTORY.createCMRField();
- retValue = objCMPAttribute.isCMRField();
- assertEquals(retValue,true);
-
- }
-
- public void test_isKey() {
- EJBJar jar = EJBFACTORY.createEJBJar();
- ContainerManagedEntity entity = EJBFACTORY.createContainerManagedEntity();
- entity.setName("Foo");
- jar.getEnterpriseBeans().add(entity);
- CMPAttribute objCMPAttribute = getInstance();
- objCMPAttribute.setName("fooAttr");
- entity.getPersistentAttributes().add(objCMPAttribute);
- JavaHelpers newValue = JavaRefFactory.eINSTANCE.createClassRef("java.lang.String");
- objCMPAttribute.setEType(newValue);
- ((ContainerManagedEntity)jar.getEnterpriseBeanNamed(entity.getName())).getCMPAttribute().add(objCMPAttribute);
- CMPAttribute retAttribute = (CMPAttribute)entity.getCMPAttribute().get(0);
- boolean retValue = false;
- retValue = retAttribute.isKey();
- assertEquals(retValue,false);
- List list = entity.getKeyAttributes();
- list.add(objCMPAttribute);
- retValue = retAttribute.isKey();
- assertEquals(retValue,true);
- }
-
- public void test_isPrimKeyField() {
- ContainerManagedEntity entity = EJBFACTORY.createContainerManagedEntity();
- CMPAttribute objCMPAttribute = getInstance();
- List list = entity.getCMPAttribute();
- entity.getPersistentAttributes().add(objCMPAttribute);
- list.add(objCMPAttribute);
- boolean retValue = false;
- retValue = objCMPAttribute.isPrimKeyField();
- assertEquals(retValue,false);
- entity.setPrimKeyField(objCMPAttribute);
- retValue = false;
- retValue = objCMPAttribute.isPrimKeyField();
- assertEquals(retValue,true);
- }
-
- public void test_setOriginatingType() {
-
- CMPAttribute objCMPAttribute = getInstance();
- JavaHelpers retValue = null;
- retValue = objCMPAttribute.getOriginatingType();
- assertNull(retValue);
- JavaHelpers newValue = JavaRefFactory.eINSTANCE.createClassRef("java.lang.String");
- objCMPAttribute.setOriginatingType(newValue);
- retValue = objCMPAttribute.getOriginatingType();
- assertEquals(retValue,newValue);
- }
-
- /* public void test_getDescription() {
-
- CMPAttribute objCMPAttribute = getInstance();
- String retValue = "";
- retValue = objCMPAttribute.getDescription();
- }
-
- public void test_setDescription() {
-
- CMPAttribute objCMPAttribute = getInstance();
- String newDescription = "";
- objCMPAttribute.setDescription(newDescription);
- }*/
-
-
-
- public void test_isDerived() {
-
- CMPAttribute objCMPAttribute = getInstance();
- boolean aBoolean = false;
- objCMPAttribute.setDerived(aBoolean);
- boolean retVal = objCMPAttribute.isDerived();
- assertEquals(retVal,aBoolean);
- aBoolean = true;
- objCMPAttribute.setDerived(aBoolean);
- retVal = objCMPAttribute.isDerived();
- assertEquals(retVal,aBoolean);
- }
-
- public void test_setDerived() {
-
- CMPAttribute objCMPAttribute = getInstance();
- boolean aBoolean = false;
- objCMPAttribute.setDerived(aBoolean);
- boolean retVal = objCMPAttribute.isDerived();
- assertEquals(retVal,aBoolean);
- aBoolean = true;
- objCMPAttribute.setDerived(aBoolean);
- retVal = objCMPAttribute.isDerived();
- assertEquals(retVal,aBoolean);
- }
-
- public static Test suite() {
- return new TestSuite(CMPAttributeTest.class);
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/CMRFieldTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/CMRFieldTest.java
deleted file mode 100644
index 8dc74b04..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/CMRFieldTest.java
+++ /dev/null
@@ -1,87 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaRefFactory;
-import org.eclipse.jst.j2ee.ejb.CMRField;
-import org.eclipse.jst.j2ee.ejb.EJBRelationshipRole;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-
-public class CMRFieldTest extends TestCase {
- protected EjbFactory EJBFACTORY = EjbPackage.eINSTANCE.getEjbFactory();
-
- private CMRField getInstance() {
- return EJBFACTORY.createCMRField();
- }
-
- public void test_getCollectionTypeName() {
- CMRField objCMRField = getInstance();
- String typeName = "testName";
- objCMRField.setCollectionTypeName(typeName);
- String retValue = "";
- retValue = objCMRField.getCollectionTypeName();
- assertEquals(typeName,retValue);
- }
-
-
- public void test_setCollectionTypeName() {
-
- CMRField objCMRField = getInstance();
- String typeName = "testName";
- objCMRField.setCollectionTypeName(typeName);
- String retValue = "";
- retValue = objCMRField.getCollectionTypeName();
- assertEquals(typeName,retValue);
- }
-
- public void test_getRole() {
- CMRField objCMRField = getInstance();
- EJBRelationshipRole newRole = EJBFACTORY.createEJBRelationshipRole();
- newRole.setName("Role1");
- objCMRField.setRole(newRole);
- EJBRelationshipRole retValue = objCMRField.getRole();
- assertEquals(newRole,retValue);
- }
-
- public void test_setRole() {
- CMRField objCMRField = getInstance();
- EJBRelationshipRole newRole = EJBFACTORY.createEJBRelationshipRole();
- newRole.setName("Role1");
- objCMRField.setRole(newRole);
- EJBRelationshipRole retValue = objCMRField.getRole();
- assertEquals(newRole,retValue);
-
- }
-
- public void test_getCollectionType() {
-
- CMRField objCMRField = getInstance();
- JavaClass newCollectionType = JavaRefFactory.eINSTANCE.createJavaClass();
- objCMRField.setCollectionType(newCollectionType);
- JavaClass retVal = objCMRField.getCollectionType();
- assertEquals(newCollectionType,retVal);
- }
-
-
- public void test_setCollectionType() {
-
- CMRField objCMRField = getInstance();
- JavaClass newCollectionType = JavaRefFactory.eINSTANCE.createJavaClass();
- objCMRField.setCollectionType(newCollectionType);
- JavaClass retVal = objCMRField.getCollectionType();
- assertEquals(newCollectionType,retVal);
- }
-
- public static Test suite() {
- return new TestSuite(CMRFieldTest.class);
- }
-
-
-
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/ContainerManagedEntityTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/ContainerManagedEntityTest.java
deleted file mode 100644
index f27eff9d..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/ContainerManagedEntityTest.java
+++ /dev/null
@@ -1,388 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import java.util.List;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jem.java.Field;
-import org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl;
-import org.eclipse.jst.j2ee.ejb.CMPAttribute;
-import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-
-public class ContainerManagedEntityTest extends TestCase {
-
- private static final EjbFactory EJBFACTORY = EjbPackage.eINSTANCE.getEjbFactory();
-
- public static Test suite() {
- return new TestSuite(ContainerManagedEntityTest.class);
- }
-
- private ContainerManagedEntity getInstance() {
- return EJBFACTORY.createContainerManagedEntity();
- }
- public void test_addKeyAttributeName() {
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- CMPAttribute cmpAttribute = EJBFACTORY.createCMPAttribute();
- List persistentAttributes = objContainerManagedEntity.getPersistentAttributes();
- persistentAttributes.add(cmpAttribute);
- String attrName = "attr1" ;
- cmpAttribute.setName(attrName);
- objContainerManagedEntity.addKeyAttributeName(attrName);
- List keys = objContainerManagedEntity.getKeyAttributes();
- boolean retValue = keys.contains(cmpAttribute);
- assertEquals(retValue,true);
- }
-
-
- public void test_addPersistentAttribute() {
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- Field aField = JavaRefFactoryImpl.getActiveFactory().createField();
- String name ="attr1" ;
- aField.setName(name);
- CMPAttribute retValue = null;
- retValue = objContainerManagedEntity.addPersistentAttribute(aField);
- assertNotNull(retValue);
- retValue = objContainerManagedEntity.getPersistentAttribute(name);
- assertNotNull(retValue);
- }
-
- public void test_addPersistentAttributeName() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- String name ="attr1" ;
- CMPAttribute retValue = null;
- retValue = objContainerManagedEntity.addPersistentAttributeName(name);
- assertNotNull(retValue);
- retValue = objContainerManagedEntity.getPersistentAttribute(name);
- assertNotNull(retValue);
- }
-
-
- public void test_getKeyAttribute() {
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- CMPAttribute cmpAttribute = EJBFACTORY.createCMPAttribute();
- List persistentAttributes = objContainerManagedEntity.getPersistentAttributes();
- persistentAttributes.add(cmpAttribute);
- String attrName = "attr1" ;
- cmpAttribute.setName(attrName);
- objContainerManagedEntity.addKeyAttributeName(attrName);
- CMPAttribute retValue = objContainerManagedEntity.getKeyAttribute(attrName);
-
- assertEquals(retValue,cmpAttribute);
-
- }
-
-
- public void test_getPrimaryKeyAttribute() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- CMPAttribute cmpAttribute = EJBFACTORY.createCMPAttribute();
- List persistentAttributes = objContainerManagedEntity.getPersistentAttributes();
- persistentAttributes.add(cmpAttribute);
- String attrName = "attr1" ;
- cmpAttribute.setName(attrName);
- CMPAttribute retValue = objContainerManagedEntity.getPrimaryKeyAttribute();
- assertNotSame(retValue,cmpAttribute);
- objContainerManagedEntity.setPrimKeyField(cmpAttribute);
- retValue = objContainerManagedEntity.getPrimaryKeyAttribute();
- assertEquals(retValue,cmpAttribute);
- }
-
- public void test_isContainerManagedEntity() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- boolean retValue = false;
- retValue = objContainerManagedEntity.isContainerManagedEntity();
- assertEquals(retValue,true);
- }
-
- public void test_isKeyAttribute() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- CMPAttribute cmpAttribute = EJBFACTORY.createCMPAttribute();
- List persistentAttributes = objContainerManagedEntity.getPersistentAttributes();
- persistentAttributes.add(cmpAttribute);
- String attrName = "attr1" ;
- cmpAttribute.setName(attrName);
- boolean retValue = objContainerManagedEntity.isKeyAttribute(cmpAttribute);
- assertEquals(retValue,false);
- objContainerManagedEntity.addKeyAttributeName(attrName);
- retValue = objContainerManagedEntity.isKeyAttribute(cmpAttribute);
- assertEquals(retValue,true);
-
- }
-
- public void test_removePersistentAttribute_2() {
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- CMPAttribute cmpAttribute = EJBFACTORY.createCMPAttribute();
- List persistentAttributes = objContainerManagedEntity.getPersistentAttributes();
- persistentAttributes.add(cmpAttribute);
- String attrName = "attr1" ;
- cmpAttribute.setName(attrName);
- CMPAttribute retValue = objContainerManagedEntity.getPersistentAttribute(attrName);
- assertNotNull(retValue);
- retValue = objContainerManagedEntity.removePersistentAttribute(attrName);
- assertNotNull(retValue);
- retValue = objContainerManagedEntity.getPersistentAttribute(attrName);
- assertNull(retValue);
- }
-
-
- public void test_removePersistentAttribute() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- Field aField = JavaRefFactoryImpl.getActiveFactory().createField();
- String name ="attr1" ;
- aField.setName(name);
- CMPAttribute retValue = null;
- retValue = objContainerManagedEntity.addPersistentAttribute(aField);
- assertNotNull(retValue);
-
- retValue = objContainerManagedEntity.getPersistentAttribute(name);
- assertNotNull(retValue);
-
- retValue = objContainerManagedEntity.removePersistentAttribute(aField);
- assertNotNull(retValue);
-
- retValue = objContainerManagedEntity.getPersistentAttribute(name);
- assertNull(retValue);
- }
-
- public void test_setPrimKeyField() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- CMPAttribute cmpAttribute = EJBFACTORY.createCMPAttribute();
- List persistentAttributes = objContainerManagedEntity.getPersistentAttributes();
- persistentAttributes.add(cmpAttribute);
- String attrName = "attr1" ;
- cmpAttribute.setName(attrName);
- CMPAttribute retValue = objContainerManagedEntity.getPrimKeyField();
- assertNotSame(retValue,cmpAttribute);
- objContainerManagedEntity.setPrimKeyField(cmpAttribute);
- retValue = objContainerManagedEntity.getPrimKeyField();
- assertEquals(retValue,cmpAttribute);
- }
-
-
- public void test_isVersion1_X() {
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- objContainerManagedEntity.setVersion(ContainerManagedEntity.VERSION_1_X);
- boolean retValue = false;
- retValue = objContainerManagedEntity.isVersion1_X();
- assertEquals(retValue,true);
- objContainerManagedEntity.setVersion(ContainerManagedEntity.VERSION_2_X);
- retValue = objContainerManagedEntity.isVersion1_X();
- assertEquals(retValue,false);
- }
-
- public void test_isVersion2_X() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- objContainerManagedEntity.setVersion(ContainerManagedEntity.VERSION_2_X);
- boolean retValue = false;
- retValue = objContainerManagedEntity.isVersion2_X();
- assertEquals(retValue,true);
- objContainerManagedEntity.setVersion(ContainerManagedEntity.VERSION_1_X);
- retValue = objContainerManagedEntity.isVersion2_X();
- assertEquals(retValue,false);
- }
-
- public void test_listPersistentFieldNames() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- CMPAttribute cmpAttribute1 = EJBFACTORY.createCMPAttribute();
- String attrName1 = "attr1" ;
- cmpAttribute1.setName(attrName1);
-
- CMPAttribute cmpAttribute2 = EJBFACTORY.createCMPAttribute();
- String attrName2 = "attr2" ;
- cmpAttribute2.setName(attrName2);
-
- List persistentAttributes = objContainerManagedEntity.getPersistentAttributes();
- persistentAttributes.add(cmpAttribute1);
- persistentAttributes.add(cmpAttribute2);
-
- String[] retValue = null;
- retValue = objContainerManagedEntity.listPersistentFieldNames();
- assertNotNull(retValue);
- assertEquals(retValue.length == 2, true);
- assertEquals((retValue[0]==attrName1 || retValue[1]==attrName1) , true);
- assertEquals((retValue[0]==attrName2 || retValue[1]==attrName2) , true);
-
- }
-
- public void test_isUnknownPrimaryKey() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- objContainerManagedEntity.setPrimaryKeyName("java.lang.String");
-
- boolean retValue = false;
- retValue = objContainerManagedEntity.isUnknownPrimaryKey();
- assertEquals(retValue,false);
-
- objContainerManagedEntity.setPrimaryKeyName("java.lang.Object");
- retValue = objContainerManagedEntity.isUnknownPrimaryKey();
- assertEquals(retValue,true);
-
-
- }
-
- // TODO
- /* public void test_makePrimKeyFieldProxy() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- objContainerManagedEntity.makePrimKeyFieldProxy();
- }
-
- public void test_getAllAvailableQueryMethods() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- List retValue = null;
- retValue = objContainerManagedEntity.getAllAvailableQueryMethods();
- }
-
- public void test_getAvailableSelectQueryMethods() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- List retValue = null;
- retValue = objContainerManagedEntity
- .getAvailableSelectQueryMethods();
- }
-
- public void test_getAvailableFindQueryMethods() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- List retValue = null;
- retValue = objContainerManagedEntity.getAvailableFindQueryMethods();
- } */
-
- public void test_getCMPVersionID() throws IllegalStateException {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- objContainerManagedEntity.setVersion(ContainerManagedEntity.VERSION_1_X);
- int retValue = 0;
- retValue = objContainerManagedEntity.getCMPVersionID();
- assertEquals(J2EEVersionConstants.EJB_1_1_ID, retValue);
- objContainerManagedEntity.setVersion(ContainerManagedEntity.VERSION_2_X);
-
- retValue = objContainerManagedEntity.getCMPVersionID();
- assertEquals(J2EEVersionConstants.EJB_2_0_ID, retValue);
-
- }
-
-
-
- /* public void test_getCMRFields() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- List retValue = null;
- retValue = objContainerManagedEntity.getCMRFields();
- }
-
-
- public void test_getRoles() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- List retValue = null;
- retValue = objContainerManagedEntity.getRoles();
- }
-
- public void test_getRole() {
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- EJBRelationshipRole role = EJBFACTORY.createEJBRelationshipRole();
- String roleName = "role1";
- role.setName(roleName);
- CommonRelationshipRole retValue = null;
- retValue = objContainerManagedEntity.getRole(roleName);
- assertNull(retValue);
- objContainerManagedEntity.getRoles().add(role);
- retValue = objContainerManagedEntity.getRole(roleName);
- assertNotNull(retValue);
- }
- public void test_getFilteredFeatures() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- EJBExtensionFilter aFilter = null;
- List retValue = null;
- retValue = objContainerManagedEntity.getFilteredFeatures(aFilter);
- } */
-
- /* public void test_getPersistentAttribute() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- String aName = "";
- CMPAttribute retValue = null;
- retValue = objContainerManagedEntity.getPersistentAttribute(aName);
-}*/
-
-
- /* public void test_getVersion() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- String retValue = "";
- retValue = objContainerManagedEntity.getVersion();
-}
-
-public void test_setVersion() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- String newVersion = "";
- objContainerManagedEntity.setVersion(newVersion);
-}*/
-
-/* public void test_getAbstractSchemaName() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- String retValue = "";
- retValue = objContainerManagedEntity.getAbstractSchemaName();
-}
-
-public void test_setAbstractSchemaName() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- String newAbstractSchemaName = "";
- objContainerManagedEntity
- .setAbstractSchemaName(newAbstractSchemaName);
-}*/
-
-/* public void test_getPersistentAttributes() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- EList retValue = null;
- retValue = objContainerManagedEntity.getPersistentAttributes();
-}*/
-
-/*public void test_getKeyAttributes() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- EList retValue = null;
- retValue = objContainerManagedEntity.getKeyAttributes();
-}*/
-
-/* public void test_getQueries() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- EList retValue = null;
- retValue = objContainerManagedEntity.getQueries();
-}*/
-
-/* public void test_getCMPAttribute() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- EList retValue = null;
- retValue = objContainerManagedEntity.getCMPAttribute();
-}*/
-
-/* public void test_getPrimKeyField() {
-
- ContainerManagedEntity objContainerManagedEntity = getInstance();
- CMPAttribute retValue = null;
- retValue = objContainerManagedEntity.getPrimKeyField();
-}*/
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBJarTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBJarTest.java
deleted file mode 100644
index 584f290a..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBJarTest.java
+++ /dev/null
@@ -1,589 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import java.util.List;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaRefFactory;
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.common.EjbRef;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-import org.eclipse.jst.j2ee.ejb.AssemblyDescriptor;
-import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EJBRelation;
-import org.eclipse.jst.j2ee.ejb.EJBRelationshipRole;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.ejb.Entity;
-import org.eclipse.jst.j2ee.ejb.MessageDriven;
-import org.eclipse.jst.j2ee.ejb.Relationships;
-import org.eclipse.jst.j2ee.ejb.RoleSource;
-import org.eclipse.jst.j2ee.ejb.Session;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-
-public class EJBJarTest extends EjbEMFTestBase {
-
- private static final CommonFactory COMMONFACTORY = CommonPackage.eINSTANCE.getCommonFactory();
- public EJBJarTest(String name) {
- super(name);
- }
- private EJBJar getInstance() {
- return getEjbFactory().createEJBJar();
- }
- public void test_EJBJar() {
- EJBJar tmpEJBJar = getInstance();
- assertNotNull(tmpEJBJar);
- }
-
-
-
-
- public void test_containsContainerManagedBeans() {
-
- EJBJar objEJBJar = getInstance();
- Session session = getEjbFactory().createSession();
- objEJBJar.getEnterpriseBeans().add(session);
-
- boolean retValue = false;
- retValue = objEJBJar.containsContainerManagedBeans();
- assertEquals(retValue,false);
-
- ContainerManagedEntity entity = getEjbFactory().createContainerManagedEntity();
- objEJBJar.getEnterpriseBeans().add(entity);
-
- retValue = objEJBJar.containsContainerManagedBeans();
- assertEquals(retValue,true);
- }
-
- public void test_containsSecurityRole() {
-
- EJBJar objEJBJar = getInstance();
- AssemblyDescriptor descriptor = getEjbFactory().createAssemblyDescriptor();
- objEJBJar.setAssemblyDescriptor(descriptor);
-
- String securityRoleName = "testRole";
- boolean retValue = false;
- retValue = objEJBJar.containsSecurityRole(securityRoleName);
- assertEquals(retValue, false);
-
-
- SecurityRole securityRole= CommonPackage.eINSTANCE.getCommonFactory().createSecurityRole();
- securityRole.setRoleName(securityRoleName);
- descriptor.getSecurityRoles().add(securityRole);
- retValue = objEJBJar.containsSecurityRole(securityRoleName) ;
- assertEquals(retValue,true);
- }
-
-
-
- public void test_getBeanManagedBeans() {
- EJBJar objEJBJar = getInstance();
- Session session = getEjbFactory().createSession();
- objEJBJar.getEnterpriseBeans().add(session);
-
- List retValue = null;
- retValue = objEJBJar.getBeanManagedBeans();
- assertEquals(retValue.size()==0,true);
-
- Entity entity = getEjbFactory().createEntity();
- objEJBJar.getEnterpriseBeans().add(entity);
-
- retValue = objEJBJar.getBeanManagedBeans();
- assertEquals(retValue.size()==1,true);
- assertEquals(retValue.get(0),entity);
- }
-
- public void test_getContainerManagedBeans() {
-
- EJBJar objEJBJar = getInstance();
- Session session = getEjbFactory().createSession();
- objEJBJar.getEnterpriseBeans().add(session);
-
- List retValue = null;
- retValue = objEJBJar.getContainerManagedBeans();
- assertEquals(retValue.size()==0,true);
-
- ContainerManagedEntity entity = getEjbFactory().createContainerManagedEntity();
- objEJBJar.getEnterpriseBeans().add(entity);
-
- retValue = objEJBJar.getContainerManagedBeans();
- assertEquals(retValue.size()==1,true);
- assertEquals(retValue.get(0),entity);
- }
-
-
-
-
- public void test_getEJB11ContainerManagedBeans() {
-
- EJBJar objEJBJar = getInstance();
- Session session = getEjbFactory().createSession();
- objEJBJar.getEnterpriseBeans().add(session);
-
- List retValue = null;
- retValue = objEJBJar.getEJB11ContainerManagedBeans();
- assertEquals(retValue.size()==0,true);
-
- ContainerManagedEntity entity1 = getEjbFactory().createContainerManagedEntity();
- objEJBJar.getEnterpriseBeans().add(entity1);
- entity1.setVersion(ContainerManagedEntity.VERSION_1_X);
-
- ContainerManagedEntity entity2 = getEjbFactory().createContainerManagedEntity();
- objEJBJar.getEnterpriseBeans().add(entity2);
- entity2.setVersion(ContainerManagedEntity.VERSION_2_X);
-
-
- retValue = objEJBJar.getEJB11ContainerManagedBeans();
- assertEquals(retValue.size()==1,true);
- assertEquals(retValue.get(0),entity1);
- }
-
- public void test_getEJB20ContainerManagedBeans() {
-
- EJBJar objEJBJar = getInstance();
- Session session = getEjbFactory().createSession();
- objEJBJar.getEnterpriseBeans().add(session);
-
- List retValue = null;
- retValue = objEJBJar.getEJB20ContainerManagedBeans();
- assertEquals(retValue.size()==0,true);
-
- ContainerManagedEntity entity1 = getEjbFactory().createContainerManagedEntity();
- objEJBJar.getEnterpriseBeans().add(entity1);
- entity1.setVersion(ContainerManagedEntity.VERSION_1_X);
-
- ContainerManagedEntity entity2 = getEjbFactory().createContainerManagedEntity();
- objEJBJar.getEnterpriseBeans().add(entity2);
- entity2.setVersion(ContainerManagedEntity.VERSION_2_X);
-
-
- retValue = objEJBJar.getEJB20ContainerManagedBeans();
- assertEquals(retValue.size()==1,true);
- assertEquals(retValue.get(0),entity2);
- }
-
-
- public void test_getMessageDrivenBeans() {
- EJBJar objEJBJar = getInstance();
- Session session = getEjbFactory().createSession();
- objEJBJar.getEnterpriseBeans().add(session);
-
- List retValue = null;
- retValue = objEJBJar.getMessageDrivenBeans();
- assertEquals(retValue.size()==0,true);
-
- MessageDriven messageDriven = getEjbFactory().createMessageDriven();
- objEJBJar.getEnterpriseBeans().add(messageDriven);
-
- retValue = objEJBJar.getMessageDrivenBeans();
- assertEquals(retValue.size()==1,true);
- assertEquals(retValue.get(0),messageDriven);
- }
-
- public void test_getEjbRelations() {
-
- EJBJar objEJBJar = getInstance();
- Relationships relationships = getEjbFactory().createRelationships();
- objEJBJar.setRelationshipList(relationships);
- relationships.setEjbJar(objEJBJar);
- EList ejbRelations = relationships.getEjbRelations();
- List retValue = null;
- retValue = objEJBJar.getEjbRelations();
-
- assertEquals(ejbRelations,retValue);
- }
-
-
-
-
- public void test_getEnterpiseBeanFromRef() {
-
- EJBJar objEJBJar = getInstance();
- AssemblyDescriptor descriptor = getEjbFactory().createAssemblyDescriptor();
- objEJBJar.setAssemblyDescriptor(descriptor);
-
- EjbRef ejbRef = COMMONFACTORY.createEjbRef();
- Session session1 = getEjbFactory().createSession();
- String name1 = "Name1";
- session1.setName(name1);
-
- Session session2 = getEjbFactory().createSession();
- String name2 = "Name2";
- session2.setName(name2);
-
- ejbRef.setLink(name2);
- ejbRef.setName("EjbRef_" + name2);
-
- objEJBJar.getEnterpriseBeans().add(session1);
- objEJBJar.getEnterpriseBeans().add(session2);
-
- EnterpriseBean retValue = objEJBJar.getEnterpiseBeanFromRef(ejbRef);
- assertEquals(session2,retValue);
- }
-
- public void test_getEnterpriseBeanNamed() {
-
- EJBJar objEJBJar = getInstance();
- AssemblyDescriptor descriptor = getEjbFactory().createAssemblyDescriptor();
- objEJBJar.setAssemblyDescriptor(descriptor);
-
- Session session1 = getEjbFactory().createSession();
- String name1 = "Name1";
- session1.setName(name1);
-
- Session session2 = getEjbFactory().createSession();
- String name2 = "Name2";
- session2.setName(name2);
-
-
- objEJBJar.getEnterpriseBeans().add(session1);
- objEJBJar.getEnterpriseBeans().add(session2);
-
- EnterpriseBean retValue = objEJBJar.getEnterpriseBeanNamed(name2);
- assertEquals(session2,retValue);
- }
-
- public void test_getEnterpriseBeansWithReference() {
-
- EJBJar objEJBJar = getInstance();
- AssemblyDescriptor descriptor = getEjbFactory().createAssemblyDescriptor();
- objEJBJar.setAssemblyDescriptor(descriptor);
-
- Session session1 = getEjbFactory().createSession();
- String name1 = "Name1";
- session1.setName(name1);
-
- Session session2 = getEjbFactory().createSession();
- String name2 = "Name2";
- session2.setName(name2);
-
-
- objEJBJar.getEnterpriseBeans().add(session1);
- objEJBJar.getEnterpriseBeans().add(session2);
-
- JavaClass javaClass1 = JavaRefFactory.eINSTANCE.createClassRef("java.lang.String") ;
- JavaClass javaClass2 = JavaRefFactory.eINSTANCE.createClassRef("java.util.List") ;
-
- session1.setEjbClass(javaClass1);
- session2.setEjbClass(javaClass2);
-
- java.util.List retValue = null;
- retValue = objEJBJar.getEnterpriseBeansWithReference(javaClass1);
- assertEquals(retValue.size()==1, true);
- assertEquals(retValue.contains(session1), true);
-
- session2.setHomeInterface(javaClass1);
- retValue = objEJBJar.getEnterpriseBeansWithReference(javaClass1);
- assertEquals(retValue.size()==2, true);
- assertEquals(retValue.contains(session1), true);
- assertEquals(retValue.contains(session2), true);
-
- }
-
-
-
- public void test_getEnterpriseBeanWithReference() {
-
- EJBJar objEJBJar = getInstance();
- AssemblyDescriptor descriptor = getEjbFactory().createAssemblyDescriptor();
- objEJBJar.setAssemblyDescriptor(descriptor);
-
- Session session1 = getEjbFactory().createSession();
- String name1 = "Name1";
- session1.setName(name1);
-
- Session session2 = getEjbFactory().createSession();
- String name2 = "Name2";
- session2.setName(name2);
-
-
- objEJBJar.getEnterpriseBeans().add(session1);
- objEJBJar.getEnterpriseBeans().add(session2);
-
- JavaClass javaClass1 = JavaRefFactory.eINSTANCE.createClassRef("java.lang.String") ;
-
- session1.setEjbClass(javaClass1);
- session2.setEjbClass(javaClass1);
-
- EnterpriseBean retValue = null;
- retValue = objEJBJar.getEnterpriseBeanWithReference(javaClass1);
- assertEquals(retValue, session1);
-
- }
-
- public void test_getSessionBeans() {
- EJBJar objEJBJar = getInstance();
- MessageDriven messageDriven = getEjbFactory().createMessageDriven();
- objEJBJar.getEnterpriseBeans().add(messageDriven);
-
-
- List retValue = null;
- retValue = objEJBJar.getSessionBeans();
- assertEquals(retValue.size()==0,true);
-
- Session session = getEjbFactory().createSession();
- objEJBJar.getEnterpriseBeans().add(session);
-
-
- retValue = objEJBJar.getSessionBeans();
- assertEquals(retValue.size()==1,true);
- assertEquals(retValue.contains(session), true);
-
- }
-
-
- /* public void test_renameSecurityRole() {
- EJBJar objEJBJar = getInstance();
- java.lang.String existingRoleName = "";
- java.lang.String newRoleName = "";
- objEJBJar.renameSecurityRole(existingRoleName, newRoleName);
- } */
-
- /* public void test_getEjbClientJar() {
-
- EJBJar objEJBJar = getInstance();
- String retValue = "";
- retValue = objEJBJar.getEjbClientJar();
- }
-
- public void test_setEjbClientJar() {
-
- EJBJar objEJBJar = getInstance();
- String newEjbClientJar = "";
- objEJBJar.setEjbClientJar(newEjbClientJar);
- }*/
-
- /* public void test_getVersion() {
-
- EJBJar objEJBJar = getInstance();
- String retValue = "";
- retValue = objEJBJar.getVersion();
- }*/
-
-
-
-
- public void test_getVersionID() throws Exception {
-
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- setModuleType(EJB);
- populateRoot(DD.getRootObject());
- int retValue = 0;
- retValue = DD.getEJBJar().getVersionID();
- assertEquals(retValue,J2EEVersionConstants.EJB_2_1_ID);
-
- DD.setVersionID(J2EEVersionConstants.J2EE_1_3_ID);
- setVersion(VERSION_1_3);
- retValue = DD.getEJBJar().getVersionID();
- assertEquals(retValue,J2EEVersionConstants.EJB_2_0_ID);
-
- DD.setVersionID(J2EEVersionConstants.J2EE_1_2_ID);
- setVersion(VERSION_1_2);
- retValue = DD.getEJBJar().getVersionID();
- assertEquals(retValue,J2EEVersionConstants.EJB_1_1_ID);
- }
-
- public void test_getJ2EEVersionID() throws Exception {
-
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- setModuleType(EJB);
- populateRoot(DD.getRootObject());
- int retValue = 0;
- retValue = DD.getEJBJar().getJ2EEVersionID();
- assertEquals(retValue,J2EEVersionConstants.J2EE_1_4_ID);
-
- DD.setVersionID(J2EEVersionConstants.J2EE_1_3_ID);
- setVersion(VERSION_1_3);
- retValue = DD.getEJBJar().getJ2EEVersionID();
- assertEquals(retValue,J2EEVersionConstants.J2EE_1_3_ID);
-
- DD.setVersionID(J2EEVersionConstants.J2EE_1_2_ID);
- setVersion(VERSION_1_2);
- retValue = DD.getEJBJar().getJ2EEVersionID();
- assertEquals(retValue,J2EEVersionConstants.J2EE_1_2_ID);
- }
-
- /* public void test_setVersion() {
-
- EJBJar objEJBJar = getInstance();
- String newVersion = "";
- objEJBJar.setVersion(newVersion);
- }*/
-
- /* public void test_getAssemblyDescriptor() {
-
- EJBJar objEJBJar = getInstance();
- AssemblyDescriptor retValue = null;
- retValue = objEJBJar.getAssemblyDescriptor();
- }
-
-
-
- public void test_setAssemblyDescriptor() {
-
- EJBJar objEJBJar = getInstance();
- AssemblyDescriptor newAssemblyDescriptor = null;
- objEJBJar.setAssemblyDescriptor(newAssemblyDescriptor);
- }*/
-
- /* public void test_getEnterpriseBeans() {
-
- EJBJar objEJBJar = getInstance();
- EList retValue = null;
- retValue = objEJBJar.getEnterpriseBeans();
- }*/
-
- /* public void test_getRelationshipList() {
-
- EJBJar objEJBJar = getInstance();
- Relationships retValue = null;
- retValue = objEJBJar.getRelationshipList();
- }
-
-
-
- public void test_setRelationshipList() {
-
- EJBJar objEJBJar = getInstance();
- Relationships newRelationshipList = null;
- objEJBJar.setRelationshipList(newRelationshipList);
- }
-*/
-
-
- public void test_getEJBRelation() {
- EJBJar objEJBJar = getInstance();
- Relationships relationships = getEjbFactory().createRelationships();
- objEJBJar.setRelationshipList(relationships);
- relationships.setEjbJar(objEJBJar);
-
- EJBRelation relation = getEjbFactory().createEJBRelation();
- String aRelationName = "Relation1";
- relation.setName(aRelationName);
-
- relationships.getEjbRelations().add(relation);
- EJBRelation retValue = null;
- retValue = objEJBJar.getEJBRelation(aRelationName);
- assertEquals(retValue, relation);
- }
-
-
-
- public void test_getEJBRelationsForSource() {
-
- EJBJar objEJBJar = getInstance();
- Relationships relationships = getEjbFactory().createRelationships();
- objEJBJar.setRelationshipList(relationships);
- relationships.setEjbJar(objEJBJar);
-
- EJBRelation relation = getEjbFactory().createEJBRelation();
- String aRelationName = "Relation1";
- relation.setName(aRelationName);
-
- EJBRelationshipRole role1 = getEjbFactory().createEJBRelationshipRole();
- EJBRelationshipRole role2 = getEjbFactory().createEJBRelationshipRole();
-
- List roleList = relation.getRelationshipRoles();
- roleList.add(role1);
- roleList.add(role2);
-
- ContainerManagedEntity entity = getEjbFactory().createContainerManagedEntity();
- ContainerManagedEntity targetEntity = getEjbFactory().createContainerManagedEntity();
-
- RoleSource roleSource = getEjbFactory().createRoleSource();
- roleSource.setEntityBean(entity);
- roleSource.setRole(role1);
- role1.setSource(roleSource);
-
- RoleSource targetRoleSource = getEjbFactory().createRoleSource();
- targetRoleSource.setEntityBean(targetEntity);
- targetRoleSource.setRole(role2);
- role2.setSource(targetRoleSource);
-
- List retValue = null;
- retValue = objEJBJar.getEJBRelationsForSource(entity);
-
- assertNotNull(retValue);
- assertEquals(retValue.size(),1);
- assertEquals(retValue.contains(relation),true);
-
- }
-
- public void test_getEJBRelationshipRolesForType() {
-
- EJBJar objEJBJar = getInstance();
- Relationships relationships = getEjbFactory().createRelationships();
- objEJBJar.setRelationshipList(relationships);
- relationships.setEjbJar(objEJBJar);
-
- EJBRelation relation = getEjbFactory().createEJBRelation();
- String aRelationName = "Relation1";
- relation.setName(aRelationName);
-
- EJBRelationshipRole role1 = getEjbFactory().createEJBRelationshipRole();
- EJBRelationshipRole role2 = getEjbFactory().createEJBRelationshipRole();
-
- List roleList = relation.getRelationshipRoles();
- roleList.add(role1);
- roleList.add(role2);
-
- ContainerManagedEntity entity = getEjbFactory().createContainerManagedEntity();
- ContainerManagedEntity targetEntity = getEjbFactory().createContainerManagedEntity();
-
- RoleSource roleSource = getEjbFactory().createRoleSource();
- roleSource.setEntityBean(entity);
- roleSource.setRole(role1);
- role1.setSource(roleSource);
-
- RoleSource targetRoleSource = getEjbFactory().createRoleSource();
- targetRoleSource.setEntityBean(targetEntity);
- targetRoleSource.setRole(role2);
- role2.setSource(targetRoleSource);
-
- List retValue = null;
- retValue = objEJBJar.getEJBRelationshipRolesForType(targetEntity);
-
- assertNotNull(retValue);
- assertEquals(retValue.size(),1);
- assertEquals(retValue.contains(relation),true);
- }
-
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new EJBJarTest("test_EJBJar"));
- suite.addTest(new EJBJarTest("test_containsContainerManagedBeans"));
- suite.addTest(new EJBJarTest("test_containsSecurityRole"));
- suite.addTest(new EJBJarTest("test_getBeanManagedBeans"));
- suite.addTest(new EJBJarTest("test_getContainerManagedBeans"));
-
- suite.addTest(new EJBJarTest("test_getEJB11ContainerManagedBeans"));
- suite.addTest(new EJBJarTest("test_getEJB20ContainerManagedBeans"));
- suite.addTest(new EJBJarTest("test_getMessageDrivenBeans"));
- suite.addTest(new EJBJarTest("test_getEjbRelations"));
- suite.addTest(new EJBJarTest("test_getEnterpiseBeanFromRef"));
-
- suite.addTest(new EJBJarTest("test_getEnterpriseBeanNamed"));
- suite.addTest(new EJBJarTest("test_getEnterpriseBeansWithReference"));
- suite.addTest(new EJBJarTest("test_getEnterpriseBeanWithReference"));
- suite.addTest(new EJBJarTest("test_getSessionBeans"));
- suite.addTest(new EJBJarTest("test_getVersionID"));
-
- suite.addTest(new EJBJarTest("test_getJ2EEVersionID"));
- suite.addTest(new EJBJarTest("test_getEJBRelation"));
- suite.addTest(new EJBJarTest("test_getEJBRelationsForSource"));
- suite.addTest(new EJBJarTest("test_getEJBRelationshipRolesForType"));
-
- return suite;
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBRelationTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBRelationTest.java
deleted file mode 100644
index 05ccec48..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBRelationTest.java
+++ /dev/null
@@ -1,154 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import java.util.List;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.ejb.EJBRelation;
-import org.eclipse.jst.j2ee.ejb.EJBRelationshipRole;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-
-public class EJBRelationTest extends TestCase {
-
- private EjbFactory EJBFACTORY = EjbPackage.eINSTANCE.getEjbFactory();
- private EJBRelation getInstance() {
- return EjbFactory.eINSTANCE.createEJBRelation();
- }
- public static Test suite() {
- return new TestSuite(EJBRelationTest.class);
- }
-
- public void test_EJBRelation() {
-
- EJBRelation tmpEJBRelation = getInstance();
- assertNotNull(tmpEJBRelation);
- }
-
- public void test_containsRelationshipRole() {
- EJBRelationshipRole role1 = EJBFACTORY.createEJBRelationshipRole();
- EJBRelationshipRole role2 = EJBFACTORY.createEJBRelationshipRole();
- EJBRelation objEJBRelation = getInstance();
- boolean retValue = false;
- retValue = objEJBRelation.containsRelationshipRole(role1);
- assertEquals(false,retValue);
- List roleList = objEJBRelation.getRelationshipRoles();
- roleList.add(role1);
- roleList.add(role2);
- retValue = objEJBRelation.containsRelationshipRole(role1);
- assertEquals(true,retValue);
- }
-
-
- public void test_getFirstRole() {
- EJBRelationshipRole role1 = EJBFACTORY.createEJBRelationshipRole();
- EJBRelationshipRole role2 = EJBFACTORY.createEJBRelationshipRole();
- EJBRelation objEJBRelation = getInstance();
- List roleList = objEJBRelation.getRelationshipRoles();
- roleList.add(role1);
- roleList.add(role2);
- EJBRelationshipRole retValue = null;
- retValue = objEJBRelation.getFirstRole();
- assertEquals(role1,retValue);
- }
-
- public void test_getOppositeRole() {
-
- EJBRelationshipRole role1 = EJBFACTORY.createEJBRelationshipRole();
- EJBRelationshipRole role2 = EJBFACTORY.createEJBRelationshipRole();
- EJBRelation objEJBRelation = getInstance();
- EJBRelationshipRole oppRole = objEJBRelation.getOppositeRole(role1);
- assertNull(oppRole);
-
- List roleList = objEJBRelation.getRelationshipRoles();
- roleList.add(role1);
- roleList.add(role2);
-
- oppRole = objEJBRelation.getOppositeRole(role1);
- assertEquals(role2,oppRole);
-
- oppRole = objEJBRelation.getOppositeRole(role2);
- assertEquals(role1,oppRole);
- }
-
-
- public void test_getSecondRole() {
-
- EJBRelationshipRole role1 = EJBFACTORY.createEJBRelationshipRole();
- EJBRelationshipRole role2 = EJBFACTORY.createEJBRelationshipRole();
- EJBRelation objEJBRelation = getInstance();
- List roleList = objEJBRelation.getRelationshipRoles();
- roleList.add(role1);
- roleList.add(role2);
- EJBRelationshipRole retValue = null;
- retValue = objEJBRelation.getSecondRole();
- assertEquals(role2,retValue);
- }
-
- public void test_setFoward() {
-
- EJBRelationshipRole role1 = EJBFACTORY.createEJBRelationshipRole();
- EJBRelationshipRole role2 = EJBFACTORY.createEJBRelationshipRole();
- EJBRelation objEJBRelation = getInstance();
- List roleList = objEJBRelation.getRelationshipRoles();
- roleList.add(role1);
- roleList.add(role2);
-
- objEJBRelation.setFoward(role2);
- EJBRelationshipRole retValue = null;
- retValue = objEJBRelation.getFirstRole();
- assertEquals(role2,retValue);
- }
-
- /* public void test_getDescription() {
-
- EJBRelation objEJBRelation = getInstance();
- String retValue = "";
- retValue = objEJBRelation.getDescription();
- }
-
- public void test_setDescription() {
-
- EJBRelation objEJBRelation = getInstance();
- String newDescription = "";
- objEJBRelation.setDescription(newDescription);
- }*/
-
- /* public void test_getName() {
-
- EJBRelation objEJBRelation = getInstance();
- String retValue = "";
- retValue = objEJBRelation.getName();
- }
-
- public void test_setName() {
-
- EJBRelation objEJBRelation = getInstance();
- String newName = "";
- objEJBRelation.setName(newName);
- }*/
-
- /* public void test_getRelationshipList() {
-
- EJBRelation objEJBRelation = getInstance();
- Relationships retValue = null;
- retValue = objEJBRelation.getRelationshipList();
- }
-
- public void test_setRelationshipList() {
-
- EJBRelation objEJBRelation = getInstance();
- Relationships newRelationshipList = null;
- objEJBRelation.setRelationshipList(newRelationshipList);
- }
-
-
- public void test_getDescriptions() {
-
- EJBRelation objEJBRelation = getInstance();
- EList retValue = null;
- retValue = objEJBRelation.getDescriptions();
- }*/
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBRelationshipRoleTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBRelationshipRoleTest.java
deleted file mode 100644
index 432c0584..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EJBRelationshipRoleTest.java
+++ /dev/null
@@ -1,307 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import java.util.List;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.ejb.CMRField;
-import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity;
-import org.eclipse.jst.j2ee.ejb.EJBRelation;
-import org.eclipse.jst.j2ee.ejb.EJBRelationshipRole;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.MultiplicityKind;
-import org.eclipse.jst.j2ee.ejb.RoleSource;
-
-public class EJBRelationshipRoleTest extends TestCase {
-
- private EjbFactory EJBFACTORY = EjbPackage.eINSTANCE.getEjbFactory();
- EJBRelationshipRole role1 = null, role2 = null;
- ContainerManagedEntity entity = null;
- EJBRelation ejbRelation = null ;
-
- public static Test suite() {
- return new TestSuite(EJBRelationshipRoleTest.class);
- }
-
- private EJBRelationshipRole getInstance() {
- return EJBFACTORY.createEJBRelationshipRole();
- }
-
- public void test_EJBRelationshipRole() {
-
- EJBRelationshipRole tmpEJBRelationshipRole = getInstance();
- assertNotNull(tmpEJBRelationshipRole);
- }
-
- public void test_getLogicalName() {
-
- /* EJBRelationshipRole objEJBRelationshipRole = getInstance();
- String retValue = "";
- retValue = objEJBRelationshipRole.getLogicalName();*/
- }
-
- public void test_getName() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- String name = "role1";
- objEJBRelationshipRole.setName(name);
- String retValue = "";
- retValue = objEJBRelationshipRole.getName();
- assertEquals(name,retValue);
- }
-
- public void test_getOpposite() {
- init();
- EJBRelationshipRole retValue = null;
- retValue = role1.getOpposite();
- assertEquals(retValue,role2);
- retValue = role2.getOpposite();
- assertEquals(retValue,role1);
- }
-
- public void test_getSourceEntity() {
- init();
- ContainerManagedEntity retValue = role1.getSourceEntity();
- assertEquals(retValue,entity);
- }
-
- public void test_isForward() {
- init();
- boolean retValue = role2.isForward();
- assertEquals(retValue,false);
- role2.setFoward();
- retValue = role2.isForward();
- assertEquals(retValue,true);
-
- }
-
- public void test_isKey() {
- init();
- boolean retValue = role2.isKey();
- assertEquals(retValue,false);
- role2.setKey(true);
- retValue = role2.isKey();
- assertEquals(retValue,true);
- }
-
- public void test_setKey() {
-
- init();
- boolean retValue = role2.isKey();
- assertEquals(retValue,false);
- role2.setKey(true);
- retValue = role2.isKey();
- assertEquals(retValue,true);
- }
-
- private void init() {
- role1 = EJBFACTORY.createEJBRelationshipRole();
- role2 = EJBFACTORY.createEJBRelationshipRole();
- ejbRelation = EJBFACTORY.createEJBRelation();
- entity = EJBFACTORY.createContainerManagedEntity();
- RoleSource roleSource = EJBFACTORY.createRoleSource();
- roleSource.setEntityBean(entity);
- roleSource.setRole(role1);
- role1.setSource(roleSource);
- List roleList = ejbRelation.getRelationshipRoles();
- roleList.add(role1);
- roleList.add(role2);
- }
-
- public void test_isMany() {
- init();
- boolean retValue = false;
- retValue = role1.isMany();
- assertEquals(retValue,false) ;
- role2.setMultiplicity(MultiplicityKind.MANY_LITERAL);
- retValue = role1.isMany();
- assertEquals(retValue,true) ;
- }
-
- public void test_isNavigable() {
- init();
- boolean retValue = role1.isNavigable();
- assertEquals(retValue,false);
- CMRField cmrField = EJBFACTORY.createCMRField();
- role1.setCmrField(cmrField);
- retValue = role1.isNavigable();
- assertEquals(retValue,true);
- }
-
-
- public void test_setFoward() {
- init();
- boolean retValue = role2.isForward();
- assertEquals(retValue,false);
- role2.setFoward();
- retValue = role2.isForward();
- assertEquals(retValue,true);
- }
-
- public void test_setName() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- String name = "role1";
- objEJBRelationshipRole.setName(name);
- String retValue = "";
- retValue = objEJBRelationshipRole.getName();
- assertEquals(name,retValue);
- }
-
- /* public void test_getDescription() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- String retValue = "";
- retValue = objEJBRelationshipRole.getDescription();
- }
-
- public void test_setDescription() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- String newDescription = "";
- objEJBRelationshipRole.setDescription(newDescription);
- }*/
-
- /* public void test_getRoleName() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- String retValue = "";
- retValue = objEJBRelationshipRole.getRoleName();
- }
-
- public void test_setRoleName() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- String newRoleName = "";
- objEJBRelationshipRole.setRoleName(newRoleName);
- }*/
-
- /* public void test_getMultiplicity() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- MultiplicityKind retValue = null;
- retValue = objEJBRelationshipRole.getMultiplicity();
- }
-
- public void test_setMultiplicity() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- MultiplicityKind newMultiplicity = null;
- objEJBRelationshipRole.setMultiplicity(newMultiplicity);
- }*/
-
- /* public void test_unsetMultiplicity() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- objEJBRelationshipRole.unsetMultiplicity();
- }
-
- public void test_isSetMultiplicity() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- boolean retValue = false;
- retValue = objEJBRelationshipRole.isSetMultiplicity();
- }*/
-
- /* public void test_isCascadeDelete() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- boolean retValue = false;
- retValue = objEJBRelationshipRole.isCascadeDelete();
- }
-
- public void test_setCascadeDelete() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- boolean newCascadeDelete = false;
- objEJBRelationshipRole.setCascadeDelete(newCascadeDelete);
- }*/
-
- /* public void test_unsetCascadeDelete() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- objEJBRelationshipRole.unsetCascadeDelete();
- }
-
- public void test_isSetCascadeDelete() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- boolean retValue = false;
- retValue = objEJBRelationshipRole.isSetCascadeDelete();
- }*/
-
- /* public void test_getRelationship() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- EJBRelation retValue = null;
- retValue = objEJBRelationshipRole.getRelationship();
- }
-
- public void test_setRelationship() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- EJBRelation newContainer = null;
- objEJBRelationshipRole.setRelationship(newContainer);
- }*/
-
- /*public void test_getSource() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- RoleSource retValue = null;
- retValue = objEJBRelationshipRole.getSource();
- }
-
-
- public void test_setSource() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- RoleSource newSource = null;
- objEJBRelationshipRole.setSource(newSource);
- }*/
-
- /* public void test_getCmrField() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- CMRField retValue = null;
- retValue = objEJBRelationshipRole.getCmrField();
- }
-
-
- public void test_setCmrField() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- CMRField newCmrField = null;
- objEJBRelationshipRole.setCmrField(newCmrField);
- }*/
-
- /* public void test_getDescriptions() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- EList retValue = null;
- retValue = objEJBRelationshipRole.getDescriptions();
- }*/
-
-
- public void test_setRequired() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- Boolean isRequired = Boolean.FALSE;
- objEJBRelationshipRole.setRequired(isRequired);
- assertEquals(false,objEJBRelationshipRole.isRequired());
- isRequired = Boolean.TRUE;
- objEJBRelationshipRole.setRequired(isRequired);
- assertEquals(true,objEJBRelationshipRole.isRequired());
- }
-
- /* public void test_reconcileAttributes() {
-
- EJBRelationshipRole objEJBRelationshipRole = getInstance();
- objEJBRelationshipRole.reconcileAttributes();
- } */
-
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EjbEMFTestBase.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EjbEMFTestBase.java
deleted file mode 100644
index 4a4609fa..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EjbEMFTestBase.java
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Created on Mar 14, 2005
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.j2ee.ejb.test;
-
-import org.eclipse.jst.j2ee.archive.emftests.EjbEMFTest;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-
-/**
- * @author Admin
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class EjbEMFTestBase extends EjbEMFTest {
-
- /**
- * @param name
- */
- public EjbEMFTestBase(String name) {
- super(name);
- // TODO Auto-generated constructor stub
- }
-
- protected void init() throws Exception{
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createEJB();
-
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- //TODO: individual test for each version
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- setModuleType(EJB);
- populateRoot(DD.getRootObject());
- }
-
- public void testEJBJarPopulation() throws Exception {
- // dont test the base functions
- }
-
- public void test14EJBJarPopulation() throws Exception {
- // dont test the base functions
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EjbFactoryTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EjbFactoryTest.java
deleted file mode 100644
index 1c50c8a8..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EjbFactoryTest.java
+++ /dev/null
@@ -1,275 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jem.java.JavaRefFactory;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl;
-import org.eclipse.jst.j2ee.ejb.ActivationConfig;
-import org.eclipse.jst.j2ee.ejb.ActivationConfigProperty;
-import org.eclipse.jst.j2ee.ejb.AssemblyDescriptor;
-import org.eclipse.jst.j2ee.ejb.CMPAttribute;
-import org.eclipse.jst.j2ee.ejb.CMRField;
-import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.EJBMethodCategory;
-import org.eclipse.jst.j2ee.ejb.EJBRelation;
-import org.eclipse.jst.j2ee.ejb.EJBRelationshipRole;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.Entity;
-import org.eclipse.jst.j2ee.ejb.ExcludeList;
-import org.eclipse.jst.j2ee.ejb.MessageDriven;
-import org.eclipse.jst.j2ee.ejb.MessageDrivenDestination;
-import org.eclipse.jst.j2ee.ejb.MethodElement;
-import org.eclipse.jst.j2ee.ejb.MethodPermission;
-import org.eclipse.jst.j2ee.ejb.MethodTransaction;
-import org.eclipse.jst.j2ee.ejb.Query;
-import org.eclipse.jst.j2ee.ejb.QueryMethod;
-import org.eclipse.jst.j2ee.ejb.Relationships;
-import org.eclipse.jst.j2ee.ejb.RoleSource;
-import org.eclipse.jst.j2ee.ejb.Session;
-
-public class EjbFactoryTest extends TestCase {
-
- private EjbFactory getInstance() {
- return EjbPackage.eINSTANCE.getEjbFactory();
- }
-
-
- public static Test suite() {
- return new TestSuite(EjbFactoryTest.class);
- }
-
- public void test_EjbFactory() {
-
- EjbFactory tmpEjbFactory = getInstance();
- }
-
- public void test_createMethodElement() {
-
- EjbFactory objEjbFactory = getInstance();
- String aSignature = "";
- MethodElement retValue = null;
- retValue = objEjbFactory.createMethodElement(aSignature);
- assertNotNull(retValue);
- }
-
- public void test_createMethodElementFrom() {
-
- EjbFactory objEjbFactory = getInstance();
- Method aMethod = JavaRefFactoryImpl.getActiveFactory().createMethod();
-
- String name = "setTwoParamMethod";
- JavaParameter javaParameter1 = JavaRefFactory.eINSTANCE.createJavaParameter();
- JavaHelpers type1 = JavaRefFactory.eINSTANCE.createClassRef("java.lang.String");
- javaParameter1.setEType(type1);
-
- JavaParameter javaParameter2 = JavaRefFactory.eINSTANCE.createJavaParameter();
- JavaHelpers type2 = JavaRefFactory.eINSTANCE.createClassRef("java.util.List");
- javaParameter2.setEType(type2);
-
- aMethod.setName(name);
- aMethod.getParameters().add(javaParameter1);
- aMethod.getParameters().add(javaParameter2);
-
- MethodElement retValue = null;
- retValue = objEjbFactory.createMethodElementFrom(aMethod);
- assertNotNull(retValue);
- }
-
- public void test_createMethodElementFrom_2() {
-
- EjbFactory objEjbFactory = getInstance();
- java.lang.reflect.Method method = null;
- MethodElement retValue = null;
- retValue = objEjbFactory.createMethodElementFrom(method);
- assertNotNull(retValue);
- }
-
-
- public void test_createMethodPermission() {
-
- EjbFactory objEjbFactory = getInstance();
- MethodPermission retValue = null;
- retValue = objEjbFactory.createMethodPermission();
- assertNotNull(retValue);
- }
-
- public void test_createAssemblyDescriptor() {
-
- EjbFactory objEjbFactory = getInstance();
- AssemblyDescriptor retValue = null;
- retValue = objEjbFactory.createAssemblyDescriptor();
- assertNotNull(retValue);
- }
-
- public void test_createMethodTransaction() {
-
- EjbFactory objEjbFactory = getInstance();
- MethodTransaction retValue = null;
- retValue = objEjbFactory.createMethodTransaction();
- assertNotNull(retValue);
- }
-
- public void test_createEntity() {
-
- EjbFactory objEjbFactory = getInstance();
- Entity retValue = null;
- retValue = objEjbFactory.createEntity();
- assertNotNull(retValue);
- }
-
-
-
- public void test_createContainerManagedEntity() {
-
- EjbFactory objEjbFactory = getInstance();
- ContainerManagedEntity retValue = null;
- retValue = objEjbFactory.createContainerManagedEntity();
- assertNotNull(retValue);
- }
-
- public void test_createCMPAttribute() {
-
- EjbFactory objEjbFactory = getInstance();
- CMPAttribute retValue = null;
- retValue = objEjbFactory.createCMPAttribute();
- assertNotNull(retValue);
- }
-
- public void test_createCMRField() {
-
- EjbFactory objEjbFactory = getInstance();
- CMRField retValue = null;
- retValue = objEjbFactory.createCMRField();
- assertNotNull(retValue);
- }
-
- public void test_createEJBRelationshipRole() {
-
- EjbFactory objEjbFactory = getInstance();
- EJBRelationshipRole retValue = null;
- retValue = objEjbFactory.createEJBRelationshipRole();
- assertNotNull(retValue);
- }
-
-
- public void test_createEJBRelation() {
-
- EjbFactory objEjbFactory = getInstance();
- EJBRelation retValue = null;
- retValue = objEjbFactory.createEJBRelation();
- assertNotNull(retValue);
- }
-
-
- public void test_createRelationships() {
-
- EjbFactory objEjbFactory = getInstance();
- Relationships retValue = null;
- retValue = objEjbFactory.createRelationships();
- assertNotNull(retValue);
- }
-
- public void test_createEJBJar() {
-
- EjbFactory objEjbFactory = getInstance();
- EJBJar retValue = null;
- retValue = objEjbFactory.createEJBJar();
- assertNotNull(retValue);
- }
-
- public void test_createRoleSource() {
-
- EjbFactory objEjbFactory = getInstance();
- RoleSource retValue = null;
- retValue = objEjbFactory.createRoleSource();
- assertNotNull(retValue);
- }
-
- public void test_createQuery() {
-
- EjbFactory objEjbFactory = getInstance();
- Query retValue = null;
- retValue = objEjbFactory.createQuery();
- assertNotNull(retValue);
- }
-
- public void test_createQueryMethod() {
-
- EjbFactory objEjbFactory = getInstance();
- QueryMethod retValue = null;
- retValue = objEjbFactory.createQueryMethod();
- assertNotNull(retValue);
- }
-
- public void test_createActivationConfigProperty() {
-
- EjbFactory objEjbFactory = getInstance();
- ActivationConfigProperty retValue = null;
- retValue = objEjbFactory.createActivationConfigProperty();
- assertNotNull(retValue);
- }
-
- public void test_createActivationConfig() {
-
- EjbFactory objEjbFactory = getInstance();
- ActivationConfig retValue = null;
- retValue = objEjbFactory.createActivationConfig();
- assertNotNull(retValue);
- }
-
- public void test_createMethodElement_2() {
-
- EjbFactory objEjbFactory = getInstance();
- MethodElement retValue = null;
- retValue = objEjbFactory.createMethodElement();
- assertNotNull(retValue);
- }
-
- public void test_createExcludeList() {
-
- EjbFactory objEjbFactory = getInstance();
- ExcludeList retValue = null;
- retValue = objEjbFactory.createExcludeList();
- assertNotNull(retValue);
- }
-
- public void test_createSession() {
-
- EjbFactory objEjbFactory = getInstance();
- Session retValue = null;
- retValue = objEjbFactory.createSession();
- assertNotNull(retValue);
- }
-
- public void test_createMessageDriven() {
-
- EjbFactory objEjbFactory = getInstance();
- MessageDriven retValue = null;
- retValue = objEjbFactory.createMessageDriven();
- assertNotNull(retValue);
- }
-
- public void test_createMessageDrivenDestination() {
-
- EjbFactory objEjbFactory = getInstance();
- MessageDrivenDestination retValue = null;
- retValue = objEjbFactory.createMessageDrivenDestination();
- assertNotNull(retValue);
- }
-
- public void test_createEJBMethodCategory() {
-
- EjbFactory objEjbFactory = getInstance();
- EJBMethodCategory retValue = null;
- retValue = objEjbFactory.createEJBMethodCategory();
- assertNotNull(retValue);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EntityTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EntityTest.java
deleted file mode 100644
index 9ca548c8..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/EntityTest.java
+++ /dev/null
@@ -1,142 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import java.util.List;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.ejb.AssemblyDescriptor;
-import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.ejb.Entity;
-
-public class EntityTest extends EjbEMFTestBase{
-
- /**
- * @param name
- */
- public EntityTest(String name) {
- super(name);
- }
-
- private Entity getInstance() {
- return EjbFactory.eINSTANCE.createEntity();
- }
- public void test_Entity() {
- Entity tmpEntity = getInstance();
- assertNotNull(tmpEntity);
- }
-
- /* (non-Javadoc)
- * @see junit.framework.TestCase#setUp()
- */
- protected void setUp() throws Exception {
- // TODO Auto-generated method stub
- super.setUp();
- }
-
- public void test_getPrimaryKeyName() throws Exception{
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
-
- AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
- List enterpriseBeans = DD.getEJBJar().getEnterpriseBeans();
- ContainerManagedEntity entityBean = null;
- EnterpriseBean bean = null;
- for (int x=0; x< enterpriseBeans.size(); ++x) {
- bean = (EnterpriseBean) enterpriseBeans.get(x);
- if (bean.isEntity() && bean.isContainerManagedEntity()) {
- entityBean = (ContainerManagedEntity) bean;
- break;
- }
- }
- if (entityBean != null) {
- String name = entityBean.getPrimaryKeyName();
- String primKeyName = entityBean.getPrimaryKey().getQualifiedName();
- assertEquals(name,primKeyName);
-
- }
- }
-
-
- /* public void test_isContainerManagedEntity() {
- Entity objEntity = getInstance();
- boolean retValue = false;
- retValue = objEntity.isContainerManagedEntity();
- }*/
-
- public void test_setPrimaryKeyName() throws Exception {
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
-
- AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
- List enterpriseBeans = DD.getEJBJar().getEnterpriseBeans();
- ContainerManagedEntity entityBean = null;
- EnterpriseBean bean = null;
- for (int x=0; x< enterpriseBeans.size(); ++x) {
- bean = (EnterpriseBean) enterpriseBeans.get(x);
- if (bean.isEntity() && bean.isContainerManagedEntity()) {
- entityBean = (ContainerManagedEntity) bean;
- break;
- }
- }
- if (entityBean != null) {
- String name = entityBean.getPrimaryKeyName();
- String newName = "NewName" ;
- entityBean.setPrimaryKeyName(newName);
- assertEquals(newName,entityBean.getPrimaryKeyName());
- }
- }
-
- /* public void test_isReentrant() {
-
- Entity objEntity = getInstance();
- boolean retValue = false;
- retValue = objEntity.isReentrant();
- }
-
- public void test_setReentrant() {
-
- Entity objEntity = getInstance();
- boolean newReentrant = false;
- objEntity.setReentrant(newReentrant);
- }*/
-
- /* public void test_unsetReentrant() {
-
- Entity objEntity = getInstance();
- objEntity.unsetReentrant();
- } */
-
- /* public void test_isSetReentrant() {
-
- Entity objEntity = getInstance();
- boolean retValue = false;
- retValue = objEntity.isSetReentrant();
- } */
-
- /* public void test_getPrimaryKey() {
-
- Entity objEntity = getInstance();
- JavaClass retValue = null;
- retValue = objEntity.getPrimaryKey();
- }
-
- public void test_setPrimaryKey() {
-
- Entity objEntity = getInstance();
- JavaClass newPrimaryKey = null;
- objEntity.setPrimaryKey(newPrimaryKey);
- } */
-
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new EntityTest("test_setPrimaryKeyName"));
- suite.addTest(new EntityTest("test_getPrimaryKeyName"));
- return suite;
- }
-
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodElementTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodElementTest.java
deleted file mode 100644
index 05533fd9..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodElementTest.java
+++ /dev/null
@@ -1,517 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import java.util.List;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jem.java.JavaHelpers;
-import org.eclipse.jem.java.JavaParameter;
-import org.eclipse.jem.java.JavaRefFactory;
-import org.eclipse.jem.java.Method;
-import org.eclipse.jem.java.internal.impl.JavaRefFactoryImpl;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.ejb.MethodElement;
-import org.eclipse.jst.j2ee.ejb.MethodElementKind;
-import org.eclipse.jst.j2ee.ejb.Session;
-
-public class MethodElementTest extends EjbEMFTestBase {
- private final int SESSION =0;
- private final int ENTITY = 1;
- private final int CONTAINER_MANAGED_ENTITY =2;
-
-
-
- /**
- * @param name
- */
- public MethodElementTest(String name) {
- super(name);
-
- }
-
- private MethodElement getInstance() {
- return EjbPackage.eINSTANCE.getEjbFactory().createMethodElement();
- }
-
- public void test_MethodElement() {
- MethodElement tmpMethodElement = getInstance();
- assertNotNull(tmpMethodElement);
- }
-
- public void test_addMethodParams() {
- MethodElement objMethodElement = getInstance();
- String param1 = "param1";
- String param2= "param2";
- boolean retValue = false;
- objMethodElement.addMethodParams(param1);
- objMethodElement.addMethodParams(param2);
- List list = objMethodElement.getMethodParams();
- retValue = list.contains(param1);
- assertEquals(retValue,true);
- }
-
- public void test_applyZeroParams() {
- MethodElement objMethodElement = getInstance();
- String param1 = "param1";
- String param2= "param2";
- boolean retValue = false;
- objMethodElement.addMethodParams(param1);
- objMethodElement.addMethodParams(param2);
- List list = objMethodElement.getMethodParams();
- assertEquals(list.size()==2, true) ;
- objMethodElement.applyZeroParams();
- list = objMethodElement.getMethodParams();
- assertEquals(list.size()==0, true) ;
-
- }
-
- public void test_equalSignature() {
-
- MethodElement objMethodElement1 = getInstance();
- MethodElement objMethodElement2 = getInstance();
- MethodElement objMethodElement3 = getInstance();
-
- objMethodElement1.setName("name");
- objMethodElement2.setName("name");
- objMethodElement3.setName("name");
-
- String param1 = "param1";
- String param2= "param2";
- String param3 = "param3";
- String param4= "param4";
-
- objMethodElement1.addMethodParams(param1);
- objMethodElement1.addMethodParams(param2);
-
- objMethodElement2.addMethodParams(param1);
- objMethodElement2.addMethodParams(param2);
-
- objMethodElement3.addMethodParams(param1);
- objMethodElement3.addMethodParams(param2);
-
- objMethodElement1.setType(MethodElementKind.LOCAL_LITERAL);
- objMethodElement2.setType(MethodElementKind.LOCAL_LITERAL);
- objMethodElement3.setType(MethodElementKind.LOCAL_LITERAL);
-
- boolean retValue = false;
- retValue = objMethodElement1.equalSignature(objMethodElement2);
- assertEquals(retValue,true);
- retValue = objMethodElement2.equalSignature(objMethodElement3);
- assertEquals(retValue,true);
-
- objMethodElement3.setName("nameDiff");
- retValue = objMethodElement2.equalSignature(objMethodElement3);
- assertEquals(retValue,false);
-
- objMethodElement2.addMethodParams(param3);
- retValue = objMethodElement1.equalSignature(objMethodElement2);
- assertEquals(retValue,false);
-
- objMethodElement3.setName("name");
- retValue = objMethodElement1.equalSignature(objMethodElement3);
- assertEquals(retValue,true);
-
- objMethodElement3.setType(MethodElementKind.HOME_LITERAL);
- retValue = objMethodElement1.equalSignature(objMethodElement3);
- assertEquals(retValue,false);
- }
-
- public void test_getMethodParams() {
-
- MethodElement objMethodElement = getInstance();
- String param1 = "param1";
- String param2= "param2";
- boolean retValue = false;
- objMethodElement.addMethodParams(param1);
- objMethodElement.addMethodParams(param2);
- List list = objMethodElement.getMethodParams();
- assertEquals(list.size()==2, true) ;
- assertEquals(list.contains(param1),true);
- assertEquals(list.contains(param2),true);
- }
-
-
-
- public void test_getSignature() {
-
- MethodElement objMethodElement = getInstance();
- String name = "test";
- objMethodElement.setName(name);
-
- String param1 = "param1";
- String param2= "param2";
-
- objMethodElement.addMethodParams(param1);
- objMethodElement.addMethodParams(param2);
-
- String signature = name + "(" + param1 + "," + param2 + ")";
- String retValue = objMethodElement.getSignature();
- assertEquals(signature,retValue);
-
-
- }
-
-
-
-
- public void test_getTypeJavaClass() throws Exception {
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- List enterpriseBeans = DD.getEJBJar().getEnterpriseBeans();
- EnterpriseBean eb = (EnterpriseBean)enterpriseBeans.get(0);
- MethodElement objMethodElement = getInstance();
- objMethodElement.setEnterpriseBean(eb);
- JavaClass retValue = null;
- if (eb.hasRemoteClient()) {
- objMethodElement.setType(MethodElementKind.HOME_LITERAL);
- retValue = objMethodElement.getTypeJavaClass();
- assertEquals(retValue,eb.getHomeInterface());
- objMethodElement.setType(MethodElementKind.REMOTE_LITERAL);
- retValue = objMethodElement.getTypeJavaClass();
- assertEquals(retValue,eb.getRemoteInterface());
-
- }
- if (eb.hasLocalClient()){
- objMethodElement.setType(MethodElementKind.LOCAL_HOME_LITERAL);
- retValue = objMethodElement.getTypeJavaClass();
- assertEquals(retValue,eb.getLocalHomeInterface());
- objMethodElement.setType(MethodElementKind.LOCAL_LITERAL);
- retValue = objMethodElement.getTypeJavaClass();
- assertEquals(retValue,eb.getLocalInterface());
-
- }
- if (eb.isMessageDriven()) {
- objMethodElement.setType(MethodElementKind.UNSPECIFIED_LITERAL);
- retValue = objMethodElement.getTypeJavaClass();
- assertEquals(retValue,eb.getEjbClass());
- }
-
- }
-
-
-
- /* public void test_getMethods() {
-
- }
-
- public void test_getMostSpecific() {
-
- MethodElement objMethodElement = getInstance();
- MethodElement aMethodElement = null;
- JavaClass aClass = null;
- MethodElement retValue = null;
- retValue = objMethodElement.getMostSpecific(aMethodElement, aClass);
- }*/
-
- public void test_hasMethodParams() {
- MethodElement objMethodElement = getInstance();
- boolean retValue = false;
- retValue = objMethodElement.hasMethodParams();
- assertEquals(retValue,false);
- String param1 = "param1";
- objMethodElement.addMethodParams(param1);
- retValue = objMethodElement.hasMethodParams();
- assertEquals(retValue,true);
- String param2 = "param2";
- objMethodElement.addMethodParams(param2);
- retValue = objMethodElement.hasMethodParams();
- assertEquals(retValue,true);
- }
-
- public void test_initializeFromSignature() {
- MethodElement objMethodElement = getInstance();
- String signature = "setTwoParamMethod(java.lang.String,java.util.List)";
- objMethodElement.initializeFromSignature(signature);
- List list = objMethodElement.getMethodParams();
- assertEquals(list.size()==2, true) ;
- String name = "setTwoParamMethod";
- assertEquals(list.contains("java.lang.String"),true);
- assertEquals(list.contains("java.util.List"),true);
- assertEquals(objMethodElement.getName(), "setTwoParamMethod");
-
- }
-
- public void test_isDefault() {
- MethodElement objMethodElement = getInstance();
- objMethodElement.setName("test");
- boolean retValue = false;
- retValue = objMethodElement.isDefault();
- assertEquals(retValue,false);
- objMethodElement.setName(JavaClass.DEFAULT_METHOD_NAME);
- retValue = objMethodElement.isDefault();
- assertEquals(retValue,true);
-
- }
-
- public void test_isEquivalent() {
-
- MethodElement objMethodElement1 = getInstance();
- MethodElement objMethodElement2 = getInstance();
-
- Session session1 = getEjbFactory().createSession();
- Session session2 = getEjbFactory().createSession();
- objMethodElement1.setEnterpriseBean(session1);
- objMethodElement2.setEnterpriseBean(session1);
- String signature1 = "setTwoParamMethod(java.lang.String,java.util.List)";
- String signature2 = "setTwoParamMethod2(java.lang.String,java.util.List)";
- objMethodElement1.initializeFromSignature(signature1);
- objMethodElement2.initializeFromSignature(signature1);
- boolean retValue = false;
- retValue = objMethodElement1.isEquivalent(objMethodElement2);
- assertEquals(retValue,true);
- objMethodElement2.initializeFromSignature(signature2);
- retValue = objMethodElement1.isEquivalent(objMethodElement2);
- assertEquals(retValue,false);
-
- objMethodElement2.initializeFromSignature(signature1);
- objMethodElement2.setEnterpriseBean(session2);
- retValue = objMethodElement1.isEquivalent(objMethodElement2);
- assertEquals(retValue,false);
- }
-
- public void test_isHome() {
-
- MethodElement objMethodElement = getInstance();
- objMethodElement.setType(MethodElementKind.HOME_LITERAL);
- boolean retValue = false;
- retValue = objMethodElement.isHome();
- assertEquals(retValue,true);
- objMethodElement.setType(MethodElementKind.LOCAL_HOME_LITERAL);
- retValue = objMethodElement.isHome();
- assertEquals(retValue,false);
-
- }
-
- public void test_isRemote() {
- MethodElement objMethodElement = getInstance();
- objMethodElement.setType(MethodElementKind.REMOTE_LITERAL);
- boolean retValue = false;
- retValue = objMethodElement.isRemote();
- assertEquals(retValue,true);
- objMethodElement.setType(MethodElementKind.LOCAL_HOME_LITERAL);
- retValue = objMethodElement.isRemote();
- assertEquals(retValue,false);
- }
-
- public void test_isUnspecified() {
- MethodElement objMethodElement = getInstance();
- objMethodElement.setType(MethodElementKind.UNSPECIFIED_LITERAL);
- boolean retValue = false;
- retValue = objMethodElement.isUnspecified();
- assertEquals(retValue,true);
- objMethodElement.setType(MethodElementKind.LOCAL_HOME_LITERAL);
- retValue = objMethodElement.isUnspecified();
- assertEquals(retValue,false);
-
- }
-
- public void test_isLocalHome() {
-
- MethodElement objMethodElement = getInstance();
- objMethodElement.setType(MethodElementKind.LOCAL_HOME_LITERAL );
- boolean retValue = false;
- retValue = objMethodElement.isLocalHome();
- assertEquals(retValue,true);
- objMethodElement.setType(MethodElementKind.UNSPECIFIED_LITERAL);
- retValue = objMethodElement.isLocalHome();
- assertEquals(retValue,false);
- }
-
- public void test_isLocal() {
- MethodElement objMethodElement = getInstance();
- objMethodElement.setType(MethodElementKind.LOCAL_LITERAL );
- boolean retValue = false;
- retValue = objMethodElement.isLocal();
- assertEquals(retValue,true);
- objMethodElement.setType(MethodElementKind.UNSPECIFIED_LITERAL);
- retValue = objMethodElement.isLocal();
- assertEquals(retValue,false);
- }
-
- public void test_isValid() {
- MethodElement objMethodElement = getInstance();
- boolean retValue = false;
- retValue = objMethodElement.isValid();
- }
-
-
- public void test_nameAndParamsEquals() {
-
- MethodElement objMethodElement = getInstance();
- Method aMethod = JavaRefFactoryImpl.getActiveFactory().createMethod();
- String name = "setTwoParamMethod";
- String param1 = "java.lang.String";
- String param2 = "java.util.List";
-
- JavaParameter javaParameter1 = JavaRefFactory.eINSTANCE.createJavaParameter();
- JavaHelpers type1 = JavaRefFactory.eINSTANCE.createClassRef("java.lang.String");
- javaParameter1.setEType(type1);
-
- JavaParameter javaParameter2 = JavaRefFactory.eINSTANCE.createJavaParameter();
- JavaHelpers type2 = JavaRefFactory.eINSTANCE.createClassRef("java.util.List");
- javaParameter2.setEType(type2);
-
- aMethod.setName(name);
- aMethod.getParameters().add(javaParameter1);
- aMethod.getParameters().add(javaParameter2);
-
- objMethodElement.setName(name);
- objMethodElement.addMethodParams(param1);
- objMethodElement.addMethodParams(param2);
-
- boolean retValue = false;
- retValue = objMethodElement.nameAndParamsEquals(aMethod);
- assertEquals(retValue,true);
-
- String name2 = "setTwoParamMethod2";
- objMethodElement.setName(name2);
- retValue = objMethodElement.nameAndParamsEquals(aMethod);
- assertEquals(retValue,false);
-
- objMethodElement.setName(name);
- String param3 = "java.util.List";
- objMethodElement.addMethodParams(param3);
- retValue = objMethodElement.nameAndParamsEquals(aMethod);
- assertEquals(retValue,false);
-
- }
-
- public void test_removeMethodParams() {
-
- MethodElement objMethodElement = getInstance();
- String param1 = "param1";
- String param2= "param2";
- boolean retValue = false;
- objMethodElement.addMethodParams(param1);
- objMethodElement.addMethodParams(param2);
- List list = objMethodElement.getMethodParams();
- retValue = list.contains(param1);
- assertEquals(retValue,true);
- objMethodElement.removeMethodParams(param1);
- list = objMethodElement.getMethodParams();
- retValue = list.contains(param1);
- assertEquals(retValue,false);
- }
-
- /* public void test_represents() {
-
- MethodElement objMethodElement = getInstance();
- Method aMethod = null;
- boolean retValue = false;
- retValue = objMethodElement.represents(aMethod);
- }
-
- public void test_setIdToReadableString() {
-
- MethodElement objMethodElement = getInstance();
- objMethodElement.setIdToReadableString();
- }
-
- public void test_uniquelyIdentifies() {
-
- MethodElement objMethodElement = getInstance();
- Method aMethod = null;
- boolean retValue = false;
- retValue = objMethodElement.uniquelyIdentifies(aMethod);
- } */
-
- /* public void test_getName() {
-
- MethodElement objMethodElement = getInstance();
- String retValue = "";
- retValue = objMethodElement.getName();
- }*/
-
- /* public void test_setName() {
-
- MethodElement objMethodElement = getInstance();
- String newName = "";
- objMethodElement.setName(newName);
- }*/
-
- /* public void test_getParms() {
-
- MethodElement objMethodElement = getInstance();
- String retValue = "";
- retValue = objMethodElement.getParms();
- }
-
- public void test_setParms() {
-
- MethodElement objMethodElement = getInstance();
- String newParms = "";
- objMethodElement.setParms(newParms);
- }*/
-
- /* public void test_getType() {
-
- MethodElement objMethodElement = getInstance();
- MethodElementKind retValue = null;
- retValue = objMethodElement.getType();
- }
-
- public void test_setType() {
-
- MethodElement objMethodElement = getInstance();
- MethodElementKind newType = null;
- objMethodElement.setType(newType);
- }
-
- public void test_unsetType() {
-
- MethodElement objMethodElement = getInstance();
- objMethodElement.unsetType();
- }
-
- public void test_isSetType() {
-
- MethodElement objMethodElement = getInstance();
- boolean retValue = false;
- retValue = objMethodElement.isSetType();
- }*/
-
- /* public void test_getDescription() {
-
- MethodElement objMethodElement = getInstance();
- String retValue = "";
- retValue = objMethodElement.getDescription();
- }
-
- public void test_setDescription() {
-
- MethodElement objMethodElement = getInstance();
- String newDescription = "";
- objMethodElement.setDescription(newDescription);
- }*/
-
- /* public void test_getEnterpriseBean() {
-
- MethodElement objMethodElement = getInstance();
- EnterpriseBean retValue = null;
- retValue = objMethodElement.getEnterpriseBean();
- }
-
-
- public void test_setEnterpriseBean() {
-
- MethodElement objMethodElement = getInstance();
- EnterpriseBean newEnterpriseBean = null;
- objMethodElement.setEnterpriseBean(newEnterpriseBean);
- }*/
-
- /* public void test_getDescriptions() {
-
- MethodElement objMethodElement = getInstance();
- EList retValue = null;
- retValue = objMethodElement.getDescriptions();
- }*/
-
- public static Test suite() {
- return new TestSuite(MethodElementTest.class);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodPermissionTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodPermissionTest.java
deleted file mode 100644
index f0345708..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodPermissionTest.java
+++ /dev/null
@@ -1,187 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.CommonPackage;
-import org.eclipse.jst.j2ee.common.SecurityRole;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.MethodPermission;
-
-public class MethodPermissionTest extends TestCase {
-
- private static final EjbFactory EJBFACTORY = EjbPackage.eINSTANCE.getEjbFactory();
- private static final CommonFactory COMMONFACTORY = CommonPackage.eINSTANCE.getCommonFactory();
- private MethodPermission getInstance() {
- return EJBFACTORY.createMethodPermission();
- }
-
-
- public void test_MethodPermission() {
- MethodPermission tmpMethodPermission = getInstance();
- assertNotNull(tmpMethodPermission);
- }
-
- /*public void test_getMethodElements() {
-
- MethodPermission objMethodPermission = getInstance();
- EnterpriseBean anEJB = null;
- List retValue = null;
- retValue = objMethodPermission.getMethodElements(anEJB);
- }*/
-
- public void test_getSecurityRole() {
-
- MethodPermission objMethodPermission = getInstance();
- SecurityRole securityRole= COMMONFACTORY.createSecurityRole();
- String securityRoleName = "testRole";
- securityRole.setRoleName(securityRoleName);
- objMethodPermission.getRoles().add(securityRole);
-
- SecurityRole retValue = null;
- retValue = objMethodPermission.getSecurityRole(securityRoleName);
- assertEquals(securityRole,retValue);
- }
-
- public void test_hasSecurityRole() {
- MethodPermission objMethodPermission = getInstance();
- SecurityRole securityRole= COMMONFACTORY.createSecurityRole();
- String securityRoleName = "testRole";
- securityRole.setRoleName(securityRoleName);
- objMethodPermission.getRoles().add(securityRole);
- boolean retValue = objMethodPermission.hasSecurityRole(securityRole);
- assertEquals(retValue, true);
- SecurityRole securityRole2= COMMONFACTORY.createSecurityRole();
- retValue = objMethodPermission.hasSecurityRole(securityRole2);
- assertEquals(retValue, false);
- }
-
- public void test_hasSecurityRole_2() {
-
- MethodPermission objMethodPermission = getInstance();
- SecurityRole securityRole= COMMONFACTORY.createSecurityRole();
- String securityRoleName = "testRole";
- securityRole.setRoleName(securityRoleName);
- objMethodPermission.getRoles().add(securityRole);
- boolean retValue = objMethodPermission.hasSecurityRole(securityRoleName);
- assertEquals(retValue, true);
- String securityRoleNameDoesNotExist = "testRoleDoesNotExist";
- retValue = objMethodPermission.hasSecurityRole(securityRoleNameDoesNotExist);
- assertEquals(retValue, false);
- }
-
- public void test_isEquivalent() {
-
- MethodPermission objMethodPermission1 = getInstance();
- MethodPermission objMethodPermission2 = getInstance();
-
- SecurityRole securityRole1= COMMONFACTORY.createSecurityRole();
- securityRole1.setRoleName("testRole1");
- SecurityRole securityRole2= COMMONFACTORY.createSecurityRole();
- securityRole2.setRoleName("testRole2");
- SecurityRole securityRole3= COMMONFACTORY.createSecurityRole();
- securityRole3.setRoleName("testRole3");
-
-
- objMethodPermission1.getRoles().add(securityRole1);
- objMethodPermission1.getRoles().add(securityRole2);
-
- objMethodPermission2.getRoles().add(securityRole1);
- objMethodPermission2.getRoles().add(securityRole2);
-
-
- boolean retValue = objMethodPermission1.isEquivalent(objMethodPermission2);
- assertEquals(retValue, true);
-
- objMethodPermission1.getRoles().add(securityRole3);
- retValue = objMethodPermission1.isEquivalent(objMethodPermission2);
- assertEquals(retValue, false);
-
-
- }
-
- /* public void test_getDescription() {
-
- MethodPermission objMethodPermission = getInstance();
- String retValue = "";
- retValue = objMethodPermission.getDescription();
- }
-
- public void test_setDescription() {
-
- MethodPermission objMethodPermission = getInstance();
- String newDescription = "";
- objMethodPermission.setDescription(newDescription);
- }*/
-
- /* public void test_isUnchecked() {
-
- MethodPermission objMethodPermission = getInstance();
- boolean retValue = false;
- retValue = objMethodPermission.isUnchecked();
- }*/
-
- /* public void test_setUnchecked() {
-
- MethodPermission objMethodPermission = getInstance();
- boolean newUnchecked = false;
- objMethodPermission.setUnchecked(newUnchecked);
- }*/
-
- /* public void test_unsetUnchecked() {
-
- MethodPermission objMethodPermission = getInstance();
- objMethodPermission.unsetUnchecked();
- }*/
-
- /*public void test_isSetUnchecked() {
-
- MethodPermission objMethodPermission = getInstance();
- boolean retValue = false;
- retValue = objMethodPermission.isSetUnchecked();
- }*/
-
- /* public void test_getAssemblyDescriptor() {
-
- MethodPermission objMethodPermission = getInstance();
- AssemblyDescriptor retValue = null;
- retValue = objMethodPermission.getAssemblyDescriptor();
- }
-
- public void test_setAssemblyDescriptor() {
-
- MethodPermission objMethodPermission = getInstance();
- AssemblyDescriptor newAssemblyDescriptor = null;
- objMethodPermission.setAssemblyDescriptor(newAssemblyDescriptor);
- }*/
-
- /* public void test_getRoles() {
-
- MethodPermission objMethodPermission = getInstance();
- EList retValue = null;
- retValue = objMethodPermission.getRoles();
- }*/
-
- /* public void test_getMethodElements_2() {
-
- MethodPermission objMethodPermission = getInstance();
- EList retValue = null;
- retValue = objMethodPermission.getMethodElements();
- }*/
-
- /* public void test_getDescriptions() {
-
- MethodPermission objMethodPermission = getInstance();
- EList retValue = null;
- retValue = objMethodPermission.getDescriptions();
- }*/
-
- public static Test suite() {
- return new TestSuite(MethodPermissionTest.class);
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodTransactionTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodTransactionTest.java
deleted file mode 100644
index 17dd98d5..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/MethodTransactionTest.java
+++ /dev/null
@@ -1,160 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import java.util.List;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.ejb.AssemblyDescriptor;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.ejb.MethodElement;
-import org.eclipse.jst.j2ee.ejb.MethodTransaction;
-import org.eclipse.jst.j2ee.ejb.TransactionAttributeType;
-
-public class MethodTransactionTest extends EjbEMFTestBase {
-
- /**
- * @param name
- */
- public MethodTransactionTest(String name) {
- super(name);
- }
-
- public void test_MethodTransaction() {
- MethodTransaction tmpMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- assertNotNull(tmpMethodTransaction);
- }
-
-
- public void test_getMethodElements() throws Exception{
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
- AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
- assertNotNull(assemblyDescriptor);
- List enterpriseBeans = DD.getEJBJar().getEnterpriseBeans();
- EnterpriseBean eb1 = (EnterpriseBean)enterpriseBeans.get(0);
- // create a method transaction
- MethodTransaction methodTransaction = getEjbFactory().createMethodTransaction();
- List methodTransactions = assemblyDescriptor.getMethodTransactions();
- methodTransactions.add(methodTransaction);
- // create a method element
- MethodElement methodElement = getEjbFactory().createMethodElement();
- methodElement.setEnterpriseBean(eb1);
- methodTransaction.getMethodElements().add(methodElement);
- // get the method element for the enterprise bean
- List methodElements = methodTransaction.getMethodElements(eb1);
- assertEquals(methodElements.contains(methodElement), true);
- }
-
- /**
- *
- * [issue : SA - getMostSpecificMethodElement() - does it need to be an API as it calls
- * to the static member of MethodElementImpl ]
- *
- */
-
- /* public void test_getMostSpecificMethodElement() {
-
- MethodTransaction objMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- Method aMethod = null;
- MethodElement retValue = null;
- retValue = objMethodTransaction
- .getMostSpecificMethodElement(aMethod);
- } */
-
- public void test_isEquivalent() {
-
- MethodTransaction objMethodTransaction1 = getEjbFactory().createMethodTransaction();
- MethodTransaction objMethodTransaction2 = getEjbFactory().createMethodTransaction();
-
- objMethodTransaction1.setTransactionAttribute(TransactionAttributeType.SUPPORTS_LITERAL);
- objMethodTransaction2.setTransactionAttribute(TransactionAttributeType.SUPPORTS_LITERAL);
-
- boolean retValue = objMethodTransaction1.isEquivalent(objMethodTransaction2);
- assertEquals(retValue,true);
- objMethodTransaction2.setTransactionAttribute(TransactionAttributeType.REQUIRED_LITERAL);
-
- retValue = objMethodTransaction1.isEquivalent(objMethodTransaction2);
- assertEquals(retValue,false);
- }
-
- /* public void test_getTransactionAttribute() {
-
- MethodTransaction objMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- TransactionAttributeType retValue = null;
- retValue = objMethodTransaction.getTransactionAttribute();
- }
-
- public void test_setTransactionAttribute() {
-
- MethodTransaction objMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- TransactionAttributeType newTransactionAttribute = null;
- objMethodTransaction
- .setTransactionAttribute(newTransactionAttribute);
- }
-
- public void test_unsetTransactionAttribute() {
-
- MethodTransaction objMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- objMethodTransaction.unsetTransactionAttribute();
- }
-
- public void test_isSetTransactionAttribute() {
-
- MethodTransaction objMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- boolean retValue = false;
- retValue = objMethodTransaction.isSetTransactionAttribute();
- }
-*/
- /* public void test_getDescription() {
-
- MethodTransaction objMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- String retValue = "";
- retValue = objMethodTransaction.getDescription();
- }
-
- public void test_setDescription() {
-
- MethodTransaction objMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- String newDescription = "";
- objMethodTransaction.setDescription(newDescription);
- }*/
-
- /* public void test_getAssemblyDescriptor() {
-
- MethodTransaction objMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- AssemblyDescriptor retValue = null;
- retValue = objMethodTransaction.getAssemblyDescriptor();
- }
-
- public void test_setAssemblyDescriptor() {
-
- MethodTransaction objMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- AssemblyDescriptor newAssemblyDescriptor = null;
- objMethodTransaction.setAssemblyDescriptor(newAssemblyDescriptor);
- } */
-
- /* public void test_getMethodElements_2() {
-
- MethodTransaction objMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- EList retValue = null;
- retValue = objMethodTransaction.getMethodElements();
- }
-
- public void test_getDescriptions() {
-
- MethodTransaction objMethodTransaction = EjbFactory.eINSTANCE.createMethodTransaction();
- EList retValue = null;
- retValue = objMethodTransaction.getDescriptions();
- } */
-
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new MethodTransactionTest("test_isEquivalent"));
- suite.addTest(new MethodTransactionTest("test_getMethodElements"));
- return suite;
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/QueryMethodTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/QueryMethodTest.java
deleted file mode 100644
index 23a6ffd5..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/QueryMethodTest.java
+++ /dev/null
@@ -1,96 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import java.util.List;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.jem.java.JavaClass;
-import org.eclipse.jst.j2ee.ejb.AssemblyDescriptor;
-import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity;
-import org.eclipse.jst.j2ee.ejb.EJBResource;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.ejb.QueryMethod;
-
-public class QueryMethodTest extends EjbEMFTestBase {
-
- /**
- * @param name
- */
- public QueryMethodTest(String name) {
- super(name);
- }
-
-
- /* public void test_getQuery() {
-
- QueryMethod objQueryMethod = EjbFactory.eINSTANCE.createQueryMethod();
- Query retValue = null;
- retValue = objQueryMethod.getQuery();
- }
-
- public void test_setQuery() {
-
- QueryMethod objQueryMethod = EjbFactory.eINSTANCE.createQueryMethod();
- Query newQuery = null;
- objQueryMethod.setQuery(newQuery);
- } */
-
-
-
- public void test_getClientTypeJavaClasses() throws Exception {
- init();
- EJBResource DD = (EJBResource) ejbFile.getDeploymentDescriptorResource();
-
- AssemblyDescriptor assemblyDescriptor = DD.getEJBJar().getAssemblyDescriptor();
- List enterpriseBeans = DD.getEJBJar().getEnterpriseBeans();
- ContainerManagedEntity entityBean = null;
- EnterpriseBean bean = null;
- for (int x=0; x< enterpriseBeans.size(); ++x) {
- bean = (EnterpriseBean) enterpriseBeans.get(x);
- if (bean.isEntity() && bean.isContainerManagedEntity()) {
- entityBean = (ContainerManagedEntity) bean;
- break;
- }
- }
- assertNotNull(entityBean);
- QueryMethod objQueryMethod =getEjbFactory().createQueryMethod();
- objQueryMethod.setName(QueryMethod.SELECT_PREFIX+"Test");
- objQueryMethod.setEnterpriseBean(entityBean);
- JavaClass[] retValue = objQueryMethod.getClientTypeJavaClasses();
- assertNotNull(retValue);
- assertEquals(retValue.length==1,true );
- assertEquals(retValue[0],entityBean.getEjbClass());
-
- objQueryMethod.setName(QueryMethod.FIND_PREFIX+"Test");
-
- if (entityBean.hasLocalClient() && !entityBean.hasRemoteClient()) {
- retValue = objQueryMethod.getClientTypeJavaClasses();
- assertNotNull(retValue);
- assertEquals(retValue.length==1,true );
- assertEquals(retValue[0],entityBean.getLocalHomeInterface());
- }
- if (entityBean.hasRemoteClient() && !entityBean.hasLocalClient()) {
- retValue = objQueryMethod.getClientTypeJavaClasses();
- assertNotNull(retValue);
- assertEquals(retValue.length==1,true );
- assertEquals(retValue[0],entityBean.getHomeInterface());
- }
- if (entityBean.hasRemoteClient() && entityBean.hasLocalClient()) {
- retValue = objQueryMethod.getClientTypeJavaClasses();
- assertNotNull(retValue);
- assertEquals(retValue.length==2,true );
- assertEquals(retValue[0],entityBean.getLocalHomeInterface());
- assertEquals(retValue[1],entityBean.getHomeInterface());
- }
- }
-
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new QueryMethodTest("test_getClientTypeJavaClasses"));
- return suite;
- }
-
-
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/QueryTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/QueryTest.java
deleted file mode 100644
index f62d6465..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/QueryTest.java
+++ /dev/null
@@ -1,130 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.Query;
-import org.eclipse.jst.j2ee.ejb.ReturnTypeMapping;
-
-public class QueryTest extends TestCase {
-
- public void test_Query() {
- Query tmpQuery = EjbFactory.eINSTANCE.createQuery();
- assertNotNull(tmpQuery);
- }
- public static Test suite() {
- return new TestSuite(QueryTest.class);
- }
-
- public void test_isLocalResultMapping() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- objQuery.setReturnTypeMapping(ReturnTypeMapping.LOCAL_LITERAL);
- assertEquals(objQuery.isLocalResultMapping(),true);
- objQuery.setReturnTypeMapping(ReturnTypeMapping.REMOTE_LITERAL);
- assertEquals(objQuery.isLocalResultMapping(),false);
-
- }
-
- public void test_isRemoteResultMapping() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- objQuery.setReturnTypeMapping(ReturnTypeMapping.REMOTE_LITERAL);
- assertEquals(objQuery.isLocalResultMapping(),false);
- objQuery.setReturnTypeMapping(ReturnTypeMapping.LOCAL_LITERAL);
- assertEquals(objQuery.isLocalResultMapping(),true);
-
- }
-
- /* public void test_getDescription() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- String retValue = "";
- retValue = objQuery.getDescription();
- }
-
- public void test_setDescription() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- String newDescription = "";
- objQuery.setDescription(newDescription);
- }
-
- public void test_getEjbQL() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- String retValue = "";
- retValue = objQuery.getEjbQL();
- }
-
- public void test_setEjbQL() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- String newEjbQL = "";
- objQuery.setEjbQL(newEjbQL);
- } */
-
- /* public void test_getReturnTypeMapping() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- ReturnTypeMapping retValue = null;
- retValue = objQuery.getReturnTypeMapping();
- }
-
- public void test_setReturnTypeMapping() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- ReturnTypeMapping newReturnTypeMapping = null;
- objQuery.setReturnTypeMapping(newReturnTypeMapping);
- }
-
- public void test_unsetReturnTypeMapping() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- objQuery.unsetReturnTypeMapping();
- }
-
- public void test_isSetReturnTypeMapping() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- boolean retValue = false;
- retValue = objQuery.isSetReturnTypeMapping();
- }*/
-
- /* public void test_getQueryMethod() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- QueryMethod retValue = null;
- retValue = objQuery.getQueryMethod();
- }
-
- public void test_setQueryMethod() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- QueryMethod newQueryMethod = null;
- objQuery.setQueryMethod(newQueryMethod);
- }*/
-
- /* public void test_getEntity() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- ContainerManagedEntity retValue = null;
- retValue = objQuery.getEntity();
- }
-
- public void test_setEntity() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- ContainerManagedEntity newEntity = null;
- objQuery.setEntity(newEntity);
- }*/
-
- /*public void test_getDescriptions() {
-
- Query objQuery = EjbFactory.eINSTANCE.createQuery();
- EList retValue = null;
- retValue = objQuery.getDescriptions();
- }*/
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/SessionTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/SessionTest.java
deleted file mode 100644
index 4077fd00..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/ejb/test/SessionTest.java
+++ /dev/null
@@ -1,116 +0,0 @@
-package org.eclipse.jst.j2ee.ejb.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.ejb.EjbFactory;
-import org.eclipse.jst.j2ee.ejb.EjbPackage;
-import org.eclipse.jst.j2ee.ejb.Session;
-
-public class SessionTest extends TestCase {
-
- public static Test suite() {
- return new TestSuite(SessionTest.class);
- }
-
- /* public void test_getTransactionType() {
-
- Session objSession = EjbFactory.eINSTANCE.createSession();
- TransactionType retValue = null;
- retValue = objSession.getTransactionType();
- }
-
- public void test_setTransactionType() {
-
- Session objSession = EjbFactory.eINSTANCE.createSession();
- TransactionType newTransactionType = null;
- objSession.setTransactionType(newTransactionType);
- }
-
- public void test_unsetTransactionType() {
-
- Session objSession = EjbFactory.eINSTANCE.createSession();
- objSession.unsetTransactionType();
- }
-
- public void test_isSetTransactionType() {
-
- Session objSession = EjbFactory.eINSTANCE.createSession();
- boolean retValue = false;
- retValue = objSession.isSetTransactionType();
- }*/
-
- /* public void test_getSessionType() {
-
- Session objSession = EjbFactory.eINSTANCE.createSession();
- SessionType retValue = null;
- retValue = objSession.getSessionType();
- }
-
- public void test_setSessionType() {
-
- Session objSession = EjbFactory.eINSTANCE.createSession();
- SessionType newSessionType = null;
- objSession.setSessionType(newSessionType);
- }
-
- public void test_unsetSessionType() {
-
- Session objSession = EjbFactory.eINSTANCE.createSession();
- objSession.unsetSessionType();
- }
-
- public void test_isSetSessionType() {
-
- Session objSession = EjbFactory.eINSTANCE.createSession();
- boolean retValue = false;
- retValue = objSession.isSetSessionType();
- }*/
-
- /* public void test_getServiceEndpoint() {
-
- Session objSession = EjbFactory.eINSTANCE.createSession();
- JavaClass retValue = null;
- retValue = objSession.getServiceEndpoint();
- }
-
-
- public void test_setServiceEndpoint() {
-
- Session objSession = EjbFactory.eINSTANCE.createSession();
- JavaClass newServiceEndpoint = null;
- objSession.setServiceEndpoint(newServiceEndpoint);
- }*/
-
- public void test_setServiceEndpointName() {
-
- Session objSession = EjbPackage.eINSTANCE.getEjbFactory().createSession();
- String serviceEndpointName = "SessionEndPoint1";
- objSession.setServiceEndpointName(serviceEndpointName);
- assertEquals(serviceEndpointName,objSession.getServiceEndpointName());
-
- }
-
- public void test_hasServiceEndpoint() {
-
- Session objSession = EjbFactory.eINSTANCE.createSession();
- assertEquals(objSession.hasServiceEndpoint(),false);
- boolean retValue = false;
- String serviceEndpointName = "SessionEndPoint1";
- objSession.setServiceEndpointName(serviceEndpointName);
- retValue = objSession.hasServiceEndpoint();
- assertEquals(objSession.hasServiceEndpoint(),true);
-
- }
-
- public void test_getServiceEndpointName() {
-
- Session objSession = EjbPackage.eINSTANCE.getEjbFactory().createSession();
- String serviceEndpointName = "SessionEndPoint1";
- objSession.setServiceEndpointName(serviceEndpointName);
- assertEquals(serviceEndpointName,objSession.getServiceEndpointName());
-
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jca/test/ConnectorTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jca/test/ConnectorTest.java
deleted file mode 100644
index 317c8d5e..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jca/test/ConnectorTest.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package org.eclipse.jst.j2ee.jca.test;
-
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.archive.emftests.RarEMFTest;
-import org.eclipse.jst.j2ee.archive.testutilities.EMFAttributeFeatureGenerator;
-import org.eclipse.jst.j2ee.internal.J2EEVersionConstants;
-import org.eclipse.jst.j2ee.jca.Connector;
-import org.eclipse.jst.j2ee.jca.ConnectorResource;
-import org.eclipse.jst.j2ee.jca.JcaPackage;
-
-public class ConnectorTest extends RarEMFTest {
-
- /**
- * @param name
- */
- public ConnectorTest(String name) {
- super(name);
- }
-
- public Connector getInstance() {
- return JcaPackage.eINSTANCE.getJcaFactory().createConnector();
- }
-
- public void test_getVersionID() throws Exception {
- EMFAttributeFeatureGenerator.reset();
- createEAR();
- createRAR();
-
- ConnectorResource DD = (ConnectorResource) rarFile.getDeploymentDescriptorResource();
- DD.setVersionID(J2EEVersionConstants.J2EE_1_4_ID);
- setVersion(VERSION_1_4);
- int versionID = DD.getConnector().getVersionID();
- assertEquals(versionID,J2EEVersionConstants.JCA_1_5_ID);
-
- }
-
- public static junit.framework.Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTest(new ConnectorTest("test_getVersionID"));
- return suite;
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jca/test/JcaFactoryTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jca/test/JcaFactoryTest.java
deleted file mode 100644
index 48905937..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jca/test/JcaFactoryTest.java
+++ /dev/null
@@ -1,159 +0,0 @@
-package org.eclipse.jst.j2ee.jca.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.jca.ActivationSpec;
-import org.eclipse.jst.j2ee.jca.AdminObject;
-import org.eclipse.jst.j2ee.jca.AuthenticationMechanism;
-import org.eclipse.jst.j2ee.jca.ConfigProperty;
-import org.eclipse.jst.j2ee.jca.ConnectionDefinition;
-import org.eclipse.jst.j2ee.jca.Connector;
-import org.eclipse.jst.j2ee.jca.InboundResourceAdapter;
-import org.eclipse.jst.j2ee.jca.JcaFactory;
-import org.eclipse.jst.j2ee.jca.JcaPackage;
-import org.eclipse.jst.j2ee.jca.License;
-import org.eclipse.jst.j2ee.jca.MessageAdapter;
-import org.eclipse.jst.j2ee.jca.MessageListener;
-import org.eclipse.jst.j2ee.jca.OutboundResourceAdapter;
-import org.eclipse.jst.j2ee.jca.RequiredConfigPropertyType;
-import org.eclipse.jst.j2ee.jca.ResourceAdapter;
-import org.eclipse.jst.j2ee.jca.SecurityPermission;
-
-public class JcaFactoryTest extends TestCase {
-
- private JcaFactory getInstance() {
- return JcaPackage.eINSTANCE.getJcaFactory();
- }
- public void test_JcaFactory() {
-
- JcaFactory tmpJcaFactory = getInstance();
- }
-
- public static Test suite() {
- return new TestSuite(JcaFactoryTest.class);
- }
-
- public void test_createConnector() {
-
- JcaFactory objJcaFactory = getInstance();
- Connector retValue = null;
- retValue = objJcaFactory.createConnector();
- assertNotNull(retValue);
- }
-
- public void test_createLicense() {
-
- JcaFactory objJcaFactory = getInstance();
- License retValue = null;
- retValue = objJcaFactory.createLicense();
- assertNotNull(retValue);
- }
-
- public void test_createInboundResourceAdapter() {
-
- JcaFactory objJcaFactory = getInstance();
- InboundResourceAdapter retValue = null;
- retValue = objJcaFactory.createInboundResourceAdapter();
- assertNotNull(retValue);
- }
-
- public void test_createOutboundResourceAdapter() {
-
- JcaFactory objJcaFactory = getInstance();
- OutboundResourceAdapter retValue = null;
- retValue = objJcaFactory.createOutboundResourceAdapter();
- assertNotNull(retValue);
- }
-
- public void test_createMessageAdapter() {
-
- JcaFactory objJcaFactory = getInstance();
- MessageAdapter retValue = null;
- retValue = objJcaFactory.createMessageAdapter();
- assertNotNull(retValue);
- }
-
- public void test_createConnectionDefinition() {
-
- JcaFactory objJcaFactory = getInstance();
- ConnectionDefinition retValue = null;
- retValue = objJcaFactory.createConnectionDefinition();
- assertNotNull(retValue);
- }
-
- public void test_createAdminObject() {
-
- JcaFactory objJcaFactory = getInstance();
- AdminObject retValue = null;
- retValue = objJcaFactory.createAdminObject();
- assertNotNull(retValue);
- }
-
- public void test_createMessageListener() {
-
- JcaFactory objJcaFactory = getInstance();
- MessageListener retValue = null;
- retValue = objJcaFactory.createMessageListener();
- assertNotNull(retValue);
- }
-
- public void test_createActivationSpec() {
-
- JcaFactory objJcaFactory = getInstance();
- ActivationSpec retValue = null;
- retValue = objJcaFactory.createActivationSpec();
- assertNotNull(retValue);
- }
-
- public void test_createRequiredConfigPropertyType() {
-
- JcaFactory objJcaFactory = getInstance();
- RequiredConfigPropertyType retValue = null;
- retValue = objJcaFactory.createRequiredConfigPropertyType();
- assertNotNull(retValue);
- }
-
- public void test_createResourceAdapter() {
-
- JcaFactory objJcaFactory = getInstance();
- ResourceAdapter retValue = null;
- retValue = objJcaFactory.createResourceAdapter();
- assertNotNull(retValue);
- }
-
- public void test_createSecurityPermission() {
-
- JcaFactory objJcaFactory = getInstance();
- SecurityPermission retValue = null;
- retValue = objJcaFactory.createSecurityPermission();
- assertNotNull(retValue);
- }
-
- public void test_createAuthenticationMechanism() {
-
- JcaFactory objJcaFactory = getInstance();
- AuthenticationMechanism retValue = null;
- retValue = objJcaFactory.createAuthenticationMechanism();
- assertNotNull(retValue);
- }
-
- public void test_createConfigProperty() {
-
- JcaFactory objJcaFactory = getInstance();
- ConfigProperty retValue = null;
- retValue = objJcaFactory.createConfigProperty();
- assertNotNull(retValue);
- }
-
- public void test_getJcaPackage() {
-
- JcaFactory objJcaFactory = getInstance();
- JcaPackage retValue = null;
- retValue = objJcaFactory.getJcaPackage();
-
- assertNotNull(retValue);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jsp/test/JspFactoryTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jsp/test/JspFactoryTest.java
deleted file mode 100644
index 7b1f9876..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/jsp/test/JspFactoryTest.java
+++ /dev/null
@@ -1,56 +0,0 @@
-package org.eclipse.jst.j2ee.jsp.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.jca.test.JcaFactoryTest;
-import org.eclipse.jst.j2ee.jsp.JSPConfig;
-import org.eclipse.jst.j2ee.jsp.JSPPropertyGroup;
-import org.eclipse.jst.j2ee.jsp.JspFactory;
-import org.eclipse.jst.j2ee.jsp.JspPackage;
-import org.eclipse.jst.j2ee.jsp.TagLibRefType;
-
-public class JspFactoryTest extends TestCase {
-
- public static Test suite() {
- return new TestSuite(JcaFactoryTest.class);
- }
-
- private JspFactory getInstance() {
- return JspPackage.eINSTANCE.getJspFactory();
- }
- public void test_createJSPConfig() {
-
- JspFactory objJspFactory = getInstance();
- JSPConfig retValue = null;
- retValue = objJspFactory.createJSPConfig();
- assertNotNull(retValue);
- }
-
- public void test_createJSPPropertyGroup() {
-
- JspFactory objJspFactory = getInstance();
- JSPPropertyGroup retValue = null;
- retValue = objJspFactory.createJSPPropertyGroup();
- assertNotNull(retValue);
- }
-
- public void test_createTagLibRefType() {
-
- JspFactory objJspFactory = getInstance();
- TagLibRefType retValue = null;
- retValue = objJspFactory.createTagLibRefType();
- assertNotNull(retValue);
- }
-
- public void test_getJspPackage() {
-
- JspFactory objJspFactory = getInstance();
- JspPackage retValue = null;
- retValue = objJspFactory.getJspPackage();
- // TODO getWsddPackage method always return null
- assertNotNull(retValue);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webapplication/test/WebapplicationFactoryTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webapplication/test/WebapplicationFactoryTest.java
deleted file mode 100644
index 03d0a1d4..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webapplication/test/WebapplicationFactoryTest.java
+++ /dev/null
@@ -1,281 +0,0 @@
-package org.eclipse.jst.j2ee.webapplication.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.webapplication.AuthConstraint;
-import org.eclipse.jst.j2ee.webapplication.ContextParam;
-import org.eclipse.jst.j2ee.webapplication.ErrorCodeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ErrorPage;
-import org.eclipse.jst.j2ee.webapplication.ExceptionTypeErrorPage;
-import org.eclipse.jst.j2ee.webapplication.Filter;
-import org.eclipse.jst.j2ee.webapplication.FilterMapping;
-import org.eclipse.jst.j2ee.webapplication.FormLoginConfig;
-import org.eclipse.jst.j2ee.webapplication.HTTPMethodType;
-import org.eclipse.jst.j2ee.webapplication.InitParam;
-import org.eclipse.jst.j2ee.webapplication.JSPType;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMapping;
-import org.eclipse.jst.j2ee.webapplication.LocalEncodingMappingList;
-import org.eclipse.jst.j2ee.webapplication.LoginConfig;
-import org.eclipse.jst.j2ee.webapplication.MimeMapping;
-import org.eclipse.jst.j2ee.webapplication.RoleNameType;
-import org.eclipse.jst.j2ee.webapplication.SecurityConstraint;
-import org.eclipse.jst.j2ee.webapplication.Servlet;
-import org.eclipse.jst.j2ee.webapplication.ServletMapping;
-import org.eclipse.jst.j2ee.webapplication.ServletType;
-import org.eclipse.jst.j2ee.webapplication.SessionConfig;
-import org.eclipse.jst.j2ee.webapplication.TagLibRef;
-import org.eclipse.jst.j2ee.webapplication.URLPatternType;
-import org.eclipse.jst.j2ee.webapplication.UserDataConstraint;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebResourceCollection;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFile;
-import org.eclipse.jst.j2ee.webapplication.WelcomeFileList;
-
-public class WebapplicationFactoryTest extends TestCase {
-
- public static Test suite() {
- return new TestSuite(WebapplicationFactoryTest.class);
- }
-
- private WebapplicationFactory getInstance() {
- return WebapplicationPackage.eINSTANCE.getWebapplicationFactory();
- }
-
- public void test_createWebApp() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- WebApp retValue = null;
- retValue = objWebapplicationFactory.createWebApp();
- assertNotNull(retValue);
- }
-
- public void test_createContextParam() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- ContextParam retValue = null;
- retValue = objWebapplicationFactory.createContextParam();
- assertNotNull(retValue);
- }
-
- public void test_createErrorPage() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- ErrorPage retValue = null;
- retValue = objWebapplicationFactory.createErrorPage();
- assertNotNull(retValue);
- }
-
- public void test_createTagLibRef() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- TagLibRef retValue = null;
- retValue = objWebapplicationFactory.createTagLibRef();
- assertNotNull(retValue);
- }
-
- public void test_createExceptionTypeErrorPage() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- ExceptionTypeErrorPage retValue = null;
- retValue = objWebapplicationFactory.createExceptionTypeErrorPage();
- assertNotNull(retValue);
- }
-
- public void test_createErrorCodeErrorPage() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- ErrorCodeErrorPage retValue = null;
- retValue = objWebapplicationFactory.createErrorCodeErrorPage();
- assertNotNull(retValue);
- }
-
- public void test_createWelcomeFileList() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- WelcomeFileList retValue = null;
- retValue = objWebapplicationFactory.createWelcomeFileList();
- assertNotNull(retValue);
- }
-
- public void test_createWelcomeFile() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- WelcomeFile retValue = null;
- retValue = objWebapplicationFactory.createWelcomeFile();
- assertNotNull(retValue);
- }
-
- public void test_createSecurityConstraint() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- SecurityConstraint retValue = null;
- retValue = objWebapplicationFactory.createSecurityConstraint();
- assertNotNull(retValue);
- }
-
- public void test_createWebResourceCollection() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- WebResourceCollection retValue = null;
- retValue = objWebapplicationFactory.createWebResourceCollection();
- assertNotNull(retValue);
- }
-
- public void test_createURLPatternType() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- URLPatternType retValue = null;
- retValue = objWebapplicationFactory.createURLPatternType();
- assertNotNull(retValue);
- }
-
- public void test_createAuthConstraint() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- AuthConstraint retValue = null;
- retValue = objWebapplicationFactory.createAuthConstraint();
- assertNotNull(retValue);
- }
-
- public void test_createUserDataConstraint() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- UserDataConstraint retValue = null;
- retValue = objWebapplicationFactory.createUserDataConstraint();
- assertNotNull(retValue);
- }
-
- public void test_createLoginConfig() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- LoginConfig retValue = null;
- retValue = objWebapplicationFactory.createLoginConfig();
- assertNotNull(retValue);
- }
-
- public void test_createFormLoginConfig() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- FormLoginConfig retValue = null;
- retValue = objWebapplicationFactory.createFormLoginConfig();
- assertNotNull(retValue);
- }
-
- public void test_createMimeMapping() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- MimeMapping retValue = null;
- retValue = objWebapplicationFactory.createMimeMapping();
- assertNotNull(retValue);
- }
-
- public void test_createSessionConfig() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- SessionConfig retValue = null;
- retValue = objWebapplicationFactory.createSessionConfig();
- assertNotNull(retValue);
- }
-
- public void test_createServletMapping() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- ServletMapping retValue = null;
- retValue = objWebapplicationFactory.createServletMapping();
- assertNotNull(retValue);
- }
-
- public void test_createServlet() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- Servlet retValue = null;
- retValue = objWebapplicationFactory.createServlet();
- assertNotNull(retValue);
- }
-
- public void test_createServletType() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- ServletType retValue = null;
- retValue = objWebapplicationFactory.createServletType();
- assertNotNull(retValue);
- }
-
- public void test_createJSPType() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- JSPType retValue = null;
- retValue = objWebapplicationFactory.createJSPType();
- assertNotNull(retValue);
- }
-
- public void test_createInitParam() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- InitParam retValue = null;
- retValue = objWebapplicationFactory.createInitParam();
- assertNotNull(retValue);
- }
-
- public void test_createFilter() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- Filter retValue = null;
- retValue = objWebapplicationFactory.createFilter();
- assertNotNull(retValue);
- }
-
- public void test_createFilterMapping() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- FilterMapping retValue = null;
- retValue = objWebapplicationFactory.createFilterMapping();
- assertNotNull(retValue);
- }
-
- public void test_createLocalEncodingMappingList() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- LocalEncodingMappingList retValue = null;
- retValue = objWebapplicationFactory
- .createLocalEncodingMappingList();
- assertNotNull(retValue);
- }
-
- public void test_createLocalEncodingMapping() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- LocalEncodingMapping retValue = null;
- retValue = objWebapplicationFactory.createLocalEncodingMapping();
- assertNotNull(retValue);
- }
-
- public void test_createHTTPMethodType() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- HTTPMethodType retValue = null;
- retValue = objWebapplicationFactory.createHTTPMethodType();
- assertNotNull(retValue);
- }
-
- public void test_createRoleNameType() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- RoleNameType retValue = null;
- retValue = objWebapplicationFactory.createRoleNameType();
- assertNotNull(retValue);
- }
-
- public void test_getWebapplicationPackage() {
-
- WebapplicationFactory objWebapplicationFactory = getInstance();
- WebapplicationPackage retValue = null;
- retValue = objWebapplicationFactory.getWebapplicationPackage();
- assertNotNull(retValue);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webservice/wscommon/test/WscommonFactoryTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webservice/wscommon/test/WscommonFactoryTest.java
deleted file mode 100644
index fa764fe9..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webservice/wscommon/test/WscommonFactoryTest.java
+++ /dev/null
@@ -1,82 +0,0 @@
-package org.eclipse.jst.j2ee.webservice.wscommon.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.webservice.wscommon.DescriptionType;
-import org.eclipse.jst.j2ee.webservice.wscommon.DisplayNameType;
-import org.eclipse.jst.j2ee.webservice.wscommon.InitParam;
-import org.eclipse.jst.j2ee.webservice.wscommon.PortName;
-import org.eclipse.jst.j2ee.webservice.wscommon.SOAPHeader;
-import org.eclipse.jst.j2ee.webservice.wscommon.SOAPRole;
-import org.eclipse.jst.j2ee.webservice.wscommon.WscommonFactory;
-import org.eclipse.jst.j2ee.webservice.wscommon.WscommonPackage;
-
-public class WscommonFactoryTest extends TestCase {
-
- public static Test suite() {
- return new TestSuite(WscommonFactoryTest.class);
- }
-
- private WscommonFactory getInstance() {
- return WscommonPackage.eINSTANCE.getWscommonFactory();
- }
- public void test_createInitParam() {
-
- WscommonFactory objWscommonFactory = getInstance();
- InitParam retValue = null;
- retValue = objWscommonFactory.createInitParam();
- assertNotNull(retValue);
- }
-
- public void test_createSOAPHeader() {
-
- WscommonFactory objWscommonFactory = getInstance();
- SOAPHeader retValue = null;
- retValue = objWscommonFactory.createSOAPHeader();
- assertNotNull(retValue);
- }
-
- public void test_createSOAPRole() {
-
- WscommonFactory objWscommonFactory = getInstance();
- SOAPRole retValue = null;
- retValue = objWscommonFactory.createSOAPRole();
- assertNotNull(retValue);
- }
-
- public void test_createPortName() {
-
- WscommonFactory objWscommonFactory = getInstance();
- PortName retValue = null;
- retValue = objWscommonFactory.createPortName();
- assertNotNull(retValue);
- }
-
- public void test_createDescriptionType() {
-
- WscommonFactory objWscommonFactory = getInstance();
- DescriptionType retValue = null;
- retValue = objWscommonFactory.createDescriptionType();
- assertNotNull(retValue);
- }
-
- public void test_createDisplayNameType() {
-
- WscommonFactory objWscommonFactory = getInstance();
- DisplayNameType retValue = null;
- retValue = objWscommonFactory.createDisplayNameType();
- assertNotNull(retValue);
- }
-
- public void test_getWscommonPackage() {
-
- WscommonFactory objWscommonFactory = getInstance();
- WscommonPackage retValue = null;
- retValue = objWscommonFactory.getWscommonPackage();
-
- assertNotNull(retValue);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webservice/wsdd/test/WsddFactoryTest.java b/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webservice/wsdd/test/WsddFactoryTest.java
deleted file mode 100644
index 6210ab86..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/mofj2eeTests/org/eclipse/jst/j2ee/webservice/wsdd/test/WsddFactoryTest.java
+++ /dev/null
@@ -1,101 +0,0 @@
-package org.eclipse.jst.j2ee.webservice.wsdd.test;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.webservice.wsdd.BeanLink;
-import org.eclipse.jst.j2ee.webservice.wsdd.EJBLink;
-import org.eclipse.jst.j2ee.webservice.wsdd.Handler;
-import org.eclipse.jst.j2ee.webservice.wsdd.PortComponent;
-import org.eclipse.jst.j2ee.webservice.wsdd.ServiceImplBean;
-import org.eclipse.jst.j2ee.webservice.wsdd.ServletLink;
-import org.eclipse.jst.j2ee.webservice.wsdd.WSDLPort;
-import org.eclipse.jst.j2ee.webservice.wsdd.WebServiceDescription;
-import org.eclipse.jst.j2ee.webservice.wsdd.WebServices;
-import org.eclipse.jst.j2ee.webservice.wsdd.WsddFactory;
-import org.eclipse.jst.j2ee.webservice.wsdd.WsddPackage;
-
-public class WsddFactoryTest extends TestCase {
-
- public static Test suite() {
- return new TestSuite(WsddFactoryTest.class);
- }
-
- private WsddFactory getInstance() {
- return WsddPackage.eINSTANCE.getWsddFactory();
- }
- public void test_createWebServices() {
-
- WsddFactory objWsddFactory = getInstance();
- WebServices retValue = null;
- retValue = objWsddFactory.createWebServices();
- assertNotNull(retValue);
- }
-
- public void test_createWebServiceDescription() {
-
- WsddFactory objWsddFactory = getInstance();
- WebServiceDescription retValue = null;
- retValue = objWsddFactory.createWebServiceDescription();
- assertNotNull(retValue);
- }
-
- public void test_createPortComponent() {
-
- WsddFactory objWsddFactory = getInstance();
- PortComponent retValue = null;
- retValue = objWsddFactory.createPortComponent();
- assertNotNull(retValue);
- }
-
- public void test_createWSDLPort() {
-
- WsddFactory objWsddFactory = getInstance();
- WSDLPort retValue = null;
- retValue = objWsddFactory.createWSDLPort();
- assertNotNull(retValue);
- }
-
- public void test_createServiceImplBean() {
-
- WsddFactory objWsddFactory = getInstance();
- ServiceImplBean retValue = null;
- retValue = objWsddFactory.createServiceImplBean();
- assertNotNull(retValue);
- }
-
- public void test_createServletLink() {
-
- WsddFactory objWsddFactory = getInstance();
- ServletLink retValue = null;
- retValue = objWsddFactory.createServletLink();
- assertNotNull(retValue);
- }
-
- public void test_createEJBLink() {
-
- WsddFactory objWsddFactory = getInstance();
- EJBLink retValue = null;
- retValue = objWsddFactory.createEJBLink();
- assertNotNull(retValue);
- }
-
- public void test_createHandler() {
-
- WsddFactory objWsddFactory = getInstance();
- Handler retValue = null;
- retValue = objWsddFactory.createHandler();
- assertNotNull(retValue);
- }
-
- public void test_createBeanLink() {
-
- WsddFactory objWsddFactory = getInstance();
- BeanLink retValue = null;
- retValue = objWsddFactory.createBeanLink();
- assertNotNull(retValue);
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/out.xmi b/tests/org.eclipse.jst.j2ee.core.tests/out.xmi
deleted file mode 100644
index 47d30c3a..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/out.xmi
+++ /dev/null
@@ -1,110 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<org.eclipse.jem.internal.java:JavaClass xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:org.eclipse.jem.internal.java="java.xmi" name="A" kind="CLASS" public="true">
- <eSuperTypes href="java:/java.lang#Object"/>
- <implementsInterfaces href="java:/com.ibm.etools.java.stressSample#IA"/>
- <fields name="anA" eType="/"/>
- <fields name="aB">
- <eType xsi:type="org.eclipse.jem.internal.java:JavaClass" href="java:/com.ibm.etools.java.stressSample#B"/>
- </fields>
- <fields name="bees">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/com.ibm.etools.java.stressSample#B[]"/>
- </fields>
- <fields name="bees_and_bees">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/com.ibm.etools.java.stressSample#B[][]"/>
- </fields>
- <fields name="ints">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#int[]"/>
- </fields>
- <fields name="ints2">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#int[][]"/>
- </fields>
- <fields name="ints3">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#int[][][]"/>
- </fields>
- <fields name="chars">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#char[]"/>
- </fields>
- <fields name="floats">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#float[]"/>
- </fields>
- <fields name="cools">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#boolean[]"/>
- </fields>
- <fields name="doubles">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#double[]"/>
- </fields>
- <fields name="longs">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#long[]"/>
- </fields>
- <fields name="shorts">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#short[]"/>
- </fields>
- <fields name="bytes">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#byte[]"/>
- </fields>
- <fields name="testString" final="true" static="true">
- <eType xsi:type="org.eclipse.jem.internal.java:JavaClass" href="java:/java.lang#String"/>
- <initializer source="&quot;testing&quot;" name="testString_block"/>
- </fields>
- <methods name="doAllPrimitives">
- <eType xsi:type="org.eclipse.jem.internal.java:JavaDataType" href="java:/#void"/>
- <parameters name="arg0">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#int[]"/>
- </parameters>
- <parameters name="arg1">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#int[][]"/>
- </parameters>
- <parameters name="arg2">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#int[][][]"/>
- </parameters>
- <parameters name="arg3">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#char[]"/>
- </parameters>
- <parameters name="arg4">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#float[]"/>
- </parameters>
- <parameters name="arg5">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#boolean[]"/>
- </parameters>
- <parameters name="arg6">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#double[]"/>
- </parameters>
- <parameters name="arg7">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#long[]"/>
- </parameters>
- <parameters name="arg8">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#short[]"/>
- </parameters>
- <parameters name="arg9">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#byte[]"/>
- </parameters>
- </methods>
- <methods name="doSomething">
- <eType xsi:type="org.eclipse.jem.internal.java:JavaClass" href="java:/com.ibm.etools.java.stressSample#C"/>
- </methods>
- <methods name="getBytes">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#byte[]"/>
- </methods>
- <methods name="getChar">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#char[]"/>
- </methods>
- <methods name="getFloats">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#float[]"/>
- </methods>
- <methods name="getInts">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#int[]"/>
- </methods>
- <methods name="getLongs">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#long[]"/>
- </methods>
- <methods name="getShorts">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/#short[]"/>
- </methods>
- <methods name="returnAs">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/com.ibm.etools.java.stressSample#A[]"/>
- <parameters name="arg0">
- <eType xsi:type="org.eclipse.jem.internal.java:ArrayType" href="java:/com.ibm.etools.java.stressSample#C[]"/>
- </parameters>
- </methods>
- <methods name="A" constructor="true"/>
-</org.eclipse.jem.internal.java:JavaClass>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/plugin.xml b/tests/org.eclipse.jst.j2ee.core.tests/plugin.xml
deleted file mode 100644
index 96bdde8f..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/plugin.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.jst.j2ee.core.tests"
- name="J2EE Core Tests Component"
- version="1.0.0"
- provider-name="Eclipse.org" >
-
-
- <runtime>
- <library name="tests.jar">
- <export name="*"/>
- </library>
- </runtime>
- <requires>
- <import plugin="org.junit"/>
- <import plugin="org.eclipse.jem.util"/>
- <import plugin="org.eclipse.jst.j2ee.core"/>
- <import plugin="org.eclipse.wst.common.emf"/>
- <import plugin="org.eclipse.emf.ecore.xmi"/>
- <import plugin="org.eclipse.jem"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.wst.common.tests"/>
-
- </requires>
-
-
-</plugin>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/test.xml b/tests/org.eclipse.jst.j2ee.core.tests/test.xml
deleted file mode 100644
index 75db6986..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/test.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="testsuite" default="run" basedir=".">
- <!-- The property ${eclipse-home} should be passed into this script -->
- <!-- Set a meaningful default value for when it is not. -->
- <!-- <property name="eclipse-home" value="${basedir}\..\.."/> -->
- <echo message="basedir ${basedir}" />
- <echo message="eclipse place ${eclipse-home}" />
- <!-- sets the properties plugin-name, and library-file -->
- <property name="plugin-name" value="org.eclipse.jst.j2ee.core.tests"/>
- <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test_3.1.0/library.xml"/>
- <property name="extraVMargs" value="-DXmx700M"/>
-
- <!-- This target holds all initialization code that needs to be done for -->
- <!-- all tests that are to be run. Initialization for individual tests -->
- <!-- should be done within the body of the suite target. -->
- <target name="init">
- <tstamp/>
- <delete>
- <fileset dir="${eclipse-home}" includes="org*.xml"/>
- </delete>
- </target>
-
- <!-- This target defines the tests that need to be run. -->
- <target name="suite">
- <property name="jst-folder" value="${eclipse-home}/jst_folder"/>
- <delete dir="${jst-folder}" quiet="true"/>
- <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${jst-folder}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.j2ee.core.tests.bvt.AutomatedBVT" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
- <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
- <property name="data-dir" value="${jst-folder}"/>
- <property name="plugin-name" value="${plugin-name}"/>
- <property name="classname" value="org.eclipse.jst.j2ee.core.api.test.AutomatedAPIBVT" />
- <property name="plugin-path" value="${eclipse-home}/plugins/${plugin-name}"/>
- <property name="extraVMargs" value="${extraVMargs}"/>
- </ant>
- </target>
-
- <!-- This target holds code to cleanup the testing environment after -->
- <!-- after all of the tests have been run. You can use this target to -->
- <!-- delete temporary files that have been created. -->
- <target name="cleanup">
- </target>
-
- <!-- This target runs the test suite. Any actions that need to happen -->
- <!-- after all the tests have been run should go here. -->
- <target name="run" depends="init,suite,cleanup">
- <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
- <property name="includes" value="org*.xml"/>
- <property name="output-file" value="${plugin-name}.xml"/>
- </ant>
- </target>
-</project> \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/MANIFEST.MF
deleted file mode 100644
index 10416508..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,5 +0,0 @@
-Manifest-Version: 1.0
-Ant-Version: Apache Ant 1.5.4
-Created-By: 1.3.0 (IBM Corporation)
-Main-Class: null
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/Table.ddl b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/Table.ddl
deleted file mode 100644
index 57808613..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/Table.ddl
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
--- Generated by Relational Schema Center on Fri Mar 12 14:32:14 CST 2004
-
-
-CREATE TABLE ACCOUNT
- (ACCOUNTID VARCHAR(250) NOT NULL,
- TYPE1 INTEGER NOT NULL,
- BALANCE DOUBLE PRECISION NOT NULL,
- APR DOUBLE PRECISION NOT NULL);
-
-ALTER TABLE ACCOUNT
- ADD CONSTRAINT PK_ACCOUNT PRIMARY KEY (ACCOUNTID); \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/Map.mapxmi b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/Map.mapxmi
deleted file mode 100644
index a19a98e5..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/Map.mapxmi
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ejbrdbmapping:EjbRdbDocumentRoot xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:RDBSchema="RDBSchema.xmi" xmlns:ejb="ejb.xmi" xmlns:ejbrdbmapping="ejbrdbmapping.xmi" xmlns:Mapping="Mapping.xmi" xmi:id="EjbRdbDocumentRoot_1079123516907" topToBottom="true" commandStack="&lt;collection>&lt;command-creation-record>&lt;class name=&quot;com.ibm.etools.ejbrdbmapping.command.TopDownEjbJarCommand&quot;/>&lt;command-parameter>&lt;ref-object href=&quot;platform:/resource/b63748ba/ejbModule/META-INF/ejb-jar.xml#ejb-jar_ID&quot;/>&lt;null/>&lt;collection>&lt;string value=&quot;TopDownDB&quot;/>&lt;null/>&lt;int value=&quot;18&quot;/>&lt;hashtable>&lt;/hashtable>&lt;hashtable>&lt;/hashtable>&lt;boolean value=&quot;false&quot;/>&lt;boolean value=&quot;false&quot;/>&lt;/collection>&lt;null/>&lt;int value=&quot;-1&quot;/>&lt;/command-parameter>&lt;/command-creation-record>&lt;/collection>">
- <helper xmi:type="ejbrdbmapping:RdbSchemaProperies" xmi:id="RdbSchemaProperies_1079123516907" primitivesDocument="CLOUDSCAPE_V50"/>
- <nested xmi:type="ejbrdbmapping:RDBEjbMapper" xmi:id="RDBEjbMapper_1079123516907">
- <helper xmi:type="ejbrdbmapping:PrimaryTableStrategy" xmi:id="PrimaryTableStrategy_1079123516907">
- <table href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi#ACCOUNT"/>
- </helper>
- <nested xmi:type="ejbrdbmapping:RDBEjbFieldMapper" xmi:id="RDBEjbFieldMapper_1079123516907">
- <inputs xmi:type="ejb:CMPAttribute" href="META-INF/ejb-jar.xml#Account_accountid"/>
- <outputs xmi:type="RDBSchema:RDBColumn" href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi#ACCOUNTID"/>
- <typeMapping href="JavatoCLOUDSCAPE_V50TypeMaps.xmi#String-VARCHAR"/>
- </nested>
- <nested xmi:type="ejbrdbmapping:RDBEjbFieldMapper" xmi:id="RDBEjbFieldMapper_1079123516908" optimistic="true">
- <inputs xmi:type="ejb:CMPAttribute" href="META-INF/ejb-jar.xml#Account_type"/>
- <outputs xmi:type="RDBSchema:RDBColumn" href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi#TYPE1"/>
- <typeMapping href="JavatoCLOUDSCAPE_V50TypeMaps.xmi#int-INTEGER"/>
- </nested>
- <nested xmi:type="ejbrdbmapping:RDBEjbFieldMapper" xmi:id="RDBEjbFieldMapper_1079123516909" optimistic="true">
- <inputs xmi:type="ejb:CMPAttribute" href="META-INF/ejb-jar.xml#Account_balance"/>
- <outputs xmi:type="RDBSchema:RDBColumn" href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi#BALANCE"/>
- <typeMapping href="JavatoCLOUDSCAPE_V50TypeMaps.xmi#double-DOUBLE"/>
- </nested>
- <nested xmi:type="ejbrdbmapping:RDBEjbFieldMapper" xmi:id="RDBEjbFieldMapper_1079123516910" optimistic="true">
- <inputs xmi:type="ejb:CMPAttribute" href="META-INF/ejb-jar.xml#Account_apr"/>
- <outputs xmi:type="RDBSchema:RDBColumn" href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi#APR"/>
- <typeMapping href="JavatoCLOUDSCAPE_V50TypeMaps.xmi#double-DOUBLE"/>
- </nested>
- <inputs xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1"/>
- <outputs xmi:type="RDBSchema:RDBTable" href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi#ACCOUNT"/>
- </nested>
- <inputs xmi:type="ejb:EJBJar" href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
- <outputs xmi:type="RDBSchema:RDBDatabase" href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB.dbxmi#TopDownDB"/>
- <typeMapping xmi:type="Mapping:MappingRoot" href="JavatoCLOUDSCAPE_V50TypeMaps.xmi#Java_to_CLOUDSCAPE_V50_TypeMaps"/>
-</ejbrdbmapping:EjbRdbDocumentRoot>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/Table.ddl b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/Table.ddl
deleted file mode 100644
index 57808613..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/Table.ddl
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
--- Generated by Relational Schema Center on Fri Mar 12 14:32:14 CST 2004
-
-
-CREATE TABLE ACCOUNT
- (ACCOUNTID VARCHAR(250) NOT NULL,
- TYPE1 INTEGER NOT NULL,
- BALANCE DOUBLE PRECISION NOT NULL,
- APR DOUBLE PRECISION NOT NULL);
-
-ALTER TABLE ACCOUNT
- ADD CONSTRAINT PK_ACCOUNT PRIMARY KEY (ACCOUNTID); \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB.dbxmi b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB.dbxmi
deleted file mode 100644
index 914bdeef..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB.dbxmi
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<RDBSchema:RDBDatabase xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:RDBSchema="RDBSchema.xmi" xmi:id="TopDownDB" name="TopDownDB">
- <schemata href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID.schxmi#NULLID"/>
- <tableGroup xmi:type="RDBSchema:RDBTable" href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi#ACCOUNT"/>
- <domain href="CLOUDSCAPE_V50_Domain.xmi#SQLVendor_1"/>
-</RDBSchema:RDBDatabase>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID.schxmi b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID.schxmi
deleted file mode 100644
index ca20a408..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID.schxmi
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<RDBSchema:RDBSchema xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:RDBSchema="RDBSchema.xmi" xmi:id="NULLID" name="NULLID">
- <database href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB.dbxmi#TopDownDB"/>
- <tables xmi:type="RDBSchema:RDBTable" href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi#ACCOUNT"/>
-</RDBSchema:RDBSchema>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi
deleted file mode 100644
index adf1d752..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID_ACCOUNT.tblxmi
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<RDBSchema:RDBTable xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:RDBSchema="RDBSchema.xmi" xmi:id="ACCOUNT" name="ACCOUNT" primaryKey="PK_ACCOUNT">
- <database href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB.dbxmi#TopDownDB"/>
- <schema href="META-INF/backends/CLOUDSCAPE_V50_1/TopDownDB_NULLID.schxmi#NULLID"/>
- <columns xmi:type="RDBSchema:RDBColumn" xmi:id="ACCOUNTID" name="ACCOUNTID">
- <type xmi:type="RDBSchema:SQLCharacterStringType" xmi:id="SQLCharacterStringType_1079123516977" length="250">
- <originatingType xmi:type="RDBSchema:SQLCharacterStringType" href="JavatoCLOUDSCAPE_V50TypeMaps.xmi#SQLCharacterStringType_250"/>
- </type>
- </columns>
- <columns xmi:type="RDBSchema:RDBColumn" xmi:id="TYPE1" name="TYPE1">
- <type xmi:type="RDBSchema:SQLExactNumeric" xmi:id="SQLExactNumeric_1079123516977">
- <originatingType xmi:type="RDBSchema:SQLExactNumeric" href="CLOUDSCAPE_V50_Primitives.xmi#SQLExactNumeric_1"/>
- </type>
- </columns>
- <columns xmi:type="RDBSchema:RDBColumn" xmi:id="BALANCE" name="BALANCE">
- <type xmi:type="RDBSchema:SQLApproximateNumeric" xmi:id="SQLApproximateNumeric_1079123516977">
- <originatingType xmi:type="RDBSchema:SQLApproximateNumeric" href="CLOUDSCAPE_V50_Primitives.xmi#SQLApproximateNumeric_1"/>
- </type>
- </columns>
- <columns xmi:type="RDBSchema:RDBColumn" xmi:id="APR" name="APR">
- <type xmi:type="RDBSchema:SQLApproximateNumeric" xmi:id="SQLApproximateNumeric_1079123516978">
- <originatingType xmi:type="RDBSchema:SQLApproximateNumeric" href="CLOUDSCAPE_V50_Primitives.xmi#SQLApproximateNumeric_1"/>
- </type>
- </columns>
- <namedGroup xmi:type="RDBSchema:SQLReference" xmi:id="PK_ACCOUNT" name="PK_ACCOUNT" members="ACCOUNTID" constraint="SQLConstraint_1079123516977"/>
- <constraints xmi:id="SQLConstraint_1079123516977" name="PK_ACCOUNT" type="PRIMARYKEY" primaryKey="PK_ACCOUNT"/>
-</RDBSchema:RDBTable>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/ibm_pmbab.properties b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/ibm_pmbab.properties
deleted file mode 100644
index d6f62d3a..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/backends/CLOUDSCAPE_V50_1/ibm_pmbab.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-#Fri Mar 12 14:32:01 CST 2004
-Account=com.ibm.websphere.samples.appprofile.accountmanagementejb.websphere_deploy.CLOUDSCAPE_V50_1.AccountBeanAdaptorBinding_0c182135
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ejb-jar.xml b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ejb-jar.xml
deleted file mode 100644
index 9d9860fd..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ejb-jar.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
-
- <ejb-jar id="ejb-jar_ID">
- <display-name>AppProfileSampleEJBModule</display-name>
- <enterprise-beans>
- <entity id="ContainerManagedEntity_1">
- <ejb-name>Account</ejb-name>
- <home>com.ibm.websphere.samples.appprofile.accountmanagementejb.AccountHome</home>
- <remote>com.ibm.websphere.samples.appprofile.accountmanagementejb.Account</remote>
- <local-home>com.ibm.websphere.samples.appprofile.accountmanagementejb.LocalAccountHome</local-home>
- <local>com.ibm.websphere.samples.appprofile.accountmanagementejb.LocalAccount</local>
- <ejb-class>com.ibm.websphere.samples.appprofile.accountmanagementejb.AccountBean</ejb-class>
- <persistence-type>Container</persistence-type>
- <prim-key-class>java.lang.String</prim-key-class>
- <reentrant>False</reentrant>
- <cmp-version>2.x</cmp-version>
- <abstract-schema-name>Account</abstract-schema-name>
- <cmp-field id="Account_accountid">
- <field-name>accountid</field-name>
- </cmp-field>
- <cmp-field id="Account_type">
- <field-name>type</field-name>
- </cmp-field>
- <cmp-field id="Account_balance">
- <field-name>balance</field-name>
- </cmp-field>
- <cmp-field id="Account_apr">
- <field-name>apr</field-name>
- </cmp-field>
- <primkey-field>accountid</primkey-field>
- <query id="Query_1">
- <query-method id="QueryMethod_1">
- <method-name>findLargeAccounts</method-name>
- <method-params>
- <method-param>double</method-param>
- </method-params>
- </query-method>
- <ejb-ql>SELECT OBJECT(a) FROM Account a WHERE a.balance >= ?1</ejb-ql>
- </query>
- <query id="Query_2">
- <query-method id="QueryMethod_2">
- <method-name>findByAccountId</method-name>
- <method-params>
- <method-param>java.lang.String</method-param>
- </method-params>
- </query-method>
- <ejb-ql>SELECT OBJECT(a) FROM Account a WHERE a.accountid = ?1</ejb-ql>
- </query>
- <query id="Query_3">
- <query-method id="QueryMethod_3">
- <method-name>findAllAccounts</method-name>
- <method-params>
- <method-param></method-param>
- </method-params>
- </query-method>
- <ejb-ql>SELECT OBJECT(a) FROM Account a</ejb-ql>
- </query>
- </entity>
- <session id="Session_1">
- <display-name>AccountManager</display-name>
- <ejb-name>AccountManager</ejb-name>
- <home>com.ibm.websphere.samples.appprofile.accountmanagementejb.AccountManagerHome</home>
- <remote>com.ibm.websphere.samples.appprofile.accountmanagementejb.AccountManager</remote>
- <ejb-class>com.ibm.websphere.samples.appprofile.accountmanagementejb.AccountManagerBean</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Container</transaction-type>
- <ejb-local-ref id="EJBLocalRef_1">
- <ejb-ref-name>ejb/AppProfileSample-AccountHome</ejb-ref-name>
- <ejb-ref-type>Entity</ejb-ref-type>
- <local-home>com.ibm.websphere.samples.appprofile.accountmanagementejb.LocalAccountHome</local-home>
- <local>com.ibm.websphere.samples.appprofile.accountmanagementejb.LocalAccount</local>
- <ejb-link>Account</ejb-link>
- </ejb-local-ref>
- </session>
- </enterprise-beans>
- </ejb-jar>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-bnd.xmi b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-bnd.xmi
deleted file mode 100644
index d690d436..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-bnd.xmi
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ejbbnd:EJBJarBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbbnd="ejbbnd.xmi" xmlns:ejb="ejb.xmi" xmlns:common="common.xmi" xmi:id="ejb-jar_ID_Bnd" currentBackendId="CLOUDSCAPE_V50_1">
- <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
- <ejbBindings xmi:id="ContainerManagedEntity_1_Bnd" jndiName="AppProfileSample-AccountHome">
- <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1"/>
- </ejbBindings>
- <ejbBindings xmi:id="EnterpriseBeanBinding_1" jndiName="AppProfileSample-AccountManagerHome">
- <enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#Session_1"/>
- <ejbRefBindings xmi:id="EjbRefBinding_1" jndiName="AppProfileSample-AccountHome">
- <bindingEjbRef xmi:type="common:EJBLocalRef" href="META-INF/ejb-jar.xml#EJBLocalRef_1"/>
- </ejbRefBindings>
- </ejbBindings>
- <defaultCMPConnectionFactory xmi:id="CMPConnectionFactoryBinding_2" jndiName="eis/jdbc/AppProfileSampleDB_CMP" resAuth="Per_Connection_Factory"/>
-</ejbbnd:EJBJarBinding>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-ext-pme.xmi b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-ext-pme.xmi
deleted file mode 100644
index 3eeecb16..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-ext-pme.xmi
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<pmeext:PMEEJBJarExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:appprofileejbext="http://www.ibm.com/websphere/appserver/schemas/5.0/appprofileejbext.xmi" xmlns:ejbext="ejbext.xmi" xmlns:ejb="ejb.xmi" xmlns:pmeext="http://www.ibm.com/websphere/appserver/schemas/5.0/pmeext.xmi" xmi:id="PMEEJBJarExtension_1">
- <appProfileEJBJarExtension xmi:id="AppProfileEJBJarExtension_1">
- <applicationProfiles xmi:id="EJBModuleProfile_1" name="Read-only" description="This profile will apply a read-only access-intent policy to the multifinder for the Account entity bean.">
- <appliedAccessIntents xmi:id="AppliedAccessIntent_1072828753424" name="com.ibm.websphere.ejbquery.Default" description="All methods of the Account bean are set for read only." accessIntentName="wsPessimisticRead">
- <methodElements xmi:id="MethodElement_1072828753424" type="Unspecified">
- <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1"/>
- </methodElements>
- </appliedAccessIntents>
- <tasks xmi:id="Task_1071093415784" name="getLargeAccounts" description="This task will be used by AccountManager session bean for read-only intent."/>
- </applicationProfiles>
- <ejbJarExtension href="META-INF/ibm-ejb-jar-ext.xmi#ejb-jar_ID_Ext"/>
- <definedAccessIntentPolicies xmi:id="DefinedAccessIntentPolicy_1" name="PessimisticUpdate - Increment 10" description="This is a custom policy that keeps all the attributes of wsPessimisiticUpdate except for collection increment, which is set to 10.">
- <accessIntentEntries xmi:type="ejbext:PessimisticUpdate" xmi:id="PessimisticUpdate_1072824290817"/>
- <accessIntentEntries xmi:type="ejbext:CollectionIncrement" xmi:id="CollectionIncrement_1072824290817" collectionIncrement="10"/>
- <accessIntentEntries xmi:type="ejbext:ResourceManagerPreFetchIncrement" xmi:id="ResourceManagerPreFetchIncrement_1072824290817" preFetchIncrement="0"/>
- <accessIntentEntries xmi:type="ejbext:TransactionScope" xmi:id="TransactionScope_1072824290817"/>
- </definedAccessIntentPolicies>
- <runAsTasks xmi:id="RunAsTask_2" name="getLargeAcounts">
- <taskRunAsKind xmi:type="appprofileejbext:RunAsSpecifiedTask" xmi:id="RunAsSpecifiedTask_2">
- <task xmi:id="Task_5" name="getLargeAccounts" description="for viewing account data only"/>
- </taskRunAsKind>
- <methodElements xmi:id="MethodElement_3" name="getLargeAccounts" parms="double " type="Remote">
- <enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#Session_1"/>
- </methodElements>
- </runAsTasks>
- <appProfileComponentExtensions xmi:id="AppProfileComponentExtension_1">
- <componentExtension xmi:type="ejbext:SessionExtension" href="META-INF/ibm-ejb-jar-ext.xmi#SessionExtension_1"/>
- </appProfileComponentExtensions>
- <appProfileComponentExtensions xmi:id="AppProfileComponentExtension_2">
- <componentExtension xmi:type="ejbext:ContainerManagedEntityExtension" href="META-INF/ibm-ejb-jar-ext.xmi#ContainerManagedEntity_1_Ext"/>
- </appProfileComponentExtensions>
- </appProfileEJBJarExtension>
-</pmeext:PMEEJBJarExtension>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-ext.xmi b/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-ext.xmi
deleted file mode 100644
index 673264f2..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/ejb/META-INF/ibm-ejb-jar-ext.xmi
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ejbext:EJBJarExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ejbext="ejbext.xmi" xmlns:ejb="ejb.xmi" xmi:id="ejb-jar_ID_Ext">
- <ejbExtensions xmi:type="ejbext:ContainerManagedEntityExtension" xmi:id="ContainerManagedEntity_1_Ext" concurrencyControl="pessimistic">
- <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1"/>
- <structure xmi:id="BeanStructure_1" inheritenceRoot="false"/>
- <beanCache xmi:id="BeanCache_1" activateAt="TRANSACTION" loadAt="TRANSACTION"/>
- <localTran xmi:id="LocalTran_1" boundary="BEAN_METHOD" unresolvedAction="ROLLBACK"/>
- <dataCache xmi:id="DataCache_1" lifetimeInCache="0" lifetimeInCacheUsage="OFF"/>
- </ejbExtensions>
- <ejbExtensions xmi:type="ejbext:SessionExtension" xmi:id="SessionExtension_1" timeout="600">
- <enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-jar.xml#Session_1"/>
- <structure xmi:id="BeanStructure_2" inheritenceRoot="false"/>
- <beanCache xmi:id="BeanCache_2" activateAt="ONCE"/>
- <localTran xmi:id="LocalTran_2" boundary="BEAN_METHOD" unresolvedAction="ROLLBACK"/>
- </ejbExtensions>
- <ejbJar href="META-INF/ejb-jar.xml#ejb-jar_ID"/>
- <appliedAccessIntents xmi:id="AppliedAccessIntent_1071093415744" name="com.ibm.websphere.ejbquery.Default" description="" accessIntentName="PessimisticUpdate - Increment 10">
- <methodElements xmi:id="MethodElement_1071093415744" type="Unspecified">
- <enterpriseBean xmi:type="ejb:ContainerManagedEntity" href="META-INF/ejb-jar.xml#ContainerManagedEntity_1"/>
- </methodElements>
- </appliedAccessIntents>
-</ejbext:EJBJarExtension>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/META-INF/MANIFEST.MF
deleted file mode 100644
index 59499bce..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/META-INF/ejb-jar.xml b/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/META-INF/ejb-jar.xml
deleted file mode 100644
index 2693c860..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/META-INF/ejb-jar.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ejb-jar id="ejb-jar_ID" version="2.1"
- xmlns="http://java.sun.com/xml/ns/j2ee" >
- <display-name>
- TestEJB</display-name>
- <enterprise-beans>
- <session id="T1">
- <ejb-name>T1</ejb-name>
- <home>ejbs.T1Home</home>
- <remote>ejbs.T1</remote>
- <ejb-class>ejbs.T1Bean</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Container</transaction-type>
- </session>
- </enterprise-beans>
-</ejb-jar>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1.class b/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1.class
deleted file mode 100644
index cda4e08f..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1Bean.class b/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1Bean.class
deleted file mode 100644
index 51cb4f62..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1Bean.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1Home.class b/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1Home.class
deleted file mode 100644
index a5798322..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/no-sl/ejbs/T1Home.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/META-INF/MANIFEST.MF
deleted file mode 100644
index 59499bce..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/META-INF/ejb-jar.xml b/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/META-INF/ejb-jar.xml
deleted file mode 100644
index af37a039..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/META-INF/ejb-jar.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ejb-jar id="ejb-jar_ID" version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
- <display-name>
- TestEJB</display-name>
- <enterprise-beans>
- <session id="T1">
- <ejb-name>T1</ejb-name>
- <home>ejbs.T1Home</home>
- <remote>ejbs.T1</remote>
- <ejb-class>ejbs.T1Bean</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Container</transaction-type>
- </session>
- </enterprise-beans>
-</ejb-jar>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1.class b/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1.class
deleted file mode 100644
index cda4e08f..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1Bean.class b/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1Bean.class
deleted file mode 100644
index 51cb4f62..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1Bean.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1Home.class b/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1Home.class
deleted file mode 100644
index a5798322..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/sl/ejbs/T1Home.class
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/AnnuityServices_mapping.xml b/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/AnnuityServices_mapping.xml
deleted file mode 100644
index e2fdcbdc..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/AnnuityServices_mapping.xml
+++ /dev/null
@@ -1,461 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
- <package-mapping>
- <package-type>com.ibm.wssvt.tc.pli.data</package-type>
- <namespaceURI>http://data.pli.tc.wssvt.ibm.com</namespaceURI>
- </package-mapping>
- <package-mapping>
- <package-type>com.ibm.wssvt.acme.annuity.ws</package-type>
- <namespaceURI>http://ws.annuity.acme.wssvt.ibm.com</namespaceURI>
- </package-mapping>
- <java-xml-type-mapping>
- <java-type>double</java-type>
- <root-type-qname xmlns:rtq="http://www.w3.org/2001/XMLSchema">rtq:double</root-type-qname>
- <qname-scope>simpleType</qname-scope>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>java.util.Vector</java-type>
- <root-type-qname xmlns:rtq="http://xml.apache.org/xml-soap">rtq:Vector</root-type-qname>
- <qname-scope>simpleType</qname-scope>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>java.lang.String</java-type>
- <root-type-qname xmlns:rtq="http://www.w3.org/2001/XMLSchema">rtq:string</root-type-qname>
- <qname-scope>simpleType</qname-scope>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</java-type>
- <root-type-qname xmlns:rtq="http://data.pli.tc.wssvt.ibm.com">rtq:WSAnnuityCompositeData</root-type-qname>
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>WSAnnuity Data</java-variable-name>
- <xml-element-name>WSAnnuity Data</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>subAccounts</java-variable-name>
- <xml-element-name>subAccounts</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>com.ibm.wssvt.tc.pli.data.WSAnnuityData</java-type>
- <root-type-qname xmlns:rtq="http://data.pli.tc.wssvt.ibm.com">rtq:WSAnnuityData</root-type-qname>
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>taxStatus</java-variable-name>
- <xml-element-name>taxStatus</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>type</java-variable-name>
- <xml-element-name>type</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>amount</java-variable-name>
- <xml-element-name>amount</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>endDate</java-variable-name>
- <xml-element-name>endDate</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>custNumber</java-variable-name>
- <xml-element-name>custNumber</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>custName</java-variable-name>
- <xml-element-name>custName</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>custSSNum</java-variable-name>
- <xml-element-name>custSSNum</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>EMail</java-variable-name>
- <xml-element-name>EMail</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>annuityNo</java-variable-name>
- <xml-element-name>annuityNo</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>premium</java-variable-name>
- <xml-element-name>premium</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>beginDate</java-variable-name>
- <xml-element-name>beginDate</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>status</java-variable-name>
- <xml-element-name>status</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>fixedPeriod</java-variable-name>
- <xml-element-name>fixedPeriod</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>fixedAmount</java-variable-name>
- <xml-element-name>fixedAmount</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>life</java-variable-name>
- <xml-element-name>life</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>lifeWithPeriod</java-variable-name>
- <xml-element-name>lifeWithPeriod</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>fixedPercent</java-variable-name>
- <xml-element-name>fixedPercent</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>actualPercent</java-variable-name>
- <xml-element-name>actualPercent</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>benefitOptions</java-variable-name>
- <xml-element-name>benefitOptions</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>premiumSched</java-variable-name>
- <xml-element-name>premiumSched</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>investCategory</java-variable-name>
- <xml-element-name>investCategory</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>payoutOptions</java-variable-name>
- <xml-element-name>payoutOptions</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>guarPayout</java-variable-name>
- <xml-element-name>guarPayout</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>numSubAccts</java-variable-name>
- <xml-element-name>numSubAccts</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>extraCredits</java-variable-name>
- <xml-element-name>extraCredits</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>cellNodeServerName</java-variable-name>
- <xml-element-name>cellNodeServerName</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>clientId</java-variable-name>
- <xml-element-name>clientId</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>int</java-type>
- <root-type-qname xmlns:rtq="http://www.w3.org/2001/XMLSchema">rtq:int</root-type-qname>
- <qname-scope>simpleType</qname-scope>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>java.util.Calendar</java-type>
- <root-type-qname xmlns:rtq="http://www.w3.org/2001/XMLSchema">rtq:dateTime</root-type-qname>
- <qname-scope>simpleType</qname-scope>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>com.ibm.wssvt.tc.pli.data.SubAcctData[]</java-type>
- <anonymous-type-qname>http://data.pli.tc.wssvt.ibm.com:SubAcctData[0,unbounded]</anonymous-type-qname>
- <qname-scope>complexType</qname-scope>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>com.ibm.wssvt.tc.pli.data.SubAcctData</java-type>
- <root-type-qname xmlns:rtq="http://data.pli.tc.wssvt.ibm.com">rtq:SubAcctData</root-type-qname>
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>type</java-variable-name>
- <xml-element-name>type</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>value</java-variable-name>
- <xml-element-name>value</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>annuityId</java-variable-name>
- <xml-element-name>annuityId</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>id</java-variable-name>
- <xml-element-name>id</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>name</java-variable-name>
- <xml-element-name>name</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>cellNodeServerName</java-variable-name>
- <xml-element-name>cellNodeServerName</xml-element-name>
- </variable-mapping>
- <variable-mapping>
- <java-variable-name>clientId</java-variable-name>
- <xml-element-name>clientId</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>boolean</java-type>
- <root-type-qname xmlns:rtq="http://www.w3.org/2001/XMLSchema">rtq:boolean</root-type-qname>
- <qname-scope>simpleType</qname-scope>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>com.ibm.wssvt.tc.pli.data.SubAcctData[]</java-type>
- <root-type-qname xmlns:rtq="http://ws.annuity.acme.wssvt.ibm.com">rtq:ArrayOf_tns2_nillable_SubAcctData</root-type-qname>
- <qname-scope>complexType</qname-scope>
- <variable-mapping>
- <java-variable-name>subAcctData</java-variable-name>
- <xml-element-name>SubAcctData</xml-element-name>
- </variable-mapping>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>com.ibm.wssvt.tc.pli.data.SubAcctData[]</java-type>
- <anonymous-type-qname>http://ws.annuity.acme.wssvt.ibm.com:ArrayOf_tns2_nillable_SubAcctData&gt;SubAcctData[0,unbounded]</anonymous-type-qname>
- <qname-scope>complexType</qname-scope>
- </java-xml-type-mapping>
- <java-xml-type-mapping>
- <java-type>java.lang.Object[]</java-type>
- <anonymous-type-qname>http://xml.apache.org/xml-soap:Vector&gt;item[0,unbounded]</anonymous-type-qname>
- <qname-scope>complexType</qname-scope>
- </java-xml-type-mapping>
- <service-interface-mapping>
- <service-interface>com.ibm.wssvt.acme.annuity.ws.WSTAnnuityService</service-interface>
- <wsdl-service-name xmlns:sim="http://ws.annuity.acme.wssvt.ibm.com">sim:WSTAnnuityService</wsdl-service-name>
- <port-mapping>
- <port-name>WSTAnnuityService</port-name>
- <java-port-name>WSTAnnuityService</java-port-name>
- </port-mapping>
- </service-interface-mapping>
- <service-endpoint-interface-mapping>
- <service-endpoint-interface>com.ibm.wssvt.acme.annuity.ws.AnnuityServicePortType</service-endpoint-interface>
- <wsdl-port-type xmlns:seimwpt="http://ws.annuity.acme.wssvt.ibm.com">seimwpt:AnnuityServicePortType</wsdl-port-type>
- <wsdl-binding xmlns:seimwb="http://ws.annuity.acme.wssvt.ibm.com">seimwb:AnnuityServiceBinding</wsdl-binding>
- <service-endpoint-method-mapping>
- <java-method-name>wsListAnnuityByHolder</java-method-name>
- <wsdl-operation>wsListAnnuityByHolder</wsdl-operation>
- <wrapped-element></wrapped-element>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>java.lang.String</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsListAnnuityByHolderRequest</wsdl-message>
- <wsdl-message-part-name>holderSSN</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>java.util.Vector</method-return-value>
- <wsdl-message xmlns:wrvm="http://ws.annuity.acme.wssvt.ibm.com">wrvm:wsListAnnuityByHolderResponse</wsdl-message>
- <wsdl-message-part-name>wsListAnnuityByHolderReturn</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- <service-endpoint-method-mapping>
- <java-method-name>wsAddSubAccounts</java-method-name>
- <wsdl-operation>wsAddSubAccounts</wsdl-operation>
- <wrapped-element></wrapped-element>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsAddSubAccountsRequest</wsdl-message>
- <wsdl-message-part-name>aCD</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <method-param-parts-mapping>
- <param-position>1</param-position>
- <param-type>com.ibm.wssvt.tc.pli.data.SubAcctData[]</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsAddSubAccountsRequest</wsdl-message>
- <wsdl-message-part-name>sAD</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</method-return-value>
- <wsdl-message xmlns:wrvm="http://ws.annuity.acme.wssvt.ibm.com">wrvm:wsAddSubAccountsResponse</wsdl-message>
- <wsdl-message-part-name>wsAddSubAccountsReturn</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- <service-endpoint-method-mapping>
- <java-method-name>wsCreateAnnuity</java-method-name>
- <wsdl-operation>wsCreateAnnuity</wsdl-operation>
- <wrapped-element></wrapped-element>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsCreateAnnuityRequest</wsdl-message>
- <wsdl-message-part-name>aCD</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</method-return-value>
- <wsdl-message xmlns:wrvm="http://ws.annuity.acme.wssvt.ibm.com">wrvm:wsCreateAnnuityResponse</wsdl-message>
- <wsdl-message-part-name>wsCreateAnnuityReturn</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- </service-endpoint-interface-mapping>
- <service-interface-mapping>
- <service-interface>com.ibm.wssvt.acme.annuity.ws.AnnuityService</service-interface>
- <wsdl-service-name xmlns:sim="http://ws.annuity.acme.wssvt.ibm.com">sim:AnnuityService</wsdl-service-name>
- <port-mapping>
- <port-name>AnnuityService</port-name>
- <java-port-name>AnnuityService</java-port-name>
- </port-mapping>
- </service-interface-mapping>
- <service-endpoint-interface-mapping>
- <service-endpoint-interface>com.ibm.wssvt.acme.annuity.ws.AnnuityServicePortType</service-endpoint-interface>
- <wsdl-port-type xmlns:seimwpt="http://ws.annuity.acme.wssvt.ibm.com">seimwpt:AnnuityServicePortType</wsdl-port-type>
- <wsdl-binding xmlns:seimwb="http://ws.annuity.acme.wssvt.ibm.com">seimwb:AnnuityServiceBinding</wsdl-binding>
- <service-endpoint-method-mapping>
- <java-method-name>wsListAnnuityByHolder</java-method-name>
- <wsdl-operation>wsListAnnuityByHolder</wsdl-operation>
- <wrapped-element></wrapped-element>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>java.lang.String</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsListAnnuityByHolderRequest</wsdl-message>
- <wsdl-message-part-name>holderSSN</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>java.util.Vector</method-return-value>
- <wsdl-message xmlns:wrvm="http://ws.annuity.acme.wssvt.ibm.com">wrvm:wsListAnnuityByHolderResponse</wsdl-message>
- <wsdl-message-part-name>wsListAnnuityByHolderReturn</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- <service-endpoint-method-mapping>
- <java-method-name>wsAddSubAccounts</java-method-name>
- <wsdl-operation>wsAddSubAccounts</wsdl-operation>
- <wrapped-element></wrapped-element>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsAddSubAccountsRequest</wsdl-message>
- <wsdl-message-part-name>aCD</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <method-param-parts-mapping>
- <param-position>1</param-position>
- <param-type>com.ibm.wssvt.tc.pli.data.SubAcctData[]</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsAddSubAccountsRequest</wsdl-message>
- <wsdl-message-part-name>sAD</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</method-return-value>
- <wsdl-message xmlns:wrvm="http://ws.annuity.acme.wssvt.ibm.com">wrvm:wsAddSubAccountsResponse</wsdl-message>
- <wsdl-message-part-name>wsAddSubAccountsReturn</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- <service-endpoint-method-mapping>
- <java-method-name>wsCreateAnnuity</java-method-name>
- <wsdl-operation>wsCreateAnnuity</wsdl-operation>
- <wrapped-element></wrapped-element>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsCreateAnnuityRequest</wsdl-message>
- <wsdl-message-part-name>aCD</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</method-return-value>
- <wsdl-message xmlns:wrvm="http://ws.annuity.acme.wssvt.ibm.com">wrvm:wsCreateAnnuityResponse</wsdl-message>
- <wsdl-message-part-name>wsCreateAnnuityReturn</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- </service-endpoint-interface-mapping>
- <service-interface-mapping>
- <service-interface>com.ibm.wssvt.acme.annuity.ws.AnnuityService2</service-interface>
- <wsdl-service-name xmlns:sim="http://ws.annuity.acme.wssvt.ibm.com">sim:AnnuityService2</wsdl-service-name>
- <port-mapping>
- <port-name>AnnuityService2</port-name>
- <java-port-name>AnnuityService2</java-port-name>
- </port-mapping>
- </service-interface-mapping>
- <service-endpoint-interface-mapping>
- <service-endpoint-interface>com.ibm.wssvt.acme.annuity.ws.AnnuityServicePortType</service-endpoint-interface>
- <wsdl-port-type xmlns:seimwpt="http://ws.annuity.acme.wssvt.ibm.com">seimwpt:AnnuityServicePortType</wsdl-port-type>
- <wsdl-binding xmlns:seimwb="http://ws.annuity.acme.wssvt.ibm.com">seimwb:AnnuityServiceBinding</wsdl-binding>
- <service-endpoint-method-mapping>
- <java-method-name>wsListAnnuityByHolder</java-method-name>
- <wsdl-operation>wsListAnnuityByHolder</wsdl-operation>
- <wrapped-element></wrapped-element>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>java.lang.String</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsListAnnuityByHolderRequest</wsdl-message>
- <wsdl-message-part-name>holderSSN</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>java.util.Vector</method-return-value>
- <wsdl-message xmlns:wrvm="http://ws.annuity.acme.wssvt.ibm.com">wrvm:wsListAnnuityByHolderResponse</wsdl-message>
- <wsdl-message-part-name>wsListAnnuityByHolderReturn</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- <service-endpoint-method-mapping>
- <java-method-name>wsAddSubAccounts</java-method-name>
- <wsdl-operation>wsAddSubAccounts</wsdl-operation>
- <wrapped-element></wrapped-element>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsAddSubAccountsRequest</wsdl-message>
- <wsdl-message-part-name>aCD</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <method-param-parts-mapping>
- <param-position>1</param-position>
- <param-type>com.ibm.wssvt.tc.pli.data.SubAcctData[]</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsAddSubAccountsRequest</wsdl-message>
- <wsdl-message-part-name>sAD</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</method-return-value>
- <wsdl-message xmlns:wrvm="http://ws.annuity.acme.wssvt.ibm.com">wrvm:wsAddSubAccountsResponse</wsdl-message>
- <wsdl-message-part-name>wsAddSubAccountsReturn</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- <service-endpoint-method-mapping>
- <java-method-name>wsCreateAnnuity</java-method-name>
- <wsdl-operation>wsCreateAnnuity</wsdl-operation>
- <wrapped-element></wrapped-element>
- <method-param-parts-mapping>
- <param-position>0</param-position>
- <param-type>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</param-type>
- <wsdl-message-mapping>
- <wsdl-message xmlns:mppm="http://ws.annuity.acme.wssvt.ibm.com">mppm:wsCreateAnnuityRequest</wsdl-message>
- <wsdl-message-part-name>aCD</wsdl-message-part-name>
- <parameter-mode>IN</parameter-mode>
- </wsdl-message-mapping>
- </method-param-parts-mapping>
- <wsdl-return-value-mapping>
- <method-return-value>com.ibm.wssvt.tc.pli.data.WSAnnuityCompositeData</method-return-value>
- <wsdl-message xmlns:wrvm="http://ws.annuity.acme.wssvt.ibm.com">wrvm:wsCreateAnnuityResponse</wsdl-message>
- <wsdl-message-part-name>wsCreateAnnuityReturn</wsdl-message-part-name>
- </wsdl-return-value-mapping>
- </service-endpoint-method-mapping>
- </service-endpoint-interface-mapping>
-</java-wsdl-mapping>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/ibm-webservices-bnd.xmi b/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/ibm-webservices-bnd.xmi
deleted file mode 100644
index d5dcf6c8..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/ibm-webservices-bnd.xmi
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<com.ibm.etools.webservice.wsbnd:WSBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:com.ibm.etools.webservice.wsbnd="http://www.ibm.com/websphere/appserver/schemas/5.0.2/wsbnd.xmi" xmi:id="WSBinding_1055737241797">
- <wsdescBindings xmi:id="WSDescBinding_1055737241797" wsDescNameLink="StockQuoteFetcher">
- <pcBindings xmi:id="PCBinding_1055737241797" pcNameLink="urn:xmltoday-delayed-quotes" scope="Session"/>
- </wsdescBindings>
- <routerModules xmi:id="RouterModule_1055737241797" transport="http" name="StockQuote.war"/>
-</com.ibm.etools.webservice.wsbnd:WSBinding>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/ibm-webservices-ext.xmi b/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/ibm-webservices-ext.xmi
deleted file mode 100644
index 170500f3..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/ibm-webservices-ext.xmi
+++ /dev/null
@@ -1,6 +0,0 @@
-<com.ibm.etools.webservice.wsext:WsExtension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:com.ibm.etools.webservice.wsext="http://www.ibm.com/websphere/appserver/schemas/5.0.2/wsext.xmi" xmi:id="WsExtension_1053484615054">
- <wsDescExt xmi:id="WsDescExt_1053484615054" wsDescNameLink="StockQuoteFetcher">
- <pcBinding xmi:id="PcBinding_1053484615054" pcNameLink="urn:xmltoday-delayed-quotes">
- </pcBinding>
- </wsDescExt>
-</com.ibm.etools.webservice.wsext:WsExtension>
diff --git a/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/webservices.xml b/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/webservices.xml
deleted file mode 100644
index 7269077d..00000000
--- a/tests/org.eclipse.jst.j2ee.core.tests/testData/webservices/META-INF/webservices.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE webservices PUBLIC "-//IBM Corporation, Inc.//DTD J2EE Web services 1.0//EN" "http://www.ibm.com/webservices/dtd/j2ee_web_services_1_0.dtd">
-
- <webservices id="WebServices_1055737241672">
- <webservice-description id="WebServiceDescription_1055737241688">
- <webservice-description-name>StockQuoteFetcher</webservice-description-name>
- <wsdl-file>META-INF/wsdl/StockQuoteFetcher.wsdl</wsdl-file>
- <jaxrpc-mapping-file>META-INF/StockQuoteFetcher_mapping.xml</jaxrpc-mapping-file>
- <port-component id="PortComponent_1055737241734">
- <port-component-name>urn:xmltoday-delayed-quotes</port-component-name>
- <wsdl-port id="WSDLPort_1055737241734">
- <namespaceURI>http://stock.webservices.samples.websphere.ibm.com</namespaceURI>
- <localpart>StockQuote</localpart>
- </wsdl-port>
- <service-endpoint-interface>com.ibm.websphere.samples.webservices.stock.StockQuote</service-endpoint-interface>
- <service-impl-bean id="ServiceImplBean_1055737241734">
- <ejb-link>com_ibm_websphere_samples_webservices_stock_StockQuote</ejb-link>
- </service-impl-bean>
- </port-component>
- </webservice-description>
- </webservices>
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/.classpath b/tests/org.eclipse.jst.j2ee.tests.performance/.classpath
deleted file mode 100644
index 8bf670e7..00000000
--- a/tests/org.eclipse.jst.j2ee.tests.performance/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="common/"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/.cvsignore b/tests/org.eclipse.jst.j2ee.tests.performance/.cvsignore
deleted file mode 100644
index 43ac6065..00000000
--- a/tests/org.eclipse.jst.j2ee.tests.performance/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-temp.folder
-build.xml
-performance.jar
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/.project b/tests/org.eclipse.jst.j2ee.tests.performance/.project
deleted file mode 100644
index 2aed33e9..00000000
--- a/tests/org.eclipse.jst.j2ee.tests.performance/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.j2ee.tests.performance</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/about.html b/tests/org.eclipse.jst.j2ee.tests.performance/about.html
deleted file mode 100644
index 4ec59895..00000000
--- a/tests/org.eclipse.jst.j2ee.tests.performance/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/build.properties b/tests/org.eclipse.jst.j2ee.tests.performance/build.properties
deleted file mode 100644
index 21d4547c..00000000
--- a/tests/org.eclipse.jst.j2ee.tests.performance/build.properties
+++ /dev/null
@@ -1,5 +0,0 @@
-source.performance.jar = common/
-output.performance.jar = bin/
-bin.includes = plugin.xml,\
- performance.jar,\
- about.html
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/BasePerformanceTestCase.java b/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/BasePerformanceTestCase.java
deleted file mode 100644
index ce756af3..00000000
--- a/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/BasePerformanceTestCase.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/*
- * Created on Dec 6, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.j2ee.tests.performance;
-
-import java.io.File;
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.InvocationTargetException;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.wst.common.tests.BaseTestCase;
-
-/**
- * @author Admin
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public abstract class BasePerformanceTestCase extends BaseTestCase {
- protected static Map performanceClass = null;
- static ClassLoader clazzLoader = null;
- protected static String file= null;
- public static Test suite() {
- performanceClass = null;
- return createTestSuites() ;
- }
- /**
- *
- */
- private static Test createTestSuites() {
- createPerformanceClass();
- TestSuite suite = new TestSuite();
- for (Iterator iter = performanceClass.keySet().iterator(); iter.hasNext();) {
- Class clazz = (Class) iter.next();
- List methodList = (List)performanceClass.get(clazz);
- for (int x=0; x< methodList.size(); ++x) {
- PerformanceTestObject testObject = (PerformanceTestObject)methodList.get(x);
- Test test = createTest(clazz,testObject.getName());
- if (test instanceof BaseTestCase) {
- suite.addTest(new PerformanceTestCaseWrapper((BaseTestCase)test, testObject.getTagging() , testObject.getShortName()));
- }
- }
- }
- return suite;
- }
-
- static public Test createTest(Class theClass, String name) {
- Constructor constructor;
- try {
- constructor= getTestConstructor(theClass);
- } catch (NoSuchMethodException e) {
- return warning("Class "+theClass.getName()+" has no public constructor TestCase(String name) or TestCase()");
- }
- Object test;
- try {
- if (constructor.getParameterTypes().length == 0) {
- test= constructor.newInstance(new Object[0]);
- if (test instanceof TestCase)
- ((TestCase) test).setName(name);
- } else {
- test= constructor.newInstance(new Object[]{name});
- }
- } catch (InstantiationException e) {
- return(warning("Cannot instantiate test case: "+name+" ("+exceptionToString(e)+")"));
- } catch (InvocationTargetException e) {
- return(warning("Exception in constructor: "+name+" ("+exceptionToString(e.getTargetException())+")"));
- } catch (IllegalAccessException e) {
- return(warning("Cannot access test case: "+name+" ("+exceptionToString(e)+")"));
- }
- return (Test) test;
- }
-
- /**
- * Returns a test which will fail and log a warning message.
- */
- private static Test warning(final String message) {
- return new TestCase("warning") {
- protected void runTest() {
- fail(message);
- }
- };
- }
-
- public static Constructor getTestConstructor(Class theClass) throws NoSuchMethodException {
- Class[] args= { String.class };
- try {
- return theClass.getConstructor(args);
- } catch (NoSuchMethodException e) {
- // fall through
- }
- return theClass.getConstructor(new Class[0]);
- }
-
- private static String exceptionToString(Throwable t) {
- StringWriter stringWriter= new StringWriter();
- PrintWriter writer= new PrintWriter(stringWriter);
- t.printStackTrace(writer);
- return stringWriter.toString();
-
- }
- /**
- * @param performanceClass2
- */
-
- public static Map getPerformanceClass() {
- if (performanceClass == null) {
- createPerformanceClass();
- }
- return performanceClass;
- }
-
-
- protected static void createPerformanceClass() {
- if (performanceClass == null) {
- performanceClass = new TestCaseSAXParser().doLoad(new File(file));
- }
- }
-
-
- /**
- * @return Returns the clazzLoader.
- */
- public static ClassLoader getClassLoader() {
- return clazzLoader;
- }
- /**
- * @param clazzLoader The clazzLoader to set.
- */
- public static void setClassLoader(ClassLoader clazzLoader) {
- BasePerformanceTestCase.clazzLoader = clazzLoader;
- }
- /**
- * @return Returns the file.
- */
- public static String getFile() {
- return file;
- }
- /**
- * @param file The file to set.
- */
- public static void setFile(String file) {
- BasePerformanceTestCase.file = file;
- }
-
- /**
- * @param suite
- * @param test
- * @param global
- * @param string
- */
- protected static void addPerformanceTest(TestSuite suite, BaseTestCase test, int tagging, String shortName) {
- PerformanceTestCaseWrapper testCase = new PerformanceTestCaseWrapper(test, tagging , shortName);
- suite.addTest(testCase);
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformancePlugin.java b/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformancePlugin.java
deleted file mode 100644
index c9e28acf..00000000
--- a/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformancePlugin.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package org.eclipse.jst.j2ee.tests.performance;
-
-import org.eclipse.ui.plugin.*;
-import org.osgi.framework.BundleContext;
-import java.util.*;
-
-/**
- * The main plugin class to be used in the desktop.
- */
-public class PerformancePlugin extends AbstractUIPlugin {
- //The shared instance.
- private static PerformancePlugin plugin;
- //Resource bundle.
- private ResourceBundle resourceBundle;
-
- /**
- * The constructor.
- */
- public PerformancePlugin() {
- super();
- plugin = this;
- }
-
- /**
- * This method is called upon plug-in activation
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- }
-
- /**
- * This method is called when the plug-in is stopped
- */
- public void stop(BundleContext context) throws Exception {
- super.stop(context);
- plugin = null;
- resourceBundle = null;
- }
-
- /**
- * Returns the shared instance.
- */
- public static PerformancePlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns the string from the plugin's resource bundle,
- * or 'key' if not found.
- */
- public static String getResourceString(String key) {
- ResourceBundle bundle = PerformancePlugin.getDefault().getResourceBundle();
- try {
- return (bundle != null) ? bundle.getString(key) : key;
- } catch (MissingResourceException e) {
- return key;
- }
- }
-
- /**
- * Returns the plugin's resource bundle,
- */
- public ResourceBundle getResourceBundle() {
- try {
- if (resourceBundle == null)
- resourceBundle = ResourceBundle.getBundle("org.eclipse.jst.j2ee.tests.performance.PerformancePluginResources");
- } catch (MissingResourceException x) {
- resourceBundle = null;
- }
- return resourceBundle;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformanceTestCaseWrapper.java b/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformanceTestCaseWrapper.java
deleted file mode 100644
index 7747014f..00000000
--- a/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformanceTestCaseWrapper.java
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * Created on Nov 24, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.j2ee.tests.performance;
-
-import junit.framework.Test;
-
-import org.eclipse.test.performance.Dimension;
-import org.eclipse.test.performance.Performance;
-import org.eclipse.test.performance.PerformanceTestCase;
-import org.eclipse.wst.common.tests.BaseTestCase;
-
-/**
- * @author Admin
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class PerformanceTestCaseWrapper extends PerformanceTestCase {
- protected BaseTestCase fTest;
- public static final int NONE = 0;
- public static final int LOCAL = 1;
- public static final int GLOBAL = 2;
-
- private boolean tagAsGlobalSummary;
- private boolean tagAsSummary;
- private String shortName;
-
- public static final int ITERATIONS = 10;
-
- public PerformanceTestCaseWrapper(BaseTestCase test,
- int tagging,
- String shortName) {
- fTest=test;
- tagAsGlobalSummary = ((tagging & GLOBAL) != 0);
- tagAsSummary = ((tagging & LOCAL) != 0);
- this.shortName = shortName;
- }
-
- public int countTestCases() {
- return fTest.countTestCases();
- }
-
- public String toString() {
- return fTest.toString();
- }
-
- public Test getTest() {
- return fTest;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.test.performance.PerformanceTestCase#setUp()
- */
- protected void setUp() throws Exception {
- fTest.setUpTest();
- }
-
- protected void basicSetUp() throws Exception {
- Performance performance= Performance.getDefault();
- fPerformanceMeter= performance.createPerformanceMeter(performance.getDefaultScenarioId(fTest));
- }
-
-
- /**
- * Runs the bare test sequence.
- * @exception Throwable if any exception is thrown
- */
- public void runBare() throws Throwable {
- basicSetUp();
- tagIfNecessary(shortName, Dimension.CPU_TIME);
- try {
- for (int i= 0; i < ITERATIONS; i++) {
- setUp();
- startMeasuring();
- runTest();
- stopMeasuring();
- }
- }
- finally {
- commitMeasurements();
- assertPerformance();
- tearDown();
- }
- }
-
- /* (non-Javadoc)
- * @see junit.framework.TestCase#runTest()
- */
- protected void runTest() throws Throwable {
- // TODO Auto-generated method stub
- fTest.runCoreTest();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.test.performance.PerformanceTestCase#tearDown()
- */
- protected void tearDown() throws Exception {
- // TODO Auto-generated method stub
- fTest.tearDownTest();
- }
-
- /* (non-Javadoc)
- * @see junit.framework.TestCase#setName(java.lang.String)
- */
- public void setName(String name) {
- // TODO Auto-generated method stub
- fTest.setName(name);
- }
-
- /* (non-Javadoc)
- * @see junit.framework.TestCase#getName()
- */
- public String getName() {
- // TODO Auto-generated method stub
- return fTest.getName();
- }
-
- /**
- * Answers whether this test should be tagged globally.
- *
- * @return whether this test should be tagged globally
- */
- private boolean shouldGloballyTag() {
- return tagAsGlobalSummary;
- }
-
- /**
- * Answers whether this test should be tagged locally.
- *
- * @return whether this test should be tagged locally
- */
- private boolean shouldLocallyTag() {
- return tagAsSummary;
- }
-
- public void tagIfNecessary(String shortName, Dimension dimension) {
- if (shouldGloballyTag()) {
- tagAsGlobalSummary(shortName, dimension);
- }
- if (shouldLocallyTag()) {
- tagAsSummary(shortName, dimension);
- }
- }
-
- public void tagIfNecessary(String shortName, Dimension [] dimensions) {
- if (shouldGloballyTag()) {
- tagAsGlobalSummary(shortName, dimensions);
- }
- if (shouldLocallyTag()) {
- tagAsSummary(shortName, dimensions);
- }
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformanceTestObject.java b/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformanceTestObject.java
deleted file mode 100644
index 803934ec..00000000
--- a/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/PerformanceTestObject.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Created on Nov 26, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.j2ee.tests.performance;
-
-/**
- * @author Admin
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class PerformanceTestObject {
- int tagging;
- String shortName;
- String name;
- /**
- *
- */
- public PerformanceTestObject(String name,int tagging, String shortname) {
- super();
- this.tagging = tagging;
- this.name = name;
- this.shortName = shortname;
- }
-
- /**
- * @return Returns the name.
- */
- public String getName() {
- return name;
- }
- /**
- * @return Returns the shortName.
- */
- public String getShortName() {
- return shortName;
- }
- /**
- * @return Returns the tagging.
- */
- public int getTagging() {
- return tagging;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/TestCaseSAXParser.java b/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/TestCaseSAXParser.java
deleted file mode 100644
index 3189ea0b..00000000
--- a/tests/org.eclipse.jst.j2ee.tests.performance/common/org/eclipse/jst/j2ee/tests/performance/TestCaseSAXParser.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Created on Nov 29, 2004
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.j2ee.tests.performance;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
-import javax.xml.parsers.SAXParserFactory;
-
-import org.xml.sax.Attributes;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.DefaultHandler;
-
-/**
- * @author Admin
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class TestCaseSAXParser extends DefaultHandler {
- private static Map performanceCases = null;
- private static final String TEST_CASE = "testCase";
- private static final String CLASS = "class";
- private static final String METHOD = "method";
- private static final String SHORT_NAME = "shortName";
- private static final String TAGGING = "tagging";
- private static final String METHOD_NAME = "name";
- private static final String GLOBAL = "GLOBAL";
- private static final String LOCAL = "LOCAL";
- private static Class currentClazz = null;
-
-
-
- public Map doLoad(File file) {
- performanceCases = new HashMap();
- DefaultHandler handler = new TestCaseSAXParser();
- SAXParserFactory factory = SAXParserFactory.newInstance();
- try {
- SAXParser saxParser = factory.newSAXParser();
- saxParser.parse(file , handler );
- }
- catch (ParserConfigurationException ex) {
- System.err.println ("Failed to create SAX parser:" + ex);
- }
- catch (SAXException ex) {
- System.err.println ("SAX parser exceeption:" + ex);
- }
- catch (IOException ex) {
- System.err.println ("IO exeception:" + ex);
- }
- catch (IllegalArgumentException ex) {
- System.err.println ("Invalid file argument" + ex);
- }
- return performanceCases;
- }
-
- public void startElement(String uri, String localName,
- String qualifiedName, Attributes attributes) throws SAXException {
- if (qualifiedName.equals(TEST_CASE)) {
- for (int i = 0; i< attributes.getLength(); i++) {
- if (attributes.getQName(i).equalsIgnoreCase(CLASS)) {
- try {
- currentClazz = loadClass(attributes.getValue(i));
- if (performanceCases.get(currentClazz) == null) {
- ArrayList methodList = new ArrayList();
- performanceCases.put(currentClazz,methodList);
- }
- } catch (ClassNotFoundException e) {
- currentClazz = null;
- System.err.println ("Failed to load class:" + attributes.getValue(i));
- //e.printStackTrace();
- }
- } // end of if
- } // end of for
- } // end of if TEST_CASE
- else if (qualifiedName.equalsIgnoreCase(METHOD)) {
- String methodName = null;
- int tagging = 0;
- String shortName = null;
-
- if (currentClazz == null) return;
-
- for (int i = 0; i< attributes.getLength(); i++) {
- if (attributes.getQName(i).equalsIgnoreCase(METHOD_NAME)) {
- methodName = attributes.getValue(i);
- }
- else if (attributes.getQName(i).equalsIgnoreCase(TAGGING)){
- if (attributes.getValue(i).equalsIgnoreCase(GLOBAL)) {
- tagging = PerformanceTestCaseWrapper.GLOBAL;
- } else if (attributes.getValue(i).equalsIgnoreCase(LOCAL)) {
- tagging = PerformanceTestCaseWrapper.LOCAL;
- } else {
- tagging = PerformanceTestCaseWrapper.NONE;
- }
- } else if(attributes.getQName(i).equalsIgnoreCase(SHORT_NAME)) {
- shortName = attributes.getValue(i);
- }
- } // end of for
- List methodList = (List) performanceCases.get(currentClazz);
- methodList.add(new PerformanceTestObject(methodName,tagging,shortName));
- }
- }
-
- public void endElement(String uri, String localName, String qualifiedName)
- throws SAXException {
- if (qualifiedName.equals(TEST_CASE)) {
- currentClazz = null;
- }
- }
-
- /**
- * Loads the test suite class.
- */
- private Class loadClass(String className) throws ClassNotFoundException {
- if (className == null)
- return null;
- return getClassLoader().loadClass(className);
- }
-
- /**
- * The class loader to be used for loading tests.
- * Subclasses may override to use another class loader.
- */
- protected ClassLoader getClassLoader() {
- return BasePerformanceTestCase.getClassLoader();
- }
-
-}
-
diff --git a/tests/org.eclipse.jst.j2ee.tests.performance/plugin.xml b/tests/org.eclipse.jst.j2ee.tests.performance/plugin.xml
deleted file mode 100644
index 9cb1b6a4..00000000
--- a/tests/org.eclipse.jst.j2ee.tests.performance/plugin.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.jst.j2ee.tests.performance"
- name="Performance Plug-in"
- version="1.0.0"
- provider-name=""
- class="org.eclipse.jst.j2ee.tests.performance.PerformancePlugin">
-
- <runtime>
- <library name="performance.jar">
- <export name="*"/>
- </library>
- </runtime>
-
- <requires>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.test.performance"/>
- <import plugin="org.junit"/>
- <import plugin="org.eclipse.wst.common.tests"/>
- </requires>
-
-</plugin>
diff --git a/tests/org.eclipse.jst.j2ee.tests/.classpath b/tests/org.eclipse.jst.j2ee.tests/.classpath
deleted file mode 100644
index 1e86c26e..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/.classpath
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="j2ee-tests/"/>
- <classpathentry kind="src" path="webmodule-tests/"/>
- <classpathentry kind="src" path="ejbmodule-tests/"/>
- <classpathentry kind="src" path="jcamodule-tests/"/>
- <classpathentry kind="src" path="savestrategy-tests/"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="defect-tests"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/tests/org.eclipse.jst.j2ee.tests/.cvsignore b/tests/org.eclipse.jst.j2ee.tests/.cvsignore
deleted file mode 100644
index 4a8c6e28..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-bin
-build.xml
-temp.folder
-j2ee-tests.jar
diff --git a/tests/org.eclipse.jst.j2ee.tests/.project b/tests/org.eclipse.jst.j2ee.tests/.project
deleted file mode 100644
index ffec9c0b..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.jst.j2ee.tests</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/BeenThere.ear b/tests/org.eclipse.jst.j2ee.tests/DefectTestData/BeenThere.ear
deleted file mode 100644
index ad26fae6..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/BeenThere.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/Collision.ear b/tests/org.eclipse.jst.j2ee.tests/DefectTestData/Collision.ear
deleted file mode 100644
index 9013a12f..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/Collision.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Client.jar b/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Client.jar
deleted file mode 100644
index df661029..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Client.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Connector.rar b/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Connector.rar
deleted file mode 100644
index 59ba234e..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Connector.rar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158EJB.jar b/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158EJB.jar
deleted file mode 100644
index b7d56531..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158EJB.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Util.jar b/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Util.jar
deleted file mode 100644
index 895c31c5..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Util.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Web.war b/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Web.war
deleted file mode 100644
index 0a269393..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/EAR121158Web.war
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/META-INF/MANIFEST.MF b/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/META-INF/MANIFEST.MF
deleted file mode 100644
index 59499bce..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-
diff --git a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/META-INF/application.xml b/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/META-INF/application.xml
deleted file mode 100644
index a801dd9d..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EAR121158.ear/META-INF/application.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
- <display-name>
- EAR121158</display-name>
- <module id="WebModule_1144784925194">
- <web>
- <web-uri>EAR121158Web.war</web-uri>
- <context-root>EAR121158Web</context-root>
- </web>
- </module>
- <module id="EjbModule_1144784925224">
- <ejb>EAR121158EJB.jar</ejb>
- </module>
- <module id="JavaClientModule_1144784925234">
- <java>EAR121158Client.jar</java>
- </module>
- <module id="ConnectorModule_1144784925244">
- <connector>EAR121158Connector.rar</connector>
- </module>
-</application>
diff --git a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EJBLocalAndRemoteRefEARWithClientJars.ear b/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EJBLocalAndRemoteRefEARWithClientJars.ear
deleted file mode 100644
index 129f3851..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/EJBLocalAndRemoteRefEARWithClientJars.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/sib.test.mediations.m5.JsMBR.ear b/tests/org.eclipse.jst.j2ee.tests/DefectTestData/sib.test.mediations.m5.JsMBR.ear
deleted file mode 100644
index fe9776b0..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/DefectTestData/sib.test.mediations.m5.JsMBR.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/.cvsignore b/tests/org.eclipse.jst.j2ee.tests/TestData/.cvsignore
deleted file mode 100644
index d30e719a..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-tempOutput
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/12AppClientTest.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/12AppClientTest.jar
deleted file mode 100644
index 8cce112b..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/12AppClientTest.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/13AppClient.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/13AppClient.jar
deleted file mode 100644
index 79957c4d..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/13AppClient.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/13AppClientTest.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/13AppClientTest.jar
deleted file mode 100644
index f00cf8bf..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/13AppClientTest.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientExpTest.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientExpTest.jar
deleted file mode 100644
index b3c7ede9..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientExpTest.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientNoSource.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientNoSource.jar
deleted file mode 100644
index dbe7dfbf..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientNoSource.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientSomeSource.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientSomeSource.jar
deleted file mode 100644
index def98f6f..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientSomeSource.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientSource.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientSource.jar
deleted file mode 100644
index eaac33ad..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/AppClientTests/AppClientSource.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/BindingsHelperTests/BindingsTestEAR.ear b/tests/org.eclipse.jst.j2ee.tests/TestData/BindingsHelperTests/BindingsTestEAR.ear
deleted file mode 100644
index cbedada1..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/BindingsHelperTests/BindingsTestEAR.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/DefectTests/EJB100441NoClient.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/DefectTests/EJB100441NoClient.jar
deleted file mode 100644
index cb921c68..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/DefectTests/EJB100441NoClient.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/SimpleEAR.ear b/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/SimpleEAR.ear
deleted file mode 100644
index 3bf23c14..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/SimpleEAR.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test12EJBEAR.ear b/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test12EJBEAR.ear
deleted file mode 100644
index e7c8dc9b..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test12EJBEAR.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test12WEBEJBEAR.ear b/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test12WEBEJBEAR.ear
deleted file mode 100644
index c16da2a0..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test12WEBEJBEAR.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test13EJBEAR.ear b/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test13EJBEAR.ear
deleted file mode 100644
index edc7beb1..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test13EJBEAR.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test13WEBEJBEAR.ear b/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test13WEBEJBEAR.ear
deleted file mode 100644
index e932509c..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test13WEBEJBEAR.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14EJBEAR.ear b/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14EJBEAR.ear
deleted file mode 100644
index fd220287..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14EJBEAR.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14WEBEJBEAR.ear b/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14WEBEJBEAR.ear
deleted file mode 100644
index 86cb4930..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14WEBEJBEAR.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14WEBEJBEARWithMetaData.ear b/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14WEBEJBEARWithMetaData.ear
deleted file mode 100644
index 17b981ab..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/Test14WEBEJBEARWithMetaData.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/UtilityJarTestEAR.ear b/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/UtilityJarTestEAR.ear
deleted file mode 100644
index cb831015..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/UtilityJarTestEAR.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/UtilityJarWebLibWithMetaDataFilesEAR.ear b/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/UtilityJarWebLibWithMetaDataFilesEAR.ear
deleted file mode 100644
index 5debb3ba..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EARImportTests/UtilityJarWebLibWithMetaDataFilesEAR.ear
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EJBImportTests/Test13EJB.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/EJBImportTests/Test13EJB.jar
deleted file mode 100644
index be00332e..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EJBImportTests/Test13EJB.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/EJBImportTests/Test14EJB.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/EJBImportTests/Test14EJB.jar
deleted file mode 100644
index f06f7542..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/EJBImportTests/Test14EJB.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/J2EEArtifactEditTestProjects.zip b/tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/J2EEArtifactEditTestProjects.zip
deleted file mode 100644
index b0a4cf3a..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/J2EEArtifactEditTestProjects.zip
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/TEST0_7.zip b/tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/TEST0_7.zip
deleted file mode 100644
index 6935b986..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/TEST0_7.zip
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/perfWAR.zip b/tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/perfWAR.zip
deleted file mode 100644
index 98c4b2a9..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/GenralArtifactTest/perfWAR.zip
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/RARImportTests/JDEConnector.rar b/tests/org.eclipse.jst.j2ee.tests/TestData/RARImportTests/JDEConnector.rar
deleted file mode 100644
index f1fb89d6..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/RARImportTests/JDEConnector.rar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/SaveStrategyTests/AppClient.zip b/tests/org.eclipse.jst.j2ee.tests/TestData/SaveStrategyTests/AppClient.zip
deleted file mode 100644
index 3817287b..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/SaveStrategyTests/AppClient.zip
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/SaveStrategyTests/WarImportFlexProject.zip b/tests/org.eclipse.jst.j2ee.tests/TestData/SaveStrategyTests/WarImportFlexProject.zip
deleted file mode 100644
index eb51480c..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/SaveStrategyTests/WarImportFlexProject.zip
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Example1.war b/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Example1.war
deleted file mode 100644
index 9c30a383..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Example1.war
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test12Web.war b/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test12Web.war
deleted file mode 100644
index ba220b13..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test12Web.war
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test13Web.war b/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test13Web.war
deleted file mode 100644
index 22aa926e..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test13Web.war
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test14Web.war b/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test14Web.war
deleted file mode 100644
index 1eb2a3fb..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/Test14Web.war
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebContainerClientApp.war b/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebContainerClientApp.war
deleted file mode 100644
index 860a2190..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebContainerClientApp.war
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebNoSource.war b/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebNoSource.war
deleted file mode 100644
index a4a75975..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebNoSource.war
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebSomeSource.war b/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebSomeSource.war
deleted file mode 100644
index 533b000d..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebSomeSource.war
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebSource.war b/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebSource.war
deleted file mode 100644
index 6b71a0ea..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/WARImportTests/WebSource.war
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/12AppClientTest_withoutSource.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/12AppClientTest_withoutSource.jar
deleted file mode 100644
index b2d7eed2..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/12AppClientTest_withoutSource.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/13AppClientTest_withoutSource.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/13AppClientTest_withoutSource.jar
deleted file mode 100644
index b07d371f..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/13AppClientTest_withoutSource.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/13AppClient_withoutSource.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/13AppClient_withoutSource.jar
deleted file mode 100644
index 69f4ee49..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/13AppClient_withoutSource.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientExpTest_withoutSource.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientExpTest_withoutSource.jar
deleted file mode 100644
index fb54025b..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientExpTest_withoutSource.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientNoSource_withoutSource.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientNoSource_withoutSource.jar
deleted file mode 100644
index 2b2168cd..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientNoSource_withoutSource.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientSomeSource_withoutSource.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientSomeSource_withoutSource.jar
deleted file mode 100644
index 0348d598..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientSomeSource_withoutSource.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientSource_withoutSource.jar b/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientSource_withoutSource.jar
deleted file mode 100644
index 421f0ddf..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/TestData/testOutput/AppClientSource_withoutSource.jar
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jst.j2ee.tests/about.html b/tests/org.eclipse.jst.j2ee.tests/about.html
deleted file mode 100644
index 4ec59895..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/about.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
-<HTML>
-
-<head>
-<title>About</title>
-<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
-</head>
-
-<BODY lang="EN-US">
-
-<H3>About This Content</H3>
-
-<P>May 2, 2006</P>
-
-<H3>License</H3>
-
-<P>The Eclipse Foundation makes available all content in this plug-in
-("Content"). Unless otherwise indicated below, the Content is provided to you
-under the terms and conditions of the Eclipse Public License Version 1.0
-("EPL"). A copy of the EPL is available at
-<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>.
-For purposes of the EPL, "Program" will mean the Content.</P>
-
-<P>If you did not receive this Content directly from the Eclipse Foundation, the
-Content is being redistributed by another party ("Redistributor") and different
-terms and conditions may apply to your use of any object code in the Content.
-Check the Redistributor’s license that was provided with the Content. If no such
-license exists, contact the Redistributor. Unless otherwise indicated below, the
-terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at
-<A href="http://www.eclipse.org/">http://www.eclipse.org/</A>.</P>
-
-</BODY>
-</HTML>
diff --git a/tests/org.eclipse.jst.j2ee.tests/build.properties b/tests/org.eclipse.jst.j2ee.tests/build.properties
deleted file mode 100644
index 271340f3..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/build.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-source.j2ee-tests.jar = j2ee-tests/,\
- webmodule-tests/,\
- ejbmodule-tests/,\
- jcamodule-tests/,\
- defect-tests/,\
- savestrategy-tests/
-output.j2ee-tests.jar = bin/
-bin.includes = plugin.xml,\
- j2ee-tests.jar,\
- TestData/,\
- test.xml,\
- about.html,\
- DefectTestData/
-src.includes = build.properties,\
- test.xml,\
- plugin.xml,\
- TestData/,\
- DefectTestData/
diff --git a/tests/org.eclipse.jst.j2ee.tests/defect-tests/org/eclipse/jst/j2ee/defect/tests/DefectVerificationTests.java b/tests/org.eclipse.jst.j2ee.tests/defect-tests/org/eclipse/jst/j2ee/defect/tests/DefectVerificationTests.java
deleted file mode 100644
index 66cf797e..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/defect-tests/org/eclipse/jst/j2ee/defect/tests/DefectVerificationTests.java
+++ /dev/null
@@ -1,213 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.defect.tests;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import junit.framework.Assert;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jdt.core.IClasspathContainer;
-import org.eclipse.jdt.core.IClasspathEntry;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jst.j2ee.application.internal.operations.EARComponentExportDataModelProvider;
-import org.eclipse.jst.j2ee.application.internal.operations.EARComponentImportDataModelProvider;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.ModuleFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveOptions;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.RuntimeClasspathEntry;
-import org.eclipse.jst.j2ee.componentcore.util.EARArtifactEdit;
-import org.eclipse.jst.j2ee.datamodel.properties.IEARComponentExportDataModelProperties;
-import org.eclipse.jst.j2ee.datamodel.properties.IEARComponentImportDataModelProperties;
-import org.eclipse.jst.j2ee.internal.web.archive.operations.WebFacetProjectCreationDataModelProvider;
-import org.eclipse.jst.j2ee.web.project.facet.IWebFacetInstallDataModelProperties;
-import org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualFolder;
-import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.tests.OperationTestCase;
-import org.eclipse.wst.common.tests.ProjectUtility;
-import org.eclipse.wtp.j2ee.headless.tests.plugin.HeadlessTestsPlugin;
-
-public class DefectVerificationTests extends OperationTestCase {
-
- public static String getFullTestDataPath(String dataPath) {
- try {
- String defectTestDataPath = "DefectTestData" + fileSep + dataPath;
- HeadlessTestsPlugin plugin = HeadlessTestsPlugin.getDefault();
- if (plugin != null) {
- return ProjectUtility.getFullFileName(plugin, defectTestDataPath);
- }
- return System.getProperty("user.dir") + java.io.File.separatorChar + defectTestDataPath;
- } catch (Exception e) {
- e.printStackTrace();
- }
- return "";
- }
-
-
- /**
- * Test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=120018
- */
- public void test120018() throws Exception {
- IDataModel model = DataModelFactory.createDataModel(new WebFacetProjectCreationDataModelProvider());
- model.setProperty(IWebFacetInstallDataModelProperties.FACET_PROJECT_NAME, "Test120018");
- model.getDefaultOperation().execute(null, null);
-
- IVirtualComponent component = ComponentUtilities.getComponent("Test120018");
-
- IVirtualFolder folder = component.getRootFolder().getFolder("imported_classes");
- folder.create(IResource.NONE, null);
- IPath folderPath = folder.getProjectRelativePath();
-
- final IVirtualFolder jsrc = component.getRootFolder().getFolder("/WEB-INF/classes");
- jsrc.createLink(folder.getProjectRelativePath(), 0, null);
-
- IJavaProject javaProject = JavaCore.create(component.getProject());
- IClasspathEntry[] entries = javaProject.getRawClasspath();
- boolean foundImportedClasses = false;
- for (int i = 0; i < entries.length && !foundImportedClasses; i++) {
- if (IClasspathEntry.CPE_CONTAINER == entries[i].getEntryKind()) {
- IClasspathContainer container = JavaCore.getClasspathContainer(entries[i].getPath(), javaProject);
- IClasspathEntry[] containerEntries = container.getClasspathEntries();
- for (int j = 0; j < containerEntries.length && !foundImportedClasses; j++) {
- IPath entryPath = containerEntries[j].getPath().removeFirstSegments(1);
- foundImportedClasses = folderPath.equals(entryPath);
- }
- }
-
- }
- Assert.assertTrue(foundImportedClasses);
- }
-
- /**
- * Test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=105901
- */
- public void test105901() throws Exception {
- String earFileName = getFullTestDataPath("Collision.ear");
- IDataModel model = DataModelFactory.createDataModel(new EARComponentImportDataModelProvider());
- model.setProperty(IEARComponentImportDataModelProperties.FILE_NAME, earFileName);
- runAndVerify(model);
- IVirtualComponent comp = (IVirtualComponent) model.getProperty(IEARComponentImportDataModelProperties.COMPONENT);
- IVirtualReference[] refs = comp.getReferences();
- assertEquals(3, refs.length);
- }
-
- /**
- * Test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=109430
- */
- public void test109430() throws Exception {
- String earFileName = getFullTestDataPath("EJBLocalAndRemoteRefEARWithClientJars.ear");
- IDataModel model = DataModelFactory.createDataModel(new EARComponentImportDataModelProvider());
- model.setProperty(IEARComponentImportDataModelProperties.FILE_NAME, earFileName);
- List moduleList = (List) model.getProperty(IEARComponentImportDataModelProperties.SELECTED_MODELS_LIST);
-
- List modulesNeeded = new ArrayList();
- for (int i = 0; i < moduleList.size(); i++) {
- IDataModel aModel = (IDataModel) moduleList.get(i);
- Object file = aModel.getProperty(IEARComponentImportDataModelProperties.FILE);
-
- if (file instanceof ModuleFile) {
- ModuleFile moduleFile = (ModuleFile) file;
- if (moduleFile.isEJBJarFile())
- modulesNeeded.add(aModel);
- }
- }
- runAndVerify(model);
- IVirtualComponent component = (IVirtualComponent) model.getProperty(IEARComponentImportDataModelProperties.COMPONENT);
- EARArtifactEdit artifactEdit = EARArtifactEdit.getEARArtifactEditForRead(component);
- EARFile earFile = (EARFile) artifactEdit.asArchive(true);
- earFile.getEJBReferences(true, false);
- artifactEdit.dispose();
- }
-
- /**
- * Test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=112636
- */
- public void test112636() throws Exception {
- checkDeploy("BeenThere.ear");
- }
-
- /**
- * Test for https://bugs.eclipse.org/bugs/show_bug.cgi?id=112835
- */
- public void test112835() throws Exception {
- checkDeploy("sib.test.mediations.m5.JsMBR.ear");
- }
-
- public void test121158() throws Exception {
- String earFileName = getFullTestDataPath("EAR121158.ear"); //$NON-NLS-1$
- EARFile earFile = null;
- try {
- ArchiveOptions opts = new ArchiveOptions();
- opts.setIsReadOnly(true);
- earFile = CommonarchiveFactory.eINSTANCE.openEARFile(opts, earFileName);
-
- List moduleList = earFile.getModuleFiles();
- for (int i = 0; i < moduleList.size(); i++) {
- ModuleFile module = (ModuleFile) moduleList.get(i);
- RuntimeClasspathEntry[] entries = module.getFullRuntimeClassPath();
- assertEquals(2, entries.length);
- assertTrue(entries[0].toString().endsWith(module.getURI()));
- assertTrue(entries[1].toString().endsWith("EAR121158Util.jar")); //$NON-NLS-1$
- }
-
- } finally {
- if (earFile != null && earFile.isOpen()) {
- earFile.close();
- earFile = null;
- }
- }
- }
-
- protected void checkDeploy(String earName) throws Exception {
- String earFileName = getFullTestDataPath(earName);
- IDataModel model = DataModelFactory.createDataModel(new EARComponentImportDataModelProvider());
- model.setProperty(IEARComponentImportDataModelProperties.FILE_NAME, earFileName);
-
- List moduleList = (List) model.getProperty(IEARComponentImportDataModelProperties.SELECTED_MODELS_LIST);
- for (int i = moduleList.size() - 1; i > -1; i--) {
- IDataModel aModel = (IDataModel) moduleList.get(i);
- Object file = aModel.getProperty(IEARComponentImportDataModelProperties.FILE);
- if (file instanceof ModuleFile) {
- ModuleFile moduleFile = (ModuleFile) file;
- if (moduleFile.isWARFile())
- moduleList.remove(aModel);
- }
- }
-
- runAndVerify(model);
- IVirtualComponent comp = (IVirtualComponent) model.getProperty(IEARComponentImportDataModelProperties.COMPONENT);
- EARArtifactEdit earEdit = EARArtifactEdit.getEARArtifactEditForRead(comp);
- EARFile earFile = (EARFile) earEdit.asArchive(false);
- earFile.getEJBReferences(true, true);
- earFile.getEJBReferences(true, false);
- earFile.getEJBReferences(false, true);
- earFile.getEJBReferences(false, false);
-
- Thread.sleep(5000);
-
- String earOutputName = "d:\\temp\\Output" + System.currentTimeMillis() + ".ear";
- IDataModel export = DataModelFactory.createDataModel(new EARComponentExportDataModelProvider());
- export.setProperty(IEARComponentExportDataModelProperties.PROJECT_NAME, comp.getProject().getName());
- export.setProperty(IEARComponentExportDataModelProperties.ARCHIVE_DESTINATION, earOutputName);
- runAndVerify(export);
-
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/defect-tests/org/eclipse/jst/j2ee/defect/tests/DefectVerificationTestsSuite.java b/tests/org.eclipse.jst.j2ee.tests/defect-tests/org/eclipse/jst/j2ee/defect/tests/DefectVerificationTestsSuite.java
deleted file mode 100644
index f0195543..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/defect-tests/org/eclipse/jst/j2ee/defect/tests/DefectVerificationTestsSuite.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.defect.tests;
-
-import org.eclipse.wst.common.tests.SimpleTestSuite;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-public class DefectVerificationTestsSuite extends TestSuite {
-
- public static Test suite() {
- return new DefectVerificationTestsSuite();
- }
-
- public DefectVerificationTestsSuite() {
- super("Defect Verification Tests");
- addTest(new SimpleTestSuite(DefectVerificationTests.class));
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/AllTests.java b/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/AllTests.java
deleted file mode 100644
index c9913234..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/AllTests.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Created on Feb 2, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.ejb.operations;
-
-import org.eclipse.wtp.headless.tests.savestrategy.EJBImportOperationTest;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-/**
- * @author jsholl
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class AllTests extends TestSuite {
-
- public static Test suite(){
- return new AllTests();
- }
-
- public AllTests(){
- super("EJB Tests");
- addTest(EJBExportOperationTest.suite());
- addTest(EJBImportOperationTest.suite());
- addTest(EJBProjectCreationOperationTest.suite());
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/EJBExportOperationTest.java b/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/EJBExportOperationTest.java
deleted file mode 100644
index 1d1552a6..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/EJBExportOperationTest.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*
- * Created on Jan 6, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.ejb.operations;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileImpl;
-import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
-import org.eclipse.jst.j2ee.internal.ejb.project.operations.EJBComponentExportDataModelProvider;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wtp.headless.tests.savestrategy.EJBImportOperationTest;
-import org.eclipse.wtp.headless.tests.savestrategy.ModuleImportOperationTestCase;
-import org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleExportOperationTestCase;
-
-/**
- * @author Administrator
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class EJBExportOperationTest extends ModuleExportOperationTestCase {
-
- public EJBExportOperationTest(String name) {
- super(name);
- }
-
- public static Test suite() {
- return new TestSuite(EJBExportOperationTest.class);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleExportOperationTestCase#getExportModel()
- */
- protected IDataModel getModelInstance() {
- return DataModelFactory.createDataModel(new EJBComponentExportDataModelProvider());
- }
- /* (non-Javadoc)
- * @see org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleExportOperationTestCase#getImportTestCase()
- */
- protected ModuleImportOperationTestCase getImportTestCase() {
- return new EJBImportOperationTest("");
- }
-
- public void testExport(IVirtualComponent component, String filename) throws Exception {
- super.testExport(component,filename);
- //verify ejb dd
- testDDExported(component);
- }
-
- protected void testDDExported(IVirtualComponent component) throws Exception {
- EJBArtifactEdit ejbEdit = null;
- try {
- ejbEdit = EJBArtifactEdit.getEJBArtifactEditForRead(component);
- EJBJarFileImpl archive = (EJBJarFileImpl) ejbEdit.asArchive(true);
- try {
- Resource res = archive.getDeploymentDescriptorResource();
- } catch (Exception e) {
- fail("EJB deployment descriptor is null.");
- }
- } finally {
- if (ejbEdit !=null)
- ejbEdit.dispose();
- }
- }
-
- protected IProject[] getExportableProjects() throws Exception {
- IProject[] projs = super.getExportableProjects();
- List filteredProjs = new ArrayList();
- for (int i = 0; i < projs.length; i++) {
- IProject project = projs[i];
-
- IVirtualComponent comp = ComponentCore.createComponent(project);
- if(J2EEProjectUtilities.isEJBProject(comp.getProject()))
- filteredProjs.add(project);
- }
- return (IProject[]) filteredProjs.toArray(new IProject[filteredProjs.size()]);
-
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/EJBProjectCreationOperationTest.java b/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/EJBProjectCreationOperationTest.java
deleted file mode 100644
index f2b15d7c..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/EJBProjectCreationOperationTest.java
+++ /dev/null
@@ -1,75 +0,0 @@
-
-package org.eclipse.wtp.j2ee.headless.tests.ejb.operations;
-
-import junit.framework.Assert;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jem.util.logger.proxy.Logger;
-import org.eclipse.jst.j2ee.internal.ejb.project.operations.EjbFacetProjectCreationDataModelProvider;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.jst.j2ee.project.facet.IJ2EEModuleFacetInstallDataModelProperties;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties.FacetDataModelMap;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleProjectCreationOperationTest;
-
-public class EJBProjectCreationOperationTest extends ModuleProjectCreationOperationTest {
-
- /**
- * @param name
- */
- public EJBProjectCreationOperationTest(String name) {
- super(name);
- // TODO Auto-generated constructor stub
- }
-
- public static Test suite() {
- return new TestSuite(EJBProjectCreationOperationTest.class);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleProjectCreationOperationTest#getProjectCreationDataModel()
- */
- public IDataModel getComponentCreationDataModel() {
- return DataModelFactory.createDataModel(new EjbFacetProjectCreationDataModelProvider());
- }
-
- public void testFindFilesUtility() {
- IFile file = null;
- IResource eclipseFile = null;
- try {
- testDefaults();
- IProject project = J2EEProjectUtilities.getAllProjectsInWorkspaceOfType(J2EEProjectUtilities.EJB)[0];
- IVirtualComponent comp = ComponentCore.createComponent(project);
- try {
- if (!project.isSynchronized(IResource.DEPTH_INFINITE))
- project.refreshLocal(IResource.DEPTH_INFINITE, null);
- } catch (CoreException e) {
- Logger.getLogger().logError(e);
- }
- eclipseFile = project.findMember(new Path("ejbModule/META-INF/ejb-jar.xml"));
- //file = ComponentUtilities.findFile(comp, new Path("META-INF/ejb-jar.xml")); //$NON-NLS-1$
- file = comp.getRootFolder().getFile(new Path("META-INF/ejb-jar.xml")).getUnderlyingFile(); //$NON-NLS-1$
- } catch (Exception e) {
- e.printStackTrace();
- }
- Assert.assertTrue(eclipseFile != null && file != null && file.exists());
- }
-
- public IDataModel getComponentCreationDataModelWithEar() {
- IDataModel model = DataModelFactory.createDataModel(new EjbFacetProjectCreationDataModelProvider());
- FacetDataModelMap map = (FacetDataModelMap) model.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP);
- IDataModel facetDM = map.getFacetDataModel(J2EEProjectUtilities.EJB);
- facetDM.setBooleanProperty( IJ2EEModuleFacetInstallDataModelProperties.ADD_TO_EAR, true );
- return model;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/StructureEditStressTest.java b/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/StructureEditStressTest.java
deleted file mode 100644
index ef26d313..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/operations/StructureEditStressTest.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * Created on Jan 6, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.ejb.operations;
-
-import java.io.File;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.jst.j2ee.internal.ejb.project.operations.EJBComponentExportDataModelProvider;
-import org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wtp.headless.tests.savestrategy.EJBImportOperationTest;
-import org.eclipse.wtp.headless.tests.savestrategy.ModuleImportOperationTestCase;
-import org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleExportOperationTestCase;
-
-/**
- * @author Administrator
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class StructureEditStressTest extends ModuleExportOperationTestCase {
-
- public StructureEditStressTest(String name) {
- super(name);
- }
-
- public static Test suite() {
- return new TestSuite(StructureEditStressTest.class);
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleExportOperationTestCase#getExportModel()
- */
- protected IDataModel getModelInstance() {
- return DataModelFactory.createDataModel(new EJBComponentExportDataModelProvider());
- }
- /* (non-Javadoc)
- * @see org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleExportOperationTestCase#getImportTestCase()
- */
- protected ModuleImportOperationTestCase getImportTestCase() {
- return new EJBImportOperationTest("");
- }
-
- public void testStress() throws Exception {
- File exportDirectory = new File(TESTS_OUTPUT_PATH);
- if (exportDirectory.isDirectory()) {
- File[] contents = exportDirectory.listFiles();
- for (int i = 0; i < contents.length; i++) {
- if (!contents[i].isDirectory())
- contents[i].delete();
- }
- }
- IProject[] projects = getExportableProjects();
- Job[] testJobs = new Job[500];
- for (int i = 0; i < testJobs.length; i++) {
- Job job = new Job("Stress Job " + i)
- {
-
- protected IStatus run(IProgressMonitor monitor)
- {
- try
- {
- ComponentUtilities.getAllWorkbenchComponents();
- }
- catch (Exception e)
- {
- return Status.CANCEL_STATUS;
- }
- return Status.OK_STATUS;
- }
- };
- testJobs[i] = job;
- }
- for (int j = 0; j < testJobs.length; j++) {
- Job job = testJobs[j];
- job.schedule();
- }
- for (int g = 0; g < 1000000; g++){}
- }
-
- public void testAllExportTestCases() throws Exception {
-
- }
-
- public void testAllWithExportSourceFilesWithoutOverwriteExisting() throws Exception {
-
- }
-
- public void testAllWithExportSourceFilesWithOverwriteExisting() throws Exception {
-
- }
-
- public void testAllWithoutExportSourceFilesWithoutOverwriteExisting() throws Exception {
-
- }
-
- public void testAllWithoutExportSourceFilesWithOverwriteExisting() throws Exception {
-
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBExportDataModelVerifier.java b/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBExportDataModelVerifier.java
deleted file mode 100644
index 0552fba9..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBExportDataModelVerifier.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Created on Jan 5, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.ejb.verifiers;
-
-import org.eclipse.wtp.j2ee.headless.tests.j2ee.verifiers.ModuleExportDataModelVerifier;
-
-/**
- * @author Administrator
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class EJBExportDataModelVerifier extends ModuleExportDataModelVerifier {
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBImportDataModelVerifier.java b/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBImportDataModelVerifier.java
deleted file mode 100644
index 63157192..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBImportDataModelVerifier.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Created on Jan 5, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.ejb.verifiers;
-
-import org.eclipse.wtp.j2ee.headless.tests.j2ee.verifiers.ModuleImportDataModelVerifier;
-
-/**
- * @author Administrator
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class EJBImportDataModelVerifier extends ModuleImportDataModelVerifier {
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBProjectCreationDataModelVerifier.java b/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBProjectCreationDataModelVerifier.java
deleted file mode 100644
index 2cc56148..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/ejbmodule-tests/org/eclipse/wtp/j2ee/headless/tests/ejb/verifiers/EJBProjectCreationDataModelVerifier.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Created on Jan 5, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.ejb.verifiers;
-
-import junit.framework.Assert;
-
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wtp.j2ee.headless.tests.j2ee.verifiers.ModuleProjectCreationDataModelVerifier;
-
-/**
- * @author Administrator
- *
- * To change the template for this generated type comment go to Window -
- * Preferences - Java - Code Generation - Code and Comments
- */
-public class EJBProjectCreationDataModelVerifier extends ModuleProjectCreationDataModelVerifier {
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wtp.j2ee.headless.tests.j2ee.verifiers.ModuleProjectCreationDataModelVerifier#verifyProjectCreationDataModel(com.ibm.etools.application.operations.J2EEProjectCreationDataModel)
- */
- public void verifyProjectCreationDataModel(IDataModel model) {
- Object key = new Object();
- EJBArtifactEdit ejbEdit = null;
-
- try {
- Object dd = null;
- ejbEdit = EJBArtifactEdit.getEJBArtifactEditForRead(ProjectUtilities.getProject(model.getStringProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME)));
- if (ejbEdit != null)
- dd = (EJBJar) ejbEdit.getDeploymentDescriptorRoot();
- Assert.assertNotNull("Deployment Descriptor Null", dd);
- } finally {
- if (ejbEdit != null)
- ejbEdit.dispose();
- }
- // if
- // (dataModel.getBooleanProperty(WebComponentCreationDataModel.ADD_TO_EAR))
- // {
- // IProject earProject =
- // dataModel.getEarComponentCreationDataModel().getTargetProject();
- // EAREditModel ear = null;
- // try {
- // Assert.assertTrue("EAR doesn't exist:", earProject.exists());
- // EARNatureRuntime runtime = EARNatureRuntime.getRuntime(earProject);
- // //EMFWorkbenchContext emfWorkbenchContext =
- // WorkbenchResourceHelper.createEMFContext(earProject, null);
- // ear = (EAREditModel)
- // runtime.getEditModelForRead(IEARNatureConstants.EDIT_MODEL_ID, key);
- // ear.getModuleMapping(dataModel.getTargetProject());
- // //TODO
- // } finally {
- // ear.releaseAccess(key);
- // }
- //
- // }
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/common/annotations/tests/AnnotationProviderTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/common/annotations/tests/AnnotationProviderTest.java
deleted file mode 100644
index 23bc8536..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/common/annotations/tests/AnnotationProviderTest.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.eclipse.jst.common.annotations.tests;
-
-import java.util.List;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-
-import org.eclipse.jst.common.internal.annotations.core.AnnotationsProviderManager;
-import org.eclipse.jst.common.internal.annotations.core.IAnnotationsProvider;
-import org.eclipse.wst.common.tests.SimpleTestSuite;
-
-public class AnnotationProviderTest extends TestCase {
-
- public AnnotationProviderTest() {
- super();
- }
-
- public AnnotationProviderTest(String name) {
- super(name);
- }
-
- public static Test suite() {
- return new SimpleTestSuite(AnnotationProviderTest.class);
- }
-
- public void testAnnotationProviderFramework() throws Exception {
- List providers = AnnotationsProviderManager.INSTANCE.getAnnotationsProviders();
- boolean success = false;
- for (int i=0; i<providers.size(); i++) {
- IAnnotationsProvider provider = (IAnnotationsProvider) providers.get(i);
- provider.isAnnotated(null);
- provider.getPrimaryAnnotatedCompilationUnit(null);
- provider.getPrimaryTagset(null);
- success = true;
- }
- assertTrue(success);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/common/annotations/tests/TestAnnotationProvider.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/common/annotations/tests/TestAnnotationProvider.java
deleted file mode 100644
index 375969a0..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/common/annotations/tests/TestAnnotationProvider.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package org.eclipse.jst.common.annotations.tests;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jst.common.internal.annotations.core.IAnnotationsProvider;
-
-public class TestAnnotationProvider implements IAnnotationsProvider {
-
- public TestAnnotationProvider() {
- super();
- }
-
- public boolean isAnnotated(EObject eObject) {
- return false;
- }
-
- public ICompilationUnit getPrimaryAnnotatedCompilationUnit(EObject eObject) {
- return null;
- }
-
- public String getPrimaryTagset(EObject eObject) {
- return null;
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/BarBindingsHelper.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/BarBindingsHelper.java
deleted file mode 100644
index 5df90150..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/BarBindingsHelper.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.bindingshelper.tests;
-
-public class BarBindingsHelper extends TestBindingsHelper {
-
- public static String getFileName(){
- return "bar.txt"; //$NON-NLS-1$
- }
-
- public String getBindingsFileName() {
- return getFileName();
- }
-
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/BindingsHelperTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/BindingsHelperTest.java
deleted file mode 100644
index 1c69aa57..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/BindingsHelperTest.java
+++ /dev/null
@@ -1,222 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.bindingshelper.tests;
-
-import java.util.List;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.application.internal.operations.EARComponentImportDataModelProvider;
-import org.eclipse.jst.j2ee.common.ResourceEnvRef;
-import org.eclipse.jst.j2ee.common.ResourceRef;
-import org.eclipse.jst.j2ee.common.SecurityRoleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EJBJarFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.WARFile;
-import org.eclipse.jst.j2ee.componentcore.util.EARArtifactEdit;
-import org.eclipse.jst.j2ee.core.internal.bindings.IJNDIBindingsHelper;
-import org.eclipse.jst.j2ee.core.internal.bindings.JNDIBindingsHelperManager;
-import org.eclipse.jst.j2ee.datamodel.properties.IEARComponentImportDataModelProperties;
-import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.Session;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.tests.ProjectUtility;
-import org.eclipse.wtp.j2ee.headless.tests.plugin.HeadlessTestsPlugin;
-
-public class BindingsHelperTest extends TestCase {
-
- public static String fileSep = System.getProperty("file.separator"); //$NON-NLS-1$
-
- public static String getFullTestDataPath(String dataPath) {
- try {
- String defectTestDataPath = "TestData" + fileSep + "BindingsHelperTests" + fileSep + dataPath; //$NON-NLS-1$ //$NON-NLS-2$
- HeadlessTestsPlugin plugin = HeadlessTestsPlugin.getDefault();
- if (plugin != null) {
- return ProjectUtility.getFullFileName(plugin, defectTestDataPath);
- }
- return System.getProperty("user.dir") + java.io.File.separatorChar + defectTestDataPath; //$NON-NLS-1$
- } catch (Exception e) {
- e.printStackTrace();
- }
- return ""; //$NON-NLS-1$
- }
-
- private IProject earProject;
- private IVirtualComponent earComponent;
-
- protected void setUp() throws Exception {
- super.setUp();
- IDataModel model = importEar(getFullTestDataPath("BindingsTestEAR.ear")); //$NON-NLS-1$
- earProject = ProjectUtilities.getProject(model.getStringProperty(IEARComponentImportDataModelProperties.PROJECT_NAME));
- earComponent = ComponentCore.createComponent(earProject);
- }
-
- protected EARFile getEarFile() throws Exception {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- return (EARFile) edit.asArchive(true);
- } finally {
- if (null != edit) {
- edit.dispose();
- }
- }
- }
-
- public static IDataModel importEar(String earPath) throws Exception {
- IDataModel model = DataModelFactory.createDataModel(new EARComponentImportDataModelProvider());
- model.setProperty(IEARComponentImportDataModelProperties.FILE_NAME, earPath);
- model.getDefaultOperation().execute(null, null);
- return model;
- }
-
- protected void tearDown() throws Exception {
- super.tearDown();
- IProject[] projects = ProjectUtilities.getAllProjects();
- for (int i = 0; i < projects.length; i++) {
- projects[i].delete(true, null);
- }
- }
-
- protected String getSourceFileName() {
- return "test.txt"; //$NON-NLS-1$
- }
-
- public void testHelpers() throws Exception {
- // First check the default helper; i.e. no helpers enabled
- IJNDIBindingsHelper[] helpers = checkHelper(null);
- checkBindings(getEarFile(), helpers[0], ""); //$NON-NLS-1$
-
- // Now check fooHelper (barHelper disabled)
- IFile srcFile = earComponent.getRootFolder().getFile(getSourceFileName()).getUnderlyingFile();
- IFile fooFile = earComponent.getRootFolder().getFile(FooBindingsHelper.getFileName()).getUnderlyingFile();
- srcFile.copy(new Path(fooFile.getFullPath().lastSegment()), true, null);
- assertTrue(fooFile.exists());
-
- helpers = checkHelper(FooBindingsHelper.class);
- checkBindings(getEarFile(), helpers[0], FooBindingsHelper.getFileName());
-
- // Now check barHelper (fooHelper disabled)
- fooFile.delete(true, null);
- assertFalse(fooFile.exists());
-
- IFile barFile = earComponent.getRootFolder().getFile(BarBindingsHelper.getFileName()).getUnderlyingFile();
- srcFile.copy(new Path(barFile.getFullPath().lastSegment()), true, null);
- assertTrue(barFile.exists());
-
- helpers = checkHelper(BarBindingsHelper.class);
- checkBindings(getEarFile(), helpers[0], BarBindingsHelper.getFileName());
-
- // Now check both fooHelper and barHelper (both enabled)
- srcFile.copy(new Path(fooFile.getFullPath().lastSegment()), true, null);
- assertTrue(fooFile.exists());
-
- helpers = JNDIBindingsHelperManager.getInstance().getBindingsHelpers(earProject);
- assertEquals(2, helpers.length);
- int fooIndex = (helpers[0].getClass() == FooBindingsHelper.class) ? 0 : 1;
- int barIndex = (fooIndex == 0) ? 1 : 0;
- assertTrue(helpers[fooIndex].getClass() == FooBindingsHelper.class);
- assertTrue(helpers[barIndex].getClass() == BarBindingsHelper.class);
- EARFile earFile = getEarFile();
- IJNDIBindingsHelper[] tempHelpers = JNDIBindingsHelperManager.getInstance().getBindingsHelpers(earFile);
- assertEquals(2, tempHelpers.length);
- assertTrue(helpers[0] == tempHelpers[0]);
- assertTrue(helpers[1] == tempHelpers[1]);
-
- checkBindings(getEarFile(), helpers[fooIndex], FooBindingsHelper.getFileName());
- checkBindings(getEarFile(), helpers[barIndex], BarBindingsHelper.getFileName());
- }
-
- private IJNDIBindingsHelper[] checkHelper(Class clazz) throws Exception {
- IJNDIBindingsHelper[] helpers = JNDIBindingsHelperManager.getInstance().getBindingsHelpers(earProject);
- assertEquals(1, helpers.length);
- if (null != clazz) {
- assertTrue(helpers[0].getClass() == clazz);
- } else {
- assertTrue(helpers[0].getClass() != FooBindingsHelper.class);
- assertTrue(helpers[0].getClass() != BarBindingsHelper.class);
- }
- EARFile earFile = getEarFile();
- IJNDIBindingsHelper[] tempHelpers = JNDIBindingsHelperManager.getInstance().getBindingsHelpers(earFile);
- assertEquals(1, tempHelpers.length);
- assertTrue(helpers[0] == tempHelpers[0]);
- return helpers;
- }
-
- private void checkBindings(EARFile earFile, IJNDIBindingsHelper helper, String prefix) {
- List ejbJarFiles = earFile.getEJBJarFiles();
- EJBJarFile ejbJarFile = (EJBJarFile) ejbJarFiles.get(0);
- EJBJar ejbJar = ejbJarFile.getDeploymentDescriptor();
-
- List cmps = ejbJar.getContainerManagedBeans();
- ContainerManagedEntity cmp = (ContainerManagedEntity) cmps.get(0);
- String jndiName = helper.getJNDIName(cmp);
- String suffix = prefix.length() > 0 ? TestBindingsHelper.EJB : prefix;
- assertEquals(prefix + cmp.getName() + suffix, jndiName);
-
- jndiName = helper.getJNDINameForDefaultDataSource(cmp);
- suffix = prefix.length() > 0 ? TestBindingsHelper.CMP : prefix;
- assertEquals(prefix + ejbJar.getDisplayName() + suffix, jndiName);
-
- List sessions = ejbJar.getSessionBeans();
-
- Session session = (Session) sessions.get(0);
- // TODO
- // List ejbRefs = session.getEjbRefs();
- // EjbRef ejbRef = (EjbRef) ejbRefs.get(0);
-
- List resRefs = session.getResourceRefs();
- ResourceRef resRef = (ResourceRef) resRefs.get(0);
- jndiName = helper.getJNDINameForRef(session, resRef);
- suffix = prefix.length() > 0 ? TestBindingsHelper.EJB_RES_REF : prefix;
- assertEquals(prefix + resRef.getName() + suffix, jndiName);
-
- List resEnvRefs = session.getResourceEnvRefs();
- ResourceEnvRef resEnvRef = (ResourceEnvRef) resEnvRefs.get(0);
- jndiName = helper.getJNDINameForRef(session, resEnvRef);
- suffix = prefix.length() > 0 ? TestBindingsHelper.EJB_RES_ENV_REF : prefix;
- assertEquals(prefix + resEnvRef.getName() + suffix, jndiName);
-
- List securityRoleRefs = session.getSecurityRoleRefs();
- SecurityRoleRef securityRoleRef = (SecurityRoleRef) securityRoleRefs.get(0);
- jndiName = helper.getJNDINameForRef(session, securityRoleRef);
- suffix = prefix.length() > 0 ? TestBindingsHelper.EJB_SEC_ROLE_REF : prefix;
- assertEquals(prefix + securityRoleRef.getName() + suffix, jndiName);
-
- List warFiles = earFile.getWARFiles();
- WARFile warFile = (WARFile) warFiles.get(0);
- WebApp webApp = warFile.getDeploymentDescriptor();
-
- resRefs = webApp.getResourceRefs();
- resRef = (ResourceRef) resRefs.get(0);
- jndiName = helper.getJNDINameForRef(webApp, resRef);
- suffix = prefix.length() > 0 ? TestBindingsHelper.WEB_RES_REF : prefix;
- assertEquals(prefix + resRef.getName() + suffix, jndiName);
-
- resEnvRefs = session.getResourceEnvRefs();
- resEnvRef = (ResourceEnvRef) resEnvRefs.get(0);
- jndiName = helper.getJNDINameForRef(webApp, resEnvRef);
- suffix = prefix.length() > 0 ? TestBindingsHelper.WEB_RES_ENV_REF : prefix;
- assertEquals(prefix + resEnvRef.getName() + suffix, jndiName);
-
- }
-
-
-} \ No newline at end of file
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/FooBindingsHelper.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/FooBindingsHelper.java
deleted file mode 100644
index 59b18d62..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/FooBindingsHelper.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.bindingshelper.tests;
-
-public class FooBindingsHelper extends TestBindingsHelper {
-
- public static String getFileName(){
- return "foo.txt"; //$NON-NLS-1$
- }
-
- public String getBindingsFileName() {
- return getFileName();
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/TestBindingsHelper.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/TestBindingsHelper.java
deleted file mode 100644
index 2b6ecc80..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/bindingshelper/tests/TestBindingsHelper.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.bindingshelper.tests;
-
-import java.io.FileNotFoundException;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.jst.j2ee.common.ResourceEnvRef;
-import org.eclipse.jst.j2ee.common.ResourceRef;
-import org.eclipse.jst.j2ee.common.SecurityRoleRef;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.core.internal.bindings.AbstractJNDIBindingsHelper;
-import org.eclipse.jst.j2ee.ejb.ContainerManagedEntity;
-import org.eclipse.jst.j2ee.ejb.EnterpriseBean;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-public abstract class TestBindingsHelper extends AbstractJNDIBindingsHelper {
-
- public abstract String getBindingsFileName();
-
- public boolean appliesFor(IProject project) {
- IVirtualComponent component = ComponentCore.createComponent(project);
- if (null == component) {
- return false;
- }
- IFile bindingsFile = component.getRootFolder().getFile(getBindingsFileName()).getUnderlyingFile();
- return bindingsFile.exists();
- }
-
- public boolean appliesFor(Archive archive) {
- try {
- archive.getFile(getBindingsFileName());
- return true;
- } catch (FileNotFoundException e) {
- return false;
- }
- }
-
- public static final String OBJ = "obj";//$NON-NLS-1$
- public static final String EJB = "ejb";//$NON-NLS-1$
- public static final String EJB_RES_REF = "ejbResRef";//$NON-NLS-1$
- public static final String EJB_RES_ENV_REF = "ejbResEnvRef";//$NON-NLS-1$
- public static final String EJB_SEC_ROLE_REF = "ejbSecRoleRef";//$NON-NLS-1$
- public static final String WEB_RES_REF = "webResRef";//$NON-NLS-1$
- public static final String WEB_RES_ENV_REF = "webResEnvRef";//$NON-NLS-1$
- public static final String CMP = "cmp";//$NON-NLS-1$
-
- public String getJNDIName(Object object) {
- return getBindingsFileName() + super.getJNDIName(object) + OBJ;
- }
-
- public String getJNDIName(EnterpriseBean bean) {
- return getBindingsFileName() + super.getJNDIName(bean) + EJB;
- }
-
- public String getJNDINameForRef(EnterpriseBean bean, ResourceRef resourceRef) {
- return getBindingsFileName() + super.getJNDINameForRef(bean, resourceRef) + EJB_RES_REF;
- }
-
- public String getJNDINameForRef(EnterpriseBean bean, ResourceEnvRef resourceEnvRef) {
- return getBindingsFileName() + super.getJNDINameForRef(bean, resourceEnvRef) + EJB_RES_ENV_REF;
- }
-
- public String getJNDINameForRef(EnterpriseBean bean, SecurityRoleRef securityRoleRef) {
- return getBindingsFileName() + super.getJNDINameForRef(bean, securityRoleRef) + EJB_SEC_ROLE_REF;
- }
-
- public String getJNDINameForRef(WebApp webApp, ResourceRef resourceRef) {
- return getBindingsFileName() + super.getJNDINameForRef(webApp, resourceRef) + WEB_RES_REF;
- }
-
- public String getJNDINameForRef(WebApp webApp, ResourceEnvRef resourceEnvRef) {
- return getBindingsFileName() + super.getJNDINameForRef(webApp, resourceEnvRef) + WEB_RES_ENV_REF;
- }
-
- public String getJNDINameForDefaultDataSource(ContainerManagedEntity bean) {
- return getBindingsFileName() + super.getJNDINameForDefaultDataSource(bean) + CMP;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/AppClientArtifactEditFVTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/AppClientArtifactEditFVTest.java
deleted file mode 100644
index 737fdeae..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/AppClientArtifactEditFVTest.java
+++ /dev/null
@@ -1,110 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import java.io.File;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jst.j2ee.applicationclient.componentcore.util.AppClientArtifactEdit;
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.wst.common.componentcore.internal.ComponentResource;
-import org.eclipse.wst.common.componentcore.internal.ComponentcoreFactory;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelEvent;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelListener;
-
-public class AppClientArtifactEditFVTest extends TestCase {
-
- private IProject appClientProject;
- private String appClientModuleName;
-
-
- public AppClientArtifactEditFVTest() {
- super();
- if (TestWorkspace.init()) {
- appClientProject = TestWorkspace.getTargetProject(TestWorkspace.APP_CLIENT_PROJECT_NAME);
- appClientModuleName = TestWorkspace.APP_CLIENT_MODULE_NAME;
- } else {
- fail();
-
- }
- }
-
- public void testCreationDisposeFunction() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForWrite(appClientProject);
- edit.addListener(new EditModelListener() {
-
- public void editModelChanged(EditModelEvent anEvent) {
- pass();
-
- }
- });
- ApplicationClient client = edit.getApplicationClient();
- updateClient(client);
- edit.save(new NullProgressMonitor());
-
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private void updateClient(ApplicationClient client) {
- client.setDescription(TestWorkspace.FVT_DESCRIPTION);
- client.setDisplayName(TestWorkspace.FVT_DISPLAY_NAME);
- client.setLargeIcon(TestWorkspace.FVT_LARGE_ICON);
-
- }
-
- private void pass() {
- assertTrue(true);
- }
-
- public void testPersistenceFunction() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForWrite(appClientProject);
- ApplicationClient appClient = edit.getApplicationClient();
- pass(appClient);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private static void pass(ApplicationClient appClient) {
- boolean pass = appClient.getDescription().equals(TestWorkspace.FVT_DESCRIPTION) && appClient.getDisplayName().equals(TestWorkspace.FVT_DISPLAY_NAME) && appClient.getLargeIcon().equals(TestWorkspace.FVT_LARGE_ICON);
- assertTrue(pass);
- }
-
- private void validateResource() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForWrite(appClientProject);
- //EList resourceList = wbComponent.getResources();
- //for (Iterator iter = resourceList.iterator(); iter.hasNext();) {
- //}
- } finally {
- if (edit != null) {
- edit.dispose();
- }
-
- }
- }
-
- private ComponentResource createResourceComponent() {
- ComponentResource resourceComponent = ComponentcoreFactory.eINSTANCE.createComponentResource();
- File testFile = TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH.toFile();
- if (testFile.exists()) {
- resourceComponent.setRuntimePath(TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH);
- resourceComponent.setSourcePath(TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH);
- } else {
- fail("Missing: TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH");
- }
- return resourceComponent;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/AppClientArtifactEditTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/AppClientArtifactEditTest.java
deleted file mode 100644
index eb4baa2d..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/AppClientArtifactEditTest.java
+++ /dev/null
@@ -1,580 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.applicationclient.componentcore.util.AppClientArtifactEdit;
-import org.eclipse.jst.j2ee.internal.common.XMLResource;
-import org.eclipse.wst.common.componentcore.ArtifactEdit;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.internal.ArtifactEditModel;
-import org.eclipse.wst.common.componentcore.internal.StructureEdit;
-import org.eclipse.wst.common.componentcore.internal.WorkbenchComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.frameworks.internal.operations.IOperationHandler;
-import org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelEvent;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelListener;
-
-public class AppClientArtifactEditTest extends TestCase {
- private IProject appClientProject;
- private String appClientModuleName;
- public static final String EDIT_MODEL_ID = "jst.app_client"; //$NON-NLS-1$
- private AppClientArtifactEdit artifactEditForRead;
- private ArtifactEditModel artifactEditModelForRead;
- private EditModelListener emListener;
-
-
-
- public class ApplicationArtifactTestSub extends AppClientArtifactEdit {
-
- public ApplicationArtifactTestSub(ArtifactEditModel anArtifactEditModel) {
- super(anArtifactEditModel);
- }
-
- protected void addAppClientIfNecessary(XMLResource aResource) {
- super.addAppClientIfNecessary(aResource);
- }
- }
-
- public void testAddCleint() {
- new ApplicationArtifactTestSub(null);
-
- }
-
- private IOperationHandler handler = new IOperationHandler() {
-
-
- public boolean canContinue(String message) {
- return false;
- }
-
-
- public boolean canContinue(String message, String[] items) {
-
- return false;
- }
-
- public int canContinueWithAllCheck(String message) {
-
- return 0;
- }
-
- public int canContinueWithAllCheckAllowCancel(String message) {
-
- return 0;
- }
-
- public void error(String message) {
-
-
- }
-
- public void inform(String message) {
-
-
- }
-
-
- public Object getContext() {
-
- return null;
- }
- };
-
-
-
- public AppClientArtifactEditTest() {
- super();
-
- if (TestWorkspace.init()) {
- appClientProject = TestWorkspace.getTargetProject(TestWorkspace.APP_CLIENT_PROJECT_NAME);
- appClientModuleName = TestWorkspace.APP_CLIENT_MODULE_NAME;
- } else {
- fail();
-
- }
- }
-
- public void testGetJ2EEVersion() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- int version = edit.getJ2EEVersion();
- Integer integer = new Integer(version);
- assertTrue(integer.equals(TestWorkspace.APP_CLIENT_PROJECT_VERSION));
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
-
-
- public void testGetDeploymentDescriptorResource() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- String uri = edit.getDeploymentDescriptorResource().getURI().toString();
- assertTrue(uri.equals(TestWorkspace.APP_CLIENT_DD_RESOURCE_URI));
-
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetDeploymentDescriptorRoot() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- EObject object = edit.getDeploymentDescriptorRoot();
- assertNotNull(object);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
-
- public void testCreateModelRoot() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- EObject object = edit.createModelRoot();
- assertNotNull(object);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testCreateModelRootint() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- EObject object = edit.createModelRoot(14);
- assertNotNull(object);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testAppClientArtifactEditComponentHandleboolean() {
- AppClientArtifactEdit edit = null;
- try {
- edit = new AppClientArtifactEdit(appClientProject, true);
- assertNotNull(edit);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- /*
- * Class under test for void AppClientArtifactEdit(ArtifactEditModel)
- */
- public void testAppClientArtifactEditArtifactEditModel() {
- AppClientArtifactEdit edit = new AppClientArtifactEdit(getArtifactEditModelforRead());
- assertNotNull(edit);
- edit.dispose();
- }
-
- // /////////////////BUG//////////////
-
- public void testGetApplicationClientXmiResource() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- String uri = edit.getApplicationClientXmiResource().getURI().toString();
- // THIS IS A BUG\\ - commmenting out as suggested by DW
- boolean testURI = uri.equals(TestWorkspace.APP_CLIENT_DD_XMI_RESOURCE_URI);
- // assertTrue(uri.equals(TestWorkspace.APP_CLIENT_DD_XMI_RESOURCE_URI));
- } catch (Exception e) {
- // TODO
- }
-
- finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- public void testAddAppClientIfNecessary() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- Resource resource = edit.getDeploymentDescriptorResource();
- AppClientArtifactEdit edit2 = new AppClientArtifactEdit(getArtifactEditModelforRead()) {
- protected void addAppClientIfNecessary(XMLResource aResource) {
- super.addAppClientIfNecessary(aResource);
- }
- };
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- pass(); // protected - not sure if needed
- }
-
- public void testCreateNewModule() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- Module module = edit.createNewModule();
- assertNotNull(module);
-
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetApplicationClient() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- EObject obj = edit.getApplicationClient();
- assertNotNull(obj);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetAppClientArtifactEditForReadComponentHandle() {
- StructureEdit moduleCore = null;
- AppClientArtifactEdit edit = null;
- try {
- moduleCore = StructureEdit.getStructureEditForRead(appClientProject);
- WorkbenchComponent wbComponent = moduleCore.getComponent();
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- assertTrue(edit != null);
-
- } finally {
- if (moduleCore != null) {
- moduleCore.dispose();
- edit.dispose();
- }
-
- }
- }
-
-
- public void testGetAppClientArtifactEditForWriteComponentHandle() {
- StructureEdit moduleCore = null;
- AppClientArtifactEdit edit = null;
- try {
- moduleCore = StructureEdit.getStructureEditForWrite(appClientProject);
- WorkbenchComponent wbComponent = moduleCore.getComponent();
- edit = AppClientArtifactEdit.getAppClientArtifactEditForWrite(appClientProject);
-
- } finally {
- if (moduleCore != null) {
- moduleCore.dispose();
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
-
- public void testGetAppClientArtifactEditForReadWorkbenchComponent() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- assertTrue(edit != null);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetAppClientArtifactEditForWriteWorkbenchComponent() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForWrite(appClientProject);
- assertTrue(edit != null);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testIsValidApplicationClientModule() {
- IVirtualComponent component = ComponentCore.createComponent(appClientProject, appClientModuleName);
- assertTrue(ArtifactEdit.isValidEditableModule(component));
- }
-
- public void testSave() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForWrite(appClientProject);
- try {
- edit.save(new NullProgressMonitor());
- } catch (Exception e) {
- fail(e.getMessage());
- }
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- assertTrue(true);
- }
-
- public void testSaveIfNecessary() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForWrite(appClientProject);
- try {
- edit.saveIfNecessary(new NullProgressMonitor());
- } catch (Exception e) {
- fail(e.getMessage());
- }
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- assertTrue(true);
- }
-
- public void testSaveIfNecessaryWithPrompt() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForWrite(appClientProject);
- try {
- edit.saveIfNecessaryWithPrompt(new NullProgressMonitor(), handler, true);
- } catch (Exception e) {
- fail(e.getMessage());
- }
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- pass();
- }
- }
-
- public void testDispose() {
- AppClientArtifactEdit edit;
- try {
- edit = new AppClientArtifactEdit(getArtifactEditModelforRead());
- edit.dispose();
- } catch (Exception e) {
- fail(e.getMessage());
- }
- pass();
- }
-
- // //////////BUG////////////////
-
- public void testGetContentModelRoot() {
- AppClientArtifactEdit edit = null;
- try {
- edit = AppClientArtifactEdit.getAppClientArtifactEditForRead(appClientProject);
- // THIS IS A BUG\\ - commmenting out as suggested by DW
- Object object = edit.getContentModelRoot();
- // assertNotNull(object);
- pass();
- } catch (Exception e) {
- e.printStackTrace();
- // fail(e.getMessage());
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testAddListener() {
- AppClientArtifactEdit edit = getArtifactEditForRead();
- try {
- edit.addListener(getEmListener());
- } catch (Exception e) {
- fail(e.getMessage());
- }
- pass();
- edit.dispose();
- }
-
- public EditModelListener getEmListener() {
- if (emListener == null)
- emListener = new EditModelListener() {
- public void editModelChanged(EditModelEvent anEvent) {
- //Default
- }
- };
- return emListener;
- }
-
- public void testRemoveListener() {
- AppClientArtifactEdit edit = getArtifactEditForRead();
- try {
- edit.removeListener(getEmListener());
- } catch (Exception e) {
- fail(e.getMessage());
- }
- edit.dispose();
- pass();
- }
-
- public void testHasEditModel() {
- AppClientArtifactEdit edit = getArtifactEditForRead();
- assertTrue(edit.hasEditModel(artifactEditModelForRead));
- edit.dispose();
- }
-
- public void testGetArtifactEditModel() {
- AppClientArtifactEdit edit = getArtifactEditForRead();
- assertTrue(edit.hasEditModel(artifactEditModelForRead));
- edit.dispose();
- }
-
- public void testObject() {
- pass();
- }
-
- public void testGetClass() {
- AppClientArtifactEdit edit = getArtifactEditForRead();
- assertNotNull(edit.getClass());
- edit.dispose();
- }
-
- public void testHashCode() {
- AppClientArtifactEdit edit = getArtifactEditForRead();
- int y = -999999999;
- int x = edit.hashCode();
- assertTrue(x != y);
- edit.dispose();
- }
-
- public void testEquals() {
- AppClientArtifactEdit edit = getArtifactEditForRead();
- assertTrue(getArtifactEditForRead().equals(artifactEditForRead));
- edit.dispose();
- }
-
- public void testClone() {
- pass();
- }
-
- public void testToString() {
- AppClientArtifactEdit edit = getArtifactEditForRead();
- assertTrue(getArtifactEditForRead().toString() != null);
- edit.dispose();
- }
-
- public void testNotify() {
- try {
- synchronized (getArtifactEditForRead()) {
- artifactEditForRead.notify();
- }
- } catch (Exception e) {
- fail(e.getMessage());
- }
- artifactEditForRead.dispose();
- pass();
- }
-
- public void testNotifyAll() {
- try {
- synchronized (getArtifactEditForRead()) {
- artifactEditForRead.notifyAll();
- }
- } catch (Exception e) {
- fail(e.getMessage());
- } finally {
- artifactEditForRead.dispose();
- }
- pass();
- }
-
-
- public void testWaitlong() {
- long x = 2;
- try {
- synchronized (getArtifactEditForRead()) {
- getArtifactEditForRead().wait(x);
- }
- } catch (Exception e) {
- // fail(e.getMessage());
- } finally {
- artifactEditForRead.dispose();
- }
- pass();
- }
-
-
- public void testWaitlongint() {
- int x = 2;
- try {
- synchronized (getArtifactEditForRead()) {
- getArtifactEditForRead().wait(x);
- }
- } catch (Exception e) {
- // fail(e.getMessage());
- } finally {
- artifactEditForRead.dispose();
- }
- pass();
- }
-
-
- public void testWait() {
- try {
- synchronized (getArtifactEditForRead()) {
- getArtifactEditForRead().wait();
- }
- } catch (Exception e) {
- // fail(e.getMessage());
- } finally {
- artifactEditForRead.dispose();
- }
- pass();
-
- }
-
- public void testFinalize() {
- pass();
- }
-
- public void pass() {
- assertTrue(true);
- }
-
- public ArtifactEditModel getArtifactEditModelforRead() {
- EMFWorkbenchContext context = new EMFWorkbenchContext(appClientProject);
- artifactEditModelForRead = new ArtifactEditModel(EDIT_MODEL_ID, context, true, TestWorkspace.APP_CLIENT_MODULE_URI);
- return artifactEditModelForRead;
- }
-
-
-
- public AppClientArtifactEdit getArtifactEditForRead() {
- artifactEditForRead = new AppClientArtifactEdit(getArtifactEditModelforRead());
- return artifactEditForRead;
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/ConnectorArtifactEditFVTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/ConnectorArtifactEditFVTest.java
deleted file mode 100644
index c0bee8af..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/ConnectorArtifactEditFVTest.java
+++ /dev/null
@@ -1,113 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import java.io.File;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.jst.j2ee.jca.Connector;
-import org.eclipse.jst.j2ee.jca.modulecore.util.ConnectorArtifactEdit;
-import org.eclipse.wst.common.componentcore.internal.ComponentResource;
-import org.eclipse.wst.common.componentcore.internal.ComponentcoreFactory;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelEvent;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelListener;
-
-public class ConnectorArtifactEditFVTest extends TestCase {
- private IProject jcaProject;
- private String jcaModuleName;
-
-
- public ConnectorArtifactEditFVTest() {
- super();
-
- if (TestWorkspace.init()) {
- jcaProject = TestWorkspace.getTargetProject(TestWorkspace.JCA_PROJECT_NAME);
- jcaModuleName = TestWorkspace.JCA_MODULE_NAME;
- } else {
- fail();
-
- }
-
- }
-
- public void testCreationDisposeFunction() {
- ConnectorArtifactEdit edit = null;
- try {
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForWrite(jcaProject);
- edit.addListener(new EditModelListener() {
- public void editModelChanged(EditModelEvent anEvent) {
- pass();
- }
- });
- Connector client = edit.getConnector();
- updateClient(client);
- edit.save(new NullProgressMonitor());
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private void updateClient(Connector client) {
- client.setDescription(TestWorkspace.FVT_DESCRIPTION);
- client.setDisplayName(TestWorkspace.FVT_DISPLAY_NAME);
- client.setLargeIcon(TestWorkspace.FVT_LARGE_ICON);
-
- }
- private static void pass(Connector client) {
- boolean pass = client.getDescription().equals(TestWorkspace.FVT_DESCRIPTION) && client.getDisplayName().equals(TestWorkspace.FVT_DISPLAY_NAME) && client.getLargeIcon().equals(TestWorkspace.FVT_LARGE_ICON);
- assertTrue(pass);
- }
-
- private void pass() {
- assertTrue(true);
- }
-
- public void testPersistenceFunction() {
- ConnectorArtifactEdit edit = null;
- try {
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForWrite(jcaProject);
- Connector jca = edit.getConnector();
- pass(jca);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private static void pass(ApplicationClient jca) {
- boolean pass = jca.getDescription().equals(TestWorkspace.FVT_DESCRIPTION) && jca.getDisplayName().equals(TestWorkspace.FVT_DISPLAY_NAME) && jca.getLargeIcon().equals(TestWorkspace.FVT_LARGE_ICON);
- assertTrue(pass);
- }
-
- private void validateResource() {
- ConnectorArtifactEdit edit = null;
- try {
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForWrite(jcaProject);
-// EList resourceList = wbComponent.getResources();
-// for (Iterator iter = resourceList.iterator(); iter.hasNext();) {
-// }
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private ComponentResource createResourceComponent() {
- ComponentResource resourceComponent = ComponentcoreFactory.eINSTANCE.createComponentResource();
- File testFile = TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH.toFile();
- if (testFile.exists()) {
- resourceComponent.setRuntimePath(TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH);
- resourceComponent.setSourcePath(TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH);
- } else {
- fail("Missing: TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH");
- }
- return resourceComponent;
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/ConnectorArtifactEditTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/ConnectorArtifactEditTest.java
deleted file mode 100644
index 3cf9749c..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/ConnectorArtifactEditTest.java
+++ /dev/null
@@ -1,243 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.jst.j2ee.jca.modulecore.util.ConnectorArtifactEdit;
-import org.eclipse.wst.common.componentcore.ArtifactEdit;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.internal.ArtifactEditModel;
-import org.eclipse.wst.common.componentcore.internal.StructureEdit;
-import org.eclipse.wst.common.componentcore.internal.WorkbenchComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext;
-
-public class ConnectorArtifactEditTest extends TestCase {
-
- private IProject jcaProject;
- private String jcaModuleName;
-
-
- public ConnectorArtifactEditTest() {
- super();
-
- if (TestWorkspace.init()) {
- jcaProject = TestWorkspace.getTargetProject(TestWorkspace.JCA_PROJECT_NAME);
- jcaModuleName = TestWorkspace.JCA_MODULE_NAME;
- } else {
- fail();
-
- }
- }
-
- public void testGetJ2EEVersion() {
- IVirtualComponent vc = ComponentCore.createComponent(jcaProject);
- assertTrue(J2EEProjectUtilities.getJ2EEProjectVersion(vc.getProject()).equals(TestWorkspace.JCA_PROJECT_VERSION));
- }
-
- public void testGetDeploymentDescriptorResource() {
- ConnectorArtifactEdit edit = null;
- try {
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForRead(jcaProject);
- String uri = edit.getDeploymentDescriptorResource().getURI().toString();
- assertTrue(uri.equals(TestWorkspace.JCA_DD_RESOURCE_URI));
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
-
- public void testCreateModelRoot() {
- ConnectorArtifactEdit edit = null;
- try {
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForWrite(jcaProject);
- EObject object = edit.createModelRoot();
- assertNotNull(object);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
-
- public void testCreateModelRootint() {
- ConnectorArtifactEdit edit = null;
- try {
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForRead(jcaProject);
- EObject object = edit.createModelRoot(14);
- assertNotNull(object);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
-
- public void testConnectorArtifactEditComponentHandleboolean() {
- StructureEdit moduleCore = null;
- WorkbenchComponent wbComponent = null;
- ConnectorArtifactEdit edit = null;
- try {
- moduleCore = StructureEdit.getStructureEditForWrite(jcaProject);
- wbComponent = moduleCore.getComponent();
- edit = new ConnectorArtifactEdit(jcaProject, true);
- assertNotNull(edit);
- } finally {
- if (moduleCore != null) {
- moduleCore.dispose();
- edit.dispose();
- }
- }
-
- }
-
- public void testConnectorArtifactEditArtifactEditModel() {
- ConnectorArtifactEdit edit = new ConnectorArtifactEdit(getArtifactEditModelforRead());
- assertNotNull(edit);
- edit.dispose();
- }
-
-
- public void testGetConnectorArtifactEditForReadComponentHandle() {
- StructureEdit moduleCore = null;
- ConnectorArtifactEdit edit = null;
- try {
- moduleCore = StructureEdit.getStructureEditForRead(jcaProject);
- WorkbenchComponent wbComponent = moduleCore.getComponent();
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForRead(jcaProject);
- assertTrue(edit != null);
-
- } finally {
- if (moduleCore != null) {
- moduleCore.dispose();
- edit.dispose();
- }
-
- }
- }
-
-
- public void testGetConnectorArtifactEditForWriteComponentHandle() {
- StructureEdit moduleCore = null;
- ConnectorArtifactEdit edit = null;
- try {
- moduleCore = StructureEdit.getStructureEditForWrite(jcaProject);
- WorkbenchComponent wbComponent = moduleCore.getComponent();
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForWrite(jcaProject);
-
- } finally {
- if (moduleCore != null) {
- moduleCore.dispose();
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
-
- public void testGetConnectorArtifactEditForReadWorkbenchComponent() {
- ConnectorArtifactEdit edit = null;
- try {
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForRead(jcaProject);
- assertTrue(edit != null);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetConnectorArtifactEditForWriteWorkbenchComponent() {
- ConnectorArtifactEdit edit = null;
- try {
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForWrite(jcaProject);
- assertTrue(edit != null);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testIsValidConnectorModule() {
- IVirtualComponent component = ComponentCore.createComponent(jcaProject);
- assertTrue(ArtifactEdit.isValidEditableModule(component));
- }
-
- public void testGetConnectorXmiResource() {
- ConnectorArtifactEdit edit = null;
- try {
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForRead(jcaProject);
- String uri = edit.getDeploymentDescriptorResource().getURI().toString();
- assertTrue(uri.equals(TestWorkspace.JCA_DD_RESOURCE_URI));
-
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
-
- public void testAddApplicationIfNecessary() {
- pass(); // protected method
- }
-
- public void pass() {
- assertTrue(true);
- }
-
- public ArtifactEditModel getArtifactEditModelforRead() {
- EMFWorkbenchContext context = new EMFWorkbenchContext(jcaProject);
- return new ArtifactEditModel(this.toString(), context, true, TestWorkspace.JCA_MODULE_URI);
- }
-
-
-
- public ConnectorArtifactEdit getArtifactEditForRead() {
- return new ConnectorArtifactEdit(getArtifactEditModelforRead());
- }
-
-
-
- public void testGetDeploymentDescriptorRoot() {
- ConnectorArtifactEdit edit = null;
- try {
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForRead(jcaProject);
- Object obj = edit.getDeploymentDescriptorRoot();
- assertNotNull(obj);
-
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testAddConnectorIfNecessary() {
- pass(); // protected method need to get clarification
- }
-
-
-
- public void testGetConnector() {
- ConnectorArtifactEdit edit = null;
- try {
- edit = ConnectorArtifactEdit.getConnectorArtifactEditForRead(jcaProject);
- Object obj = edit.getConnector();
- assertNotNull(obj);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EARArtifactEditTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EARArtifactEditTest.java
deleted file mode 100644
index 20fb53d0..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EARArtifactEditTest.java
+++ /dev/null
@@ -1,338 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jst.j2ee.componentcore.util.EARArtifactEdit;
-import org.eclipse.wst.common.componentcore.ArtifactEdit;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.UnresolveableURIException;
-import org.eclipse.wst.common.componentcore.internal.ArtifactEditModel;
-import org.eclipse.wst.common.componentcore.internal.StructureEdit;
-import org.eclipse.wst.common.componentcore.internal.WorkbenchComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
-import org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext;
-
-public class EARArtifactEditTest extends TestCase {
-
- private IProject earProject;
- private String earModuleName;
-
- public EARArtifactEditTest() {
- super();
-
- if (TestWorkspace.init()) {
- earProject = TestWorkspace.getTargetProject(TestWorkspace.EAR_PROJECT_NAME);
- earModuleName = TestWorkspace.EAR_MODULE_NAME;
- } else {
- fail();
-
- }
- }
-
- public void testGetJ2EEVersion() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- int version = edit.getJ2EEVersion();
- Integer integer = new Integer(version);
- assertTrue(integer.equals(TestWorkspace.EAR_PROJECT_VERSION));
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetJ2EEModuleReferences() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- IVirtualReference[] j2eeModuleRefs = edit.getJ2EEModuleReferences();
- assertTrue(j2eeModuleRefs.length>0);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetDeploymentDescriptorResource() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- String uri = edit.getDeploymentDescriptorResource().getURI().toString();
- assertTrue(uri.equals(TestWorkspace.EAR_DD_RESOURCE_URI));
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- public void testCreateModelRoot() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForWrite(earProject);
- EObject object = edit.createModelRoot();
- assertNotNull(object);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
-
- public void testCreateModelRootint() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- EObject object = edit.createModelRoot(14);
- assertNotNull(object);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
-
- public void testEARArtifactEditComponentHandleboolean() {
- StructureEdit moduleCore = null;
- WorkbenchComponent wbComponent = null;
- EARArtifactEdit edit = null;
- try {
- moduleCore = StructureEdit.getStructureEditForWrite(earProject);
- wbComponent = moduleCore.getComponent();
- edit = new EARArtifactEdit(earProject, true);
- assertNotNull(edit);
- } finally {
- if (moduleCore != null) {
- moduleCore.dispose();
- edit.dispose();
- }
- }
-
- }
-
- public void testEARArtifactEditArtifactEditModel() {
- EARArtifactEdit edit = new EARArtifactEdit(getArtifactEditModelforRead());
- assertNotNull(edit);
- edit.dispose();
- }
-
-
- public void testGetEARArtifactEditForReadComponentHandle() {
- StructureEdit moduleCore = null;
- EARArtifactEdit edit = null;
- try {
- moduleCore = StructureEdit.getStructureEditForRead(earProject);
- WorkbenchComponent wbComponent = moduleCore.getComponent();
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- assertTrue(edit != null);
-
- } finally {
- if (moduleCore != null) {
- moduleCore.dispose();
- edit.dispose();
- }
-
- }
- }
-
-
- public void testGetEARArtifactEditForWriteComponentHandle() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForWrite(earProject);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
-
- public void testGetEARArtifactEditForReadWorkbenchComponent() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- assertTrue(edit != null);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
-
- public void testGetEARArtifactEditForWriteWorkbenchComponent() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForWrite(earProject);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- public void testIsValidEARModule() {
- IVirtualComponent component = null;
- try {
- component = ComponentCore.createComponent(earProject, earModuleName);
- EARArtifactEdit.isValidEARModule(component);
- } catch (UnresolveableURIException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- boolean isValid = ArtifactEdit.isValidEditableModule(component);
- assertTrue(isValid);
- }
-
- public void testIsValidEAREditableModule() {
- IVirtualComponent component = null;
- try {
- component = ComponentCore.createComponent(earProject, earModuleName);
- EARArtifactEdit.isValidEARModule(component);
- } catch (UnresolveableURIException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- boolean isValid = ArtifactEdit.isValidEditableModule(component);
- assertTrue(isValid);
- }
-
- public void testGetApplicationXmiResource() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- String uri = edit.getApplicationXmiResource().getURI().toString();
- assertTrue(uri.equals(TestWorkspace.EAR_DD_RESOURCE_URI));
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
-
- }
- }
-
- public void testGetApplication() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- edit.createModelRoot();
- EObject obj = edit.getApplication();
- assertNotNull(obj);
-
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
-
- }
- }
-
- public void testAddApplicationIfNecessary() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
-
- // /Bug
- /*
- * assertTrue(edit.uriExists(TestWorkspace.EJB_MODULE_URI.toString()));
- */
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- pass(); // protected method
- }
-
- // ///////////////BUG Workbench Module not initalized\\\\\\\\\\\\\\\\\\\\\\
- public void testUriExists() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- boolean uriExist = edit.uriExists(TestWorkspace.EJB_MODULE_URI.toString());
- // /Bug
- /*
- * assertTrue(edit.uriExists(TestWorkspace.EJB_MODULE_URI.toString()));
- */
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- // ///////////////////BUG ClassCastException \\\\\\\\\\\\\\\\\\\\
-
- public void testGetWorkbenchUtilModules() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- edit.getUtilityModuleReferences();
- // //////////////classcast exception
- /*
- * assertNotNull(edit.getWorkbenchUtilModules(wbComponent));
- */
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- // ///////////////////BUG ClassCastException \\\\\\\\\\\\\\\\\\\\
- public void testGetWorkbenchJ2EEModules() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForRead(earProject);
- edit.getJ2EEModuleReferences();
- // classCast
- // assertNotNull(edit.getWorkbenchJ2EEModules(wbComponent));
- } finally {
- if (edit != null) {
- edit.dispose();
- }
-
-
- }
- }
-
- public void pass() {
- assertTrue(true);
- }
-
- public ArtifactEditModel getArtifactEditModelforRead() {
- EMFWorkbenchContext context = new EMFWorkbenchContext(earProject);
- return new ArtifactEditModel(this.toString(), context, true, TestWorkspace.APP_CLIENT_MODULE_URI);
- }
-
-
-
- public EARArtifactEdit getArtifactEditForRead() {
- return new EARArtifactEdit(getArtifactEditModelforRead());
- }
-
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EJBArtifactEditFVTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EJBArtifactEditFVTest.java
deleted file mode 100644
index f3b67dae..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EJBArtifactEditFVTest.java
+++ /dev/null
@@ -1,107 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import java.io.File;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
-import org.eclipse.wst.common.componentcore.internal.ComponentResource;
-import org.eclipse.wst.common.componentcore.internal.ComponentcoreFactory;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelEvent;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelListener;
-
-public class EJBArtifactEditFVTest extends TestCase {
-
- private IProject ejbProject;
- private String ejbModuleName;
-
- public EJBArtifactEditFVTest() {
- super();
-
- if (TestWorkspace.init()) {
- ejbProject = TestWorkspace.getTargetProject(TestWorkspace.EJB_PROJECT_NAME);
- ejbModuleName = TestWorkspace.EJB_MODULE_NAME;
- } else {
- fail();
-
- }
- }
-
- public void testCreationDisposeFunction() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForWrite(ejbProject);
- edit.addListener(new EditModelListener() {
- public void editModelChanged(EditModelEvent anEvent) {
- pass();
- }
- });
- EJBJar client = edit.getEJBJar();
- updateClient(client);
- edit.save(new NullProgressMonitor());
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private void updateClient(EJBJar client) {
- client.setDescription(TestWorkspace.FVT_DESCRIPTION);
- client.setDisplayName(TestWorkspace.FVT_DISPLAY_NAME);
- client.setLargeIcon(TestWorkspace.FVT_LARGE_ICON);
-
- }
-
- private void pass() {
- assertTrue(true);
- }
-
- public void testPersistenceFunction() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForWrite(ejbProject);
- EJBJar ejb = edit.getEJBJar();
- pass(ejb);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private static void pass(EJBJar ejb) {
- boolean pass = ejb.getDescription().equals(TestWorkspace.FVT_DESCRIPTION) && ejb.getDisplayName().equals(TestWorkspace.FVT_DISPLAY_NAME) && ejb.getLargeIcon().equals(TestWorkspace.FVT_LARGE_ICON);
- assertTrue(pass);
- }
-
- private void validateResource() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForWrite(ejbProject);
-// EList resourceList = wbComponent.getResources();
-// for (Iterator iter = resourceList.iterator(); iter.hasNext();) {
-// }
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private ComponentResource createResourceComponent() {
- ComponentResource resourceComponent = ComponentcoreFactory.eINSTANCE.createComponentResource();
- File testFile = TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH.toFile();
- if (testFile.exists()) {
- resourceComponent.setRuntimePath(TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH);
- resourceComponent.setSourcePath(TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH);
- } else {
- fail("Missing: TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH");
- }
- return resourceComponent;
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EJBArtifactEditTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EJBArtifactEditTest.java
deleted file mode 100644
index 6794383c..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EJBArtifactEditTest.java
+++ /dev/null
@@ -1,334 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.jst.j2ee.application.Module;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
-import org.eclipse.jst.j2ee.internal.common.XMLResource;
-import org.eclipse.wst.common.componentcore.ArtifactEdit;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.internal.ArtifactEditModel;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext;
-
-public class EJBArtifactEditTest extends TestCase {
-
- private IProject ejbProject;
- private String ejbModuleName;
-
- public EJBArtifactEditTest() {
- super();
-
- if (TestWorkspace.init()) {
- ejbProject = TestWorkspace.getTargetProject(TestWorkspace.EJB_PROJECT_NAME);
- ejbModuleName = TestWorkspace.EJB_MODULE_NAME;
- } else {
- fail();
-
- }
- }
-
- public void testGetJ2EEVersion() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- String version = new Integer(edit.getJ2EEVersion()).toString();
- assertTrue(version.equals(TestWorkspace.EJB_PROJECT_VERSION));
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetDeploymentDescriptorResource() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- String uri = edit.getDeploymentDescriptorResource().getURI().toString();
- assertTrue(uri.equals(TestWorkspace.EJB_DD_RESOURCE_URI));
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- // /////BUG in PlatformURL\\\\\\\\\\\
-
- public void testGetDeploymentDescriptorRoot() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- edit.getDeploymentDescriptorRoot();
- // /////BUG in PlatformURL\\\\\\\\\\\turning test off////
- /*
- * EObject object = edit.getDeploymentDescriptorRoot(); assertNotNull(object);
- */
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- // /////////////BUG in PlatformURL\\\\\\\\\\\
-
-
- public void testCreateModelRoot() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForWrite(ejbProject);
- edit.createModelRoot();
- // ////BUG turning off\\\\\\\\\\\\\
- /*
- * EObject object = edit.createModelRoot(); assertNotNull(object);
- */
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- /*
- * Class under test for EObject createModelRoot(int)
- */
- // ///////////////BUG in PlatformURLModuleConnection
- public void testCreateModelRootint() {
- EJBArtifactEdit edit = null;
- try {
- // ///////BUG in PlatformURLModuleConnection
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- edit.createModelRoot(14);
- /*
- * EObject object = edit.createModelRoot(14); assertNotNull(object);
- */
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- /*
- * Class under test for void EJBArtifactEdit(ComponentHandle, boolean)
- */
- public void testEJBArtifactEditComponentHandleboolean() {
- EJBArtifactEdit edit = null;
- try {
- edit = new EJBArtifactEdit(ejbProject, true);
- assertNotNull(edit);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- /*
- * Class under test for void EJBArtifactEdit(ArtifactEditModel)
- */
- public void testEJBArtifactEditArtifactEditModel() {
- EJBArtifactEdit edit = new EJBArtifactEdit(getArtifactEditModelforRead());
- assertNotNull(edit);
- edit.dispose();
- }
-
- public void testGetEJBJarXmiResource() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- String uri = edit.getEJBJarXmiResource().toString();
- // THIS IS A BUG\\ - commmenting out as suggested by DW
- // assertTrue(uri.equals(TestWorkspace.EJB_DD_XMI_RESOURCE_URI));
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- // //////////////Bug turning test off\\\\\\\\\\\
-
- public void testHasEJBClientJARProject() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- edit.hasEJBClientJARProject();
- // /////BUG\\\\\\\\\\\
- // boolean bool = edit.hasEJBClientJARProject(ejbProject);
- // assertEquals(bool, true);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testCreateNewModule() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- Module module = edit.createNewModule();
- assertNotNull(module);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- // /////////////////bug\\\\\\\\\\\\\
-
- public void testGetEJBClientJarModule() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- edit.getEJBClientJarModule();
- // /////////bug\\\\\\\\
- // WorkbenchComponent comp = edit.getEJBClientJarModule(ejbProject);
- // assertNotNull(comp);
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetEJBJar() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- EJBJar jar = edit.getEJBJar();
- assertNotNull(jar);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetDeploymenyDescriptorType() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- int type = edit.getDeploymentDescriptorType();
- assertTrue(type >= 0);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testAddEJBJarIfNecessary() {
- EJBArtifactEdit test = new EJBArtifactEdit(getArtifactEditModelforRead()) {
- protected void addEJBJarIfNecessary(XMLResource aResource) {
- // TODO add test
- super.addEJBJarIfNecessary(aResource);
- }
-
- public void test() {
- addEJBJarIfNecessary(null);
- }
- };
-
- }
-
- /*
- * Class under test for EJBArtifactEdit getEJBArtifactEditForRead(ComponentHandle)
- */
- public void testGetEJBArtifactEditForReadComponentHandle() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- assertTrue(edit != null);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- /*
- * Class under test for EJBArtifactEdit getEJBArtifactEditForWrite(ComponentHandle)
- */
- public void testGetEJBArtifactEditForWriteComponentHandle() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForWrite(ejbProject);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- /*
- * Class under test for EJBArtifactEdit getEJBArtifactEditForRead(WorkbenchComponent)
- */
- public void testGetEJBArtifactEditForReadWorkbenchComponent() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- assertTrue(edit != null);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- /*
- * Class under test for EJBArtifactEdit getEJBArtifactEditForWrite(WorkbenchComponent)
- */
- public void testGetEJBArtifactEditForWriteWorkbenchComponent() {
- EJBArtifactEdit edit = null;
- try {
- edit = EJBArtifactEdit.getEJBArtifactEditForWrite(ejbProject);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- public void testIsValidEJBModule() {
- IVirtualComponent component = ComponentCore.createComponent(ejbProject,ejbModuleName);
- boolean valid = ArtifactEdit.isValidEditableModule(component);
- assertTrue(valid);
- }
-
- public ArtifactEditModel getArtifactEditModelforRead() {
- EMFWorkbenchContext context = new EMFWorkbenchContext(ejbProject);
- return new ArtifactEditModel(this.toString(), context, true, TestWorkspace.APP_CLIENT_MODULE_URI);
- }
-
- public EJBArtifactEdit getArtifactEditForRead() {
- return new EJBArtifactEdit(getArtifactEditModelforRead());
- }
-
- public void pass() {
- assertTrue(true);
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EarArtiFactEditFVTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EarArtiFactEditFVTest.java
deleted file mode 100644
index 06192358..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EarArtiFactEditFVTest.java
+++ /dev/null
@@ -1,115 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import java.io.File;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jst.j2ee.application.Application;
-import org.eclipse.jst.j2ee.client.ApplicationClient;
-import org.eclipse.jst.j2ee.componentcore.util.EARArtifactEdit;
-import org.eclipse.wst.common.componentcore.internal.ComponentResource;
-import org.eclipse.wst.common.componentcore.internal.ComponentcoreFactory;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelEvent;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelListener;
-
-public class EarArtiFactEditFVTest extends TestCase {
-
-
-
- private IProject earProject;
- private String earModuleName;
-
- public EarArtiFactEditFVTest() {
- super();
-
- if (TestWorkspace.init()) {
- earProject = TestWorkspace.getTargetProject(TestWorkspace.EAR_PROJECT_NAME);
- earModuleName = TestWorkspace.EAR_MODULE_NAME;
- } else {
- fail();
-
- }
- }
-
- public void testCreationDisposeFunction() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForWrite(earProject);
- edit.addListener(new EditModelListener() {
- public void editModelChanged(EditModelEvent anEvent) {
- pass();
- }
- });
- Application client = edit.getApplication();
- updateClient(client);
- edit.save(new NullProgressMonitor());
-
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private void updateClient(Application client) {
- client.setDescription(TestWorkspace.FVT_DESCRIPTION);
- client.setDisplayName(TestWorkspace.FVT_DISPLAY_NAME);
- client.setLargeIcon(TestWorkspace.FVT_LARGE_ICON);
-
- }
- private static void pass(Application client) {
- boolean pass = client.getDescription().equals(TestWorkspace.FVT_DESCRIPTION) && client.getDisplayName().equals(TestWorkspace.FVT_DISPLAY_NAME) && client.getLargeIcon().equals(TestWorkspace.FVT_LARGE_ICON);
- assertTrue(pass);
- }
-
- private void pass() {
- assertTrue(true);
- }
-
- public void testPersistenceFunction() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForWrite(earProject);
- Application ear = edit.getApplication();
- pass(ear);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private static void pass(ApplicationClient ear) {
- boolean pass = ear.getDescription().equals(TestWorkspace.FVT_DESCRIPTION) && ear.getDisplayName().equals(TestWorkspace.FVT_DISPLAY_NAME) && ear.getLargeIcon().equals(TestWorkspace.FVT_LARGE_ICON);
- assertTrue(pass);
- }
-
- private void validateResource() {
- EARArtifactEdit edit = null;
- try {
- edit = EARArtifactEdit.getEARArtifactEditForWrite(earProject);
-// EList resourceList = wbComponent.getResources();
-// for (Iterator iter = resourceList.iterator(); iter.hasNext();) {
-// }
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private ComponentResource createResourceComponent() {
- ComponentResource resourceComponent = ComponentcoreFactory.eINSTANCE.createComponentResource();
- File testFile = TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH.toFile();
- if (testFile.exists()) {
- resourceComponent.setRuntimePath(TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH);
- resourceComponent.setSourcePath(TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH);
- } else {
- fail("Missing: TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH");
- }
- return resourceComponent;
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EnterpriseArtifactEditTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EnterpriseArtifactEditTest.java
deleted file mode 100644
index 5df6381c..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/EnterpriseArtifactEditTest.java
+++ /dev/null
@@ -1,82 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.jst.j2ee.componentcore.EnterpriseArtifactEdit;
-import org.eclipse.jst.j2ee.componentcore.util.EARArtifactEdit;
-import org.eclipse.wst.common.componentcore.internal.ArtifactEditModel;
-import org.eclipse.wst.common.componentcore.internal.StructureEdit;
-import org.eclipse.wst.common.componentcore.internal.WorkbenchComponent;
-import org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext;
-
-public class EnterpriseArtifactEditTest extends TestCase {
-
- private IProject earProject;
- private String earModuleName;
-
- public EnterpriseArtifactEditTest() {
- super();
- if (TestWorkspace.init()) {
- earProject = TestWorkspace.getTargetProject(TestWorkspace.EAR_PROJECT_NAME);
- earModuleName = TestWorkspace.EAR_MODULE_NAME;
- } else {
- fail();
-
- }
- }
-
- public void testEnterpriseArtifactEditComponentHandleboolean() {
- StructureEdit moduleCore = null;
- WorkbenchComponent wbComponent = null;
- EnterpriseArtifactEdit edit = null;
- try {
- moduleCore = StructureEdit.getStructureEditForWrite(earProject);
- wbComponent = moduleCore.getComponent();
- edit = new EARArtifactEdit(earProject, true);
- assertNotNull(edit);
- } finally {
- if (moduleCore != null) {
- moduleCore.dispose();
- edit.dispose();
- }
- }
- }
-
- public void testEnterpriseArtifactEditArtifactEditModel() {
- EnterpriseArtifactEdit edit = new EARArtifactEdit(getArtifactEditModelforRead());
- assertNotNull(edit);
- edit.dispose();
- }
-
-
- //////////BUG
-
- public void testGetDeploymentDescriptorRoot() {
- EnterpriseArtifactEdit edit = null;
- try {
- edit = new EARArtifactEdit(earProject,true);
- edit.getDeploymentDescriptorRoot();
- //////////////////////////BUG\\\\\\\\\\\
- //assertNotNull(edit.getDeploymentDescriptorRoot());
- } catch (Exception e) {
- // TODO fail();
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public ArtifactEditModel getArtifactEditModelforRead() {
- EMFWorkbenchContext context = new EMFWorkbenchContext(earProject);
- return new ArtifactEditModel(this.toString(), context, true, TestWorkspace.APP_CLIENT_MODULE_URI);
- }
-
-
-
- public EARArtifactEdit getArtifactEditForRead() {
- return new EARArtifactEdit(getArtifactEditModelforRead());
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/J2EEArtifactEditAPIAllTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/J2EEArtifactEditAPIAllTest.java
deleted file mode 100644
index 588c614f..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/J2EEArtifactEditAPIAllTest.java
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.wst.common.frameworks.artifactedit.tests.ArtifactEditAPITests;
-import org.eclipse.wst.common.tests.SimpleTestSuite;
-
-public class J2EEArtifactEditAPIAllTest extends TestSuite {
-
-
-
- public static Test suite() {
- return new ArtifactEditAPITests();
- }
-
- public J2EEArtifactEditAPIAllTest() {
- super();
- addTest(new SimpleTestSuite(AppClientArtifactEditTest.class));
- //addTest(new SimpleTestSuite(AppClientArtifactEditFVTest.class));
- addTest(new SimpleTestSuite(ConnectorArtifactEditTest.class));
- //addTest(new SimpleTestSuite(ConnectorArtifactEditFVTest.class));
- addTest(new SimpleTestSuite(EARArtifactEditTest.class));
- //addTest(new SimpleTestSuite(EarArtiFactEditFVTest.class));
- addTest(new SimpleTestSuite(WebArtifactEditTest.class));
- //addTest(new SimpleTestSuite(WebArtifactEditFVTest.class));
- addTest(new SimpleTestSuite(EJBArtifactEditTest.class));
- //addTest(new SimpleTestSuite(EJBArtifactEditFVTest.class));
- addTest(new SimpleTestSuite(EnterpriseArtifactEditTest.class));
- addTest(new SimpleTestSuite(WSDDArtifactEditFVTest.class));
-
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/JaxRPCMapArtifactEditFVTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/JaxRPCMapArtifactEditFVTest.java
deleted file mode 100644
index 68ec6e58..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/JaxRPCMapArtifactEditFVTest.java
+++ /dev/null
@@ -1,78 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.jst.j2ee.internal.webservice.componentcore.util.JaxRPCMapArtifactEdit;
-import org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webservice.wsdd.WebServices;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-
-public class JaxRPCMapArtifactEditFVTest extends TestCase {
-
- private IProject webProject;
- private String webModuleName;
- private String serverContextData = TestWorkspace.WEB_SERVER_CONTEXT_ROOT + "Test";
-
- public JaxRPCMapArtifactEditFVTest() {
- super();
- if (TestWorkspace.init()) {
- webProject = TestWorkspace.getTargetProject(TestWorkspace.WEB_PROJECT_NAME);
- webModuleName = TestWorkspace.WEB_MODULE_NAME;
- } else {
- fail();
-
- }
- }
-
- private void updateClient(WebServices client) {
- client.setDescription(TestWorkspace.FVT_DESCRIPTION);
- client.setDisplayName(TestWorkspace.FVT_DISPLAY_NAME);
- client.setLargeIcon(TestWorkspace.FVT_LARGE_ICON);
-
- }
-
- private void pass() {
- assertTrue(true);
- }
-
- public void testPersistenceFunction() {
- JaxRPCMapArtifactEdit jaxedit = null;
- WebArtifactEdit webedit = null;
-
- IVirtualComponent comp = ComponentCore.createComponent(webProject,webModuleName);
-
- jaxedit = JaxRPCMapArtifactEdit.getJaxRPCMapArtifactEditForRead(comp);
- jaxedit.getDeploymentDescriptorRoot("WebArtifactEditTest/WebArtifactEditModule/WebContent/WEB-INF/testmap.xml");
- jaxedit.dispose();
- webedit = WebArtifactEdit.getWebArtifactEditForWrite(comp);
- WebApp webapp = webedit.getWebApp();
- webedit.saveIfNecessary(null);
- webedit.dispose();
- }
-
- private static void pass(WebServices webservice) {
- boolean pass = webservice.getDescription().equals(TestWorkspace.FVT_DESCRIPTION) &&
- webservice.getDisplayName().equals(TestWorkspace.FVT_DISPLAY_NAME) &&
- webservice.getLargeIcon().equals(TestWorkspace.FVT_LARGE_ICON);
- assertTrue(pass);
- }
-
- private void validateResource() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForWrite(webProject);
-// EList resourceList = wbComponent.getResources();
-// for (Iterator iter = resourceList.iterator(); iter.hasNext();) {
-// }
- } finally {
- if (edit != null) {
- edit.dispose();
- }
-
- }
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/Test0_7Workspace.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/Test0_7Workspace.java
deleted file mode 100644
index a4f8aa5c..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/Test0_7Workspace.java
+++ /dev/null
@@ -1,77 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.etools.common.test.apitools.ProjectUnzipUtil;
-import org.eclipse.wtp.j2ee.headless.tests.plugin.HeadlessTestsPlugin;
-
-
-
-public class Test0_7Workspace {
-
-
- public static IPath workspaceLocation = ResourcesPlugin.getWorkspace().getRoot().getLocation();
- public static String ARTIFACT_EDIT_FVT_RESOURCE_PATH_NAME = "/ArtifactEditFunctionTestResource.txt";
- public static IPath ARTIFACT_EDIT_FVT_RESOURCE_PATH = workspaceLocation.append(ARTIFACT_EDIT_FVT_RESOURCE_PATH_NAME);
-
- private static Path zipFilePath = new Path("/TestData/GenralArtifactTest/TEST0_7.zip");
- private static String[] projectNames = new String[]{".JETEmitters", "MyEar", "MyEarClient", "MyEarConnector", "MyEarEJB","TestWeb","TestWebEAR","Util1"};
- private boolean isValidWorkspace;
-
-
-
-
- public static final String META_INF = "META-INF"; //$NON-NLS-1$
- public static final String WEB_INF = "WEB-INF"; //$NON-NLS-1$
-
- public static IProject getTargetProject(String projectName) {
- return ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
- }
-
- public static boolean createProjects() {
- IPath localZipPath = getLocalPath();
- ProjectUnzipUtil util = new ProjectUnzipUtil(localZipPath, projectNames);
- return util.createProjects();
- }
-
- private static IPath getLocalPath() {
- URL url = HeadlessTestsPlugin.getDefault().find(zipFilePath);
- try {
- url = Platform.asLocalURL(url);
- } catch (IOException e) {
- e.printStackTrace();
- }
- return new Path(url.getPath());
- }
-
- public static boolean init() {
- // revisit
- IProject project = getTargetProject("MyEar");
- if (project.exists())
- return true;
- else
- return createProjects();
-
- }
-
- public boolean isValidWorkspace() {
- return isValidWorkspace;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/TestWorkspace.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/TestWorkspace.java
deleted file mode 100644
index f90520b7..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/TestWorkspace.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.etools.common.test.apitools.ProjectUnzipUtil;
-import org.eclipse.wtp.j2ee.headless.tests.plugin.HeadlessTestsPlugin;
-
-
-
-public class TestWorkspace {
-
- public static final String EAR_PROJECT_NAME = "EARArtifactEditTest"; //$NON-NLS-1$
- public static final String EAR_MODULE_NAME = "EARArtifactModule";//$NON-NLS-1$
- public static final String EAR_PROJECT_VERSION = "1.4"; //$NON-NLS-1$
- public static final String EAR_DD_RESOURCE_URI = "platform:/resource/EARArtifactModule/EARArtifactModule/META-INF/application.xml"; //$NON-NLS-1$
- public static final String EAR_DD_XMI_RESOURCE_URI = "platform:/resource//EARArtifactEditTest/EARArtifactModule/ejbModule/META-INF/ejb-jar.xmi";//$NON-NLS-1$
- public static final URI EAR_MODULE_URI = URI.createURI("module:/resource/EARArtifactEditTest/EARArtifactModule");
-
- public static final String APP_CLIENT_PROJECT_NAME = "ApplicationClientArtifactEditTest"; //$NON-NLS-1$
- public static final String APP_CLIENT_MODULE_NAME = "ApplicationClientModule"; //$NON-NLS-1$
- public static final String APP_CLIENT_PROJECT_VERSION = "1.4";//$NON-NLS-1$
- public static final String APP_CLIENT_DD_RESOURCE_URI = "platform:/resource/ApplicationClientModule/ApplicationClientModule/appClientModule/META-INF/application-client.xml";//$NON-NLS-1$
- public static final String APP_CLIENT_DD_XMI_RESOURCE_URI = "platform:/resource/ApplicationClientModule/ApplicationClientModule/appClientModule/META-INF/application-client.xmi";//$NON-NLS-1$
- public static final URI APP_CLIENT_MODULE_URI = URI.createURI("module:/resource/ApplicationClientArtifactEditTest/ApplicationClientModule");//$NON-NLS-1$
-
- public static final String EJB_PROJECT_NAME = "EJBArtifactEditTest"; //$NON-NLS-1$
- public static final String EJB_MODULE_NAME = "EJBArtifactEditModule";//$NON-NLS-1$
- public static final String EJB_PROJECT_VERSION = "2.1"; //$NON-NLS-1$
- public static final String EJB_DD_RESOURCE_URI = "platform:/resource/EARArtifactEditTest/EARArtifactModule/META-INF/application.xml";//$NON-NLS-1$
- public static final String EJB_DD_XMI_RESOURCE_URI = "platform:/resource/EARArtifactEditTest/EARArtifactModule/META-INF/application.xmi";//$NON-NLS-1$
- public static final URI EJB_MODULE_URI = URI.createURI("module:/resource/EARArtifactEditTest/EARArtifactModule");
-
- public static final String WEB_PROJECT_NAME = "WebArtifactEditTest"; //$NON-NLS-1$
- public static final String WEB_MODULE_NAME = "WebArtifactEditModule"; //$NON-NLS-1$
- public static final String WEB_PROJECT_VERSION = "2.4";//$NON-NLS-1$
- public static final String WEB_DD_RESOURCE_URI = "platform:/resource/WebArtifactEditModule/WebArtifactEditModule/WebContent/WEB-INF/web.xml";//$NON-NLS-1$
- public static final String WEB_DD_XMI_RESOURCE_URI = "platform:/resource/WebArtifactEditModule/WebArtifactEditModule/WebContent/WEB-INF/web.xmi";//$NON-NLS-1$
- public static final URI WEB_MODULE_URI = URI.createURI("module:/resource/WebArtifactEditTest/WebArtifactEditModule");
- public static final String WEB_SERVER_CONTEXT_ROOT = "WebContent";
-
- public static final String JCA_PROJECT_NAME = "JCAArtifactEditTest"; //$NON-NLS-1$
- public static final String JCA_MODULE_NAME = "JCAArtifactEditTestModule";//$NON-NLS-1$
- public static final String JCA_PROJECT_VERSION = "1.5"; //$NON-NLS-1$
- public static final String JCA_DD_RESOURCE_URI = "platform:/resource/JCAArtifactEditTestModule/JCAArtifactEditTestModule/connectorModule/META-INF/ra.xml";//$NON-NLS-1$
- public static final URI JCA_MODULE_URI = URI.createURI("module:/resource/JCAArtifactEditTest/JCAArtifactEditModule");
-
- public static final String FVT_DESCRIPTION = "FVT Description Test";
- public static final String FVT_DISPLAY_NAME = "FVT DisplayName Test";
- public static final String FVT_LARGE_ICON = "fvtLargeIcon.gif";
- public static IPath workspaceLocation = ResourcesPlugin.getWorkspace().getRoot().getLocation();
- public static String ARTIFACT_EDIT_FVT_RESOURCE_PATH_NAME = "/ArtifactEditFunctionTestResource.txt";
- public static IPath ARTIFACT_EDIT_FVT_RESOURCE_PATH = workspaceLocation.append(ARTIFACT_EDIT_FVT_RESOURCE_PATH_NAME);
-
- private static Path zipFilePath = new Path("/TestData/GenralArtifactTest/J2EEArtifactEditTestProjects.zip");
- private static String[] projectNames = new String[]{EAR_PROJECT_NAME, APP_CLIENT_PROJECT_NAME, EJB_PROJECT_NAME, WEB_PROJECT_NAME, JCA_PROJECT_NAME};
- private boolean isValidWorkspace;
-
-
-
-
- public static final String META_INF = "META-INF"; //$NON-NLS-1$
- public static final String WEB_INF = "WEB-INF"; //$NON-NLS-1$
-
- public static IProject getTargetProject(String projectName) {
- return ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
- }
-
- public static boolean createProjects() {
- IPath localZipPath = getLocalPath();
- ProjectUnzipUtil util = new ProjectUnzipUtil(localZipPath, projectNames);
- return util.createProjects();
- }
-
- private static IPath getLocalPath() {
- URL url = HeadlessTestsPlugin.getDefault().find(zipFilePath);
- try {
- url = Platform.asLocalURL(url);
- } catch (IOException e) {
- e.printStackTrace();
- }
- return new Path(url.getPath());
- }
-
- public static boolean init() {
- // revisit
- IProject project = getTargetProject(APP_CLIENT_PROJECT_NAME);
- if (project.exists())
- return true;
- else
- return createProjects();
-
- }
-
- public boolean isValidWorkspace() {
- return isValidWorkspace;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WSDDArtifactEditFVTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WSDDArtifactEditFVTest.java
deleted file mode 100644
index 2975fe86..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WSDDArtifactEditFVTest.java
+++ /dev/null
@@ -1,95 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jst.j2ee.internal.webservice.componentcore.util.WSDDArtifactEdit;
-import org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit;
-import org.eclipse.jst.j2ee.webservice.wsdd.WebServices;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelEvent;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelListener;
-
-public class WSDDArtifactEditFVTest extends TestCase {
-
- private IProject webProject;
- private String webModuleName;
- private String serverContextData = TestWorkspace.WEB_SERVER_CONTEXT_ROOT + "Test";
-
- public WSDDArtifactEditFVTest() {
- super();
- if (TestWorkspace.init()) {
- webProject = TestWorkspace.getTargetProject(TestWorkspace.WEB_PROJECT_NAME);
- webModuleName = TestWorkspace.WEB_MODULE_NAME;
- } else {
- fail();
-
- }
- }
-
- public void testCreationDisposeFunction() {
- WSDDArtifactEdit edit = null;
- try {
- edit = WSDDArtifactEdit.getWSDDArtifactEditForWrite(webProject);
- edit.addListener(new EditModelListener() {
- public void editModelChanged(EditModelEvent anEvent) {
- pass();
- }
- });
- WebServices client = edit.getWebServices();
- updateClient(client);
- edit.save(new NullProgressMonitor());
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private void updateClient(WebServices client) {
- client.setDescription(TestWorkspace.FVT_DESCRIPTION);
- client.setDisplayName(TestWorkspace.FVT_DISPLAY_NAME);
- client.setLargeIcon(TestWorkspace.FVT_LARGE_ICON);
-
- }
-
- private void pass() {
- assertTrue(true);
- }
-
- public void testPersistenceFunction() {
- WSDDArtifactEdit edit = null;
- try {
- edit = WSDDArtifactEdit.getWSDDArtifactEditForWrite(webProject);
- WebServices web = edit.getWebServices();
- pass(web);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private static void pass(WebServices webservice) {
- boolean pass = webservice.getDescription().equals(TestWorkspace.FVT_DESCRIPTION) &&
- webservice.getDisplayName().equals(TestWorkspace.FVT_DISPLAY_NAME) &&
- webservice.getLargeIcon().equals(TestWorkspace.FVT_LARGE_ICON);
- assertTrue(pass);
- }
-
- private void validateResource() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForWrite(webProject);
-// EList resourceList = wbComponent.getResources();
-// for (Iterator iter = resourceList.iterator(); iter.hasNext();) {
-// }
- } finally {
- if (edit != null) {
- edit.dispose();
- }
-
- }
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WebArtifactEditFVTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WebArtifactEditFVTest.java
deleted file mode 100644
index 295bf365..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WebArtifactEditFVTest.java
+++ /dev/null
@@ -1,152 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.jst.j2ee.common.CommonFactory;
-import org.eclipse.jst.j2ee.common.ParamValue;
-import org.eclipse.jst.j2ee.internal.deployables.J2EEFlexProjDeployable;
-import org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit;
-import org.eclipse.jst.j2ee.webapplication.Filter;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.WebapplicationFactory;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelEvent;
-import org.eclipse.wst.common.internal.emfworkbench.integration.EditModelListener;
-import org.eclipse.wst.server.core.model.IModuleFolder;
-import org.eclipse.wst.server.core.model.IModuleResource;
-
-public class WebArtifactEditFVTest extends TestCase {
-
- private IProject webProject;
-// private String serverContextData = TestWorkspace.WEB_SERVER_CONTEXT_ROOT + "Test"; //$NON-NLS-1$
-
- public WebArtifactEditFVTest() {
- super();
- if (TestWorkspace.init()) {
- webProject = TestWorkspace.getTargetProject(TestWorkspace.WEB_PROJECT_NAME);
- } else {
- fail();
-
- }
- }
-
- public void testCreationDisposeFunction() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForWrite(webProject);
- edit.addListener(new EditModelListener() {
- public void editModelChanged(EditModelEvent anEvent) {
- pass();
- }
- });
- WebApp client = edit.getWebApp();
- updateClient(client);
- edit.save(new NullProgressMonitor());
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testDeployableResourceGather() {
- IVirtualComponent webComp = ComponentCore.createComponent(webProject);
- J2EEFlexProjDeployable deployable = new J2EEFlexProjDeployable(webProject, webComp);
- try {
- IModuleResource[] resources = deployable.members();
- assertTrue(resources.length>1);
- int numOfModuleResourceFolders = 0;
- for (int i=0; i<resources.length; i++) {
- if (resources[i] instanceof IModuleFolder)
- numOfModuleResourceFolders++;
- }
- assertTrue(numOfModuleResourceFolders==2);
- } catch (Exception e) {
- fail(e.getMessage());
- }
- }
-
- private void updateClient(WebApp client) {
- client.setDescription(TestWorkspace.FVT_DESCRIPTION);
- client.setDisplayName(TestWorkspace.FVT_DISPLAY_NAME);
- client.setLargeIcon(TestWorkspace.FVT_LARGE_ICON);
- }
-
- private void pass() {
- assertTrue(true);
- }
-
- public void testPersistenceFunction() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForWrite(webProject);
- WebApp web = edit.getWebApp();
-
-
- Filter filter = WebapplicationFactory.eINSTANCE.createFilter();
- filter.setName("WoohooFilter"); //$NON-NLS-1$
- filter.setFilterClassName("wtp.test.WhooHoo"); //$NON-NLS-1$
-
- ParamValue value = CommonFactory.eINSTANCE.createParamValue();
- value.setName("Param1"); //$NON-NLS-1$
- value.setValue("Value1"); //$NON-NLS-1$
- List initParams = new ArrayList();
- initParams.add(value);
-
- if (initParams != null) {
- filter.getInitParamValues().addAll(initParams);
- }
-
- EList filters = web.getFilters();
-
- filters.add(filter);
- edit.saveIfNecessary(null);
-
- pass(web);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- private static void pass(WebApp web) {
- boolean pass = web.getDescription().equals(TestWorkspace.FVT_DESCRIPTION) && web.getDisplayName().equals(TestWorkspace.FVT_DISPLAY_NAME) && web.getLargeIcon().equals(TestWorkspace.FVT_LARGE_ICON);
- assertTrue(pass);
- }
-
-// private void validateResource() {
-// WebArtifactEdit edit = null;
-// try {
-// ComponentHandle handle = ComponentHandle.create(webProject,webModuleName);
-// edit = WebArtifactEdit.getWebArtifactEditForWrite(handle);
-//// EList resourceList = wbComponent.getResources();
-//// for (Iterator iter = resourceList.iterator(); iter.hasNext();) {
-//// }
-// } finally {
-// if (edit != null) {
-// edit.dispose();
-// }
-// }
-// }
-
-// private ComponentResource createResourceComponent() {
-// ComponentResource resourceComponent = ComponentcoreFactory.eINSTANCE.createComponentResource();
-// File testFile = TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH.toFile();
-// if (testFile.exists()) {
-// resourceComponent.setRuntimePath(TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH);
-// resourceComponent.setSourcePath(TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH);
-// } else {
-// fail("Missing: TestWorkspace.ARTIFACT_EDIT_FVT_RESOURCE_PATH"); //$NON-NLS-1$
-// }
-// return resourceComponent;
-// }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WebArtifactEditTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WebArtifactEditTest.java
deleted file mode 100644
index c3d3046e..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/apitests/artifactedit/WebArtifactEditTest.java
+++ /dev/null
@@ -1,414 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit;
-import org.eclipse.jst.j2ee.webapplication.Servlet;
-import org.eclipse.jst.j2ee.webapplication.ServletType;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationFactoryImpl;
-import org.eclipse.wst.common.componentcore.ArtifactEdit;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.UnresolveableURIException;
-import org.eclipse.wst.common.componentcore.internal.ArtifactEditModel;
-import org.eclipse.wst.common.componentcore.internal.ComponentcoreFactory;
-import org.eclipse.wst.common.componentcore.internal.ReferencedComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext;
-
-public class WebArtifactEditTest extends TestCase {
-
- private IProject webProject;
- private String webModuleName;
- private String serverContextData = TestWorkspace.WEB_SERVER_CONTEXT_ROOT + "Test";
-
- public WebArtifactEditTest() {
- super();
- if (TestWorkspace.init()) {
- webProject = TestWorkspace.getTargetProject(TestWorkspace.WEB_PROJECT_NAME);
- webModuleName = TestWorkspace.WEB_MODULE_NAME;
- } else {
- fail();
-
- }
- }
-
- public void testGetJ2EEVersion() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- edit.getWebApp().setDescription("test");
- int version = edit.getJ2EEVersion();
- Integer integer = new Integer(version);
- assertTrue(integer.equals(TestWorkspace.WEB_PROJECT_VERSION));
-
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
-
-
- public void testGetDeploymentDescriptorResource() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- String uri = edit.getDeploymentDescriptorResource().getURI().toString();
- // assertTrue(uri.equals(TestWorkspace.WEB_DD_RESOURCE_URI));
- } catch (Exception e) {
- // todo
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetDeploymentDescriptorRoot() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- edit.getDeploymentDescriptorRoot();
- // /////BUG in PlatformURL\\\\\\\\\\\turning test off////
- EObject object = edit.getDeploymentDescriptorRoot();
- assertNotNull(object);
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- /*
- * Class under test for EObject createModelRoot()
- */
- public void testCreateModelRoot() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForWrite(webProject);
- edit.createModelRoot();
- // ////BUG turning off\\\\\\\\\\\\\
- /*
- * EObject object = edit.createModelRoot(); assertNotNull(object);
- */
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- /*
- * Class under test for EObject createModelRoot(int)
- */
- public void testCreateModelRootint() {
- WebArtifactEdit edit = null;
- try {
- // ///////BUG in PlatformURLModuleConnection
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- edit.createModelRoot(14);
- /*
- * EObject object = edit.createModelRoot(14); assertNotNull(object);
- */
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- /*
- * Class under test for void WebArtifactEdit(ComponentHandle, boolean)
- */
- public void testWebArtifactEditComponentHandleboolean() {
- WebArtifactEdit edit = null;
- try {
- edit = new WebArtifactEdit(webProject, true);
- assertNotNull(edit);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
-
- }
-
- /*
- * Class under test for WebArtifactEdit getWebArtifactEditForRead(ComponentHandle)
- */
- public void testGetWebArtifactEditForReadComponentHandle() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- assertTrue(edit != null);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- /*
- * Class under test for ArtifactEdit getWebArtifactEditForWrite(ComponentHandle)
- */
- public void testGetWebArtifactEditForWriteComponentHandle() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForWrite(webProject);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
- /*
- * Class under test for WebArtifactEdit getWebArtifactEditForRead(WorkbenchComponent)
- */
- public void testGetWebArtifactEditForReadWorkbenchComponent() {
- }
-
- /*
- * Class under test for WebArtifactEdit getWebArtifactEditForWrite(WorkbenchComponent)
- */
- public void testGetWebArtifactEditForWriteWorkbenchComponent() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- assertTrue(edit != null);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testIsValidWebModule() {
- IVirtualComponent component = null;
- try {
- component = ComponentCore.createComponent(webProject);
- WebArtifactEdit.isValidWebModule(component);
- } catch (UnresolveableURIException e) {
- fail();
- }
- ArtifactEdit.isValidEditableModule(component);
- assertTrue(ArtifactEdit.isValidEditableModule(component));
- }
-
- public void testIsValidEditModule() {
- IVirtualComponent component = null;
- try {
- component = ComponentCore.createComponent(webProject);
- WebArtifactEdit.isValidWebModule(component);
- } catch (UnresolveableURIException e) {
- fail();
- }
- ArtifactEdit.isValidEditableModule(component);
- assertTrue(ArtifactEdit.isValidEditableModule(component));
- }
-
- /*
- * Class under test for void WebArtifactEdit(ArtifactEditModel)
- */
- public void testWebArtifactEditArtifactEditModel() {
- WebArtifactEdit edit = new WebArtifactEdit(getArtifactEditModelforRead());
- assertNotNull(edit);
- edit.dispose();
- }
-
- /*
- * Class under test for void WebArtifactEdit(ModuleCoreNature, WorkbenchComponent, boolean)
- */
- public void testWebArtifactEditModuleCoreNatureWorkbenchComponentboolean() {
- WebArtifactEdit edit = null;
- try {
- edit = new WebArtifactEdit(webProject, true);
- assertNotNull(edit);
- } catch (Exception e) {
- fail();
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetServletVersion() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- assertTrue(edit.getServletVersion() == 24);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testAddWebAppIfNecessary() {
- }
-
- public void testGetJSPVersion() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- assertTrue(edit.getJSPVersion() == 20);
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetDeploymentDescriptorPath() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- edit.getDeploymentDescriptorPath();
- assertNotNull(edit.getDeploymentDescriptorPath());
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetLibModules() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- edit.getLibModules();
- // //bug module in editmodel never initialized\\\\
- // assertNotNull(edit.getLibModules());
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- // ////////////Bug\\\\\\\\\\\\\\\\\\\\\\\
-
- public void testAddLibModules() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- ReferencedComponent refComp = ComponentcoreFactory.eINSTANCE.createReferencedComponent();
- edit.addLibModules(new ReferencedComponent[]{refComp});
- // ///////////////bug\\\\\\\ owner---WebArtifactEdit -> referenceComponents() != null
- // needs to insure owner
- /*
- * ReferencedComponent refComp =
- * ComponentcoreFactoryImpl.eINSTANCE.createReferencedComponent();
- * edit.addLibModules(new ReferencedComponent[]{refComp});
- * assertTrue(edit.getLibModules().length > 0);
- */
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public void testGetServerContextRoot() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- edit.getServerContextRoot();
- // /////////////////////BUG/////////////////////
- // //edit.getServerContextRoot();
- // assertTrue(edit.getServerContextRoot().equals(TestWorkspace.WEB_SERVER_CONTEXT_ROOT));
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- // ////////////////BUG////////////////////////////////
-
- public void testSetServerContextRoot() {
- WebArtifactEdit edit = null;
- try {
- edit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- edit.setServerContextRoot(serverContextData);
- // /////////////////////BUG/////////////////////
- // //edit.getServerContextRoot();
- // edit.setServerContextRoot(serverContextData);
- // String testData = edit.getServerContextRoot();
- // assertTrue(testData.equals(serverContextData));
- } catch (Exception e) {
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- }
- }
-
- public ArtifactEditModel getArtifactEditModelforRead() {
- EMFWorkbenchContext context = new EMFWorkbenchContext(webProject);
- return new ArtifactEditModel(this.toString(), context, true, TestWorkspace.APP_CLIENT_MODULE_URI);
- }
-
- public WebArtifactEdit getArtifactEditForRead() {
- return new WebArtifactEdit(getArtifactEditModelforRead());
- }
-
- public void testCreateServlet() {
- WebArtifactEdit edit = null;
- try {
- WebapplicationFactoryImpl factory = new WebapplicationFactoryImpl();
- edit = WebArtifactEdit.getWebArtifactEditForWrite(webProject);
- WebApp webapp = edit.getWebApp();
- Servlet servlet = factory.createServlet();
- ServletType servletType = factory.createServletType();
- servlet.setWebType(servletType);
- servlet.setServletName("servletDescriptor._name");
- servletType.setClassName("servletDescriptor._className");
- // if(servletDescriptor._displayName != null){
- servlet.setDisplayName("servletDescriptor._displayName");
- // }
-
- webapp.getServlets().add(servlet);
- webapp.setDescription("test");
- edit.save(new NullProgressMonitor());
- /*
- * if(servletDescriptor._loadOnStartup != null){
- * servlet.setLoadOnStartup(servletDescriptor._loadOnStartup); }
- * if(servletDescriptor._params != null){ Properties properties =
- * servlet.getParamsAsProperties(); properties.putAll(servletDescriptor._params); }
- */
- } catch (Exception e) {
- e.printStackTrace();
- // TODO
- } finally {
- if (edit != null) {
- edit.dispose();
- }
- assertTrue(edit != null);
- }
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/ArchiveComponentCreationTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/ArchiveComponentCreationTest.java
deleted file mode 100644
index 3a20f5a6..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/ArchiveComponentCreationTest.java
+++ /dev/null
@@ -1,106 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.flexible.project.fvtests;
-
-import java.util.ArrayList;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jdt.core.JavaCore;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.jst.j2ee.internal.web.archive.operations.WebFacetProjectCreationDataModelProvider;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetDataModelProperties;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties.FacetDataModelMap;
-import org.eclipse.wst.common.componentcore.internal.resources.VirtualArchiveComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-
-
-public class ArchiveComponentCreationTest extends TestCase {
-
-
- public static Test suite() {
- return new TestSuite(ArchiveComponentCreationTest.class);
- }
-
- public ArchiveComponentCreationTest() {
- super();
- }
-
- public ArchiveComponentCreationTest(String name) {
- super(name);
- }
-
-
- public void testCreateWebComponent() throws Exception {
- createWebComponent(24, "TestWeb" ); //$NON-NLS-1$
- }
-
-
- private void createWebComponent(int j2eeVersion, String aModuleName) throws Exception{
- IDataModel model = DataModelFactory.createDataModel(new WebFacetProjectCreationDataModelProvider());
- model.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, aModuleName);
- FacetDataModelMap map = (FacetDataModelMap) model.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP);
- IDataModel webModel = map.getFacetDataModel(J2EEProjectUtilities.DYNAMIC_WEB);
- webModel.setIntProperty(IFacetDataModelProperties.FACET_VERSION,j2eeVersion);
- model.getDefaultOperation().execute(new NullProgressMonitor(), null);
-
- IProject project = ProjectUtilities.getProject(aModuleName);
- if( project.exists()){
- IVirtualComponent component = ComponentCore.createComponent(project);
- createArchiveComponent(component);
- }
- }
-
- public void createArchiveComponent(IVirtualComponent component){
-
- IPath path = new Path("JUNIT_HOME/junit.jar"); //$NON-NLS-1$
-
-
- IPath resolvedPath = JavaCore.getResolvedVariablePath(path);
-
- java.io.File file = new java.io.File(resolvedPath.toOSString());
- if( file.isFile() && file.exists()){
- String type = VirtualArchiveComponent.VARARCHIVETYPE + IPath.SEPARATOR;
-
- IVirtualComponent archive = ComponentCore.createArchiveComponent( component.getProject(), type +
- path.toString());
-
- ArrayList vlist = new ArrayList();
- IVirtualReference[] oldrefs = component.getReferences();
- for (int j = 0; j < oldrefs.length; j++) {
- IVirtualReference ref = oldrefs[j];
- vlist.add(ref);
- }
-
- IVirtualReference ref = ComponentCore.createReference( component, archive, new Path("/WEB-INF/lib") ); //$NON-NLS-1$
- vlist.add(ref);
-
- IVirtualReference[] refs = new IVirtualReference[vlist.size()];
- for (int j = 0; j < vlist.size(); j++) {
- IVirtualReference tmpref = (IVirtualReference) vlist.get(j);
- refs[j] = tmpref;
- }
- component.setReferences(refs);
- }
- }
- }
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/EJBArtifactEditFvTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/EJBArtifactEditFvTest.java
deleted file mode 100644
index 5c54d2da..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/EJBArtifactEditFvTest.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.fvtests;
-import junit.framework.TestCase;
-
-public class EJBArtifactEditFvTest extends TestCase {
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/J2EEFlexProjDeployablePerfTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/J2EEFlexProjDeployablePerfTest.java
deleted file mode 100644
index 54b25f13..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/J2EEFlexProjDeployablePerfTest.java
+++ /dev/null
@@ -1,79 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.fvtests;
-
-import java.io.IOException;
-import java.net.URL;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.etools.common.test.apitools.ProjectUnzipUtil;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.internal.deployables.J2EEFlexProjDeployable;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.server.core.internal.ModuleFolder;
-import org.eclipse.wst.server.core.model.IModuleResource;
-import org.eclipse.wtp.j2ee.headless.tests.plugin.HeadlessTestsPlugin;
-
-public class J2EEFlexProjDeployablePerfTest extends TestCase {
-
- private static String[] projectNames = new String[]{"war"}; //$NON-NLS-1$;
- private static Path zipFilePath = new Path("/TestData/GenralArtifactTest/perfWAR.zip"); //$NON-NLS-1$
-
- public static Test suite() {
- return new TestSuite(J2EEFlexProjDeployablePerfTest.class);
- }
- public void testMembersPerformance() {
- ProjectUnzipUtil util = new ProjectUnzipUtil(getLocalPath(), projectNames);
- util.createProjects();
- IProject project = ProjectUtilities.getProject(projectNames[0]);
- IVirtualComponent component = ComponentCore.createComponent(project);
- J2EEFlexProjDeployable deployable = new J2EEFlexProjDeployable(project, component);
- try {
- IModuleResource[] members = deployable.members();
- assertTrue(members.length==3);
- int verified = 0;
- for (int i=0; i<members.length; i++) {
- String name = members[i].getName();
- if (name.equals("META-INF")) {
- IModuleResource manifest = ((ModuleFolder)members[i]).members()[0];
- assertTrue(manifest.getModuleRelativePath().toString().equals("META-INF"));
- assertTrue(manifest.getName().equals("MANIFEST.MF"));
- verified++;
- } else if (name.equals("WEB-INF")) {
- IModuleResource[] webInf = ((ModuleFolder)members[i]).members();
- assertTrue(webInf.length==2);
- for (int j=0; j<webInf.length; j++) {
- IModuleResource webResource = webInf[j];
- assertTrue(webResource.getModuleRelativePath().toString().equals("WEB-INF"));
- assertTrue(webResource.getName().equals("web.xml") || webResource.getName().equals("classes"));
- }
- verified++;
- } else if (name.equals("pkg0")) {
- assertTrue(((ModuleFolder)members[i]).members().length>0);
- verified++;
- }
- }
- assertTrue(verified==3);
- } catch (CoreException e) {
- e.printStackTrace();
- fail(e.getMessage());
- }
- }
-
- private static IPath getLocalPath() {
- URL url = HeadlessTestsPlugin.getDefault().find(zipFilePath);
- try {
- url = Platform.asLocalURL(url);
- } catch (IOException e) {
- e.printStackTrace();
- }
- return new Path(url.getPath());
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/PortedComponentCreationTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/PortedComponentCreationTest.java
deleted file mode 100644
index b38dd974..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/PortedComponentCreationTest.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.flexible.project.fvtests;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jst.j2ee.applicationclient.internal.creation.AppClientFacetProjectCreationDataModelProvider;
-import org.eclipse.jst.j2ee.internal.ejb.project.operations.EjbFacetProjectCreationDataModelProvider;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.jst.j2ee.internal.web.archive.operations.WebFacetProjectCreationDataModelProvider;
-import org.eclipse.jst.j2ee.jca.project.facet.ConnectorFacetProjectCreationDataModelProvider;
-import org.eclipse.jst.j2ee.project.facet.EARFacetProjectCreationDataModelProvider;
-import org.eclipse.jst.j2ee.project.facet.IJ2EEModuleFacetInstallDataModelProperties;
-import org.eclipse.jst.j2ee.web.project.facet.IWebFacetInstallDataModelProperties;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetDataModelProperties;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties.FacetDataModelMap;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-
-
-public class PortedComponentCreationTest extends TestCase {
-
- public static String DEFAULT_PROJECT_NAME = "Flexible";
-
- public static Test suite() {
- return new TestSuite(PortedComponentCreationTest.class);
- }
-
- public PortedComponentCreationTest() {
- super();
- }
-
- public PortedComponentCreationTest(String name) {
- super(name);
- }
-
- /*
- public void testCreateFlexibleProject() throws Exception {
- IDataModel dataModel = DataModelFactory.createDataModel(new FlexibleProjectCreationDataModelProvider());
- dataModel.setProperty(IFlexibleProjectCreationDataModelProperties.PROJECT_NAME, DEFAULT_PROJECT_NAME + "_");
- dataModel.getDefaultOperation().execute(new NullProgressMonitor(), null);
- }
- */
-
-
-// public void testCreateJavaUtiltyComponent() throws Exception {
-// //createFlexibleJavaProject(DEFAULT_PROJECT_NAME + "_JavaUtil");
-// createJavaUtilComponent(DEFAULT_PROJECT_NAME + "_JavaUtil", DEFAULT_PROJECT_NAME + "_JavaUtil");
-// }
-//
-// public void testCreateConnectorComponent() throws Exception {
-// // createFlexibleJavaProject(DEFAULT_PROJECT_NAME + "_ConnectorProject");
-// createConnectorComponent(15, "TestConnector", DEFAULT_PROJECT_NAME + "_ConnectorProject");
-// }
-//
-//
-// public void testCreateWebComponent() throws Exception {
-// // createFlexibleJavaProject(DEFAULT_PROJECT_NAME+"_WebProject");
-// createWebComponent(24, "TestWeb", DEFAULT_PROJECT_NAME+"_WebProject");
-// }
-//
-// public void testCreateAppClientComponent() throws Exception {
-// // createFlexibleJavaProject(DEFAULT_PROJECT_NAME+"_AppClientProject");
-// createAppClientComponent(14, "TestAppClient", DEFAULT_PROJECT_NAME+"_AppClientProject");
-// }
-//
-// public void testCreateEjbComponent() throws Exception {
-// // createFlexibleJavaProject(DEFAULT_PROJECT_NAME+"_EJBProject");
-// createEjbComponent(21, "TestEJB", DEFAULT_PROJECT_NAME+"_EJBProject");
-// }
-//
-// public void testCreateEARComponent() throws Exception {
-// // createFlexibleJavaProject(DEFAULT_PROJECT_NAME+"_EARProject");
-// createEARComponent(14, "TestEAR", DEFAULT_PROJECT_NAME+"_EARProject");
-// }
-
- private void createConnectorComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{
- IDataModel model = DataModelFactory.createDataModel(new ConnectorFacetProjectCreationDataModelProvider());
- model.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, projectName);
- FacetDataModelMap map = (FacetDataModelMap) model.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP);
- IDataModel jcaModel = map.getFacetDataModel(J2EEProjectUtilities.JCA);
- jcaModel.setIntProperty(IFacetDataModelProperties.FACET_VERSION,j2eeVersion);
- model.getDefaultOperation().execute(new NullProgressMonitor(), null);
- }
-
- private void createWebComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{
- IDataModel model = DataModelFactory.createDataModel(new WebFacetProjectCreationDataModelProvider());
- model.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, projectName);
- FacetDataModelMap map = (FacetDataModelMap) model.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP);
- IDataModel webModel = map.getFacetDataModel(J2EEProjectUtilities.DYNAMIC_WEB);
- webModel.setIntProperty(IFacetDataModelProperties.FACET_VERSION,j2eeVersion);
- model.getDefaultOperation().execute(new NullProgressMonitor(), null);
- }
-
- private void createAppClientComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{
- IDataModel model = DataModelFactory.createDataModel(new AppClientFacetProjectCreationDataModelProvider());
- model.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, projectName);
- FacetDataModelMap map = (FacetDataModelMap) model.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP);
- IDataModel appClientModel = map.getFacetDataModel(J2EEProjectUtilities.APPLICATION_CLIENT);
- appClientModel.setIntProperty(IFacetDataModelProperties.FACET_VERSION,j2eeVersion);
- model.getDefaultOperation().execute(new NullProgressMonitor(), null);
- }
-
- private void createEjbComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{
- IDataModel model = DataModelFactory.createDataModel(new EjbFacetProjectCreationDataModelProvider());
- model.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, projectName);
- FacetDataModelMap map = (FacetDataModelMap) model.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP);
- IDataModel ejbModel = map.getFacetDataModel(J2EEProjectUtilities.EJB);
- ejbModel.setIntProperty(IFacetDataModelProperties.FACET_VERSION,j2eeVersion);
- model.getDefaultOperation().execute(new NullProgressMonitor(), null);
- }
-
- private void createEARComponent(int j2eeVersion, String aModuleName, String projectName) throws Exception{
- IDataModel model = DataModelFactory.createDataModel(new EARFacetProjectCreationDataModelProvider());
- model.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, projectName);
- FacetDataModelMap map = (FacetDataModelMap) model.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP);
- IDataModel earModel = map.getFacetDataModel(J2EEProjectUtilities.ENTERPRISE_APPLICATION);
- earModel.setIntProperty(IFacetDataModelProperties.FACET_VERSION,j2eeVersion);
- model.getDefaultOperation().execute(new NullProgressMonitor(), null);
- }
-
- public void testCreateWebComponentWithUserDefinedFolders() throws Exception {
- IDataModel model = DataModelFactory.createDataModel(new WebFacetProjectCreationDataModelProvider());
- model.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, "TestWeb24"); //$NON-NLS-1$
- FacetDataModelMap map = (FacetDataModelMap) model.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP);
- IDataModel webModel = map.getFacetDataModel(J2EEProjectUtilities.DYNAMIC_WEB);
- webModel.setIntProperty(IFacetDataModelProperties.FACET_VERSION,24);
- webModel.setBooleanProperty(IJ2EEModuleFacetInstallDataModelProperties.ADD_TO_EAR,false);
- webModel.setStringProperty(IJ2EEModuleFacetInstallDataModelProperties.CONFIG_FOLDER,"web"); //$NON-NLS-1$
- webModel.setStringProperty(IWebFacetInstallDataModelProperties.SOURCE_FOLDER, "src"); //$NON-NLS-1$
- model.getDefaultOperation().execute(new NullProgressMonitor(), null);
- }
-
- public void testCreateAppClientComponentWithUserDefinedFolders() throws Exception{
- IDataModel model = DataModelFactory.createDataModel(new AppClientFacetProjectCreationDataModelProvider());
- model.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, "TestApp15"); //$NON-NLS-1$
- FacetDataModelMap map = (FacetDataModelMap) model.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP);
- IDataModel appClientModel = map.getFacetDataModel(J2EEProjectUtilities.APPLICATION_CLIENT);
- appClientModel.setIntProperty(IFacetDataModelProperties.FACET_VERSION,14);
- appClientModel.setStringProperty(IJ2EEModuleFacetInstallDataModelProperties.CONFIG_FOLDER, "src"); //$NON-NLS-1$
- appClientModel.setBooleanProperty(IJ2EEModuleFacetInstallDataModelProperties.ADD_TO_EAR, false);
- model.getDefaultOperation().execute(new NullProgressMonitor(), null);
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/ProjectMigrationTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/ProjectMigrationTest.java
deleted file mode 100644
index a0a351fb..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/fvtests/ProjectMigrationTest.java
+++ /dev/null
@@ -1,94 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.fvtests;
-import junit.framework.Test;
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jem.util.emf.workbench.ProjectUtilities;
-import org.eclipse.jst.j2ee.flexible.project.tests.Migrate07EJBTest;
-import org.eclipse.jst.j2ee.project.facet.IJavaProjectMigrationDataModelProperties;
-import org.eclipse.jst.j2ee.project.facet.JavaProjectMigrationDataModelProvider;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.tests.SimpleTestSuite;
-
-public class ProjectMigrationTest extends TestCase {
-
- public static String DEFAULT_PROJECT_NAME = "TestJavaProj";
-
- public ProjectMigrationTest(String name) {
- super(name);
- }
-
- public ProjectMigrationTest() {
- super();
- }
-
- public static Test suite() {
- //return new SimpleTestSuite(ProjectMigrationTest.class);
- return new SimpleTestSuite(Migrate07EJBTest.class);
- }
-
-
- public void testProjectMigration() throws Exception {
- runAll();
- }
-
- private void createJavaProject(IProgressMonitor monitor) throws CoreException {
-
- IProject project = ProjectUtilities.getProject(DEFAULT_PROJECT_NAME);
-
- if( project.exists()){
- project.delete( true, true, null );
- }
-
-// IDataModel model = DataModelFactory.createDataModel(new TestJavaProjectCreationDataModelProvider());
-// model.setProperty(ITestJavaProjectCreationProperties.PROJECT_NAME, DEFAULT_PROJECT_NAME);
-//
-// String[] srcFolder = new String[2];
-// srcFolder[0] = new String("Src1");
-// srcFolder[1] = new String("Src2");
-//
-// model.setProperty(ITestJavaProjectCreationProperties.SOURCE_FOLDERS, srcFolder);
-// try {
-// model.getDefaultOperation().execute(monitor, null);
-// } catch (ExecutionException e) {
-// e.printStackTrace();
-// }
-
- }
-
- private IPath getOutputPath(IProject project) {
- String outputLocation = "bin";
- return project.getFullPath().append(outputLocation);
- }
-
-
- public void runAll(){
- try {
- IProgressMonitor monitor = new NullProgressMonitor();
- createJavaProject(monitor);
- migrateProject(DEFAULT_PROJECT_NAME);
-
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- private void migrateProject(String projectName){
- IDataModel model = DataModelFactory.createDataModel(new JavaProjectMigrationDataModelProvider());
- model.setProperty( IJavaProjectMigrationDataModelProperties.PROJECT_NAME, projectName);
-
- try {
- model.getDefaultOperation().execute( null, null );
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/tests/FlexibleProjectEditTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/tests/FlexibleProjectEditTest.java
deleted file mode 100644
index 985d28de..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/tests/FlexibleProjectEditTest.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Created on Feb 14, 2005
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.j2ee.flexible.project.tests;
-
-import junit.framework.TestCase;
-
-/**
- * @author vijayb
- *
- * TODO To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-public class FlexibleProjectEditTest extends TestCase {
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/tests/Migrate07EJBTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/tests/Migrate07EJBTest.java
deleted file mode 100644
index 6e4d96ac..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/flexible/project/tests/Migrate07EJBTest.java
+++ /dev/null
@@ -1,83 +0,0 @@
-package org.eclipse.jst.j2ee.flexible.project.tests;
-
-import junit.framework.TestCase;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IncrementalProjectBuilder;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.jobs.IJobManager;
-import org.eclipse.core.runtime.jobs.ISchedulingRule;
-import org.eclipse.jst.j2ee.ejb.EJBJar;
-import org.eclipse.jst.j2ee.ejb.componentcore.util.EJBArtifactEdit;
-import org.eclipse.jst.j2ee.flexible.project.apitests.artifactedit.Test0_7Workspace;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-
-public class Migrate07EJBTest extends TestCase {
-
- private IProject ejbProject,webProject;
- public Migrate07EJBTest() {
- super();
-
- if (Test0_7Workspace.init()) {
- ejbProject = Test0_7Workspace.getTargetProject("MyEarEJB");
- webProject = Test0_7Workspace.getTargetProject("TestWeb");
- } else {
- fail();
-
- }
- }
-
- private void pass() {
- assertTrue(true);
- }
- public String getFacetFromProject(IProject aProject) {
- return J2EEProjectUtilities.getJ2EEProjectType(aProject);
- }
-
- public void testMigrate() {
- EJBArtifactEdit ejbedit = null;
- WebArtifactEdit webEdit = null;
-
-
- //Run full build to start migration
- try {
- ResourcesPlugin.getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, null);
- } catch (CoreException e) {
- }
-
- ISchedulingRule rule= ResourcesPlugin.getWorkspace().getRuleFactory().buildRule();
- IJobManager manager= Platform.getJobManager();
- try {
- manager.beginRule(rule, null);
-
- try {
- ejbedit = EJBArtifactEdit.getEJBArtifactEditForRead(ejbProject);
- if (ejbedit != null) {
- EJBJar ejb = ejbedit.getEJBJar();
- assertTrue(ejb != null);
- }
- webEdit = WebArtifactEdit.getWebArtifactEditForRead(webProject);
- if (webEdit != null) {
- WebApp web = webEdit.getWebApp();
- assertTrue(web != null);
- }
- } finally {
- if (ejbedit != null) {
- ejbedit.dispose();
- }
- if (webEdit != null) {
- webEdit.dispose();
- }
- }
-
- } finally {
- manager.endRule(rule);
- }
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/project/facet/tests/EjbProjectFacetCreationTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/project/facet/tests/EjbProjectFacetCreationTest.java
deleted file mode 100644
index cf64d67f..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/project/facet/tests/EjbProjectFacetCreationTest.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.eclipse.jst.j2ee.project.facet.tests;
-import junit.framework.Test;
-import junit.framework.TestCase;
-
-import org.eclipse.jst.j2ee.internal.ejb.project.operations.EjbFacetProjectCreationDataModelProvider;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.tests.SimpleTestSuite;
-
-public class EjbProjectFacetCreationTest extends TestCase {
-
-
- public EjbProjectFacetCreationTest(String name) {
- super(name);
- }
-
- public EjbProjectFacetCreationTest() {
- super();
- }
- public static Test suite() {
- return new SimpleTestSuite(EjbProjectFacetCreationTest.class);
- }
-
- public void testEjbCreation() throws Exception {
-
- IDataModel dm = DataModelFactory.createDataModel( new EjbFacetProjectCreationDataModelProvider());
- dm.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, "TestEJBFacet"); //$NON-NLS-1$
- dm.getDefaultOperation().execute(null, null);
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/project/facet/tests/ProjectFacetCreationTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/project/facet/tests/ProjectFacetCreationTest.java
deleted file mode 100644
index e3a5e6dc..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/project/facet/tests/ProjectFacetCreationTest.java
+++ /dev/null
@@ -1,79 +0,0 @@
-package org.eclipse.jst.j2ee.project.facet.tests;
-import java.util.HashSet;
-import java.util.Set;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.project.facet.core.IFacetedProject;
-import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
-import org.eclipse.wst.common.project.facet.core.IFacetedProject.Action;
-import org.eclipse.wst.common.project.facet.core.runtime.IRuntime;
-import org.eclipse.wst.common.project.facet.core.runtime.RuntimeManager;
-import org.eclipse.wst.common.tests.SimpleTestSuite;
-
-public class ProjectFacetCreationTest extends TestCase {
-
-
- public ProjectFacetCreationTest(String name) {
- super(name);
- }
-
- public ProjectFacetCreationTest() {
- super();
- }
- public static Test suite() {
- return new SimpleTestSuite(ProjectFacetCreationTest.class);
- }
-
- public void testWebCreation() throws Exception {
- IFacetedProject facetProj = ProjectFacetsManager.create("SampleWebProject",null,new NullProgressMonitor());
- // Set runtime if available
- setRuntime(facetProj);
-
- Set actions = new HashSet();
-
- //Setting up the java and web install action
- actions.add(setupJavaInstallAction());
- actions.add(setupWebInstallAction());
-
-
- facetProj.modify( actions,null);
-
- IVirtualComponent comp = ComponentCore.createComponent(facetProj.getProject());
- assertTrue(J2EEProjectUtilities.isDynamicWebProject(comp.getProject()));
-
- }
-
- private IFacetedProject.Action setupWebInstallAction() {
- IProjectFacetVersion webfacetversion = ProjectFacetsManager.getProjectFacet( "jst.web" ).getVersion( "2.4" );
-
- IFacetedProject.Action action = new IFacetedProject.Action( Action.Type.INSTALL, webfacetversion, null );
- return action;
- }
-
- private IFacetedProject.Action setupJavaInstallAction() {
- IProjectFacetVersion webfacetversion = ProjectFacetsManager.getProjectFacet( "jst.java" ).getVersion( "1.4" );
- IFacetedProject.Action action = new IFacetedProject.Action( Action.Type.INSTALL, webfacetversion, null );
- return action;
- }
-
- protected void setRuntime(IFacetedProject facetProj) throws CoreException {
- //Setting the runtime
-// RuntimeManager.bridge();
- try {
- IRuntime runtime = RuntimeManager.getRuntime("org.eclipse.jst.server.tomcat");
- facetProj.setRuntime(runtime,null);
- } catch (IllegalArgumentException ex) {
- System.out.println("Runtime not found: org.eclipse.jst.server.tomcat");
- }
-
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/bvt/AutomatedBVT.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/bvt/AutomatedBVT.java
deleted file mode 100644
index eaa08c64..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/bvt/AutomatedBVT.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Created on Apr 1, 2003
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-package org.eclipse.jst.j2ee.tests.bvt;
-
-import java.net.URL;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
-
-import org.eclipse.core.runtime.IPluginDescriptor;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.wtp.j2ee.headless.tests.plugin.AllPluginTests;
-
-
-/**
- * @author jsholl
- *
- * To change this generated comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
- */
-public class AutomatedBVT extends TestSuite {
-
- public static String baseDirectory = System.getProperty("user.dir") + java.io.File.separatorChar + "TestData" + java.io.File.separatorChar;
-
- static {
- try {
- IPluginDescriptor pluginDescriptor = Platform.getPluginRegistry().getPluginDescriptor("org.eclipse.jst.j2ee.tests");
- URL url = pluginDescriptor.getInstallURL();
- AutomatedBVT.baseDirectory = Platform.asLocalURL(url).getFile() + "TestData"+ java.io.File.separatorChar;
- } catch (Exception e) {
- System.err.println("Using working directory since a workspace URL could not be located.");
- }
- }
-
- public static int unimplementedMethods;
-
- public static void main(String[] args) {
- unimplementedMethods = 0;
- TestRunner.run(suite());
- if (unimplementedMethods > 0) {
- System.out.println("\nCalls to warnUnimpl: " + unimplementedMethods);
- }
- }
-
- public AutomatedBVT() {
- super();
- TestSuite suite = (TestSuite) AutomatedBVT.suite();
- for (int i = 0; i < suite.testCount(); i++) {
- addTest(suite.testAt(i));
- }
- }
-
- public static Test suite() {
- TestSuite suite = new TestSuite("Test for org.eclipse.jst.j2ee.test.bvt");
- suite.addTest(AllPluginTests.suite());
- return suite;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/bvt/AutomatedBVTEclipse.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/bvt/AutomatedBVTEclipse.java
deleted file mode 100644
index 186e1570..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/bvt/AutomatedBVTEclipse.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Created on Mar 25, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.jst.j2ee.tests.bvt;
-
-import java.io.IOException;
-import java.net.URL;
-
-import org.eclipse.core.runtime.IPluginDescriptor;
-import org.eclipse.core.runtime.Platform;
-
-/**
- * @author jsholl
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class AutomatedBVTEclipse extends AutomatedBVT {
-
- public AutomatedBVTEclipse(){
- super();
- IPluginDescriptor pluginDescriptor = Platform.getPluginRegistry().getPluginDescriptor("org.eclipse.jst.j2ee.tests");
- URL url = pluginDescriptor.getInstallURL();
- try {
- AutomatedBVT.baseDirectory = Platform.asLocalURL(url).getFile() + "TestData"+ java.io.File.separatorChar;
- } catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/AllTests.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/AllTests.java
deleted file mode 100644
index 9e8428e6..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/AllTests.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Created on Feb 18, 2005
- *
- * TODO To change the template for this generated file go to
- * Window - Preferences - Java - Code Style - Code Templates
- */
-package org.eclipse.jst.j2ee.tests.modulecore;
-
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.runtime.Path;
-import org.eclipse.jst.j2ee.project.facet.tests.EjbProjectFacetCreationTest;
-import org.eclipse.wst.server.core.IRuntime;
-import org.eclipse.wst.server.core.IRuntimeType;
-import org.eclipse.wst.server.core.IRuntimeWorkingCopy;
-import org.eclipse.wst.server.core.ServerCore;
-
-/**
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class AllTests extends TestSuite {
-
- public static IRuntime JONAS_TOMCAT_RUNTIME = createJONASRuntime();
-
- public static Test suite(){
- return new AllTests();
- }
-
- public AllTests(){
- super("ModuleCore Tests");
- //addTest(ProjectFacetCreationTest.suite());
- addTest(EjbProjectFacetCreationTest.suite());
- }
- public static IRuntime createJONASRuntime() {
- String s = "D:/JOnAS-4.3.2/lib";
- if (s == null || s.length() == 0)
- return null;
- try {
- IRuntimeType rt = ServerCore.findRuntimeType("org.eclipse.jst.server.core.runtimeType");
- IRuntimeWorkingCopy wc = rt.createRuntime(null, null);
- wc.setLocation(new Path(s));
- return wc.save(true, null);
- } catch (Exception e) {
- e.printStackTrace();
- return null;
- }
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/FlexibleProjectBuilderTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/FlexibleProjectBuilderTest.java
deleted file mode 100644
index 26c18584..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/FlexibleProjectBuilderTest.java
+++ /dev/null
@@ -1,260 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.tests.modulecore;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.IWorkspaceDescription;
-import org.eclipse.core.resources.IncrementalProjectBuilder;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.jst.j2ee.internal.web.archive.operations.WebFacetProjectCreationDataModelProvider;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties;
-import org.eclipse.wst.common.componentcore.internal.ComponentResource;
-import org.eclipse.wst.common.componentcore.internal.ComponentcoreFactory;
-import org.eclipse.wst.common.componentcore.internal.ProjectComponents;
-import org.eclipse.wst.common.componentcore.internal.ReferencedComponent;
-import org.eclipse.wst.common.componentcore.internal.StructureEdit;
-import org.eclipse.wst.common.componentcore.internal.WorkbenchComponent;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext;
-
-public class FlexibleProjectBuilderTest extends TestCase {
- public static final String MODULE__RESOURCE_URI_PROTOCOL = "module:/resource/";
- private IProject project;
- private EMFWorkbenchContext emfContext;
-
- public FlexibleProjectBuilderTest(String name) {
- super(name);
- // TODO Auto-generated constructor stub
- }
-
- public static Test suite() {
- // return new TestSuite(ModuleEditModelTest.class);
- TestSuite suite = new TestSuite();
- suite.addTest(new FlexibleProjectBuilderTest("testFlexibleProjectBuilderOutput"));
- return suite;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see junit.framework.TestCase#setUp()
- */
- public void setUp() throws Exception {
- IWorkspaceDescription desc = ResourcesPlugin.getWorkspace().getDescription();
- desc.setAutoBuilding(false);
- ResourcesPlugin.getWorkspace().setDescription(desc);
- getProjectForWebModuleAndLocalWebLib().delete(true, null);
- getProjectForRemoteWebLib().delete(true, null);
- super.setUp();
- }
-
- /**
- *
- */
- public void testFlexibleProjectBuilderOutput() throws Exception {
- setupContent();
- buildProjects();
- }
-
-
- /**
- *
- */
- private void buildProjects() {
- try {
- ResourcesPlugin.getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, null);
- } catch (Exception e) {
- // TODO: handle exception
- }
- }
-
- public void setupContent() throws Exception {
- StructureEdit localModuleCore = null;
- try {
- getProjectForWebModuleAndLocalWebLib();
-
- IProject containingProject = StructureEdit.getContainingProject(getWebModuleURI());
- localModuleCore = StructureEdit.getStructureEditForWrite(containingProject);
-
- createLocalModules(localModuleCore);
-
- // will setup and handle creating the modules model
- getProjectForRemoteWebLib();
-
- WorkbenchComponent webModule = localModuleCore.getComponent();
-
- addDependentModule(webModule, new Path("WEB-INF/lib"), getLocalWebLibraryModuleURI());
- addDependentModule(webModule, new Path("WEB-INF/lib"), getRemoteWebLibraryModuleURI());
-
- localModuleCore.saveIfNecessary(null);
-
- } finally {
- if (localModuleCore != null)
- localModuleCore.dispose();
- }
-
- }
-
- public IProject getProjectForWebModuleAndLocalWebLib() throws Exception {
- return getWebProject(getWebModuleAndLocalWebLibModuleProjectName());
- }
-
- public IProject getProjectForRemoteWebLib() throws Exception {
- return getJavaProject(getRemoteWebLibModuleProjectName());
- }
-
- public String getWebModuleAndLocalWebLibModuleProjectName() {
- return "MyModulesProject"; //$NON-NLS-1$
- }
-
- public String getRemoteWebLibModuleProjectName() {
- return "RemoteWebLibProject"; //$NON-NLS-1$
- }
-
- public IProject getWebProject(String aProjectName) throws Exception {
- IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- if (!project.exists())
- project = createWebProject(aProjectName);
- return project;
- }
-
- public IProject getJavaProject(String aProjectName) throws Exception {
- IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- if (!project.exists()) {
- // createJavaProject(aProjectName);
- }
- return project;
- }
-
- public IProject createWebProject(String aProjectName) throws Exception {
-
- project = ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- if (!project.exists()) {
- IDataModel dataModel = DataModelFactory.createDataModel(new WebFacetProjectCreationDataModelProvider());
- dataModel.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, aProjectName);
- dataModel.getDefaultOperation().execute(new NullProgressMonitor(), null);
- }
- return ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- }
-
- // public IProject createJavaProject(String aProjectName) throws Exception {
- //
- // project = ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- // if (!project.exists()) {
- // IDataModel dataModel = DataModelFactory.createDataModel(new
- // TestJavaProjectCreationDataModelProvider());
- // dataModel.setProperty(ITestJavaProjectCreationProperties.PROJECT_NAME, aProjectName);
- // dataModel.getDefaultOperation().execute(new NullProgressMonitor(),null);
- // project = ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- // ModuleCoreNature.addModuleCoreNatureIfNecessary(project, null);
- //
- // ModuleStructuralModel structuralModel = null;
- // try {
- // structuralModel =
- // ModuleCoreNature.getModuleCoreNature(project).getModuleStructuralModelForWrite(this);
- // structuralModel.prepareProjectModulesIfNecessary();
- // StructureEdit moduleCore = (StructureEdit)
- // structuralModel.getAdapter(StructureEdit.ADAPTER_TYPE);
- // String deployedName = aProjectName + ".jar";
- // URI moduleURI = URI.createURI(MODULE__RESOURCE_URI_PROTOCOL + aProjectName + IPath.SEPARATOR
- // + deployedName);
- // WorkbenchComponent utilityModule = addWorkbenchModule(moduleCore.getComponentModelRoot(),
- // deployedName, moduleURI);
- // IResource sourceFolder = project.getFolder("src");
- // addResource(utilityModule, sourceFolder, "/"); //$NON-NLS-1$
- // structuralModel.saveIfNecessary(this);
- // } finally {
- // if (structuralModel != null)
- // structuralModel.releaseAccess(this);
- // }
- // }
- // return ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- // }
-
- public void addResource(WorkbenchComponent aModule, IResource aSourceFile, String aDeployPath) {
- ComponentResource resource = ComponentcoreFactory.eINSTANCE.createComponentResource();
- resource.setSourcePath(aSourceFile.getFullPath());
- resource.setRuntimePath(new Path(aDeployPath));
- aModule.getResources().add(resource);
- }
-
- public WorkbenchComponent addWorkbenchModule(ProjectComponents theModules, String aDeployedName, URI aHandle) {
- WorkbenchComponent module = ComponentcoreFactory.eINSTANCE.createWorkbenchComponent();
- module.setName(aDeployedName);
- theModules.getComponents().add(module);
- return module;
- }
-
- public void addDependentModule(WorkbenchComponent aModule, IPath aDeployedPath, URI aHandle) {
- ReferencedComponent aClasspathDependentModule = ComponentcoreFactory.eINSTANCE.createReferencedComponent();
- aClasspathDependentModule.setRuntimePath(aDeployedPath);
- aClasspathDependentModule.setHandle(aHandle);
- aModule.getReferencedComponents().add(aClasspathDependentModule);
- }
-
- public void createLocalModules(StructureEdit moduleCore) throws Exception {
-
- ProjectComponents projectModules = moduleCore.getComponentModelRoot();
-
- WorkbenchComponent webLibraryModule = addWorkbenchModule(projectModules, getLocalWebLibraryDeployedName(), getLocalWebLibraryModuleURI());
- IFolder localWebLibrary = getProjectForWebModuleAndLocalWebLib().getFolder(getLocalWebLibraryFolderName());
- if (!localWebLibrary.exists())
- localWebLibrary.create(true, true, null);
- addResource(webLibraryModule, localWebLibrary, "/");
- }
-
- public URI getWebModuleURI() {
- return URI.createURI(MODULE__RESOURCE_URI_PROTOCOL + getWebModuleAndLocalWebLibModuleProjectName() + IPath.SEPARATOR + getWebModuleDeployedName());
- }
-
- public URI getLocalWebLibraryModuleURI() {
- return URI.createURI(MODULE__RESOURCE_URI_PROTOCOL + getWebModuleAndLocalWebLibModuleProjectName() + IPath.SEPARATOR + getLocalWebLibraryDeployedName());
- }
-
- public URI getRemoteWebLibraryModuleURI() {
- return URI.createURI(MODULE__RESOURCE_URI_PROTOCOL + getRemoteWebLibModuleProjectName() + IPath.SEPARATOR + getRemoteWebLibraryDeployedName());
- }
-
- public String getWebModuleDeployedName() {
- return getWebModuleAndLocalWebLibModuleProjectName() + ".war"; //$NON-NLS-1$
- }
-
- public String getLocalWebLibraryDeployedName() {
- return "LocalWebLibrary.jar"; //$NON-NLS-1$
- }
-
- public String getRemoteWebLibraryDeployedName() {
- return getRemoteWebLibModuleProjectName() + ".jar"; //$NON-NLS-1$
- }
-
- public String getModulesFolder() {
- return "MyWebModule"; //$NON-NLS-1$
- }
-
- public String getTestResourcePath() {
- return "WEB-INF/web.xml"; //$NON-NLS-1$
- }
-
- public String getLocalWebLibraryFolderName() {
- return "WebLibraryContents";
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/ModuleStructuralModelTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/ModuleStructuralModelTest.java
deleted file mode 100644
index 31b2ac7b..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/jst/j2ee/tests/modulecore/ModuleStructuralModelTest.java
+++ /dev/null
@@ -1,409 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.tests.modulecore;
-
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.jst.j2ee.internal.web.archive.operations.WebFacetProjectCreationDataModelProvider;
-import org.eclipse.jst.j2ee.web.componentcore.util.WebArtifactEdit;
-import org.eclipse.jst.j2ee.webapplication.WebApp;
-import org.eclipse.wst.common.componentcore.ModuleCoreNature;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties;
-import org.eclipse.wst.common.componentcore.internal.ArtifactEditModel;
-import org.eclipse.wst.common.componentcore.internal.ComponentResource;
-import org.eclipse.wst.common.componentcore.internal.ComponentcoreFactory;
-import org.eclipse.wst.common.componentcore.internal.ProjectComponents;
-import org.eclipse.wst.common.componentcore.internal.ReferencedComponent;
-import org.eclipse.wst.common.componentcore.internal.StructureEdit;
-import org.eclipse.wst.common.componentcore.internal.WorkbenchComponent;
-import org.eclipse.wst.common.componentcore.internal.impl.ArtifactEditModelFactory;
-import org.eclipse.wst.common.componentcore.internal.impl.PlatformURLModuleConnection;
-import org.eclipse.wst.common.componentcore.internal.impl.ResourceTreeRoot;
-import org.eclipse.wst.common.componentcore.internal.util.SourcePathProvider;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext;
-
-/**
- * <p>
- * The following class is experimental until fully documented.
- * </p>
- */
-public class ModuleStructuralModelTest extends TestCase {
-
- public static final String MODULE__RESOURCE_URI_PROTOCOL = "module:/resource/";
- private IProject project;
- private EMFWorkbenchContext emfContext;
-
- public interface IModuleTypesConstants {
- String MODULE_TYPE_WEB = "org.eclipse.jst.modules.web"; //$NON-NLS-1$
- }
-
-
- public ModuleStructuralModelTest(String name) {
- super(name);
- }
-
- public static Test suite() {
- // return new TestSuite(ModuleEditModelTest.class);
- TestSuite suite = new TestSuite();
- suite.addTest(new ModuleStructuralModelTest("testResolveDependentModule"));
- return suite;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see junit.framework.TestCase#setUp()
- */
- public void setUp() throws Exception {
- getProjectForWebModuleAndLocalWebLib().delete(true, null);
- getProjectForRemoteWebLib().delete(true, null);
- setupContent();
- super.setUp();
- }
-
- /**
- *
- */
- public void testResourceTree() throws Exception {
- StructureEdit moduleCore = null;
- try {
- /* We need to find the project */
- moduleCore = StructureEdit.getStructureEditForRead(StructureEdit.getContainingProject(getWebModuleURI()));
-
- WorkbenchComponent module = moduleCore.getWorkbenchModules()[0];
- ResourceTreeRoot sourceRoot = new ResourceTreeRoot(module, SourcePathProvider.INSTANCE);
- ComponentResource[] resources = sourceRoot.findModuleResources(URI.createURI("/WebContent/WEB-INF/web.xml"));
- System.out.println(resources[0] != null ? resources[0].getSourcePath().toString() : "NOT FOUND");
-
- } finally {
- if (moduleCore != null)
- moduleCore.dispose();
- }
-
- }
-
- public void testResolveDependentModule() throws Exception {
-
- StructureEdit moduleCore = null;
- try {
- IProject containingProject = StructureEdit.getContainingProject(getWebModuleURI());
- moduleCore = StructureEdit.getStructureEditForRead(containingProject);
- WorkbenchComponent[] modules = moduleCore.getWorkbenchModules();
- ProjectComponents pm = moduleCore.getComponentModelRoot();
- Class clazz = moduleCore.getClass();
- String name = StructureEdit.getDeployedName(getWebModuleURI());
- List dependentModules = null;
- for (int i = 0; i < modules.length; i++) {
- System.out.println("Module: " + modules[i].getName());
- List list = modules[i].getResources();
- for (int j = 0; j < list.size(); j++) {
- ComponentResource wmr = (ComponentResource) list.get(j);
- IResource er = StructureEdit.getEclipseResource(wmr);
- }
- // test modulecore API
- dependentModules = modules[i].getReferencedComponents();
- for (int dependentIndex = 0; dependentIndex < dependentModules.size(); dependentIndex++) {
- ReferencedComponent dependentModule = (ReferencedComponent) dependentModules.get(dependentIndex);
- WorkbenchComponent resolvedModule = moduleCore.findComponentByURI(dependentModule.getHandle());
- System.out.println("\tDependentModule: " + resolvedModule.getName() + " in " + resolvedModule.getHandle());
- boolean b = moduleCore.isLocalDependency(dependentModule);
- }
- }
- } finally {
- if (moduleCore != null)
- moduleCore.dispose();
- }
- }
-
- public void testLoadResource() throws Exception {
-
- ArtifactEditModel artifactModel = null;
- try {
- URI moduleURI = URI.createURI(MODULE__RESOURCE_URI_PROTOCOL + getWebModuleAndLocalWebLibModuleProjectName() + "/" + getWebModuleAndLocalWebLibModuleProjectName() + ".war");
- artifactModel = getNature(getProjectForWebModuleAndLocalWebLib()).getArtifactEditModelForRead(moduleURI, this);
- WebArtifactEdit editUtility = (WebArtifactEdit) artifactModel.getAdapter(WebArtifactEdit.ADAPTER_TYPE);
-
- WebApp webApp = (WebApp) editUtility.getDeploymentDescriptorRoot();
- if (webApp == null)
- System.out.println("Read failed.");
- else
- System.out.println("Found WebApp: " + webApp.getDisplayName());
- } finally {
- if (artifactModel != null)
- artifactModel.releaseAccess(this);
- }
- }
-
- public void testURIAPI() throws Exception {
- URI uri = URI.createURI(MODULE__RESOURCE_URI_PROTOCOL + getWebModuleAndLocalWebLibModuleProjectName() + IPath.SEPARATOR + getWebModuleDeployedName() + ".war" + IPath.SEPARATOR + getTestResourcePath());
- System.out.println("URI : \"" + uri.toString() + "\"" + " with scheme \"" + uri.scheme() + "\" has " + uri.segmentCount() + " segments. They are ...");
- String[] segments = uri.segments();
- for (int i = 0; i < segments.length; i++)
- System.out.println("[" + i + "]: " + segments[i]);
-
-
- /* Determine if the URI is for a resource or binary module */
-
- if (PlatformURLModuleConnection.RESOURCE_MODULE.equals(segments[0])) {
- StructureEdit moduleCore = null;
- try {
- moduleCore = StructureEdit.getStructureEditForRead(StructureEdit.getContainingProject(uri));
- ComponentResource[] resource = moduleCore.findResourcesByRuntimePath(uri);
- System.out.println(resource != null ? resource[0].getSourcePath().toString() : "NOT FOUND");
- } finally {
- if (moduleCore != null)
- moduleCore.dispose();
- }
- } else if (PlatformURLModuleConnection.BINARY_MODULE.equals(segments[0])) {
-
- }
- }
-
- public void testLoadingDocument() throws Exception {
- ArtifactEditModelFactory factory = new ArtifactEditModelFactory();
-
- URI moduleURI = URI.createURI(PlatformURLModuleConnection.MODULE_PROTOCOL + IPath.SEPARATOR + getWebModuleAndLocalWebLibModuleProjectName() + IPath.SEPARATOR + getWebModuleDeployedName());
- URI ddURI = URI.createURI(IPath.SEPARATOR + "WEB-INF" + IPath.SEPARATOR + "web.xml");
-
- Map params = new HashMap();
- params.put(ArtifactEditModelFactory.PARAM_MODULE_URI, moduleURI);
- EMFWorkbenchContext context = createEMFWorkbenchContext();
- ArtifactEditModel editModel = (ArtifactEditModel) factory.createEditModelForWrite(IModuleTypesConstants.MODULE_TYPE_WEB, context, params);
- Resource ddResource = editModel.getResource(ddURI);
- EObject rootObject = (EObject) ddResource.getContents().get(0);
- if (rootObject == null)
- System.out.println("Read failed.");
- else
- System.out.println("Found WebApp: " + ((WebApp) rootObject).getDisplayName());
-
- }
-
- public void setupContent() throws Exception {
- StructureEdit localModuleCore = null;
- try {
- getProjectForWebModuleAndLocalWebLib();
-
- IProject containingProject = StructureEdit.getContainingProject(getWebModuleURI());
- localModuleCore = StructureEdit.getStructureEditForWrite(containingProject);
-
- createLocalModules(localModuleCore);
-
- // will setup and handle creating the modules model
- getProjectForRemoteWebLib();
-
- WorkbenchComponent webModule = localModuleCore.getComponent();
-
- addDependentModule(webModule, new Path("WEB-INF/lib"), getLocalWebLibraryModuleURI());
- addDependentModule(webModule, new Path("WEB-INF/lib"), getRemoteWebLibraryModuleURI());
-
- localModuleCore.saveIfNecessary(null);
-
- } finally {
- if (localModuleCore != null)
- localModuleCore.dispose();
- }
-
- }
-
- public void createLocalModules(StructureEdit moduleCore) throws Exception {
-
- ProjectComponents projectModules = moduleCore.getComponentModelRoot();
-
- WorkbenchComponent webLibraryModule = addWorkbenchModule(projectModules, getLocalWebLibraryDeployedName(), getLocalWebLibraryModuleURI());
- IFolder localWebLibrary = getProjectForWebModuleAndLocalWebLib().getFolder(getLocalWebLibraryFolderName());
- if (!localWebLibrary.exists())
- localWebLibrary.create(true, true, null);
- addResource(webLibraryModule, localWebLibrary, "/");
- }
-
- public IFile getModuleRelativeFile(String aModuleRelativePath) throws Exception {
- return getProjectForWebModuleAndLocalWebLib().getFile(new Path(getModulesFolder() + IPath.SEPARATOR + aModuleRelativePath));
- }
-
- public void addResource(WorkbenchComponent aModule, IResource aSourceFile, String aDeployPath) {
- ComponentResource resource = ComponentcoreFactory.eINSTANCE.createComponentResource();
- resource.setSourcePath(aSourceFile.getFullPath());
- resource.setRuntimePath(new Path(aDeployPath));
- aModule.getResources().add(resource);
- }
-
- public WorkbenchComponent addWorkbenchModule(ProjectComponents theModules, String aDeployedName, URI aHandle) {
- WorkbenchComponent module = ComponentcoreFactory.eINSTANCE.createWorkbenchComponent();
- module.setName(aDeployedName);
- theModules.getComponents().add(module);
- return module;
- }
-
- public void addDependentModule(WorkbenchComponent aModule, IPath aDeployedPath, URI aHandle) {
- ReferencedComponent aClasspathDependentModule = ComponentcoreFactory.eINSTANCE.createReferencedComponent();
- aClasspathDependentModule.setRuntimePath(aDeployedPath);
- aClasspathDependentModule.setHandle(aHandle);
- aModule.getReferencedComponents().add(aClasspathDependentModule);
- }
-
-
- public EMFWorkbenchContext createEMFWorkbenchContext() throws Exception {
- if (emfContext == null)
- emfContext = new EMFWorkbenchContext(getProjectForWebModuleAndLocalWebLib());
- return emfContext;
- }
-
- public IProject getProjectForWebModuleAndLocalWebLib() throws Exception {
- return getWebProject(getWebModuleAndLocalWebLibModuleProjectName());
- }
-
- public IProject getProjectForRemoteWebLib() throws Exception {
- return getJavaProject(getRemoteWebLibModuleProjectName());
- }
-
- public IProject getWebProject(String aProjectName) throws Exception {
- IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- if (!project.exists())
- project = createWebProject(aProjectName);
- return project;
- }
-
- public IProject getJavaProject(String aProjectName) throws Exception {
- IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- if (!project.exists()) {
- // createJavaProject(aProjectName);
- }
- return project;
- }
-
- public IProject createWebProject(String aProjectName) throws Exception {
-
- project = ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- if (!project.exists()) {
- IDataModel dataModel = DataModelFactory.createDataModel(new WebFacetProjectCreationDataModelProvider());
- dataModel.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, aProjectName);
- // dataModel.setProperty(WebComponentCreationDataModel.IS_FLEXIBLE_PROJECT,
- // Boolean.TRUE);
- // dataModel.setProperty(IWebComponentCreationDataModelProperties.ADD_TO_EAR,
- // Boolean.FALSE);
- // dataModel.setProperty(WebComponentCreationDataModel.ADD_SERVER_TARGET,
- // Boolean.FALSE);
- // dataModel.setProperty(WebModuleCreationDataModel.SERVER_TARGET_ID,
- // AllPluginTests.JONAS_SERVER.getId());
- dataModel.getDefaultOperation().execute(new NullProgressMonitor(), null);
- }
- return ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- }
-
- // public IProject createJavaProject(String aProjectName) throws Exception {
- //
- // project = ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- // if (!project.exists()) {
- // IDataModel dataModel = DataModelFactory.createDataModel(new
- // TestJavaProjectCreationDataModelProvider());
- // dataModel.setProperty(ITestJavaProjectCreationProperties.PROJECT_NAME, aProjectName);
- // dataModel.getDefaultOperation().execute(new NullProgressMonitor(), null);
- // project = ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- // ModuleCoreNature.addModuleCoreNatureIfNecessary(project, null);
- //
- // ModuleStructuralModel structuralModel = null;
- // try {
- // structuralModel =
- // ModuleCoreNature.getModuleCoreNature(project).getModuleStructuralModelForWrite(this);
- // structuralModel.prepareProjectModulesIfNecessary();
- // StructureEdit moduleCore = (StructureEdit)
- // structuralModel.getAdapter(StructureEdit.ADAPTER_TYPE);
- // String deployedName = aProjectName + ".jar";
- // URI moduleURI = URI.createURI(MODULE__RESOURCE_URI_PROTOCOL + aProjectName + IPath.SEPARATOR
- // + deployedName);
- // WorkbenchComponent utilityModule = addWorkbenchModule(moduleCore.getComponentModelRoot(),
- // deployedName, moduleURI);
- // IResource sourceFolder = project.getFolder("src");
- // addResource(utilityModule, sourceFolder, "/"); //$NON-NLS-1$
- // structuralModel.saveIfNecessary(this);
- // } finally {
- // if (structuralModel != null)
- // structuralModel.releaseAccess(this);
- // }
- // }
- // return ResourcesPlugin.getWorkspace().getRoot().getProject(aProjectName);
- // }
-
- public ModuleCoreNature getNature(IProject aProject) {
- try {
- return (ModuleCoreNature) aProject.getNature(ModuleCoreNature.MODULE_NATURE_ID);
- } catch (CoreException e) {
- e.printStackTrace();
- }
- return null;
- }
-
- public URI getWebModuleURI() {
- return URI.createURI(MODULE__RESOURCE_URI_PROTOCOL + getWebModuleAndLocalWebLibModuleProjectName() + IPath.SEPARATOR + getWebModuleDeployedName());
- }
-
- public URI getLocalWebLibraryModuleURI() {
- return URI.createURI(MODULE__RESOURCE_URI_PROTOCOL + getWebModuleAndLocalWebLibModuleProjectName() + IPath.SEPARATOR + getLocalWebLibraryDeployedName());
- }
-
- public URI getRemoteWebLibraryModuleURI() {
- return URI.createURI(MODULE__RESOURCE_URI_PROTOCOL + getRemoteWebLibModuleProjectName() + IPath.SEPARATOR + getRemoteWebLibraryDeployedName());
- }
-
- public String getWebModuleAndLocalWebLibModuleProjectName() {
- return "MyModulesProject"; //$NON-NLS-1$
- }
-
- public String getRemoteWebLibModuleProjectName() {
- return "RemoteWebLibProject"; //$NON-NLS-1$
- }
-
- public String getWebModuleDeployedName() {
- return getWebModuleAndLocalWebLibModuleProjectName() + ".war"; //$NON-NLS-1$
- }
-
- public String getLocalWebLibraryDeployedName() {
- return "LocalWebLibrary.jar"; //$NON-NLS-1$
- }
-
- public String getRemoteWebLibraryDeployedName() {
- return getRemoteWebLibModuleProjectName() + ".jar"; //$NON-NLS-1$
- }
-
- public String getModulesFolder() {
- return "MyWebModule"; //$NON-NLS-1$
- }
-
- public String getTestResourcePath() {
- return "WEB-INF/web.xml"; //$NON-NLS-1$
- }
-
- public String getLocalWebLibraryFolderName() {
- return "WebLibraryContents";
- }
-
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AllTests.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AllTests.java
deleted file mode 100644
index 6fb41cb5..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AllTests.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Created on Feb 2, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.appclient.operations;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.wtp.headless.tests.savestrategy.AppClientImportOperationTest;
-
-/**
- * @author jsholl
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class AllTests extends TestSuite {
- public static Test suite(){
- return new AllTests();
- }
-
- public AllTests(){
- super("App Client Tests");
- addTest(AppClientExportOperationTest.suite());
- addTest(AppClientImportOperationTest.suite());
- addTest(AppClientProjectCreationOperationTest.suite());
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AppClientExportOperationTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AppClientExportOperationTest.java
deleted file mode 100644
index 10f80c64..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AppClientExportOperationTest.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * Created on Jan 6, 2004
- *
- * To change the template for this generated file go to Window - Preferences - Java - Code
- * Generation - Code and Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.appclient.operations;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import junit.framework.Test;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.jst.j2ee.application.internal.operations.AppClientComponentExportDataModelProvider;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.tests.SimpleTestSuite;
-import org.eclipse.wtp.headless.tests.savestrategy.AppClientImportOperationTest;
-import org.eclipse.wtp.headless.tests.savestrategy.ModuleImportOperationTestCase;
-import org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleExportOperationTestCase;
-
-/**
- * @author Administrator
- *
- * To change the template for this generated type comment go to Window - Preferences - Java - Code
- * Generation - Code and Comments
- */
-public class AppClientExportOperationTest extends ModuleExportOperationTestCase {
-
- public AppClientExportOperationTest(String name) {
- super(name);
- }
- public static Test suite() {
- return new SimpleTestSuite(AppClientExportOperationTest.class);
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleExportOperationTestCase#getModelInstance()
- */
- protected IDataModel getModelInstance() {
- return DataModelFactory.createDataModel(new AppClientComponentExportDataModelProvider());
- }
-
-
- /* (non-Javadoc)
- * @see org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleExportOperationTestCase#getImportTestCase()
- */
- protected ModuleImportOperationTestCase getImportTestCase() {
- return new AppClientImportOperationTest(""); //$NON-NLS-1$
- }
- protected IProject[] getExportableProjects() throws Exception {
- IProject[] projs = super.getExportableProjects();
- List filteredProjs = new ArrayList();
- for (int i = 0; i < projs.length; i++) {
- IProject project = projs[i];
- IVirtualComponent comp = ComponentCore.createComponent(project);
- if (J2EEProjectUtilities.isApplicationClientProject(comp.getProject()))
- filteredProjs.add(project);
- }
- return (IProject[]) filteredProjs.toArray(new IProject[filteredProjs.size()]);
-
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AppClientProjectCreationOperationTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AppClientProjectCreationOperationTest.java
deleted file mode 100644
index fdeecd68..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/AppClientProjectCreationOperationTest.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Created on Nov 6, 2003
- *
- * To change the template for this generated file go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.appclient.operations;
-
-import junit.framework.Test;
-
-import org.eclipse.jst.j2ee.applicationclient.internal.creation.AppClientFacetProjectCreationDataModelProvider;
-import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
-import org.eclipse.jst.j2ee.project.facet.IJ2EEModuleFacetInstallDataModelProperties;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties.FacetDataModelMap;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.tests.SimpleTestSuite;
-import org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleProjectCreationOperationTest;
-
-/**
- * @author jsholl
- *
- * To change the template for this generated type comment go to
- * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
- */
-public class AppClientProjectCreationOperationTest extends ModuleProjectCreationOperationTest {
-
- public static String DEFAULT_PROJECT_NAME = "SimpleAppClient";
-
- /**
- * @param name
- */
- public AppClientProjectCreationOperationTest(String name) {
- super(name);
- // TODO Auto-generated constructor stub
- }
-
- public static Test suite() {
- return new SimpleTestSuite(AppClientProjectCreationOperationTest.class);
- }
-
- public IDataModel getComponentCreationDataModel() {
- return DataModelFactory.createDataModel(new AppClientFacetProjectCreationDataModelProvider());
- }
-
- public IDataModel getComponentCreationDataModelWithEar() {
- IDataModel model = DataModelFactory.createDataModel(new AppClientFacetProjectCreationDataModelProvider());
- FacetDataModelMap map = (FacetDataModelMap) model.getProperty(IFacetProjectCreationDataModelProperties.FACET_DM_MAP);
- IDataModel facetDM = map.getFacetDataModel(J2EEProjectUtilities.APPLICATION_CLIENT);
- facetDM.setBooleanProperty( IJ2EEModuleFacetInstallDataModelProperties.ADD_TO_EAR, true );
- return model;
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/FlexibleAppClientModuleCreationTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/FlexibleAppClientModuleCreationTest.java
deleted file mode 100644
index 6c4dfc81..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/appclient/operations/FlexibleAppClientModuleCreationTest.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2003, 2004, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wtp.j2ee.headless.tests.appclient.operations;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.jst.j2ee.applicationclient.internal.creation.AppClientFacetProjectCreationDataModelProvider;
-import org.eclipse.wst.common.componentcore.datamodel.properties.IFacetProjectCreationDataModelProperties;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.tests.OperationTestCase;
-
-
-public class FlexibleAppClientModuleCreationTest extends OperationTestCase {
-
- public static String DEFAULT_PROJECT_NAME = "SimpleAppClientProject";
- public static String DEFAULT_MODULE_NAME= "SimpleAppClientModule";
-
- public static Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTestSuite(FlexibleAppClientModuleCreationTest.class);
- return suite;
- }
-
- public void testDefaults() throws Exception {
- createAppClientModule(DEFAULT_MODULE_NAME);
- }
-
-
- public void createAppClientModule(String moduleName) throws Exception {
- IDataModel dataModel = getFlexibleAppClientModuleCreation();
- dataModel.setProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, DEFAULT_PROJECT_NAME);
- runAndVerify(dataModel);
- }
-
- public IDataModel getFlexibleAppClientModuleCreation(){
- return DataModelFactory.createDataModel(new AppClientFacetProjectCreationDataModelProvider());
- }
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/AllTests.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/AllTests.java
deleted file mode 100644
index 8e95fbb7..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/AllTests.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Created on Feb 2, 2004
- *
- * To change the template for this generated file go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.ear.operations;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-/**
- * @author jsholl
- *
- * To change the template for this generated type comment go to
- * Window - Preferences - Java - Code Generation - Code and Comments
- */
-public class AllTests extends TestSuite {
-
- public static Test suite(){
- return new AllTests();
- }
-
- public AllTests(){
- super("EAR Tests");
- // addTest(EARExportOperationTest.suite());
- //addTest(EARImportOperationTest.suite());
- // addTest(EARProjectCreationOperationTest.suite());
- // addTest(EARComponentCreationTest.suite());
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARExportOperationTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARExportOperationTest.java
deleted file mode 100644
index 1e3b8bfc..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARExportOperationTest.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * Created on Jan 6, 2004
- *
- * To change the template for this generated file go to Window - Preferences - Java - Code Generation - Code and
- * Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.ear.operations;
-
-import junit.framework.Test;
-
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.jst.j2ee.internal.plugin.J2EEPlugin;
-import org.eclipse.wst.common.tests.OperationTestCase;
-import org.eclipse.wst.common.tests.SimpleTestSuite;
-
-/**
- * @author Changeme
- *
- * To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code
- * and Comments
- */
-public class EARExportOperationTest extends OperationTestCase {
-
- public static String fileSep = System.getProperty("file.separator");
-
- public EARExportOperationTest() {
- super();
- }
- public EARExportOperationTest(String name) {
- super(name);
- }
- public static Test suite() {
- return new SimpleTestSuite(EARExportOperationTest.class);
- }
-
- public static void exportEARProject(String projectName, IPath exportPath, boolean exportSource) throws Exception {
-// EnterpriseApplicationExportDataModel model = new EnterpriseApplicationExportDataModel();
-// model.setProperty(EnterpriseApplicationExportDataModel.PROJECT_NAME, projectName);
-// model.setProperty(EnterpriseApplicationExportDataModel.ARCHIVE_DESTINATION, exportPath.toOSString());
-// model.setBooleanProperty(EnterpriseApplicationExportDataModel.EXPORT_SOURCE_FILES, exportSource);
-// runAndVerify(model);
- }
-
- public static void exportEARProjectWithMetaData(String projectName, IPath exportPath, boolean exportSource) throws Exception {
-// EnterpriseApplicationExportDataModel model = new EnterpriseApplicationExportDataModel();
-// model.setProperty(EnterpriseApplicationExportDataModel.PROJECT_NAME, projectName);
-// model.setProperty(EnterpriseApplicationExportDataModel.ARCHIVE_DESTINATION, exportPath.toOSString());
-// model.setBooleanProperty(EnterpriseApplicationExportDataModel.EXPORT_SOURCE_FILES, exportSource);
-// model.setBooleanProperty(EnterpriseApplicationExportDataModel.OVERWRITE_EXISTING, true);
-// model.setBooleanProperty(EnterpriseApplicationExportDataModel.INCLUDE_BUILD_PATH_AND_META_FILES, true);
-// runAndVerify(model);
- }
-
- public void testEAR12Export() throws Exception {
- String projectName = "Test12WEBEJBEAR";
- String earName = "TestData" + fileSep + "EARImportTests" + fileSep + "Test12WEBEJBEAR.ear";
- EARImportOperationTest.load(projectName, earName);
- exportEARProject("Test12WEBEJBEAR", J2EEPlugin.getWorkspace().getRoot().getLocation().append("Test12WEBEJBEAR.ear"), false);
- }
- public void testEARExportWithMetaData() throws Exception {
- String projectName = "Test14WEBEJBEARWithMetaData";
- String earName = "TestData" + fileSep + "EARImportTests" + fileSep + "Test14WEBEJBEARWithMetaData.ear";
- EARImportOperationTest.load(projectName, earName);
- exportEARProjectWithMetaData("Test14WEBEJBEARWithMetaData", J2EEPlugin.getWorkspace().getRoot().getLocation().append("Test14WEBEJBEARWithMetaData.ear"), true);
- }
- public void testEARExportWithSource() throws Exception {
- String projectName = "Test14WEBEJBEAR";
- String earName = "TestData" + fileSep + "EARImportTests" + fileSep + "Test14WEBEJBEAR.ear";
- EARImportOperationTest.load(projectName, earName);
- exportEARProject("Test14WEBEJBEAR", J2EEPlugin.getWorkspace().getRoot().getLocation().append("Test14WEBEJBEAR.ear"), true);
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARImportOperationTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARImportOperationTest.java
deleted file mode 100644
index 8b114c32..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARImportOperationTest.java
+++ /dev/null
@@ -1,306 +0,0 @@
-package org.eclipse.wtp.j2ee.headless.tests.ear.operations;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import junit.framework.Test;
-
-import org.eclipse.jst.j2ee.application.internal.operations.EARComponentImportDataModelProvider;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.Archive;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.CommonarchiveFactory;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.File;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.impl.FileImpl;
-import org.eclipse.jst.j2ee.commonarchivecore.internal.impl.WARFileImpl;
-import org.eclipse.wst.common.frameworks.datamodel.DataModelFactory;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.tests.LogUtility;
-import org.eclipse.wst.common.tests.ProjectUtility;
-import org.eclipse.wst.common.tests.SimpleTestSuite;
-import org.eclipse.wtp.headless.tests.savestrategy.ModuleImportOperationTestCase;
-import org.eclipse.wtp.j2ee.headless.tests.plugin.HeadlessTestsPlugin;
-
-/**
- * @author vijayb
- *
- * To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code
- * and Comments
- */
-public class EARImportOperationTest extends ModuleImportOperationTestCase {
-
- public static String fileSep = System.getProperty("file.separator");
-
-
-
- public EARImportOperationTest(String name) {
- super(name);
- }
-
- public List getUtilityJarsInEAR(EARFile earFile) {
- List utilJars = new ArrayList();
- try {
- List files = earFile.getArchiveFiles();
- for (int i = 0; i < files.size(); i++) {
- FileImpl file = (FileImpl) files.get(i);
- if (file.isArchive() && !file.isModuleFile() && file.getURI().endsWith(".jar")) //$NON-NLS-1$
- utilJars.add(file);
- }
- } catch (Exception e) {
- e.printStackTrace();
- }
- return utilJars;
- }
-
- public void testEARImportRootLocation() throws Exception {
-// EnterpriseApplicationImportDataModel importModel = null;
-// String projectName = "Test13WEBEJBEAR";
-// String earName = getFullTestDataPath("TestData" + fileSep + "EARImportTests" + fileSep + "Test13WEBEJBEAR.ear");
-// try {
-// importModel = new EnterpriseApplicationImportDataModel();
-// importModel.setProperty(EARComponentCreationDataModel.PROJECT_NAME, projectName);
-// importModel.setProperty(EnterpriseApplicationImportDataModel.FILE_NAME, earName);
-// importModel.setIntProperty(EARComponentCreationDataModel.COMPONENT_VERSION, J2EEVersionConstants.J2EE_1_3_ID);
-// //importModel.setProperty(EARComponentCreationDataModel.PROJECT_LOCATION, "c:" + fileSep + "EARTestTemp");
-// importModel.setProperty(EnterpriseApplicationImportDataModel.NESTED_MODULE_ROOT, "c:" + fileSep + "EARTestModulesTemp");
-// runAndVerify(importModel);
-// } finally {
-// importModel.dispose();
-// }
- }
-
- //TODO M4 Action Item - enable the util jar tests after the fixes for util jar import are available in M4
-
- /*public void testImportSomeUtilityJarsExploded() throws Exception {
- String projectName = "UtilityJarTestEAR";
- String earName = getFullTestDataPath("TestData" + fileSep + "EARImportTests" + fileSep + "UtilityJarTestEAR.ear");
- EnterpriseApplicationImportDataModel importModel = null;
- try {
- importModel = new EnterpriseApplicationImportDataModel();
- importModel.setProperty(EnterpriseApplicationCreationDataModel.PROJECT_NAME, projectName);
- importModel.setProperty(EnterpriseApplicationImportDataModel.FILE_NAME, earName);
- importModel.setIntProperty(EnterpriseApplicationCreationDataModel.APPLICATION_VERSION, J2EEVersionConstants.J2EE_1_3_ID);
- EARFile file = importModel.getEARFile();
- List utilJars = getUtilityJarsInEAR(file);
- if (!utilJars.isEmpty()) {
- utilJars.remove(0);
- utilJars.remove(2);
- importModel.setProperty(EnterpriseApplicationImportDataModel.UTILITY_LIST, utilJars);
- }
- //TODO to be changed when the new property is available, EARImportDataModel.CREATE_BINARY_PROJECT is
- // removed
- //importModel.setBooleanProperty(EARImportDataModel.CREATE_BINARY_PROJECT, false);
- runAndVerify(importModel);
- } finally {
- importModel.dispose();
- }
- }
-
- public void testImportUtilityJarsExploded() throws Exception {
- String projectName = "UtilityJarTestEAR";
- String earName = getFullTestDataPath("TestData" + fileSep + "EARImportTests" + fileSep + "UtilityJarTestEAR.ear");
- EnterpriseApplicationImportDataModel importModel = null;
- try {
- importModel = new EnterpriseApplicationImportDataModel();
- importModel.setProperty(EnterpriseApplicationCreationDataModel.PROJECT_NAME, projectName);
- importModel.setProperty(EnterpriseApplicationImportDataModel.FILE_NAME, earName);
- importModel.setIntProperty(EnterpriseApplicationCreationDataModel.APPLICATION_VERSION, J2EEVersionConstants.J2EE_1_3_ID);
- EARFile file = importModel.getEARFile();
- List utilJars = getUtilityJarsInEAR(file);
- if (!utilJars.isEmpty())
- importModel.setProperty(EnterpriseApplicationImportDataModel.UTILITY_LIST, utilJars);
- //TODO to be changed when the new property is available, EARImportDataModel.CREATE_BINARY_PROJECT is
- // removed
- //importModel.setBooleanProperty(EARImportDataModel.CREATE_BINARY_PROJECT, false);
- runAndVerify(importModel);
- } finally {
- importModel.dispose();
- }
- }
-
- public void testImportWebLibWithMetaData() throws Exception {
- String projectName = "YourCompanyExampleEAR";
- String earName = getFullTestDataPath("TestData" + fileSep + "EARImportTests" + fileSep + "YourCompanyExampleEAR.ear");
- EnterpriseApplicationImportDataModel importModel = null;
- try {
- importModel = new EnterpriseApplicationImportDataModel();
- importModel.setProperty(EnterpriseApplicationCreationDataModel.PROJECT_NAME, projectName);
- importModel.setProperty(EnterpriseApplicationImportDataModel.FILE_NAME, earName);
- importModel.setIntProperty(EnterpriseApplicationCreationDataModel.APPLICATION_VERSION, J2EEVersionConstants.J2EE_1_3_ID);
- EARFile file = importModel.getEARFile();
- List webLibs = getWebLibs(file);
- //TODO to be changed when the new property is available, EARImportDataModel.CREATE_BINARY_PROJECT is
- // removed
- //importModel.setBooleanProperty(EARImportDataModel.CREATE_BINARY_PROJECT, false);
- List projectModels = importModel.getProjectModels();
- for (int i = 0; i < projectModels.size(); i++) {
- if (projectModels.get(i) instanceof J2EEModuleCreationDataModel) {
- J2EEModuleCreationDataModel projectDataModel = (J2EEModuleCreationDataModel) projectModels.get(i);
- if (projectDataModel.getJ2EENatureID().equals(J2EEWebNatureRuntime.J2EE_NATURE_ID)) {
- projectDataModel.setProperty(WebModuleCreationDataModel.JAR_LIST_TEXT_UI, webLibs);
- }
- }
- }
- importModel.setBooleanProperty(EnterpriseApplicationImportDataModel.PRESERVE_PROJECT_METADATA, true);
- runAndVerify(importModel);
- } finally {
- importModel.dispose();
- }
- }*/
- //TODO M4 Action Item - enable the util jar tests after the fixes for util jar import are available in M4
- /*public void testImportUtilityJarsAndWebLibWithMetaData() throws Exception {
- String projectName = "UtilityJarWebLibWithMetaDataFilesEAR";
- String earName = getFullTestDataPath("TestData" + fileSep + "EARImportTests" + fileSep + "UtilityJarWebLibWithMetaDataFilesEAR.ear");
- EnterpriseApplicationImportDataModel importModel = null;
- try {
- importModel = new EnterpriseApplicationImportDataModel();
- importModel.setProperty(EnterpriseApplicationCreationDataModel.PROJECT_NAME, projectName);
- importModel.setProperty(EnterpriseApplicationImportDataModel.FILE_NAME, earName);
- importModel.setIntProperty(EnterpriseApplicationCreationDataModel.APPLICATION_VERSION, J2EEVersionConstants.J2EE_1_3_ID);
- EARFile file = importModel.getEARFile();
- List utilJars = getUtilityJarsInEAR(file);
- if (!utilJars.isEmpty())
- importModel.setProperty(EnterpriseApplicationImportDataModel.UTILITY_LIST, utilJars);
- List webLibs = getWebLibs(file);
- //TODO to be changed when the new property is available, EARImportDataModel.CREATE_BINARY_PROJECT is
- // removed
- //importModel.setBooleanProperty(EARImportDataModel.CREATE_BINARY_PROJECT, false);
- List projectModels = importModel.getProjectModels();
- for (int i = 0; i < projectModels.size(); i++) {
- if (projectModels.get(i) instanceof J2EEModuleCreationDataModel) {
- J2EEModuleCreationDataModel projectDataModel = (J2EEModuleCreationDataModel) projectModels.get(i);
- if (projectDataModel.getJ2EENatureID().equals(J2EEWebNatureRuntime.J2EE_NATURE_ID)) {
- projectDataModel.setProperty(WebModuleCreationDataModel.JAR_LIST_TEXT_UI, webLibs);
- }
- }
- }
- importModel.setBooleanProperty(EnterpriseApplicationImportDataModel.PRESERVE_PROJECT_METADATA, false);
- runAndVerify(importModel);
- } finally {
- importModel.dispose();
- }
- }*/
-
- /**
- * @param file
- * @return
- */
- private List getWebLibs(EARFile earFile) {
- List files = earFile.getArchiveFiles();
- List webLibs = new ArrayList();
- for (int i = 0; i < files.size(); i++) {
- FileImpl file = (FileImpl) files.get(i);
- if (file.isWARFile()) {
- List webLib = ((WARFileImpl) file).getLibArchives();
- if (!webLib.isEmpty())
- webLibs.addAll(webLib);
- }
- }
- return webLibs;
- }
-
- public static String getFullTestDataPath(String dataPath) {
- try {
- return ProjectUtility.getFullFileName(HeadlessTestsPlugin.getDefault(),dataPath);
- } catch(Exception e) {
- e.printStackTrace();
- }
- return "";
- }
-
- public void testImportEAR14() throws Exception {
-// String projectName = "Test14WEBEJBEAR";
-// String earName = getFullTestDataPath("TestData" + fileSep + "EARImportTests" + fileSep + "Test14WEBEJBEAR.ear");
-// EnterpriseApplicationImportDataModel importModel = null;
-// try {
-// importModel = new EnterpriseApplicationImportDataModel();
-// importModel.setProperty(EnterpriseApplicationImportDataModel.PROJECT_NAME, projectName);
-// importModel.setProperty(EnterpriseApplicationImportDataModel.FILE_NAME, earName);
-// runAndVerify(importModel);
-// } finally {
-// importModel.dispose();
-// }
- }
-
- public static Test suite() {
- return new SimpleTestSuite(EARImportOperationTest.class);
- }
-
- public void testImportProjectNameCollisionForEARImport() {
- try {
- String earName = "TestData" + fileSep + "EARImportTests" + fileSep + "Test13WEBEJBEAR.ear";
- load(null, earName);
- load(null, earName);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- public void testImportEAR12() throws Exception {
- String projectName = "Test12WEBEJBEAR";
- String earName = "TestData" + fileSep + "EARImportTests" + fileSep + "Test12WEBEJBEAR.ear";
- load(projectName, earName);
- }
- public void testImportEAR13() throws Exception {
- String projectName = "Test13WEBEJBEAR";
- String earName = "TestData" + fileSep + "EARImportTests" + fileSep + "Test13WEBEJBEAR.ear";
- load(projectName, earName);
- }
- public static void testAllEARImportProjects() throws Exception {
- String projectName = "EARTest";
- String earName = "TestData" + fileSep + "EARImportTests" + fileSep;
- List projects = ProjectUtility.getEarsInDirectory(HeadlessTestsPlugin.getDefault(),getFullTestDataPath(earName));
- for (int i = 0; i < projects.size(); i++) {
- deleteAllProjects();
- LogUtility.getInstance().resetLogging();
- load(projectName, earName + projects.get(i));
- }
- }
-
- public static void load(String projectName, String earName) throws Exception {
- // EnterpriseApplicationImportDataModel importModel = null;
- // try {
- // importModel = new EnterpriseApplicationImportDataModel();
- // importModel.setProperty(EnterpriseApplicationImportDataModel.PROJECT_NAME, projectName);
- // importModel.setProperty(EnterpriseApplicationImportDataModel.FILE_NAME,
- // getFullTestDataPath(earName));
- // runAndVerify(importModel);
- // } finally {
- // importModel.dispose();
- // }
- }
-
- public List getArchiveInEAR(String earFileURI) {
- CommonarchiveFactory factory = CommonarchiveFactory.eINSTANCE;
- List moduleArchives = new ArrayList();
- try {
- Archive archive = factory.openArchive(earFileURI);
- List files = archive.getFiles();
- if (!files.isEmpty()) {
- for (int i = 0; i < files.size(); i++) {
- moduleArchives = new ArrayList();
- File file = (File) files.get(i);
- if (file.isArchive()) {
- moduleArchives.add(file);
- }
- }
- }
- } catch (OpenFailureException oe) {
- oe.printStackTrace();
- }
- return moduleArchives;
- }
-
- protected String getDirectory() {
- return "EARImportTests";
- }
-
- protected List getImportableArchiveFileNames() {
- return ProjectUtility.getEarsInDirectory(HeadlessTestsPlugin.getDefault(), TESTS_PATH);
- }
-
- protected IDataModel getModelInstance() {
- return DataModelFactory.createDataModel(new EARComponentImportDataModelProvider());
- }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARProjectCreationOperationTest.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARProjectCreationOperationTest.java
deleted file mode 100644
index 5ee4078c..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/ear/operations/EARProjectCreationOperationTest.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Created on Oct 27, 2003
- *
- * To change the template for this generated file go to Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and
- * Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.ear.operations;
-
-import junit.framework.Test;
-
-import org.eclipse.wst.common.tests.SimpleTestSuite;
-
-/**
- * @author jsholl
- *
- * To change the template for this generated type comment go to Window&gt;Preferences&gt;Java&gt;Code
- * Generation&gt;Code and Comments
- */
-public class EARProjectCreationOperationTest extends org.eclipse.wst.common.tests.OperationTestCase {
- public EARProjectCreationOperationTest(String string) {
- super(string);
- }
-
- public static Test suite() {
- return new SimpleTestSuite(EARProjectCreationOperationTest.class);
- }
-
-// public void testDefaults() throws Exception {
-// createSimpleEAR("SimpleEAR");
-// }
-// public void testLocation() throws Exception {
-// EARComponentCreationDataModel dataModel = new EARComponentCreationDataModel();
-// dataModel.setProperty(EARComponentCreationDataModel.PROJECT_NAME, "SimpleEAR");
-// // dataModel.setProperty(EARComponentCreationDataModel.PROJECT_LOCATION, "c:/temp/");
-// runAndVerify(dataModel);
-// }
-//
-// public void testVersion12() throws Exception {
-// EARComponentCreationDataModel dataModel = new EARComponentCreationDataModel();
-// dataModel.setProperty(EARComponentCreationDataModel.PROJECT_NAME, "SimpleEAR");
-// dataModel.setIntProperty(EARComponentCreationDataModel.COMPONENT_VERSION, J2EEVersionConstants.J2EE_1_2_ID);
-// runAndVerify(dataModel);
-// }
-//
-// public void testVersion13() throws Exception {
-// EARComponentCreationDataModel dataModel = new EARComponentCreationDataModel();
-// dataModel.setProperty(EARComponentCreationDataModel.PROJECT_NAME, "SimpleEAR");
-// dataModel.setIntProperty(EARComponentCreationDataModel.COMPONENT_VERSION, J2EEVersionConstants.J2EE_1_3_ID);
-// runAndVerify(dataModel);
-// }
-//
-// public void testVersion14() throws Exception {
-// EARComponentCreationDataModel dataModel = new EARComponentCreationDataModel();
-// dataModel.setProperty(EARComponentCreationDataModel.PROJECT_NAME, "SimpleEAR");
-// dataModel.setIntProperty(EARComponentCreationDataModel.COMPONENT_VERSION, J2EEVersionConstants.J2EE_1_4_ID);
-// runAndVerify(dataModel);
-// }
-//
-// public static void createSimpleEAR(String earName) throws Exception {
-// EARComponentCreationDataModel dataModel = new EARComponentCreationDataModel();
-// dataModel.setProperty(EARComponentCreationDataModel.PROJECT_NAME, earName);
-// runAndVerify(dataModel);
-// }
-
-}
diff --git a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/operations/ModuleExportOperationTestCase.java b/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/operations/ModuleExportOperationTestCase.java
deleted file mode 100644
index 2e189db7..00000000
--- a/tests/org.eclipse.jst.j2ee.tests/j2ee-tests/org/eclipse/wtp/j2ee/headless/tests/j2ee/operations/ModuleExportOperationTestCase.java
+++ /dev/null
@@ -1,184 +0,0 @@
-/*
- * Created on Jan 6, 2004
- *
- * To change the template for this generated file go to Window - Preferences - Java - Code
- * Generation - Code and Comments
- */
-package org.eclipse.wtp.j2ee.headless.tests.j2ee.operations;
-
-import java.io.File;
-import java.io.IOException;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.IProject;
-import org.eclipse.jst.j2ee.application.internal.operations.J2EEComponentExportDataModelProvider;
-import org.eclipse.wst.common.componentcore.ComponentCore;
-import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
-import org.eclipse.wst.common.frameworks.datamodel.IDataModel;
-import org.eclipse.wst.common.tests.OperationTestCase;
-import org.eclipse.wst.common.tests.ProjectUtility;
-import org.eclipse.wtp.headless.tests.savestrategy.ModuleImportOperationTestCase;
-import org.eclipse.wtp.j2ee.headless.tests.appclient.operations.AppClientExportOperationTest;
-import org.eclipse.wtp.j2ee.headless.tests.ejb.operations.EJBExportOperationTest;
-import org.eclipse.wtp.j2ee.headless.tests.jca.operations.RARExportOperationTest;
-import org.eclipse.wtp.j2ee.headless.tests.plugin.HeadlessTestsPlugin;
-import org.eclipse.wtp.j2ee.headless.tests.web.operations.WebExportOperationTest;
-
-/**
- * @author Administrator
- *
- * To change the template for this generated type comment go to Window - Preferences - Java - Code
- * Generation - Code and Comments
- */
-public abstract class ModuleExportOperationTestCase extends OperationTestCase {
-
- protected boolean exportSourceFiles = false;
- protected boolean overwriteExisting = false;
- protected boolean dataModelShouldBeValid = true;
-
- public final String TESTS_OUTPUT_PATH;
-
- public static Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTestSuite(RARExportOperationTest.class);
- suite.addTestSuite(EJBExportOperationTest.class);
- suite.addTestSuite(WebExportOperationTest.class);
- suite.addTestSuite(AppClientExportOperationTest.class);
- return suite;
- }
-
- public ModuleExportOperationTestCase(String name) {
- super(name);
-
- String relativeOutputTestsPath = "TestData" + File.separator + getOutputDirectory() + File.separator;
- TESTS_OUTPUT_PATH = getOutputPath(relativeOutputTestsPath);
- }
-
- public String getOutputPath(String relPath) {
- try{
- return ProjectUtility.getFullFileName(HeadlessTestsPlugin.getDefault(),relPath);
- } catch(IOException e) {
- e.printStackTrace();
- }
- return null;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.OperationTestCase#setUp()
- */
- protected void setUp() throws Exception {
- super.setUp();
- exportSourceFiles = false;
- overwriteExisting = false;
- }
-
- public String getOutputDirectory(){
- return "testOutput";
- }
- protected abstract ModuleImportOperationTestCase getImportTestCase();
- protected abstract IDataModel getModelInstance();
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.wtp.j2ee.headless.tests.j2ee.operations.ModuleExportOperationTestCase#getExportableProjects()
- */
- protected IProject[] getExportableProjects() throws Exception {
-
- deleteAllProjects();
- ModuleImportOperationTestCase importTestCase = getImportTestCase();
- importTestCase.testAllImportTestCases();
-
- // if the projects aren't created successfully, the previous
- // line will fail so there's no need to verify
- return ProjectUtility.getAllProjects();
- }
-
- public void testExport(IVirtualComponent component, String filename) throws Exception {
- IDataModel dataModel = getModelInstance();
- dataModel.setProperty(J2EEComponentExportDataModelProvider.ARCHIVE_DESTINATION, TESTS_OUTPUT_PATH + filename);
- dataModel.setProperty(J2EEComponentExportDataModelProvider.COMPONENT, component);
- dataModel.setBooleanProperty(J2EEComponentExportDataModelProvider.EXPORT_SOURCE_FILES, exportSourceFiles);
- dataModel.setBooleanProperty(J2EEComponentExportDataModelProvider.OVERWRITE_EXISTING, overwriteExisting);
-
- if (dataModelShouldBeValid)
- runAndVerify(dataModel);
- else
- verifyInvalidDataModel(dataModel);
- }
-
- public void testAllWithExportSourceFilesWithOverwriteExisting() throws Exception {
- exportSourceFiles = true;
- overwriteExisting = true;
-
- testAllExportTestCases();
- }
-
- public void testAllWithExportSourceFilesWithoutOverwriteExisting() throws Exception {
- exportSourceFiles = true;
- overwriteExisting = false;
-
- testAllExportTestCases();
- }
-
- public void testAllWithoutExportSourceFilesWithoutOverwriteExisting() throws Exception {
- exportSourceFiles = false;
- overwriteExisting = false;
-
- testAllExportTestCases();
- }
-
- public void testAllWithoutExportSourceFilesWithOverwriteExisting() throws Exception {
- exportSourceFiles = false;
- overwriteExisting = true;
-
- testAllExportTestCases();
- }
-
-// public void testOverwriteProjectExportFail() throws Exception {
-//
-// testAllWithoutExportSourceFilesWithoutOverwriteExisting();
-// dataModelShouldBeValid = false;
-// testAllWithoutExportSourceFilesWithoutOverwriteExisting();
-// }
-
- public void testOverwriteProjectExportSucceed() throws Exception {
- //TODO: Uncomment the second line to test the file lock tests.
- //Commenting it out for now to get a clearance on RC1 for 0.7 release
- testAllWithoutExportSourceFilesWithOverwriteExisting();
- //testAllWithoutExportSourceFilesWithOverwriteExisting();
- }
-