junit.framework.AssertionFailedError: You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() method in your TestCase subclass to ensure proper initialization.

strutstestcase | nobody | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    How to use CactusStrutsTestCase

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() method in your TestCase subclass to ensure proper initialization.
  2. 0

    AssertionFailedError: You are overriding...

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() and tearDown() methods in your TestCase subclass to ensure proper initialization.

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() method in your TestCase subclass to ensure proper initialization.

      at servletunit.struts.CactusStrutsTestCase.init()
    2. servletunit.struts
      CactusStrutsTestCase.setRequestPathInfo
      1. servletunit.struts.CactusStrutsTestCase.init(CactusStrutsTestCase.java:73)
      2. servletunit.struts.CactusStrutsTestCase.setRequestPathInfo(CactusStrutsTestCase.java:195)
      2 frames
    3. com.ibx.cactus
      HelloActionTest.testAction
      1. com.ibx.cactus.test.HelloActionTest.testAction(HelloActionTest.java:37)
      1 frame