Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestCallContext.java @ 117:ef157bd2fa92
LanguageSupport integrated
gnv-artifacts/trunk@178 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 02 Oct 2009 14:24:47 +0000 |
parents | 820238357bab |
children | 7fb9441dd8af |
comparison
equal
deleted
inserted
replaced
116:820238357bab | 117:ef157bd2fa92 |
---|---|
11 * | 11 * |
12 */ | 12 */ |
13 public class TestCallContext implements CallContext { | 13 public class TestCallContext implements CallContext { |
14 | 14 |
15 private Object globalContext = null; | 15 private Object globalContext = null; |
16 private CallMeta callMeta = null; | |
16 /** | 17 /** |
17 * Constructor | 18 * Constructor |
18 */ | 19 */ |
19 public TestCallContext(Object globalContext) { | 20 public TestCallContext(Object globalContext, CallMeta callMeta) { |
20 this.globalContext = globalContext; | 21 this.globalContext = globalContext; |
22 this.callMeta = callMeta; | |
21 } | 23 } |
22 | 24 |
23 /** | 25 /** |
24 * @see de.intevation.artifacts.CallContext#afterBackground(int) | 26 * @see de.intevation.artifacts.CallContext#afterBackground(int) |
25 */ | 27 */ |
38 public Object globalContext() { | 40 public Object globalContext() { |
39 return this.globalContext; | 41 return this.globalContext; |
40 } | 42 } |
41 | 43 |
42 public CallMeta getMeta() { | 44 public CallMeta getMeta() { |
43 | 45 return this.callMeta; |
44 return null; | |
45 } | 46 } |
46 | 47 |
47 } | 48 } |