mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-11-01 15:43:45 +00:00
d63d04c1142429574141a95602a6f3aec370626e
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>
ShadowsocksX-NG
🚧 重新实现进行中 —— 本仓库正在使用现代技术栈重写 ShadowsocksX-NG macOS 客户端。
新实现位于 ShadowsocksX-NG2/,面向 macOS 15+ / Apple Silicon(arm64)。外部二进制使用上游发布产物,不再通过 git 子模块在仓库内构建。
开发入口
- 首次构建与常用命令
- 开发指南:统一验证、测试证据、代码风格工具与 Git hooks。
- 工程与专题文档:源码布局、供应链与签名、规则快照、配置说明。
- 术语表与架构决策记录(ADR);文档语言约定见开发指南。
旧版归档
旧版工程源码已从本仓库移除,归档在 shadowsocks/ShadowsocksX-NG 的 legacy-v1 分支,仅供参考,不保证可构建。旧版功能说明与使用文档见 legacy-v1 的 README。
Languages
Swift
95.8%
Python
2.5%
Shell
1.4%
C
0.3%