@Target(value=FIELD) @Retention(value=RUNTIME) public @interface GenerateInteger
AlchemyTestRunner, this Annotations allows the
Runtime Injection of Generated Integers from the AlchemyGenerator library.
Example:
`@RunWith(AlchemyTestRunner.class)
public class ExampleTest
{
`@GenerateInteger(POSITIVE)
private int size;
...
}
Note, ticks (`) used to escape Javadocs.GenerateString,
GenerateLong,
GenerateDouble| Modifier and Type | Optional Element and Description |
|---|---|
int |
max |
int |
min |
GenerateInteger.Type |
value |
public abstract GenerateInteger.Type value
public abstract int min
public abstract int max
Copyright © 2015–2018 RedRoma, Inc.. All rights reserved.