Here is my test class:

public class EmptyTest extends ServletTestCase
{
   private boolean set_up_was_called = false;


   protected void setUp() throws Exception
   {
      set_up_was_called = true;
      throw new RuntimeException("Stepped on a nail!");
   }


   public void testSetupMethodWasCalled() throws Exception
   {
      assertTrue(set_up_was_called);
   }
}

The assertion is failing. I'm also not seeing the exception from setUp. I
am using cactus 1.5 (freshly downloaded today), and JBoss 3.0.7. Thanks
for any feedback.



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

Reply via email to