Author: apetrelli
Date: Sun Dec 12 13:06:26 2010
New Revision: 1044814

URL: http://svn.apache.org/viewvc?rev=1044814&view=rev
Log:
TILESSB-38
Fixed tiles-autotag-core checkstyle.

Modified:
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/QDoxTemplateSuiteFactoryTest.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/AnnotatedExampleModel.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleExcluded.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleExecutableModel.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleModel.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/NotFeasibleExampleModel.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/AbstractTemplateClassGeneratorTest.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/AbstractTemplateSuiteGeneratorTest.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/BasicTemplateGeneratorTest.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/TemplateGeneratorBuilderTest.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateClassTest.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateMethodTest.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateParameterTest.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateSuiteTest.java
    
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/tool/StringToolTest.java

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/QDoxTemplateSuiteFactoryTest.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/QDoxTemplateSuiteFactoryTest.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/QDoxTemplateSuiteFactoryTest.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/QDoxTemplateSuiteFactoryTest.java
 Sun Dec 12 13:06:26 2010
@@ -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.autotag.core;
 
@@ -28,6 +45,9 @@ import org.junit.Test;
  */
 public class QDoxTemplateSuiteFactoryTest {
 
+    /**
+     * The factory to test.
+     */
     private QDoxTemplateSuiteFactory factory;
 
     /**
@@ -35,7 +55,8 @@ public class QDoxTemplateSuiteFactoryTes
      */
     @Before
     public void setUp() {
-        factory = new 
QDoxTemplateSuiteFactory(getClass().getResource("/org/apache/tiles/autotag/core/internal/ExampleModel.java"),
+        factory = new QDoxTemplateSuiteFactory(
+                
getClass().getResource("/org/apache/tiles/autotag/core/internal/ExampleModel.java"),
                 
getClass().getResource("/org/apache/tiles/autotag/core/internal/AnnotatedExampleModel.java"),
                 
getClass().getResource("/org/apache/tiles/autotag/core/internal/ExampleExcluded.java"),
                 
getClass().getResource("/org/apache/tiles/autotag/core/internal/ExampleExecutableModel.java"),

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/AnnotatedExampleModel.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/AnnotatedExampleModel.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/AnnotatedExampleModel.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/AnnotatedExampleModel.java
 Sun Dec 12 13:06:26 2010
@@ -1,3 +1,23 @@
+/*
+ * $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.autotag.core.internal;
 
 import org.apache.tiles.autotag.core.runtime.ModelBody;

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleExcluded.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleExcluded.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleExcluded.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleExcluded.java
 Sun Dec 12 13:06:26 2010
@@ -1,3 +1,23 @@
+/*
+ * $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.autotag.core.internal;
 
 import org.apache.tiles.autotag.core.runtime.ModelBody;

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleExecutableModel.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleExecutableModel.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleExecutableModel.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleExecutableModel.java
 Sun Dec 12 13:06:26 2010
@@ -1,3 +1,23 @@
+/*
+ * $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.autotag.core.internal;
 
 import org.apache.tiles.request.Request;

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleModel.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleModel.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleModel.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/ExampleModel.java
 Sun Dec 12 13:06:26 2010
@@ -1,3 +1,23 @@
+/*
+ * $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.autotag.core.internal;
 
 import org.apache.tiles.autotag.core.runtime.ModelBody;

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/NotFeasibleExampleModel.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/NotFeasibleExampleModel.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/NotFeasibleExampleModel.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/core/internal/NotFeasibleExampleModel.java
 Sun Dec 12 13:06:26 2010
@@ -1,3 +1,23 @@
+/*
+ * $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.autotag.core.internal;
 
 /**

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/AbstractTemplateClassGeneratorTest.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/AbstractTemplateClassGeneratorTest.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/AbstractTemplateClassGeneratorTest.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/AbstractTemplateClassGeneratorTest.java
 Sun Dec 12 13:06:26 2010
@@ -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.autotag.generate;
 
@@ -53,7 +70,8 @@ public class AbstractTemplateClassGenera
     @Before
     public void setUp() throws IOException {
         velocityEngine = createMock(VelocityEngine.class);
-        generator = 
createMockBuilder(AbstractTemplateClassGenerator.class).withConstructor(velocityEngine).createMock();
+        generator = createMockBuilder(AbstractTemplateClassGenerator.class)
+                .withConstructor(velocityEngine).createMock();
         directory = File.createTempFile("autotag", null);
     }
 
@@ -67,13 +85,12 @@ public class AbstractTemplateClassGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateClassGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass, Map)}.
+     * Test method for {...@link 
AbstractTemplateClassGenerator#generate(java.io.File,
+     * String, TemplateSuite, TemplateClass, Map)}.
      * @throws Exception If something goes wrong.
-     * @throws ParseErrorException If something goes wrong.
-     * @throws ResourceNotFoundException If something goes wrong.
      */
     @Test
-    public void testGenerate() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    public void testGenerate() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);
@@ -97,13 +114,11 @@ public class AbstractTemplateClassGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateClassGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass, Map)}.
+     * Test method for {...@link AbstractTemplateClassGenerator#generate(File, 
String, TemplateSuite, TemplateClass, Map)}.
      * @throws Exception If something goes wrong.
-     * @throws ParseErrorException If something goes wrong.
-     * @throws ResourceNotFoundException If something goes wrong.
      */
-    @Test(expected=AutotagRuntimeException.class)
-    public void testGenerateException1() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    @Test(expected = AutotagRuntimeException.class)
+    public void testGenerateException1() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);
@@ -126,13 +141,11 @@ public class AbstractTemplateClassGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateClassGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass, Map)}.
+     * Test method for {...@link AbstractTemplateClassGenerator#generate(File, 
String, TemplateSuite, TemplateClass, Map)}.
      * @throws Exception If something goes wrong.
-     * @throws ParseErrorException If something goes wrong.
-     * @throws ResourceNotFoundException If something goes wrong.
      */
-    @Test(expected=AutotagRuntimeException.class)
-    public void testGenerateException2() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    @Test(expected = AutotagRuntimeException.class)
+    public void testGenerateException2() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);
@@ -155,13 +168,11 @@ public class AbstractTemplateClassGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateClassGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass, Map)}.
+     * Test method for {...@link AbstractTemplateClassGenerator#generate(File, 
String, TemplateSuite, TemplateClass, Map)}.
      * @throws Exception If something goes wrong.
-     * @throws ParseErrorException If something goes wrong.
-     * @throws ResourceNotFoundException If something goes wrong.
      */
-    @Test(expected=AutotagRuntimeException.class)
-    public void testGenerateException3() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    @Test(expected = AutotagRuntimeException.class)
+    public void testGenerateException3() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);
@@ -184,13 +195,13 @@ public class AbstractTemplateClassGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateClassGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass, Map)}.
+     * Test method for {...@link AbstractTemplateClassGenerator#generate(File, 
String, TemplateSuite, TemplateClass, Map)}.
      * @throws Exception If something goes wrong.
      * @throws ParseErrorException If something goes wrong.
      * @throws ResourceNotFoundException If something goes wrong.
      */
-    @Test(expected=AutotagRuntimeException.class)
-    public void testGenerateException4() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    @Test(expected = AutotagRuntimeException.class)
+    public void testGenerateException4() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);
@@ -215,13 +226,13 @@ public class AbstractTemplateClassGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateClassGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass, Map)}.
+     * Test method for {...@link AbstractTemplateClassGenerator#generate(File, 
String, TemplateSuite, TemplateClass, Map)}.
      * @throws Exception If something goes wrong.
      * @throws ParseErrorException If something goes wrong.
      * @throws ResourceNotFoundException If something goes wrong.
      */
-    @Test(expected=ClassParseException.class)
-    public void testGenerateException5() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    @Test(expected = ClassParseException.class)
+    public void testGenerateException5() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/AbstractTemplateSuiteGeneratorTest.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/AbstractTemplateSuiteGeneratorTest.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/AbstractTemplateSuiteGeneratorTest.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/AbstractTemplateSuiteGeneratorTest.java
 Sun Dec 12 13:06:26 2010
@@ -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.autotag.generate;
 
@@ -52,7 +69,8 @@ public class AbstractTemplateSuiteGenera
     @Before
     public void setUp() throws IOException {
         velocityEngine = createMock(VelocityEngine.class);
-        generator = 
createMockBuilder(AbstractTemplateSuiteGenerator.class).withConstructor(velocityEngine).createMock();
+        generator = createMockBuilder(AbstractTemplateSuiteGenerator.class)
+                .withConstructor(velocityEngine).createMock();
         directory = File.createTempFile("autotag", null);
     }
 
@@ -66,13 +84,13 @@ public class AbstractTemplateSuiteGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateSuiteGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass)}.
+     * Test method for {...@link AbstractTemplateSuiteGenerator#generate(File, 
String, TemplateSuite, Map)}.
      * @throws Exception If something goes wrong.
      * @throws ParseErrorException If something goes wrong.
      * @throws ResourceNotFoundException If something goes wrong.
      */
     @Test
-    public void testGenerate() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    public void testGenerate() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);
@@ -95,13 +113,13 @@ public class AbstractTemplateSuiteGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateSuiteGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass)}.
+     * Test method for {...@link AbstractTemplateSuiteGenerator#generate(File, 
String, TemplateSuite, Map)}.
      * @throws Exception If something goes wrong.
      * @throws ParseErrorException If something goes wrong.
      * @throws ResourceNotFoundException If something goes wrong.
      */
-    @Test(expected=AutotagRuntimeException.class)
-    public void testGenerateException1() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    @Test(expected = AutotagRuntimeException.class)
+    public void testGenerateException1() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);
@@ -123,13 +141,13 @@ public class AbstractTemplateSuiteGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateSuiteGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass)}.
+     * Test method for {...@link AbstractTemplateSuiteGenerator#generate(File, 
String, TemplateSuite, Map)}.
      * @throws Exception If something goes wrong.
      * @throws ParseErrorException If something goes wrong.
      * @throws ResourceNotFoundException If something goes wrong.
      */
-    @Test(expected=AutotagRuntimeException.class)
-    public void testGenerateException2() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    @Test(expected = AutotagRuntimeException.class)
+    public void testGenerateException2() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);
@@ -151,13 +169,13 @@ public class AbstractTemplateSuiteGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateSuiteGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass)}.
+     * Test method for {...@link AbstractTemplateSuiteGenerator#generate(File, 
String, TemplateSuite, Map)}.
      * @throws Exception If something goes wrong.
      * @throws ParseErrorException If something goes wrong.
      * @throws ResourceNotFoundException If something goes wrong.
      */
-    @Test(expected=AutotagRuntimeException.class)
-    public void testGenerateException3() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    @Test(expected = AutotagRuntimeException.class)
+    public void testGenerateException3() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);
@@ -179,13 +197,13 @@ public class AbstractTemplateSuiteGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateSuiteGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass)}.
+     * Test method for {...@link AbstractTemplateSuiteGenerator#generate(File, 
String, TemplateSuite, Map)}.
      * @throws Exception If something goes wrong.
      * @throws ParseErrorException If something goes wrong.
      * @throws ResourceNotFoundException If something goes wrong.
      */
-    @Test(expected=AutotagRuntimeException.class)
-    public void testGenerateException4() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    @Test(expected = AutotagRuntimeException.class)
+    public void testGenerateException4() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);
@@ -209,13 +227,13 @@ public class AbstractTemplateSuiteGenera
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.AbstractTemplateSuiteGenerator#generate(java.io.File,
 java.lang.String, org.apache.tiles.autotag.model.TemplateSuite, 
org.apache.tiles.autotag.model.TemplateClass)}.
+     * Test method for {...@link AbstractTemplateSuiteGenerator#generate(File, 
String, TemplateSuite, Map)}.
      * @throws Exception If something goes wrong.
      * @throws ParseErrorException If something goes wrong.
      * @throws ResourceNotFoundException If something goes wrong.
      */
-    @Test(expected=ClassParseException.class)
-    public void testGenerateException5() throws ResourceNotFoundException, 
ParseErrorException, Exception {
+    @Test(expected = ClassParseException.class)
+    public void testGenerateException5() throws Exception {
         directory.delete();
         directory.mkdir();
         TemplateSuite suite = createMock(TemplateSuite.class);

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/BasicTemplateGeneratorTest.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/BasicTemplateGeneratorTest.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/BasicTemplateGeneratorTest.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/BasicTemplateGeneratorTest.java
 Sun Dec 12 13:06:26 2010
@@ -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.autotag.generate;
 
@@ -26,7 +43,7 @@ import org.junit.Test;
 public class BasicTemplateGeneratorTest {
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.BasicTemplateGenerator#generate(java.lang.String,
 org.apache.tiles.autotag.model.TemplateSuite, Map)}.
+     * Test method for {...@link BasicTemplateGenerator#generate(String, 
TemplateSuite, Map)}.
      * @throws IOException If something goes wrong.
      */
     @Test

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/TemplateGeneratorBuilderTest.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/TemplateGeneratorBuilderTest.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/TemplateGeneratorBuilderTest.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/generate/TemplateGeneratorBuilderTest.java
 Sun Dec 12 13:06:26 2010
@@ -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.autotag.generate;
 
@@ -18,7 +35,7 @@ import org.junit.Test;
 public class TemplateGeneratorBuilderTest {
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.TemplateGeneratorBuilder#addClassesTemplateSuiteGenerator(org.apache.tiles.autotag.generate.TemplateSuiteGenerator)}.
+     * Test method for {...@link 
TemplateGeneratorBuilder#addClassesTemplateSuiteGenerator(TemplateSuiteGenerator)}.
      */
     @Test
     public void testAddClassesTemplateSuiteGenerator() {
@@ -35,9 +52,9 @@ public class TemplateGeneratorBuilderTes
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.TemplateGeneratorBuilder#addClassesTemplateSuiteGenerator(org.apache.tiles.autotag.generate.TemplateSuiteGenerator)}.
+     * Test method for {...@link 
TemplateGeneratorBuilder#addClassesTemplateSuiteGenerator(TemplateSuiteGenerator)}.
      */
-    @Test(expected=NullPointerException.class)
+    @Test(expected = NullPointerException.class)
     public void testAddClassesTemplateSuiteGeneratorException() {
         TemplateSuiteGenerator generator = 
createMock(TemplateSuiteGenerator.class);
 
@@ -51,7 +68,7 @@ public class TemplateGeneratorBuilderTes
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.TemplateGeneratorBuilder#addClassesTemplateClassGenerator(org.apache.tiles.autotag.generate.TemplateClassGenerator)}.
+     * Test method for {...@link 
TemplateGeneratorBuilder#addClassesTemplateClassGenerator(TemplateClassGenerator)}.
      */
     @Test
     public void testAddClassesTemplateClassGenerator() {
@@ -68,9 +85,9 @@ public class TemplateGeneratorBuilderTes
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.TemplateGeneratorBuilder#addClassesTemplateClassGenerator(org.apache.tiles.autotag.generate.TemplateClassGenerator)}.
+     * Test method for {...@link 
TemplateGeneratorBuilder#addClassesTemplateClassGenerator(TemplateClassGenerator)}.
      */
-    @Test(expected=NullPointerException.class)
+    @Test(expected = NullPointerException.class)
     public void testAddClassesTemplateClassGeneratorException() {
         TemplateClassGenerator generator = 
createMock(TemplateClassGenerator.class);
 
@@ -84,7 +101,7 @@ public class TemplateGeneratorBuilderTes
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.TemplateGeneratorBuilder#addResourcesTemplateSuiteGenerator(org.apache.tiles.autotag.generate.TemplateSuiteGenerator)}.
+     * Test method for {...@link 
TemplateGeneratorBuilder#addResourcesTemplateSuiteGenerator(TemplateSuiteGenerator)}.
      */
     @Test
     public void testAddResourcesTemplateSuiteGenerator() {
@@ -101,9 +118,9 @@ public class TemplateGeneratorBuilderTes
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.TemplateGeneratorBuilder#addResourcesTemplateSuiteGenerator(org.apache.tiles.autotag.generate.TemplateSuiteGenerator)}.
+     * Test method for {...@link 
TemplateGeneratorBuilder#addResourcesTemplateSuiteGenerator(TemplateSuiteGenerator)}.
      */
-    @Test(expected=NullPointerException.class)
+    @Test(expected = NullPointerException.class)
     public void testAddResourcesTemplateSuiteGeneratorException() {
         TemplateSuiteGenerator generator = 
createMock(TemplateSuiteGenerator.class);
 
@@ -117,7 +134,7 @@ public class TemplateGeneratorBuilderTes
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.TemplateGeneratorBuilder#addResourcesTemplateClassGenerator(org.apache.tiles.autotag.generate.TemplateClassGenerator)}.
+     * Test method for {...@link 
TemplateGeneratorBuilder#addResourcesTemplateClassGenerator(TemplateClassGenerator)}.
      */
     @Test
     public void testAddResourcesTemplateClassGenerator() {
@@ -134,9 +151,9 @@ public class TemplateGeneratorBuilderTes
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.generate.TemplateGeneratorBuilder#addResourcesTemplateClassGenerator(org.apache.tiles.autotag.generate.TemplateClassGenerator)}.
+     * Test method for {...@link 
TemplateGeneratorBuilder#addResourcesTemplateClassGenerator(TemplateClassGenerator)}.
      */
-    @Test(expected=NullPointerException.class)
+    @Test(expected = NullPointerException.class)
     public void testAddResourcesTemplateClassGeneratorException() {
         TemplateClassGenerator generator = 
createMock(TemplateClassGenerator.class);
 

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateClassTest.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateClassTest.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateClassTest.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateClassTest.java
 Sun Dec 12 13:06:26 2010
@@ -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.autotag.model;
 
@@ -21,7 +38,7 @@ import org.junit.Test;
 public class TemplateClassTest {
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.model.TemplateClass#TemplateClass(java.lang.String)}.
+     * Test method for {...@link TemplateClass#TemplateClass(String)}.
      */
     @Test
     public void testTemplateConstructor1() {
@@ -35,7 +52,7 @@ public class TemplateClassTest {
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.model.TemplateClass#TemplateClass(java.lang.String, 
java.lang.String, java.lang.String, 
org.apache.tiles.autotag.model.TemplateMethod)}.
+     * Test method for {...@link TemplateClass#TemplateClass(String, String, 
String, TemplateMethod)}.
      */
     @Test
     public void testTemplateConstructor2() {
@@ -51,7 +68,7 @@ public class TemplateClassTest {
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.model.TemplateClass#getSimpleName()}.
+     * Test method for {...@link TemplateClass#getSimpleName()}.
      */
     @Test
     public void testGetSimpleName() {
@@ -62,7 +79,7 @@ public class TemplateClassTest {
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.model.TemplateClass#setDocumentation(java.lang.String)}.
+     * Test method for {...@link TemplateClass#setDocumentation(String)}.
      */
     @Test
     public void testSetDocumentation() {
@@ -72,7 +89,7 @@ public class TemplateClassTest {
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.model.TemplateClass#getParameters()}.
+     * Test method for {...@link TemplateClass#getParameters()}.
      */
     @Test
     public void testGetParameters() {
@@ -110,7 +127,7 @@ public class TemplateClassTest {
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.model.TemplateClass#hasBody()}.
+     * Test method for {...@link TemplateClass#hasBody()}.
      */
     @Test
     public void testHasBody() {
@@ -124,15 +141,16 @@ public class TemplateClassTest {
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.model.TemplateClass#toString()}.
+     * Test method for {...@link TemplateClass#toString()}.
      */
     @Test
     public void testToString() {
         TemplateMethod method = new TemplateMethod("method", new 
ArrayList<TemplateParameter>());
         TemplateClass templateClass = new TemplateClass("name", "tagName", 
"tagClassPrefix", method);
-        assertEquals("TemplateClass [name=name, tagName=tagName, 
tagClassPrefix=tagClassPrefix, " +
-                       "documentation=null, executeMethod=TemplateMethod " +
-                       "[name=method, documentation=null, parameters={}]]",
+        assertEquals(
+                "TemplateClass [name=name, tagName=tagName, 
tagClassPrefix=tagClassPrefix, "
+                        + "documentation=null, executeMethod=TemplateMethod "
+                        + "[name=method, documentation=null, parameters={}]]",
                 templateClass.toString());
     }
 

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateMethodTest.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateMethodTest.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateMethodTest.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateMethodTest.java
 Sun Dec 12 13:06:26 2010
@@ -1,3 +1,23 @@
+/*
+ * $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.autotag.model;
 
 import static org.easymock.EasyMock.*;
@@ -9,6 +29,11 @@ import java.util.List;
 
 import org.junit.Test;
 
+/**
+ * Tests {...@link TemplateMethod}.
+ *
+ * @version $Rev$ $Date$
+ */
 public class TemplateMethodTest {
 
     /**

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateParameterTest.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateParameterTest.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateParameterTest.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateParameterTest.java
 Sun Dec 12 13:06:26 2010
@@ -1,3 +1,23 @@
+/*
+ * $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.autotag.model;
 
 import static org.junit.Assert.*;
@@ -65,8 +85,10 @@ public class TemplateParameterTest {
     @Test
     public void testToString() {
         TemplateParameter parameter = new TemplateParameter("name", 
"exportedName", "type", "defaultValue", true);
-        assertEquals("TemplateParameter [name=name, exportedName=exportedName, 
" +
-                       "documentation=null, type=type, 
defaultValue=defaultValue, required=true]", parameter.toString());
+        assertEquals(
+                "TemplateParameter [name=name, exportedName=exportedName, "
+                        + "documentation=null, type=type, 
defaultValue=defaultValue, required=true]",
+                parameter.toString());
     }
 
 }

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateSuiteTest.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateSuiteTest.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateSuiteTest.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/model/TemplateSuiteTest.java
 Sun Dec 12 13:06:26 2010
@@ -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.autotag.model;
 
@@ -20,7 +37,7 @@ import org.junit.Test;
 public class TemplateSuiteTest {
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.model.TemplateSuite#TemplateSuite(java.lang.String, 
java.lang.String)}.
+     * Test method for {...@link TemplateSuite#TemplateSuite(java.lang.String, 
java.lang.String)}.
      */
     @Test
     public void testTemplateSuiteCostructor1() {
@@ -31,7 +48,7 @@ public class TemplateSuiteTest {
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.model.TemplateSuite#TemplateSuite(java.lang.String, 
java.lang.String, java.lang.Iterable)}.
+     * Test method for {...@link TemplateSuite#TemplateSuite(java.lang.String, 
java.lang.String, java.lang.Iterable)}.
      */
     @Test
     public void testTemplateSuiteConstructor2() {
@@ -57,7 +74,7 @@ public class TemplateSuiteTest {
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.model.TemplateSuite#addTemplateClass(org.apache.tiles.autotag.model.TemplateClass)}.
+     * Test method for {...@link 
TemplateSuite#addTemplateClass(org.apache.tiles.autotag.model.TemplateClass)}.
      */
     @Test
     public void testAddTemplateClass() {
@@ -86,7 +103,7 @@ public class TemplateSuiteTest {
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.model.TemplateSuite#toString()}.
+     * Test method for {...@link TemplateSuite#toString()}.
      */
     @Test
     public void testToString() {

Modified: 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/tool/StringToolTest.java
URL: 
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/tool/StringToolTest.java?rev=1044814&r1=1044813&r2=1044814&view=diff
==============================================================================
--- 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/tool/StringToolTest.java
 (original)
+++ 
tiles/sandbox/trunk/tiles-autotag/tiles-autotag-core/src/test/java/org/apache/tiles/autotag/tool/StringToolTest.java
 Sun Dec 12 13:06:26 2010
@@ -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.autotag.tool;
 
@@ -41,7 +58,7 @@ public class StringToolTest {
     }
 
     /**
-     * Test method for {...@link 
org.apache.tiles.autotag.tool.StringTool#getDefaultValue(java.lang.String, 
java.lang.String)}.
+     * Test method for {...@link StringTool#getDefaultValue(java.lang.String, 
java.lang.String)}.
      */
     @Test
     public void testGetDefaultValue() {


Reply via email to