1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    * 
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   * 
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.apache.jetspeed.container;
18  
19  import junit.framework.Test;
20  import junit.framework.TestCase;
21  import junit.framework.TestSuite;
22  
23  /***
24   * TestPortletContainer
25   *
26   * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
27   * @version $Id: TestPortletContainer.java 517719 2007-03-13 15:05:48Z ate $
28   */
29  public class TestPortletContainer extends TestCase 
30  {
31      /***
32       * Defines the testcase name for JUnit.
33       *
34       * @param name the testcase's name.
35       */
36      public TestPortletContainer(String name)
37      {
38          super(name);
39      }
40  
41      /***
42       * Start the tests.
43       *
44       * @param args the arguments. Not used
45       */
46      public static void main(String args[])
47      {
48          junit.awtui.TestRunner.main(new String[] { TestPortletContainer.class.getName()});
49      }
50  
51      protected void setUp() throws Exception
52      {
53          super.setUp();
54          
55        //  portletContainer = new JetspeedPortletContainerWrapper(new PortletContainerImpl());
56      }
57  
58     public static Test suite()
59      {
60          // All methods starting with "test" will be executed in the test suite.
61          return new TestSuite(TestPortletContainer.class);
62      }
63  
64      public void testBasic()
65      {
66          
67          // not much more i can do without setting up a mock servlet or portlet framework
68      }
69  }