Closed bhavyejain closed 5 years ago
Can you attached the constraint files that you modified like this I can check them and add them to my set of test files so that the test work for me as well.
@niko-rodrigue I'll just confirm the test files and attach them here after the meeting.
@niko-rodrigue the link for new test files is: https://drive.google.com/drive/folders/1HwZP-O1JSS-5JUPyDVrBo-33_saRIa52?usp=sharing
Could you please have a look at 1220601-fail-01-01 result?
I am not able to figure out why the control is not even entering the check()
when the spatial:isLocal attribute is missing! Putting a line logger.warn("set local: "+srp.isSetIsLocal());
before the if()
in check()
chows that the control is not even reaching the if statement.
There does not seem to be a problem with the parser, because the second test file does not show a similar behaviour. It enters the check and also validates the unknown attribute.
The constructor Boolean(boolean) is deprecated too. I hope this is not problematic?
The test files for 20601 and 20602 had to be created manually. 20602 is working perfectly. 20601 is working perfectly for catching unknown attributes, but the call to
isSetIsLocal()
faced some issue while testing forspatial:isLocal
to be present necessarily. The tests showed that the function was accessed and worked fine whenisLocal
is present, even with a wrong value, but was not accessed at all when the attribute was missing altogether. This might be a test case related problem since I hand made it. Please have a look at the code, because I'm certain it should work for a proper test case.