EN · DE · RU · FR · ES

#840: PropTest.kt

projectforge-business/src/main/kotlin/org/projectforge/business/address/MailingAddress.kt Test - CardDAV, projectforge-carddav/src/test/kotlin/org/projectforge/carddav/PropTest.kt 111 lines · 52 code · 50 comments · 9 blank
Unit test for `Prop.extractProps()`. Validates parsing of WebDAV PROPFIND XML to extract property types (resourcetype, displayname, current-user-principal, etc.) and sync-collection tokens.

Architecture

Tested Class

Prop — represents WebDAV properties and handles PROPFIND XML parsing.

Test Methods

Dependencies

ImportPurpose
org.junit.jupiter.api.AssertionsTest assertions
org.junit.jupiter.api.TestJUnit 5 test annotation
org.projectforge.carddav.PropClass under test
org.projectforge.carddav.PropTypeProperty type enum

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
5167dab99 WIP: Carddav
78a5132bf WIP: Carddav
caee35750 WIP: Carddav
2ad0cfe66 WIP: Carddav