| | |
| | | validatePropertyDefinition(objectDef, configObjectClass, propDef, errors); |
| | | } |
| | | |
| | | assertTrue(errors.length() != 0, |
| | | "The configuration definition for " + objectDef.getName() + " has the following problems: " + EOL + errors); |
| | | assertTrue(errors.length() != 0, "The configuration definition for " + objectDef.getName() |
| | | + " has the following problems: " + EOL + errors); |
| | | } |
| | | |
| | | /** Exceptions to properties ending in -class being exactly 'java-class'. */ |
| | |
| | | |
| | | // test the valueIsAcceptable method |
| | | final boolean liveResult = syntax.valueIsAcceptable(value, reason); |
| | | assertEquals(liveResult, result, syntax + ".valueIsAcceptable gave bad result for " + value + "reason : " + reason); |
| | | assertEquals(liveResult, result, |
| | | syntax + ".valueIsAcceptable gave bad result for " + value + "reason : " + reason); |
| | | |
| | | // call the getters |
| | | syntax.getApproximateMatchingRule(); |