Added project name to custom test template
This commit is contained in:
parent
eef391e90c
commit
09d95118c6
2 changed files with 4 additions and 10 deletions
|
@ -1,20 +1,13 @@
|
|||
package {{v packageName/}};
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Provides project version information.
|
||||
*/
|
||||
public final class {{v className/}} {
|
||||
public static final int PROJECT = "{{v project/}}";
|
||||
public static final int MAJOR = {{v major/}};
|
||||
public static final int MINOR = {{v minor/}};
|
||||
public static final int REVISION = {{v revision/}};
|
||||
public static final String QUALIFIER = "{{v qualifier/}}";
|
||||
|
||||
/**
|
||||
* Disables the default constructor.
|
||||
*/
|
||||
private {{v className/}}() {
|
||||
throw new UnsupportedOperationException("Illegal constructor call.");
|
||||
// no-op
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue