Page MenuHome

Animation: Add test cases for `ED_keyframes_keylist`.
ClosedPublic

Authored by Jeroen Bakker (jbakker) on Aug 23 2021, 4:42 PM.

Details

Summary

This patch adds test cases to detect edge cases when finding
keylist columns.

The patch originated during development of D12052 to make sure
the new implementation matches the old implementation. It would
be good to add these test cases to master so this part is covered
in a next change might influence the expected edges.

The patch covers ED_keylist_find_next, ED_keylist_find_prev
and ED_keylist_find_exact methods.

Diff Detail

Repository
rB Blender

Event Timeline

Added license header.

  • Codestyle: naming test module.
  • Cleaned up test cases by adding more descriptive functions.
Jeroen Bakker (jbakker) requested review of this revision.Sep 14 2021, 2:54 PM
Jeroen Bakker (jbakker) retitled this revision from Added testcases to narrow down issues in D12052. to Animation: Add test cases for `ED_keyframes_keylist`..
Jeroen Bakker (jbakker) edited the summary of this revision. (Show Details)

More tests == better :)

This revision is now accepted and ready to land.Nov 23 2021, 5:43 PM