CardDavUtilsTest.ktCardDavUtils — utility class for CardDAV URL manipulation and contact ID extraction.
'test getPrincipalsUsersUrl' — Validates principal URL construction from user paths'test normalizedUri' — Validates URI path normalization (stripping /carddav prefix and slashes)'test extraction of contact id' — Validates extraction of numeric contact IDs from VCF and image URLs| Import | Purpose |
|---|---|
| org.junit.jupiter.api.Assertions | Test assertions |
| org.junit.jupiter.api.Test | JUnit 5 test annotation |
| org.projectforge.framework.persistence.user.entities.PFUserDO | User entity for URL construction |
| org.projectforge.carddav.CardDavUtils | Class under test |
868d6abb7 2025 -> 2026 63081666f Source file headers: 2024-> 2025. cc9abacea CardDav-Server: WIP: image handling. c4062ed97 WIP: Carddav 40e554cbe WIP: Carddav