jackrabbit icon indicating copy to clipboard operation
jackrabbit copied to clipboard

Fix a unit test

Open ghost opened this issue 8 years ago • 0 comments

Effectively, testCreateInvalidValueConstraints() tested only the first invalid QDef because the try..catch was around the loop over the invalid QDefs. Therefore, if createValueConstraint() on the first invalid QDef threw an InvalidConstraintException as expected, then the other invalid QDefs would not be checked.

ghost avatar Oct 14 '17 22:10 ghost