stable

Clone or download

Read-only

chore: Add unit tests for semantics in cross-tracker search

Part of story #36833 search on semantics and always there fields even if not defined No functional change. CI should be happy. Notes: The CheckMetadataUsage interface is pushed down one level. Ideally, we should move interfaces down to the field / semantic DAOs, but due to the presence of a cache, it's going to require more work. Change-Id: I4b84bfb5cb5fcf5ecf9350c8c8595624ce35ebd3

Modified Files

Name
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/InvalidSearchableCollectorVisitor.php +2 −2 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Metadata/CheckMetadataUsage.php +9 −7 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Metadata/MetadataChecker.php +2 −2 Go to diff View file
M plugins/crosstracker/include/CrossTracker/Report/Query/Advanced/QueryValidation/Metadata/MetadataUsageChecker.php +28 −69 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Report/Query/Advanced/InvalidTermCollectorVisitorTest.php +200 −56 Go to diff View file
M plugins/crosstracker/tests/unit/CrossTracker/Tests/Stub/MetadataCheckerStub.php +1 −3 Go to diff View file