Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a script capable to check for backwards compatibility differences…
… between .matter files (#29349) * Start defining a compatibility checker with unit tests * Enumeration validation passes * Restyle * Mark unimplemented items with TODO * Add some cluster validation tests * Add validation for bitmap statuses and unit tests for that * Mild restyle and clearer code * Take into consideration cluster sides * Update naming a bit * More detailed messages for code entry changes * Use sub-tests to mark clearly what failures occur where * Fix typing and common logic * Add implementation and tests for event backward compatibility * Restyle * Add command backwards compatibility checks and tests, better error reporting * Less noisy output for unit tests * Restyle * Fixed types * Split tests so we have better split and execution report - 23 tests instead of just 5 * Add minor unit test * Added struct handling and unit tests * Restyle * Attribute validation * Restyle * Fix typo * Add some extra logic to not detect renames in fields * Additional tests for renames of fields * Add struct tests for reorder and renames * Add cluster names for error reports * Restyle * Fix test comments * Move defs outside init into separate file, update build scripts * Move to single file for use as an import instead of a module directory * Remove unused import * Rename some global methods to pep8 * Move more methods to pep8 * Remove unused import * Make sure unit test is run as part of standard tests * Update comment * Ensure click argument for choice is list of str instead of a dictionary view (makes mypy happy) --------- Co-authored-by: Andrei Litvin <[email protected]>
- Loading branch information