Files
ShadowsocksX-NG/ShadowsocksX-NG2/Tests/Rules/Custom
Qiu YuzhouandDeepSeek Harness d63d04c114 test: drop matrix and ACL cases whose inputs never reach the unit
testExternalSettingsChangesNeverSupplyAFallbackOrAlterThreeStateResults
mutates a preferences fixture 12 ways but never passes it to RulesWorkflow
(which takes no preferences) and the matcher path is a pure function of the
collection; the 48 assertions are four matcher outcomes repeated 12 times and
each outcome is covered elsewhere.

The two ACL "does not load custom rules" cases build a customRules array that
ProxyACLDocument.global/direct cannot receive (both take only a URL), so their
contains() negatives could never fail; the template shapes are pinned by
ProxyACLTests and the behavioral claim by CustomRuleControllerTests.

Co-Authored-By: DeepSeek Harness <noreply@deepseek.com>
2026-10-21 01:19:15 +08:00
..