org.testng.internal.ExpectedExceptionsHolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
Testing framework for Java
package org.testng.internal;
/**
* A class that contains the expected exceptions and the message regular expression.
* @author cbeust
*/
public class ExpectedExceptionsHolder {
Class>[] expectedClasses;
String messageRegExp;
public ExpectedExceptionsHolder(Class>[] expectedClasses, String messageRegExp) {
this.expectedClasses = expectedClasses;
this.messageRegExp = messageRegExp;
}
}