Rainytoken/app
WaterRain b7639a733e
test: 新增 52 个单元测试,删除模板残留,整理构建修复
## 变更内容

### 新增测试(3 文件,52 用例)
- FormatUtilsTest (18): formatAmount/formatResetInSec/formatResetForWidget/normalizeWindowLabel
- FormatCodexPrimaryLabelTest (9): Codex 窗口标签翻译,含 null fallback/大小写/未知值
- CodexRepositoryTest (25): durationLabel 阈值/parseUsageWindows JsonNull 安全/parseSseResponse SSE 解析

### 删除模板残留
- ExampleUnitTest.kt (包名 com.java.myapplication)
- ExampleInstrumentedTest.kt (包名 com.java.myapplication)

### 生产代码可见性调整 (CodexRepository.kt)
- UsageWindow/parseUsageWindows/durationLabel: private to internal, 移入 companion object
- parseSseResponse: private to internal 顶层函数

### 构建修复 (上一轮会话成果)
- build.gradle.kts: 删除旧 fixReleaseManifest workaround,替换为 guardReleaseResources 任务
- AGENTS.md: 新增 ARM64 Proot Release 构建红线段落
- README.md: 补充 Release 构建额外配置说明

## 测试结果
78 tests, 0 failures, 0 errors
2026-07-20 09:07:54 +00:00
..
src test: 新增 52 个单元测试,删除模板残留,整理构建修复 2026-07-20 09:07:54 +00:00
build.gradle.kts test: 新增 52 个单元测试,删除模板残留,整理构建修复 2026-07-20 09:07:54 +00:00
proguard-rules.pro 🎉 RainyToken — AI 余额查询 APP 2026-06-16 01:46:03 +00:00