@Target(value=FIELD) @Retention(value=RUNTIME) public @interface GenerateString
AlchemyTestRunner, this Annotations allows the
Runtime Injection of Generated Strings from the AlchemyGenerator library.
Example:
`@RunWith(AlchemyTestRunner.class)
public class ExampleTest
{
`@GenerateString(HEXADECIMAL)
private String username;
}
Note, '`' (ticks) used to escape Javadocs.
GenerateInteger| Modifier and Type | Optional Element and Description |
|---|---|
int |
length
The length of the string, must be
> 0. |
GenerateString.Type |
value
The type of String to Generate
|
public abstract GenerateString.Type value
public abstract int length
> 0.Copyright © 2015–2018 RedRoma, Inc.. All rights reserved.