You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by dd...@apache.org on 2004/08/23 04:16:58 UTC

svn commit: rev 36739 - portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test

Author: ddewolf
Date: Sun Aug 22 19:16:57 2004
New Revision: 36739

Modified:
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/AbstractReflectivePortletTest.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ActionAbstractReflectivePortletTest.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ActionTest.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ComplexAttributeTest.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ExternalAppScopedAttributeTest.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ExternalAppScopedAttributeTestCompanionServlet.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/MiscTest.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SecurityMappingTest.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimpleAttributeTest.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimpleParameterTest.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimplePreferenceTest.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/TestResult.java
   portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/TestResults.java
Log:
Oops! Adding License.

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/AbstractReflectivePortletTest.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/AbstractReflectivePortletTest.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/AbstractReflectivePortletTest.java	Sun Aug 22 19:16:57 2004
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.pluto.portalImpl.portlet.test;
 
 import java.lang.reflect.Method;

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ActionAbstractReflectivePortletTest.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ActionAbstractReflectivePortletTest.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ActionAbstractReflectivePortletTest.java	Sun Aug 22 19:16:57 2004
@@ -1,11 +1,22 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.pluto.portalImpl.portlet.test;
 
-import java.util.Map;
-
-import javax.portlet.PortletRequest;
-
 /**
- * @author <a href="david.dewolf@vivare.com">David H. DeWolf</a>
+ * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
  */
 public abstract class ActionAbstractReflectivePortletTest
  extends AbstractReflectivePortletTest

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ActionTest.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ActionTest.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ActionTest.java	Sun Aug 22 19:16:57 2004
@@ -1,11 +1,23 @@
-package org.apache.pluto.portalImpl.portlet.test;
-
-import java.util.Map;
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
-import javax.portlet.PortletRequest;
+package org.apache.pluto.portalImpl.portlet.test;
 
 /**
- * @author <a href="david.dewolf@vivare.com">David H. DeWolf</a>
+ * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
  */
 public interface ActionTest extends PortletTest {
 

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ComplexAttributeTest.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ComplexAttributeTest.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ComplexAttributeTest.java	Sun Aug 22 19:16:57 2004
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.pluto.portalImpl.portlet.test;
 
 import java.util.Map;
@@ -8,7 +24,7 @@
 import javax.portlet.PortletSession;
 
 /**
- * @author <a href="david.dewolf@vivare.com">David H. DeWolf</a>
+ * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
  */
 public class ComplexAttributeTest extends AbstractReflectivePortletTest {
 

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ExternalAppScopedAttributeTest.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ExternalAppScopedAttributeTest.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ExternalAppScopedAttributeTest.java	Sun Aug 22 19:16:57 2004
@@ -1,9 +1,25 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.apache.pluto.portalImpl.portlet.test;
 
 import javax.portlet.PortletSession;
 
 /**
- * @author <a href="david.dewolf@vivare.com">David H. DeWolf</a>
+ * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
  */
 public class ExternalAppScopedAttributeTest extends AbstractReflectivePortletTest {
 

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ExternalAppScopedAttributeTestCompanionServlet.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ExternalAppScopedAttributeTestCompanionServlet.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/ExternalAppScopedAttributeTestCompanionServlet.java	Sun Aug 22 19:16:57 2004
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.pluto.portalImpl.portlet.test;
 
 import java.io.IOException;
@@ -10,7 +25,7 @@
 import javax.servlet.ServletException;
 
 /**
- * @author <a href="david.dewolf@vivare.com">David H. DeWolf</a>
+ * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
  */
 public class ExternalAppScopedAttributeTestCompanionServlet extends HttpServlet {
 

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/MiscTest.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/MiscTest.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/MiscTest.java	Sun Aug 22 19:16:57 2004
@@ -1,7 +1,21 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.pluto.portalImpl.portlet.test;
 
 import java.util.Properties;
-import java.util.Set;
 import java.util.Enumeration;
 
 import javax.portlet.PortletRequest;
@@ -11,7 +25,7 @@
 import org.apache.pluto.testsuite.ExpectedResults;
 
 /**
- * @author <a href="david.dewolf@vivare.com">David H. DeWolf</a>
+ * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
  */
 public class MiscTest extends AbstractReflectivePortletTest {
 

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SecurityMappingTest.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SecurityMappingTest.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SecurityMappingTest.java	Sun Aug 22 19:16:57 2004
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.pluto.portalImpl.portlet.test;
 
 import java.util.Map;
@@ -8,7 +23,7 @@
 import javax.portlet.PortletRequest;
 
 /**
- * @author <a href="david.dewolf@vivare.com">David H. DeWolf</a>
+ * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
  */
 public class SecurityMappingTest extends AbstractReflectivePortletTest {
 

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimpleAttributeTest.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimpleAttributeTest.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimpleAttributeTest.java	Sun Aug 22 19:16:57 2004
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.pluto.portalImpl.portlet.test;
 
 import java.util.Enumeration;
@@ -15,7 +30,7 @@
  * Tests basic attribute retrieval and storage functions within
  * the portlet request, session, and context objects.
  *
- * @author <a href="david.dewolf@vivare.com">David H. DeWolf</a>
+ * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
  */
 public class SimpleAttributeTest extends AbstractReflectivePortletTest {
     private static final String KEY = "org.apache.pluto.testsuite.BOGUS_KEY";

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimpleParameterTest.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimpleParameterTest.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimpleParameterTest.java	Sun Aug 22 19:16:57 2004
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.pluto.portalImpl.portlet.test;
 
 import java.util.Map;
@@ -10,7 +25,7 @@
 import javax.portlet.PortletRequest;
 
 /**
- * @author <a href="david.dewolf@vivare.com">David H. DeWolf</a>
+ * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
  */
 public class SimpleParameterTest extends AbstractReflectivePortletTest {
     public static final String KEY = "org.apache.pluto.testsuite.PARAM_TEST_KEY";

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimplePreferenceTest.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimplePreferenceTest.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/SimplePreferenceTest.java	Sun Aug 22 19:16:57 2004
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.pluto.portalImpl.portlet.test;
 
 import java.util.Map;
@@ -8,8 +23,6 @@
 import javax.portlet.PortletPreferences;
 import javax.portlet.ReadOnlyException;
 import javax.portlet.ValidatorException;
-import javax.portlet.PortletContext;
-import javax.portlet.PortletResponse;
 
 /**
  * @author <a href="ddewolf@apache.org">David H. DeWolf</a>

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/TestResult.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/TestResult.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/TestResult.java	Sun Aug 22 19:16:57 2004
@@ -1,7 +1,22 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.pluto.portalImpl.portlet.test;
 
 /**
- * @author <a href="david.dewolf@vivare.com">David H. DeWolf</a>
+ * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
  */
 public class TestResult {
 

Modified: portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/TestResults.java
==============================================================================
--- portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/TestResults.java	(original)
+++ portals/pluto/trunk/testsuite/src/java/org/apache/pluto/portalImpl/portlet/test/TestResults.java	Sun Aug 22 19:16:57 2004
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2003,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.pluto.portalImpl.portlet.test;
 
 import java.util.ArrayList;
@@ -5,7 +20,7 @@
 import java.util.Collections;
 
 /**
- * @author <a href="david.dewolf@vivare.com">David H. DeWolf</a>
+ * @author <a href="ddewolf@apache.org">David H. DeWolf</a>
  */
 public class TestResults {