You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2003/12/06 11:46:30 UTC

cvs commit: jakarta-cactus/samples/servlet/src/test-cactus/share/org/apache/cactus/sample/servlet/unit TestTearDownException.java TestServerSideExceptions.java

vmassol     2003/12/06 02:46:30

  Modified:    samples/servlet/src/test-cactus/share/org/apache/cactus/sample/servlet/unit
                        TestTearDownException.java
                        TestServerSideExceptions.java
  Log:
  Changed internal tests due to the removal of runCactusTest(). The tests are now using only public API/SPI.
  
  Revision  Changes    Path
  1.2       +3 -3      jakarta-cactus/samples/servlet/src/test-cactus/share/org/apache/cactus/sample/servlet/unit/TestTearDownException.java
  
  Index: TestTearDownException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/samples/servlet/src/test-cactus/share/org/apache/cactus/sample/servlet/unit/TestTearDownException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestTearDownException.java	30 Nov 2003 12:19:42 -0000	1.1
  +++ TestTearDownException.java	6 Dec 2003 10:46:30 -0000	1.2
  @@ -73,11 +73,11 @@
       /**
        * Intercepts running test cases to check for normal exceptions.
        */
  -    protected void runCactusTest()
  +    public void runBare()
       {
           try
           {
  -            super.runCactusTest();
  +            super.runBare();
           }
           catch (Throwable e)
           {
  
  
  
  1.2       +3 -3      jakarta-cactus/samples/servlet/src/test-cactus/share/org/apache/cactus/sample/servlet/unit/TestServerSideExceptions.java
  
  Index: TestServerSideExceptions.java
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/samples/servlet/src/test-cactus/share/org/apache/cactus/sample/servlet/unit/TestServerSideExceptions.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestServerSideExceptions.java	30 Nov 2003 12:19:42 -0000	1.1
  +++ TestServerSideExceptions.java	6 Dec 2003 10:46:30 -0000	1.2
  @@ -125,11 +125,11 @@
        * 
        * @exception Throwable on test failure
        */
  -    protected void runCactusTest() throws Throwable
  +    public void runBare() throws Throwable
       {
           try
           {
  -            super.runCactusTest();
  +            super.runBare();
           }
           catch (AssertionFailedErrorWrapper e)
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org