1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.pluto.portalImpl.portlet.test;
17
18 import java.util.Map;
19
20 import javax.portlet.PortletConfig;
21 import javax.portlet.PortletContext;
22 import javax.portlet.PortletRequest;
23 import javax.portlet.PortletResponse;
24
25 import org.apache.pluto.portalImpl.portlet.TestConfig;
26
27 /***
28 * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
29 * @version 1.0
30 * @since Mar 9, 2005
31 */
32 public class NoOpTest implements PortletTest {
33 private TestConfig config;
34
35 public NoOpTest() {
36
37 }
38
39 public String getTestSuiteName() {
40 return "NoOpTest";
41 }
42
43 public Map getRenderParameters(PortletRequest req) {
44 return new java.util.HashMap();
45 }
46
47 public TestResults doTest(PortletConfig config, PortletContext context,
48 PortletRequest req, PortletResponse res) {
49 return new TestResults("None");
50 }
51
52 public void init(TestConfig config) {
53 this.config = config;
54 }
55
56 public TestConfig getConfig() {
57 return config;
58 }
59 }
60