fr.inria.peerunit.parser
Annotation Type TestStep


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

Meta-annotation Retention indicate that this annotation must be retained in runtime Meta-annotation Target indicates that this annotation type can be used to annotate only method declarations.


Optional Element Summary
 int from
          Deprecated. As of release 1.0, replaced by range()
 boolean measure
          Deprecated. As of release 1.0.
 java.lang.String name
          Deprecated. As of release 1.0, use method name instead.
 int order
           
 int place
          Deprecated. As of release 1.0, replaced by range()
 java.lang.String range
          Range of peers where the test step should be executed.
 int step
          Deprecated. As of release 1.0, replaced by order()
 int timeout
           
 int to
          Deprecated. As of release 1.0, replaced by range()
 

range

public abstract java.lang.String range
Range of peers where the test step should be executed.

Returns:
a String in the form: "*", "54" or "4-17".
Default:
"*"

order

public abstract int order
Default:
-1

timeout

public abstract int timeout
Default:
-1

place

@Deprecated
public abstract int place
Deprecated. As of release 1.0, replaced by range()

Returns:
Default:
-1

from

@Deprecated
public abstract int from
Deprecated. As of release 1.0, replaced by range()

Returns:
Default:
-1

to

@Deprecated
public abstract int to
Deprecated. As of release 1.0, replaced by range()

Returns:
Default:
-1

measure

@Deprecated
public abstract boolean measure
Deprecated. As of release 1.0.

Returns:
Default:
true

step

@Deprecated
public abstract int step
Deprecated. As of release 1.0, replaced by order()

Returns:
Default:
-1

name

@Deprecated
public abstract java.lang.String name
Deprecated. As of release 1.0, use method name instead.

Returns:
Default:
"step"


Copyright © 2010. All Rights Reserved.