felipeal    2005/04/24 17:29:34

  Modified:    integration/ant/src/test/org/apache/cactus/integration/ant
                        TestCactifyWarTask.java
  Log:
  fixed checkstyle
  
  Revision  Changes    Path
  1.24      +37 -37    
jakarta-cactus/integration/ant/src/test/org/apache/cactus/integration/ant/TestCactifyWarTask.java
  
  Index: TestCactifyWarTask.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/integration/ant/src/test/org/apache/cactus/integration/ant/TestCactifyWarTask.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- TestCactifyWarTask.java   21 Apr 2005 12:01:17 -0000      1.23
  +++ TestCactifyWarTask.java   25 Apr 2005 00:29:34 -0000      1.24
  @@ -125,50 +125,50 @@
           catch (BuildException expected)
           {
               assertEquals("You need to specify either the [srcfile] or the "
  -                                     + "[version] attribute", 
  +          + "[version] attribute", 
                   expected.getMessage());
           }
       }
  -     
  +  
       /**
  -     * Verifies an empty web was created when the source archive does not 
  -     * contain a web deployment descriptor but specifies the version.
  -     * 
  -     * @throws Exception If an unexpected error occurs
  -     */
  +      * Verifies an empty web was created when the source archive does not 
  +      * contain a web deployment descriptor but specifies the version.
  +      * 
  +      * @throws Exception If an unexpected error occurs
  +      */
       public void testSrcFileWithoutWebXmlNewWebXml22() throws Exception
       {
  -             try
  -             {
  -                     executeTestTarget();
  -             }
  -             catch (BuildException e)
  -             {
  -                     fail("The WAR source file does not contain a "
  -                                     + "WEB-INF/web.xml deployment 
descriptor, but Cactus "
  -                                     + "should have created an empty one" );
  -             }
  -     }       
  -     
  +        try
  +        {
  +            executeTestTarget();
  +        }
  +        catch (BuildException e)
  +        {
  +            fail("The WAR source file does not contain a "
  +          + "WEB-INF/web.xml deployment descriptor, but Cactus "
  +          + "should have created an empty one");
  +        }
  +    }  
  +  
       /**
  -     * Verifies an empty web was created when the source archive does not 
  -     * contain a web deployment descriptor but specifies the version.
  -     * 
  -     * @throws Exception If an unexpected error occurs
  -     */
  +      * Verifies an empty web was created when the source archive does not 
  +      * contain a web deployment descriptor but specifies the version.
  +      * 
  +      * @throws Exception If an unexpected error occurs
  +    */
       public void testSrcFileWithoutWebXmlNewWebXml23() throws Exception
       {
  -             try
  -             {
  -                     executeTestTarget();
  -             }
  -             catch (BuildException e)
  -             {
  -                     fail("The WAR source file does not contain a "
  -                                     + "WEB-INF/web.xml deployment 
descriptor, but Cactus "
  -                                     + "should have created an empty one" );
  -             }
  -     }       
  +        try
  +        {
  +            executeTestTarget();
  +        }
  +        catch (BuildException e)
  +        {
  +           fail("The WAR source file does not contain a "
  +          + "WEB-INF/web.xml deployment descriptor, but Cactus "
  +          + "should have created an empty one");
  +        }
  +    }  
   
       /**
        * Tests whether the Cactus test redirectors are correctly added to the 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to