PageMixer API - 3.1

jp.ne.dti.lares.foozy.pagemixer.junit
Class ClearEvent

java.lang.Object
  |
  +--jp.ne.dti.lares.foozy.pagemixer.junit.Event
        |
        +--jp.ne.dti.lares.foozy.pagemixer.junit.ClearEvent

public class ClearEvent
extends Event

Event to invoke "clear" method.

Since:
PageMixer 3.1

Constructor Summary
ClearEvent()
          Constructor.
 
Method Summary
 void clear(java.lang.String subject)
          This does nothing.
 void execute(ConsumerContext context, Consumer consumer)
          This invokes "clear" method.
 
Methods inherited from class jp.ne.dti.lares.foozy.pagemixer.junit.Event
addContextCondition, buildup, checkContextConditions, consume, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearEvent

public ClearEvent()
Constructor.
Method Detail

execute

public void execute(ConsumerContext context,
                    Consumer consumer)
This invokes "clear" method.

This implementation invokes Consumer#clear.

Overrides:
execute in class Event
Following copied from class: jp.ne.dti.lares.foozy.pagemixer.junit.Event
Parameters:
context - to be passed to consumer.
consumer - to be driven.

clear

public void clear(java.lang.String subject)
This does nothing.

Oveririding of this method prevents base class implementation from invoking JUnit Assert.fail method.

Overrides:
clear in class Event
Following copied from class: jp.ne.dti.lares.foozy.pagemixer.junit.Event
Parameters:
subject - of the subject now checking

PageMixer API - 3.1