001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */package org.apache.openejb.test.servlet;
017:
018: public class AnnotatedServletTests extends ServletTestClient {
019: protected JndiTestServlet testServlet;
020:
021: public AnnotatedServletTests() {
022: super ("AnnotatedServlet");
023: }
024:
025: protected void setUp() throws Exception {
026: super .setUp();
027: testServlet = newServletProxy(JndiTestServlet.class);
028: }
029:
030: public void test01_lookupStringEntry() {
031: testServlet.lookupStringEntry();
032: }
033:
034: public void test02_lookupDoubleEntry() {
035: testServlet.lookupDoubleEntry();
036: }
037:
038: public void test03_lookupLongEntry() {
039: testServlet.lookupLongEntry();
040: }
041:
042: public void test04_lookupFloatEntry() {
043: testServlet.lookupFloatEntry();
044: }
045:
046: public void test05_lookupIntegerEntry() {
047: testServlet.lookupIntegerEntry();
048: }
049:
050: public void test06_lookupShortEntry() {
051: testServlet.lookupShortEntry();
052: }
053:
054: public void test07_lookupBooleanEntry() {
055: testServlet.lookupBooleanEntry();
056: }
057:
058: public void test08_lookupByteEntry() {
059: testServlet.lookupByteEntry();
060: }
061:
062: public void test09_lookupCharacterEntry() {
063: testServlet.lookupCharacterEntry();
064: }
065:
066: public void test10_lookupEntityBean() {
067: testServlet.lookupEntityBean();
068: }
069:
070: public void test11_lookupStatefulBean() {
071: testServlet.lookupStatefulBean();
072: }
073:
074: public void test12_lookupStatelessBean() {
075: testServlet.lookupStatelessBean();
076: }
077:
078: public void test13_lookupResource() {
079: testServlet.lookupResource();
080: }
081:
082: public void test14_lookupPersistenceUnit() {
083: testServlet.lookupPersistenceUnit();
084: }
085:
086: public void test15_lookupPersistenceContext() {
087: testServlet.lookupPersistenceContext();
088: }
089:
090: public void test19_lookupStatelessBusinessLocal() {
091: testServlet.lookupStatelessBusinessLocal();
092: }
093:
094: public void test20_lookupStatelessBusinessRemote() {
095: testServlet.lookupStatelessBusinessRemote();
096: }
097:
098: public void test21_lookupStatefulBusinessLocal() {
099: testServlet.lookupStatefulBusinessLocal();
100: }
101:
102: public void test22_lookupStatefulBusinessRemote() {
103: testServlet.lookupStatefulBusinessRemote();
104: }
105:
106: public void test23_lookupJMSConnectionFactory() {
107: testServlet.lookupJMSConnectionFactory();
108: }
109: }
|