org.testng.annotations
Annotation Type ExpectedExceptions


Deprecated. Use @Test(expectedExceptions = "...")

@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ExpectedExceptions

List of exceptions that a test method is expected to throw.

Author:
Cedric Beust, Apr 26, 2004

Required Element Summary
 Class[] value
          Deprecated. The list of exceptions expected to be thrown by this method.
 

Element Detail

value

public abstract Class[] value
Deprecated. 
The list of exceptions expected to be thrown by this method.



Copyright © 2012. All Rights Reserved.