--- old/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/JVMOption.java 2015-11-18 22:07:36.368532948 +0300 +++ new/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/JVMOption.java 2015-11-18 22:07:36.240532942 +0300 @@ -55,6 +55,16 @@ protected boolean withRange; /** + * Test valid min range value and additional small values + */ + protected boolean testMinRange; + + /** + * Test valid max range value and additional big values + */ + protected boolean testMaxRange; + + /** * Prepend string which added before testing option to the command line */ private final List prepend; @@ -64,6 +74,8 @@ this.prepend = new ArrayList<>(); prependString = new StringBuilder(); withRange = false; + testMinRange = true; + testMaxRange = true; } /** @@ -136,6 +148,20 @@ } /** + * Not test min range value for this option + */ + public final void notTestMinRange() { + testMinRange = false; + } + + /** + * Not test max range value for this option + */ + public final void notTestMaxRange() { + testMaxRange = false; + } + + /** * Set new minimum option value * * @param min new minimum value