@Target(value=FIELD) @Retention(value=RUNTIME) public @interface GenerateEnum
AlchemyTestRunner, this Annotations allows the Runtime Injection of Enum values, using
EnumGenerators from the AlchemyGenerator library.
Example:
`@RunWith(AlchemyTestRunner.class)
public class ExampleTest
{
enum Role
{
DEVELOPER,
OWNER,
MANGER,
OTHER
}
`@GenerateEnum
private Role role;
...
}
Note, ticks (`) used to escape Javadocs.GenerateString,
GenerateInstantCopyright © 2015–2018 RedRoma, Inc.. All rights reserved.