01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.geoserver.wfs;
06:
07: import org.geoserver.test.GeoServerTestSupport;
08:
09: /**
10: * Base support class for wfs tests.
11: * <p>
12: * Deriving from this test class provides the test case with preconfigured
13: * geoserver and wfs objects.
14: * </p>
15: * @author Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org
16: *
17: */
18: public class WFSTestSupport extends GeoServerTestSupport {
19: /**
20: * @return The global wfs instance from the application context.
21: */
22: protected WFS getWFS() {
23: return (WFS) applicationContext.getBean("wfs");
24: }
25: }
|