org.testng.asserts
Class SoftAssert

java.lang.Object  extended by org.testng.asserts.Assertion      extended by org.testng.asserts.SoftAssert
All Implemented Interfaces:
IAssertLifecycle

public class SoftAssert
extends Assertion

When an assertion fails, don't throw an exception but record the failure. Calling assertAll() will cause an exception to be thrown if at least one assertion failed.


Constructor Summary
SoftAssert()
           
 
Method Summary
 voidassertAll()
           
 voidexecuteAssert(IAssert a)
          Run the assert command in parameter.
 
Methods inherited from class org.testng.asserts.Assertion
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsNoOrder, assertEqualsNoOrder, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, doAssert, fail, fail, fail, onAfterAssert, onAssertFailure, onAssertSuccess, onBeforeAssert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftAssert

public SoftAssert()
Method Detail

executeAssert

public void executeAssert(IAssert a)
Description copied from class: Assertion
Run the assert command in parameter. Meant to be overridden by subclasses.

Specified by:
executeAssert in interface IAssertLifecycle
Overrides:
executeAssert in class Assertion

assertAll

public void assertAll()


Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14