org.hobsoft.symmetry.ui.test
Class AbstractComponentTest<T extends Component>

java.lang.Object
  extended by org.hobsoft.symmetry.ui.test.AbstractComponentTest<T>
Type Parameters:
T - the type of component that this test tests

public abstract class AbstractComponentTest<T extends Component>
extends Object

Shared tests for Component implementations.

Author:
Mark Hobson
See Also:
Component

Constructor Summary
AbstractComponentTest()
           
 
Method Summary
 void acceptWithNullSubvisitor()
           
 void acceptWithNullVisitor()
           
 void acceptWithSubvisitorReturningNullEndVisit()
           
 void acceptWithSubvisitorReturningNullVisit()
           
 void acceptWithSubvisitorReturningSkipSiblings()
           
 void acceptWithSubvisitorReturningVisitSiblings()
           
protected abstract  T createComponent()
           
protected  T getComponent()
           
protected abstract  com.google.common.reflect.TypeToken<T> getComponentType()
           
protected  org.jmock.Mockery getMockery()
           
 void setUpAbstractComponentTest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractComponentTest

public AbstractComponentTest()
Method Detail

setUpAbstractComponentTest

public final void setUpAbstractComponentTest()

acceptWithSubvisitorReturningVisitSiblings

public void acceptWithSubvisitorReturningVisitSiblings()

acceptWithSubvisitorReturningSkipSiblings

public void acceptWithSubvisitorReturningSkipSiblings()

acceptWithSubvisitorReturningNullVisit

public void acceptWithSubvisitorReturningNullVisit()

acceptWithSubvisitorReturningNullEndVisit

public void acceptWithSubvisitorReturningNullEndVisit()

acceptWithNullSubvisitor

public void acceptWithNullSubvisitor()

acceptWithNullVisitor

public void acceptWithNullVisitor()

getMockery

protected final org.jmock.Mockery getMockery()

getComponent

protected final T getComponent()

createComponent

protected abstract T createComponent()

getComponentType

protected abstract com.google.common.reflect.TypeToken<T> getComponentType()


Copyright © 2004-2012. All Rights Reserved.