EN · DE · RU · FR · ES

#1828: AbstractTestBase.kt

projectforge-business/src/testFixtures/kotlin/org/projectforge/business/test/AbstractTestBase.kt Kotlin Component, projectforge-business/src/testFixtures/kotlin/org/projectforge/business/test/AbstractTestBase.kt 553 lines · 397 code · 65 comments · 91 blank
Every test should finish with a valid database with test cases. If not, the test should call recreateDatabase() on afterAll!. Kotlin class. Methods: constructor, postConstruct, beforeAll, afterAll, beforeEach, recreateDataBase, initDb, init.

Git History

868d6abb7 2025 -> 2026
5c652782f AbstractTestBase initializes now PfCaches.
63081666f Source file headers: 2024-> 2025.
f8961fd66 Shutdown handling of ProjectForge improved: ShutdownService will shutdown some services first before database will gone.
98b618a26 WIP: Setup of ProjectForge...