org.seleniumhq.selenium.fluent
Class Internal.BaseTestableObject<T>

java.lang.Object
  extended by org.seleniumhq.selenium.fluent.Internal.BaseTestableObject<T>
Direct Known Subclasses:
TestableString, TestableValue
Enclosing class:
Internal

public abstract static class Internal.BaseTestableObject<T>
extends Object


Field Summary
protected  Context context
           
protected  Execution<T> execution
           
protected  T is
           
protected  Monitor monitor
           
protected  Period within
           
 
Constructor Summary
Internal.BaseTestableObject(Period within, Execution<T> execution, Context context, Monitor monitor)
           
 
Method Summary
protected  void assignValueIfNeeded()
           
 void baseShouldBe(T shouldBe)
           
 void baseShouldNotBe(T shouldNotBe)
           
protected  long calcEndMillis()
           
protected  String durationIfNotZero(long start)
           
protected  void validateWrapRethrow(Internal.Validation validation, Context ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

within

protected final Period within

execution

protected final Execution<T> execution

context

protected final Context context

is

protected T is

monitor

protected final Monitor monitor
Constructor Detail

Internal.BaseTestableObject

public Internal.BaseTestableObject(Period within,
                                   Execution<T> execution,
                                   Context context,
                                   Monitor monitor)
Method Detail

calcEndMillis

protected long calcEndMillis()

validateWrapRethrow

protected void validateWrapRethrow(Internal.Validation validation,
                                   Context ctx)

assignValueIfNeeded

protected void assignValueIfNeeded()

durationIfNotZero

protected String durationIfNotZero(long start)

baseShouldBe

public void baseShouldBe(T shouldBe)

baseShouldNotBe

public void baseShouldNotBe(T shouldNotBe)


Copyright © 2013. All Rights Reserved.