org.dbunit.dataset.common.handlers
Class MockHandler

java.lang.Object
  extended by org.dbunit.dataset.common.handlers.AbstractPipelineComponent
      extended by org.dbunit.dataset.common.handlers.MockHandler
All Implemented Interfaces:
Handler, PipelineComponent
Direct Known Subclasses:
MockHandlerAccept

public class MockHandler
extends AbstractPipelineComponent

Since:
2.4.0
Version:
$Revision: 817 $ $Date: 2008-09-29 22:23:35 +0200 (Mon, 29 Sep 2008) $
Author:
gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
AbstractPipelineComponent.ACCEPT, AbstractPipelineComponent.IGNORE
 
Constructor Summary
MockHandler()
           
 
Method Summary
 void addExpectedHandleValues(char arg0)
           
 void addExpectedSetSuccessorValues(Handler arg0)
           
 boolean canHandle(char c)
           
 void handle(char arg0)
           
 void setExpectedGetSinkCalls(int calls)
           
 void setExpectedHandleCalls(int calls)
           
 void setExpectedSetSuccessorCalls(int calls)
           
 void setSuccessor(PipelineComponent arg0)
           
 void setupExceptionGetSink(Throwable arg)
           
 void setupExceptionHandle(Throwable arg)
           
 void setupExceptionSetSuccessor(Throwable arg)
           
 void setupGetSink(List arg)
           
 void verify()
           
 
Methods inherited from class org.dbunit.dataset.common.handlers.AbstractPipelineComponent
accept, allowForNoMoreInput, createPipelineComponent, getHelper, getPipeline, getPipelineConfig, getSuccessor, noMoreInput, setPipeline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockHandler

public MockHandler()
Method Detail

setExpectedSetSuccessorCalls

public void setExpectedSetSuccessorCalls(int calls)

addExpectedSetSuccessorValues

public void addExpectedSetSuccessorValues(Handler arg0)

setSuccessor

public void setSuccessor(PipelineComponent arg0)
Specified by:
setSuccessor in interface PipelineComponent
Overrides:
setSuccessor in class AbstractPipelineComponent

setupExceptionSetSuccessor

public void setupExceptionSetSuccessor(Throwable arg)

setExpectedGetSinkCalls

public void setExpectedGetSinkCalls(int calls)

setupExceptionGetSink

public void setupExceptionGetSink(Throwable arg)

setupGetSink

public void setupGetSink(List arg)

setExpectedHandleCalls

public void setExpectedHandleCalls(int calls)

addExpectedHandleValues

public void addExpectedHandleValues(char arg0)

handle

public void handle(char arg0)
            throws IllegalInputCharacterException,
                   PipelineException
Specified by:
handle in interface Handler
Overrides:
handle in class AbstractPipelineComponent
Throws:
IllegalInputCharacterException
PipelineException

setupExceptionHandle

public void setupExceptionHandle(Throwable arg)

verify

public void verify()

canHandle

public boolean canHandle(char c)
                  throws IllegalInputCharacterException
Throws:
IllegalInputCharacterException


Copyright © 2002-2012. All Rights Reserved.