junit.extensions.abbot
Class ComponentTestFixture.ComponentMatcher

java.lang.Object
  extended by junit.extensions.abbot.ComponentTestFixture.ComponentMatcher
All Implemented Interfaces:
Matcher
Enclosing class:
ComponentTestFixture

protected class ComponentTestFixture.ComponentMatcher
extends Object
implements Matcher

Simple matcher that may be used to verify that a specific component is found by a given ComponentFinder.


Constructor Summary
ComponentTestFixture.ComponentMatcher(Component c)
           
 
Method Summary
 boolean matches(Component c)
          Return whether the given Component matches some lookup criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentTestFixture.ComponentMatcher

public ComponentTestFixture.ComponentMatcher(Component c)
Method Detail

matches

public boolean matches(Component c)
Description copied from interface: Matcher
Return whether the given Component matches some lookup criteria.

Specified by:
matches in interface Matcher


Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge