| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-06-28 | refactor: add linter | nsfisis | |
| 2026-06-27 | test: port Composer tests unblocked by mockall, add seams | nsfisis | |
| Port 11 categories of previously-ignored Composer tests now reachable with the mockall crate: DownloadManager, VCS/Perforce/File downloaders, VersionSelector, PlatformRepository, Auditor, installer/FilesystemRepository, RootPackageLoader, util auth/http, commands, and Cache. Extract test seams additively on concrete structs as *Interface traits (Runtime, HhvmDetector, VersionGuesser, RepositorySet, Perforce, BinaryInstaller) plus mock-field seams (Cache, Filesystem); consumers take trait objects. Mocks are defined locally in the test crates via mockall::mock!, since automock-generated mocks are cfg(test)-gated and invisible across the integration-test boundary. dataProviders are ported in full; tests blocked by unported shims stay #[ignore] with documented reasons rather than reduced or weakened. Fix product bugs surfaced by the ports: - util/github: use the exception code, not the HTTP status, for 401/403 - advisory: serialize empty audit maps as [] to match PHP json_encode - repository/filesystem and downloader/file: fix RefCell double-borrow panics Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> | |||
| 2026-06-22 | test: un-ignore tests that now pass | nsfisis | |
| Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> | |||
| 2026-06-22 | test: port more test cases | nsfisis | |
| Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> | |||
| 2026-06-21 | test(tests): expand stub macros into plain test functions | nsfisis | |
| The per-file stub!/encode_stub!/etc. macros generated #[ignore]d test functions but obscured the individual test bodies. Expanding them inline removes the macro indirection so future ports can fill in each function directly. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> | |||
| 2026-06-21 | test: port Auditor/JsonConfigSource/AutoloadGenerator as stubs | nsfisis | |
| All ignored: Auditor mocks HttpDownloader and parses constraints (look-around regex); JsonConfigSource uses JsonManipulator (addcslashes todo!()); the AutoloadGenerator cases are fixture/mocked-installer integration. Wires up the config test target. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> | |||
| 2026-06-21 | test: add empty test files | nsfisis | |
