comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestCallContext.java @ 102:994a39b084d6

Imporved JUnitTest and Bugfixing as a Result of this Improvement. gnv-artifacts/trunk@150 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 29 Sep 2009 09:55:40 +0000
parents
children 820238357bab
comparison
equal deleted inserted replaced
101:e01c163ea5b0 102:994a39b084d6
1 /**
2 *
3 */
4 package de.intevation.gnv.artifacts;
5
6 import de.intevation.artifacts.CallContext;
7
8 /**
9 * @author Tim Englich <tim.englich@intevation.de>
10 *
11 */
12 public class TestCallContext implements CallContext {
13
14 private Object globalContext = null;
15 /**
16 * Constructor
17 */
18 public TestCallContext(Object globalContext) {
19 this.globalContext = globalContext;
20 }
21
22 /**
23 * @see de.intevation.artifacts.CallContext#afterBackground(int)
24 */
25 public void afterBackground(int action) {
26 }
27
28 /**
29 * @see de.intevation.artifacts.CallContext#afterCall(int)
30 */
31 public void afterCall(int action) {
32 }
33
34 /**
35 * @see de.intevation.artifacts.CallContext#globalContext()
36 */
37 public Object globalContext() {
38 return this.globalContext;
39 }
40
41 }

http://dive4elements.wald.intevation.org