org.openqa.selenium.support.testing
Class Verifications

java.lang.Object
  extended by org.junit.rules.Verifier
      extended by org.openqa.selenium.support.testing.Verifications
All Implemented Interfaces:
org.junit.rules.MethodRule

public class Verifications
extends org.junit.rules.Verifier


Field Summary
protected  java.lang.StringBuilder verificationErrors
           
 
Constructor Summary
Verifications()
           
 
Method Summary
 void clearVerificationErrors()
          Clears out the list of verification errors
protected  java.lang.String throwableToString(java.lang.Throwable t)
           
protected  void verify()
           
 void verifyEquals(java.lang.Object expected, java.lang.Object actual)
          Like assertEquals, but fails at the end of the test (during tearDown)
 void verifyEquals(java.lang.String[] expected, java.lang.String[] actual)
          Asserts that two string arrays have identical string contents (fails at the end of the test, during tearDown)
 void verifyFalse(boolean value)
          Like assertFalse, but fails at the end of the test (during tearDown)
 void verifyNotEquals(boolean expected, boolean actual)
          Like assertNotEquals, but fails at the end of the test (during tearDown)
 void verifyNotEquals(java.lang.Object expected, java.lang.Object actual)
          Like assertNotEquals, but fails at the end of the test (during tearDown)
 void verifyTrue(boolean value)
          Like assertTrue, but fails at the end of the test (during tearDown)
 
Methods inherited from class org.junit.rules.Verifier
apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verificationErrors

protected java.lang.StringBuilder verificationErrors
Constructor Detail

Verifications

public Verifications()
Method Detail

verify

protected void verify()
               throws java.lang.Throwable
Overrides:
verify in class org.junit.rules.Verifier
Throws:
java.lang.Throwable

clearVerificationErrors

public void clearVerificationErrors()
Clears out the list of verification errors


verifyEquals

public void verifyEquals(java.lang.Object expected,
                         java.lang.Object actual)
Like assertEquals, but fails at the end of the test (during tearDown)


verifyTrue

public void verifyTrue(boolean value)
Like assertTrue, but fails at the end of the test (during tearDown)


verifyFalse

public void verifyFalse(boolean value)
Like assertFalse, but fails at the end of the test (during tearDown)


verifyEquals

public void verifyEquals(java.lang.String[] expected,
                         java.lang.String[] actual)
Asserts that two string arrays have identical string contents (fails at the end of the test, during tearDown)


verifyNotEquals

public void verifyNotEquals(java.lang.Object expected,
                            java.lang.Object actual)
Like assertNotEquals, but fails at the end of the test (during tearDown)


verifyNotEquals

public void verifyNotEquals(boolean expected,
                            boolean actual)
Like assertNotEquals, but fails at the end of the test (during tearDown)


throwableToString

protected java.lang.String throwableToString(java.lang.Throwable t)


Copyright © 2010. All Rights Reserved.