com.thoughtworks.selenium.condition
Class Not

java.lang.Object
  extended by com.thoughtworks.selenium.condition.Condition
      extended by com.thoughtworks.selenium.condition.Not

public class Not
extends Condition

Simple predicate class, which also knows how to wait for its condition to be true. Used by Selenium tests. A "Not" is the inverse of any other Condition.


Constructor Summary
Not(Condition positiveCondition)
           
 
Method Summary
 boolean isTrue(ConditionRunner.Context context)
           
 
Methods inherited from class com.thoughtworks.selenium.condition.Condition
getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Not

public Not(Condition positiveCondition)
Method Detail

isTrue

public boolean isTrue(ConditionRunner.Context context)
Specified by:
isTrue in class Condition


Copyright © 2010. All Rights Reserved.