RichFaces CDK Annotations 4.1.0.20111101-M4

org.richfaces.cdk.annotations
Annotation Type Test


@Retention(value=CLASS)
@Target(value={TYPE,METHOD})
@Inherited
public @interface Test

Mark component class or method for automated testing.

TODO: introduce additional parameters to refine generated test.

Author:
asmirnov@exadel.com

Optional Element Summary
 String testClass
          

Name of the generated unit test class.

 String testMethod
          

The value of this annotation attribute is taken to be a name of the generated test method.

 TestType type
          

The value of this annotation attribute tells CDK what kind of tests should be generated.

 

testClass

public abstract String testClass

Name of the generated unit test class. Currently that is mandatory

TODO: if this value is an empty, class will be inferred from the base class name.

Returns:
name of the generated test class.
Default:
""

testMethod

public abstract String testMethod

The value of this annotation attribute is taken to be a name of the generated test method.

Returns:
Default:
""

type

public abstract TestType type

The value of this annotation attribute tells CDK what kind of tests should be generated.

Returns:
Default:
org.richfaces.cdk.annotations.TestType.ALL

RichFaces CDK Annotations 4.1.0.20111101-M4

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.