01: /**
02: *
03: * Licensed to the Apache Software Foundation (ASF) under one or more
04: * contributor license agreements. See the NOTICE file distributed with
05: * this work for additional information regarding copyright ownership.
06: * The ASF licenses this file to You under the Apache License, Version 2.0
07: * (the "License"); you may not use this file except in compliance with
08: * the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */package org.apache.geronimo.openejb.test;
18:
19: import junit.framework.TestCase;
20: import junit.framework.Test;
21:
22: import org.apache.openejb.test.ClientTestSuite;
23:
24: /**
25: *
26: * NOTE: reuse the junit tests in openejb2/itests
27: *
28: * @see ClientTestSuite
29: * @version $Revision: 514087 $ $Date: 2007-03-02 22:13:40 -0800 (Fri, 02 Mar 2007) $
30: */
31: public class ReuseOpenEJBTest extends TestCase {
32:
33: public static Test suite() {
34: System.setProperty("openejb.assembler",
35: org.apache.openejb.assembler.Assembler.class.getName());
36: System.setProperty("openejb.test.server",
37: org.apache.openejb.test.RemoteTestServer.class
38: .getName());
39: System.setProperty("openejb.test.database",
40: org.apache.openejb.test.DerbyTestDatabase.class
41: .getName());
42: return ClientTestSuite.suite();
43: }
44: }
|