view 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
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.artifacts;

import de.intevation.artifacts.CallContext;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 *
 */
public class TestCallContext implements CallContext {

    private Object globalContext = null;
    /**
     * Constructor
     */
    public TestCallContext(Object globalContext) {
        this.globalContext = globalContext;
    }

    /**
     * @see de.intevation.artifacts.CallContext#afterBackground(int)
     */
    public void afterBackground(int action) {
    }

    /**
     * @see de.intevation.artifacts.CallContext#afterCall(int)
     */
    public void afterCall(int action) {
    }

    /**
     * @see de.intevation.artifacts.CallContext#globalContext()
     */
    public Object globalContext() {
        return this.globalContext;
    }

}

http://dive4elements.wald.intevation.org