Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

Anchor
override default context
override default context

How to override for the default test application context

The following is a code fragment on how to override the default test application conxtext:

The following code fragment illustrates how to use AbstractIntegrationTestBase class
Code Block

import org.springframework.test.context.ContextConfiguration;
import edu.mit.csf.test.AbstractIntegrationTestBase;

@ContextConfiguration(locations = {"classpath:applicationContext-special-authorization-test.xml"})
public class TestHibernateAcademicTermDao extends AbstractIntegrationTestBase {

}