Commit 6898018
Add comprehensive Swift Package Manager tests
Add 24 tests covering:
- XCLocalSwiftPackageReference: create, getDisplayName, is()
- XCRemoteSwiftPackageReference: parsing, all 6 version requirement types
- XCSwiftPackageProductDependency: parsing, create with local/remote refs
- Round-trip serialization for all SPM types
Also fix XCSwiftPackageProductDependency.getObjectProps() to properly
declare `package` as a reference property, enabling automatic
inflation/deflation of package references.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 05fbf7f commit 6898018
2 files changed
Lines changed: 394 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments