01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * 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: public TestSpringEngine() {
64: keysToCheck = new Object[] { "IdGenerator",
65: "DecorationLocator", "TemplateLocator", "IdGenerator",
66: "PageFileCache", PageManager.class,
67: PortletRegistry.class,
68: PortletEntityAccessComponent.class, "PortalServices",
69: Profiler.class, Capabilities.class,
70: PreferencesProvider.class, UserManager.class,
71: GroupManager.class, RoleManager.class,
72: PermissionManager.class, RdbmsPolicy.class,
73: SecurityProvider.class, UserInfoManager.class,
74: RequestContextComponent.class,
75: PortletWindowAccessor.class, PortletRenderer.class,
76: PageAggregator.class, PortletAggregator.class, "PAM",
77: "deploymentManager", "portletFactory",
78: ServletConfig.class, StaticInformationProvider.class,
79: "NavigationalStateCodec", "PortalURL",
80: "NavigationalStateComponent" };
81: }
82:
83: public static Test suite() {
84: // All methods starting with "test" will be executed in the test suite.
85: return new TestSuite(TestSpringEngine.class);
86: }
87:
88: }
|