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  /*
18   * Created on Jul 16, 2004
19   *
20   * TODO To change the template for this generated file go to
21   * Window - Preferences - Java - Code Generation - Code and Comments
22   */
23  package org.apache.jetspeed.engine;
24  
25  import javax.servlet.ServletConfig;
26  
27  import junit.framework.Test;
28  import junit.framework.TestSuite;
29  
30  import org.apache.jetspeed.aggregator.PageAggregator;
31  import org.apache.jetspeed.aggregator.PortletAggregator;
32  import org.apache.jetspeed.aggregator.PortletRenderer;
33  import org.apache.jetspeed.capabilities.Capabilities;
34  import org.apache.jetspeed.components.portletentity.PortletEntityAccessComponent;
35  import org.apache.jetspeed.components.portletregistry.PortletRegistry;
36  import org.apache.jetspeed.container.window.PortletWindowAccessor;
37  import org.apache.jetspeed.page.PageManager;
38  import org.apache.jetspeed.prefs.PreferencesProvider;
39  import org.apache.jetspeed.profiler.Profiler;
40  import org.apache.jetspeed.request.RequestContextComponent;
41  import org.apache.jetspeed.security.GroupManager;
42  import org.apache.jetspeed.security.PermissionManager;
43  import org.apache.jetspeed.security.RoleManager;
44  import org.apache.jetspeed.security.SecurityProvider;
45  import org.apache.jetspeed.security.UserManager;
46  import org.apache.jetspeed.security.impl.RdbmsPolicy;
47  import org.apache.jetspeed.userinfo.UserInfoManager;
48  import org.apache.pluto.services.information.StaticInformationProvider;
49  
50  /***
51   * <p>
52   * TestSpringEngine
53   * </p>
54   * <p>
55   * 
56   * </p>
57   * 
58   * @author <a href="mailto:weaver@apache.org">Scott T. Weaver </a>
59   * @version $Id: TestSpringEngine.java 516881 2007-03-11 10:34:21Z ate $
60   *  
61   */
62  public class TestSpringEngine extends AbstractEngineTest
63  {
64      public TestSpringEngine()
65      {        
66          keysToCheck = new Object[] {"IdGenerator", "DecorationLocator", "TemplateLocator", "IdGenerator", "PageFileCache", PageManager.class, 
67                                       PortletRegistry.class, PortletEntityAccessComponent.class, "PortalServices",
68                                       Profiler.class, Capabilities.class, PreferencesProvider.class, UserManager.class,
69                                       GroupManager.class, RoleManager.class, PermissionManager.class, RdbmsPolicy.class, SecurityProvider.class,
70                                       UserInfoManager.class, RequestContextComponent.class, PortletWindowAccessor.class,
71                                       PortletRenderer.class, PageAggregator.class, PortletAggregator.class, "PAM",
72                                       "deploymentManager", "portletFactory", ServletConfig.class, 
73                                       StaticInformationProvider.class, "NavigationalStateCodec", "PortalURL", "NavigationalStateComponent"};
74      }
75      
76      public static Test suite()
77      {
78          // All methods starting with "test" will be executed in the test suite.
79          return new TestSuite(TestSpringEngine.class);
80      }
81  
82  
83  
84  }