blob: 926761597b18b68d4eb59f7259beaed1d3f13ccb [file] [log] [blame]
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<!-- Copyright 2011 The Apache Software Foundation Licensed under the Apache
License, Version 2.0 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
OR CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the License. -->
<suite name="Tapestry JPA" parallel="false" thread-count="10"
annotations="1.5" verbose="2">
<test name="Tapestry JPA Integration Tests" enabled="true">
<parameter name="tapestry.web-app-folder" value="src/test/app1" />
<packages>
<package name="org.apache.tapestry5.jpa.integration.app1" />
</packages>
</test>
<test name="Single Persistence Unit Integration Tests" enabled="true">
<parameter name="tapestry.web-app-folder" value="src/test/app2" />
<packages>
<package name="org.apache.tapestry5.jpa.integration.app2" />
</packages>
</test>
<test name="JNDI DataSource Integration Tests" enabled="true">
<parameter name="tapestry.web-app-folder" value="src/test/app3" />
<parameter name="tapestry.servlet-container" value="tomcat6" />
<packages>
<package name="org.apache.tapestry5.jpa.integration.app3" />
</packages>
</test>
<test name="Tapestry JPA Integration Tests with Annotations in Service Implementation" enabled="true">
<parameter name="tapestry.web-app-folder" value="src/test/app6" />
<packages>
<package name="org.apache.tapestry5.jpa.integration.app6" />
</packages>
</test>
<test name="Tapestry JPA Unit Tests" enabled="true">
<packages>
<package name="org.apache.tapestry5.internal.jpa" />
</packages>
</test>
<!-- Put this last since it modifies
PersistenceProviderResolverHolder.setPersistenceProviderResolver
which affects other test suites -->
<test name="Explicit Provider Class Name In Persistence Unit Integration Tests" enabled="true">
<parameter name="tapestry.web-app-folder" value="src/test/app5" />
<packages>
<package name="org.apache.tapestry5.jpa.integration.app5" />
</packages>
</test>
</suite>