Mercurial > dive4elements > gnv-client
diff gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCaseBase.java @ 485:4939236c2dc9
Fixed Compilation and Runtimeerrors in Unittests.
gnv-artifacts/trunk@560 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 18 Jan 2010 11:26:51 +0000 |
parents | 147d1e46b239 |
children | 4080b57dcb52 |
line wrap: on
line diff
--- a/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCaseBase.java Mon Jan 18 11:25:52 2010 +0000 +++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCaseBase.java Mon Jan 18 11:26:51 2010 +0000 @@ -9,6 +9,7 @@ import java.io.FileOutputStream; import java.io.IOException; +import javax.smartcardio.ATR; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; @@ -113,11 +114,11 @@ /** * @return */ - protected CallContext createCallContext() { + protected CallContext createCallContext(ArtifactFactory artifactFactory) { CallMeta callMeta = new DefaultCallMeta( new PreferredLocale[] { new DefaultPreferredLocale("de_DE", 1.0f) }); - CallContext cc = new TestCallContext(bootstrap.getContext(), callMeta); + CallContext cc = new TestCallContext(bootstrap.getContext(), callMeta,artifactFactory); return cc; }