com.mycila.testing.plugin.annotation
Annotation Type ExpectException
@Retention(value=RUNTIME)
@Target(value={METHOD,TYPE})
@Inherited
@Documented
public @interface ExpectException
Verify that a test has thrown an exception
- Author:
- Mathieu Carbou (mathieu.carbou@gmail.com)
type
public abstract Class<? extends Throwable> type
- Default:
- java.lang.Throwable.class
message
public abstract String message
- Default:
- "com.mycila.testing.plugin.annotation.ExpectException.NO_MESSAGE"
containing
public abstract String containing
- Default:
- "com.mycila.testing.plugin.annotation.ExpectException.NO_MESSAGE"
Copyright © 2008-2011 Mycila. All Rights Reserved.