Commit 576b134
test(1013-01): add TestLegacyClassesRemoved.m contract guard (DIFF-03)
- New tests/suite/TestLegacyClassesRemoved.m (~34 LOC).
- Parameterized over the 11 legacy classes deleted across v2.0
(Phase 1011: Threshold, CompositeThreshold, StateChannel,
ThresholdRule, Sensor, SensorRegistry, ThresholdRegistry,
ExternalSensorRegistry) and v2.1 (Phase 1013: EventDetector,
IncrementalEventDetector, EventConfig).
- Asserts exist(ClassName, 'class') == 0 for each -- accidental
re-introduction (revert, copy-paste, future contributor) fires a
focused failure naming the leaking class.
- Auto-discovered by tests/run_all_tests.m via TestSuite.fromFolder
-- no runner edit needed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c5a1373 commit 576b134
1 file changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
0 commit comments