1 /** 2 * Copyright (C) 2010 Google Inc. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.google.inject.persist; 18 19 import com.google.inject.persist.jpa.ClassLevelManagedLocalTransactionsTest; 20 import com.google.inject.persist.jpa.CustomPropsEntityManagerFactoryProvisionTest; 21 import com.google.inject.persist.jpa.EntityManagerFactoryProvisionTest; 22 import com.google.inject.persist.jpa.EntityManagerPerRequestProvisionTest; 23 import com.google.inject.persist.jpa.EntityManagerProvisionTest; 24 import com.google.inject.persist.jpa.JoiningLocalTransactionsTest; 25 import com.google.inject.persist.jpa.JpaWorkManagerTest; 26 import com.google.inject.persist.jpa.ManagedLocalTransactionsAcrossRequestTest; 27 import com.google.inject.persist.jpa.ManagedLocalTransactionsTest; 28 import com.google.inject.persist.jpa.ManualLocalTransactionsTest; 29 import com.google.inject.persist.jpa.ManualLocalTransactionsWithCustomMatcherTest; 30 31 import junit.framework.Test; 32 import junit.framework.TestSuite; 33 34 /** 35 * @author dhanji@gmail.com (Dhanji R. Prasanna) 36 */ 37 public class AllTests { 38 suite()39 public static Test suite() { 40 TestSuite suite = new TestSuite(); 41 42 suite.addTestSuite(EdslTest.class); 43 suite.addTestSuite(ClassLevelManagedLocalTransactionsTest.class); 44 suite.addTestSuite(CustomPropsEntityManagerFactoryProvisionTest.class); 45 suite.addTestSuite(EntityManagerFactoryProvisionTest.class); 46 suite.addTestSuite(EntityManagerPerRequestProvisionTest.class); 47 suite.addTestSuite(EntityManagerProvisionTest.class); 48 suite.addTestSuite(JoiningLocalTransactionsTest.class); 49 suite.addTestSuite(JpaWorkManagerTest.class); 50 suite.addTestSuite(ManagedLocalTransactionsAcrossRequestTest.class); 51 suite.addTestSuite(ManagedLocalTransactionsTest.class); 52 suite.addTestSuite(ManualLocalTransactionsTest.class); 53 suite.addTestSuite(ManualLocalTransactionsWithCustomMatcherTest.class); 54 55 return suite; 56 } 57 }