Description
ResourceSequenceTestSuite was never covered by the summer 2024 refactor campaign. It holds 90 asserts in 27 facts across 1,467 lines — 3.3 asserts per fact, with 18 of the 27 facts carrying three or more asserts.
This suite is a particularly clear case because many facts still carry the original inline //#1, //#2, //#3 scenario markers in their bodies — the author already identified the sub-scenarios, they were simply never lifted into their own facts. Examples: sequence.loopmode_test (6 asserts, 3 markers), sequence.messageEventKeyframes_test (5 asserts, 4 markers), track.keyframes_test (5 asserts, 4 markers), track.tracks_test (5 asserts, 4 markers), sequenceInstance.finished_test (4 asserts, 3 markers).
Those markers are the split plan — each one becomes a fact, and per the convention the original //#N comment is preserved as the new fact's inline description.
Target: roughly 80–95 facts.
Note that this suite also contains 9 math_set_epsilon() calls; these are separate from the dead-restore cleanup issue and should be left alone here unless a split makes one redundant.
Script Name
ResourceSequenceTestSuite
Steps To The Task
Description
ResourceSequenceTestSuitewas never covered by the summer 2024 refactor campaign. It holds 90 asserts in 27 facts across 1,467 lines — 3.3 asserts per fact, with 18 of the 27 facts carrying three or more asserts.This suite is a particularly clear case because many facts still carry the original inline
//#1,//#2,//#3scenario markers in their bodies — the author already identified the sub-scenarios, they were simply never lifted into their own facts. Examples:sequence.loopmode_test(6 asserts, 3 markers),sequence.messageEventKeyframes_test(5 asserts, 4 markers),track.keyframes_test(5 asserts, 4 markers),track.tracks_test(5 asserts, 4 markers),sequenceInstance.finished_test(4 asserts, 3 markers).Those markers are the split plan — each one becomes a fact, and per the convention the original
//#Ncomment is preserved as the new fact's inline description.Target: roughly 80–95 facts.
Note that this suite also contains 9
math_set_epsilon()calls; these are separate from the dead-restore cleanup issue and should be left alone here unless a split makes one redundant.Script Name
ResourceSequenceTestSuite
Steps To The Task
//#Nmarkers as the split plan; audit the remaining facts for unmarked scenariosaddFact(), named<original_name> #N, preserving the original//#Ncomment as the inline descriptionsequence.*,sequenceInstance.*andtrack.*families