01: /* DdSpringTestCase.java
02: *
03: * DDSteps - Data Driven JUnit Test Steps
04: * Copyright (C) 2005 Jayway AB
05: * www.ddsteps.org
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License version 2.1 as published by the Free Software Foundation.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, visit
18: * http://www.opensource.org/licenses/lgpl-license.php
19: */
20: package org.ddsteps.spring;
21:
22: /**
23: * Spring Dependency Injection TestCase that is data driven.
24: * <p>
25: * You need the following stuff in your context:
26: * <p>
27: * By default, a context xml file called "ddsteps-context.xml" in the root of
28: * your classpath.
29: * <p>
30: * By default, the context is only loaded once, so you can probably use the same
31: * context for all your test, even if you don't happen to need a datasource in
32: * every test.
33: * <p>
34: * Known drawbacks when using this class:
35: * <ul>
36: * <li>The test case count is not correct, as the behaviour is not available
37: * until after setup, so it just returns 1.</li>
38: * </ul>
39: *
40: * @author Adam Skogman
41: * @deprecated Use DDStepsSpringTestCase.
42: * @version $Id: DdSpringTestCase.java,v 1.4 2006/05/01 15:29:18 adamskogman Exp $
43: */
44: public abstract class DdSpringTestCase extends DDStepsSpringTestCase {
45:
46: }
|