EN · DE · RU · FR · ES

#2418: AddressbookTest.kt

projectforge-rest/src/test/kotlin/org/projectforge/rest/AddressbookTest.kt Type: Kotlin Class · Package: org.projectforge.rest · Source: projectforge-rest/src/test/kotlin/org/projectforge/rest/AddressbookTest.kt 113 lines · 78 code · 22 comments · 13 blank
Kotlin Class implementing AddressbookTest.

Properties

PropertyDeclaration
addressbookDaoAddressbookDao
oldValuegetUserList(TEST_USER, TEST_USER2, TEST_ADMIN_USER)
svcBaseUserGroupRightService.instance
histcreateHistoryTester()
bookIdaddressbookDao.insert(book, false)
newValuegetUserList(TEST_USER, TEST_USER2, TEST_HR_USER)
historyEntriesaddressbookDao.loadHistory(book, false).sortedEntries
testhist.selectHistory(bookId)
bookDOAddressbookDO()
svcBaseUserGroupRightService.instance
bookAddressbook()

Functions

FunctionParametersReturn
testHistoryUnit
listToStringTestUnit
checkLongListlongList: List<BaseDTO<*>>?, vararg expected: LongUnit
getUserListvararg users: StringString?

Annotated History

Key functional changes:

CommitDescription
176cb32d7WIP: Gradle
bbc198d03Migration stuff in progress... (all tests of all packages: OK).
a33f8f203Migration stuff in progress... (all tests of all packages: OK).
9f874e26cMAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
cdfc029edSome tests fixed: BaseDTO: deprecated newInstance() fixed.
8d164f4adAbstractRest, AbstractDORest, AbstractDTORest and BaseDTO refactored.
f2d5a27dbRest: BaseObject -> BaseHistorizableObject, dto added to most super methods of AbstractBaseRest.
05244ff19CopyRight of all Kotlin file-header updated or created.
bd3a3e824Module projectforge-jax-rs renamed to projectforge-rest.
Maintenance commits (7)