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