dlr         01/03/12 16:10:19

  Modified:    src/java/org/apache/velocity/test InlineScopeVMTestCase.java
  Log:
  Use the correct test case name.
  
  Revision  Changes    Path
  1.8       +9 -3      
jakarta-velocity/src/java/org/apache/velocity/test/InlineScopeVMTestCase.java
  
  Index: InlineScopeVMTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/test/InlineScopeVMTestCase.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- InlineScopeVMTestCase.java        2001/03/13 00:07:22     1.7
  +++ InlineScopeVMTestCase.java        2001/03/13 00:10:17     1.8
  @@ -76,13 +76,19 @@
    * Tests if the VM template-locality is working.
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Geir Magnusson Jr.</a>
  - * @version $Id: InlineScopeVMTestCase.java,v 1.7 2001/03/13 00:07:22 dlr Exp $
  + * @author <a href="mailto:[EMAIL PROTECTED]">Daniel Rall</a>
  + * @version $Id: InlineScopeVMTestCase.java,v 1.8 2001/03/13 00:10:17 dlr Exp $
    */
   public class InlineScopeVMTestCase extends TestCase implements TemplateTestBase
   {
  +    /**
  +     * The name of this test case.
  +     */
  +    private static final String TEST_CASE_NAME = "InlineScopeVMTestCase";
  +
       InlineScopeVMTestCase()
       {
  -        super("InlineScopeVMTestCase");
  +        super(TEST_CASE_NAME);
   
           try
           {
  @@ -106,7 +112,7 @@
           }
           catch (Exception e)
           {
  -            System.err.println("Cannot setup VelocityTestSuite2!");
  +            System.err.println("Cannot setup " + TEST_CASE_NAME);
               System.exit(1);
           } 
       }
  
  
  

Reply via email to