com.google.testing.threadtester
Annotation Type ThreadedTest


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

An annotation that designates a test that uses the ThreadedTestRunner framework to perform multithreaded tests.

Author:
alasdair.mackintosh@gmail.com (Alasdair Mackintosh)

Optional Element Summary
 Class<? extends Throwable> expected
          An optional expected Throwable.
 

expected

public abstract Class<? extends Throwable> expected
An optional expected Throwable. If this is specified, the given test method is expected to throw the given exception class during its execution. Failure to throw the specified exception is an error.

Default:
com.google.testing.threadtester.ThreadedTest.NoException.class


Copyright © 2013. All Rights Reserved.