Modified: tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/ApplicationScopeExtractorTest.java URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/ApplicationScopeExtractorTest.java?rev=1066849&r1=1066848&r2=1066849&view=diff ============================================================================== --- tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/ApplicationScopeExtractorTest.java (original) +++ tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/ApplicationScopeExtractorTest.java Thu Feb 3 16:12:39 2011 @@ -1,5 +1,22 @@ -/** +/* + * $Id$ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.tiles.request.portlet.extractor; @@ -21,8 +38,14 @@ import org.junit.Test; */ public class ApplicationScopeExtractorTest { + /** + * The portlet context. + */ private PortletContext context; + /** + * The extractot to test. + */ private ApplicationScopeExtractor extractor; /** @@ -35,7 +58,7 @@ public class ApplicationScopeExtractorTe } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.ApplicationScopeExtractor#setValue(java.lang.String, java.lang.Object)}. + * Test method for {@link ApplicationScopeExtractor#setValue(java.lang.String, java.lang.Object)}. */ @Test public void testSetValue() { @@ -47,7 +70,7 @@ public class ApplicationScopeExtractorTe } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.ApplicationScopeExtractor#removeValue(java.lang.String)}. + * Test method for {@link ApplicationScopeExtractor#removeValue(java.lang.String)}. */ @Test public void testRemoveValue() { @@ -59,7 +82,7 @@ public class ApplicationScopeExtractorTe } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.ApplicationScopeExtractor#getKeys()}. + * Test method for {@link ApplicationScopeExtractor#getKeys()}. */ @SuppressWarnings("unchecked") @Test @@ -73,7 +96,7 @@ public class ApplicationScopeExtractorTe } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.ApplicationScopeExtractor#getValue(java.lang.String)}. + * Test method for {@link ApplicationScopeExtractor#getValue(java.lang.String)}. */ @Test public void testGetValue() {
Modified: tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/HeaderExtractorTest.java URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/HeaderExtractorTest.java?rev=1066849&r1=1066848&r2=1066849&view=diff ============================================================================== --- tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/HeaderExtractorTest.java (original) +++ tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/HeaderExtractorTest.java Thu Feb 3 16:12:39 2011 @@ -1,5 +1,22 @@ -/** +/* + * $Id$ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.tiles.request.portlet.extractor; @@ -22,10 +39,19 @@ import org.junit.Test; */ public class HeaderExtractorTest { + /** + * The request. + */ private PortletRequest request; + /** + * The response. + */ private PortletResponse response; + /** + * The extractor to test. + */ private HeaderExtractor extractor; /** @@ -81,7 +107,7 @@ public class HeaderExtractorTest { } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.HeaderExtractor#setValue(java.lang.String, java.lang.String)}. + * Test method for {@link HeaderExtractor#setValue(String, String)}. */ @Test public void testSetValue() { Modified: tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/InitParameterExtractorTest.java URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/InitParameterExtractorTest.java?rev=1066849&r1=1066848&r2=1066849&view=diff ============================================================================== --- tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/InitParameterExtractorTest.java (original) +++ tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/InitParameterExtractorTest.java Thu Feb 3 16:12:39 2011 @@ -1,5 +1,22 @@ -/** +/* + * $Id$ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.tiles.request.portlet.extractor; @@ -21,8 +38,14 @@ import org.junit.Test; */ public class InitParameterExtractorTest { + /** + * The portlet context. + */ private PortletContext context; + /** + * The extractor to test. + */ private InitParameterExtractor extractor; /** @@ -50,7 +73,7 @@ public class InitParameterExtractorTest } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.InitParameterExtractor#getValue(java.lang.String)}. + * Test method for {@link InitParameterExtractor#getValue(String)}. */ @Test public void testGetValue() { Modified: tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/ParameterExtractorTest.java URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/ParameterExtractorTest.java?rev=1066849&r1=1066848&r2=1066849&view=diff ============================================================================== --- tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/ParameterExtractorTest.java (original) +++ tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/ParameterExtractorTest.java Thu Feb 3 16:12:39 2011 @@ -1,5 +1,22 @@ -/** +/* + * $Id$ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.tiles.request.portlet.extractor; @@ -21,8 +38,14 @@ import org.junit.Test; */ public class ParameterExtractorTest { + /** + * The request. + */ private PortletRequest request; + /** + * The extractor to test. + */ private ParameterExtractor extractor; /** Modified: tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/RequestScopeExtractorTest.java URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/RequestScopeExtractorTest.java?rev=1066849&r1=1066848&r2=1066849&view=diff ============================================================================== --- tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/RequestScopeExtractorTest.java (original) +++ tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/RequestScopeExtractorTest.java Thu Feb 3 16:12:39 2011 @@ -1,5 +1,22 @@ -/** +/* + * $Id$ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.tiles.request.portlet.extractor; @@ -21,8 +38,14 @@ import org.junit.Test; */ public class RequestScopeExtractorTest { + /** + * The request to test. + */ private PortletRequest request; + /** + * The extractor to test. + */ private RequestScopeExtractor extractor; /** @@ -35,7 +58,7 @@ public class RequestScopeExtractorTest { } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.RequestScopeExtractor#setValue(java.lang.String, java.lang.Object)}. + * Test method for {@link RequestScopeExtractor#setValue(String, Object)}. */ @Test public void testSetValue() { @@ -47,7 +70,7 @@ public class RequestScopeExtractorTest { } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.RequestScopeExtractor#removeValue(java.lang.String)}. + * Test method for {@link RequestScopeExtractor#removeValue(String)}. */ @Test public void testRemoveValue() { @@ -74,7 +97,7 @@ public class RequestScopeExtractorTest { } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.RequestScopeExtractor#getValue(java.lang.String)}. + * Test method for {@link RequestScopeExtractor#getValue(String)}. */ @Test public void testGetValue() { Modified: tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/SessionScopeExtractorTest.java URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/SessionScopeExtractorTest.java?rev=1066849&r1=1066848&r2=1066849&view=diff ============================================================================== --- tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/SessionScopeExtractorTest.java (original) +++ tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/SessionScopeExtractorTest.java Thu Feb 3 16:12:39 2011 @@ -1,5 +1,22 @@ -/** +/* + * $Id$ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.tiles.request.portlet.extractor; @@ -22,10 +39,19 @@ import org.junit.Test; */ public class SessionScopeExtractorTest { + /** + * The request. + */ private PortletRequest request; + /** + * The session. + */ private PortletSession session; + /** + * The scope to test. + */ private SessionScopeExtractor extractor; /** @@ -42,7 +68,7 @@ public class SessionScopeExtractorTest { /** * Tests {@link SessionScopeExtractor#SessionScopeExtractor(PortletRequest, int)}. */ - @Test(expected=IllegalArgumentException.class) + @Test(expected = IllegalArgumentException.class) public void testIllegalScope() { replay(request, session); new SessionScopeExtractor(request, 0); @@ -50,7 +76,7 @@ public class SessionScopeExtractorTest { } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.SessionScopeExtractor#setValue(java.lang.String, java.lang.Object)}. + * Test method for {@link SessionScopeExtractor#setValue(java.lang.String, java.lang.Object)}. */ @Test public void testSetValue() { @@ -63,7 +89,7 @@ public class SessionScopeExtractorTest { } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.SessionScopeExtractor#removeValue(java.lang.String)}. + * Test method for {@link SessionScopeExtractor#removeValue(java.lang.String)}. */ @Test public void testRemoveValue() { @@ -76,7 +102,7 @@ public class SessionScopeExtractorTest { } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.SessionScopeExtractor#getKeys()}. + * Test method for {@link SessionScopeExtractor#getKeys()}. */ @SuppressWarnings("unchecked") @Test @@ -92,7 +118,7 @@ public class SessionScopeExtractorTest { } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.SessionScopeExtractor#getKeys()}. + * Test method for {@link SessionScopeExtractor#getKeys()}. */ @Test public void testGetKeysNoSession() { @@ -104,7 +130,7 @@ public class SessionScopeExtractorTest { } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.SessionScopeExtractor#getValue(java.lang.String)}. + * Test method for {@link SessionScopeExtractor#getValue(java.lang.String)}. */ @Test public void testGetValue() { @@ -117,7 +143,7 @@ public class SessionScopeExtractorTest { } /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.SessionScopeExtractor#getValue(java.lang.String)}. + * Test method for {@link SessionScopeExtractor#getValue(java.lang.String)}. */ @Test public void testGetValueNoSession() { Modified: tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/StateAwareParameterExtractorTest.java URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/StateAwareParameterExtractorTest.java?rev=1066849&r1=1066848&r2=1066849&view=diff ============================================================================== --- tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/StateAwareParameterExtractorTest.java (original) +++ tiles/sandbox/trunk/tiles-request/tiles-request-portlet/src/test/java/org/apache/tiles/request/portlet/extractor/StateAwareParameterExtractorTest.java Thu Feb 3 16:12:39 2011 @@ -1,5 +1,22 @@ -/** +/* + * $Id$ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.tiles.request.portlet.extractor; @@ -18,7 +35,7 @@ import org.junit.Test; public class StateAwareParameterExtractorTest { /** - * Test method for {@link org.apache.tiles.request.portlet.extractor.StateAwareParameterExtractor#setValue(java.lang.String, java.lang.String)}. + * Test method for {@link StateAwareParameterExtractor#setValue(String, String)}. */ @Test public void testSetValue() {
