- replace legacy mockito-all with mockito-junit-jupiter - add tests for AppState, MQTT service, process manager, and animation file service - rewrite service tests for stronger edge-case coverage - refactor services for testability (MQTT client/process launcher/output path injection) - fix duplicate payload ID handling in BinaryEventService - update README and docs testing/source-map sections
2.0 KiB
2.0 KiB
Source Map
Package-level map of all Java source files in src/main/java and tests in src/test/java.
Main Sources
vassistent
App.java: application entry point and shutdown hook logic
vassistent.bootstrap
ApplicationContext.java: container for shared services/stateApplicationInitializer.java: wiring and startup sequenceApplicationShutdownManager.java: managed shutdown sequence
vassistent.controller
AppWindowController.java: main window lifecycle and state-driven UI updatesDashboardController.java: chart and level updates on state changesStreamingController.java: stream view actions (reload/focus)
vassistent.model
AppState.java: observable app stateDatabaseEntry.java: persisted event value + timestampProblemLevel.java: risk level enumRatioPoint.java: chart point model
vassistent.service
AnimationFileService.java: writes animation state JSON fileBinaryEventService.java: payload validation + dispatchDataPersistenceService.java: SQLite init and CRUD-like methodsEvaluationService.java: ratio-to-problem-level mappingMqttClientService.java: MQTT connectivity and callbacksProcessManagerService.java: optional process startup/shutdownStatisticsService.java: ratio and rolling-avg computations
vassistent.ui
AppWindow.java: root frame with tabbed layoutDashboardView.java: chart + threshold markers + level displayPixelStreamingView.java: JCEF browser panel for streamProblemLevelBar.java: custom level visualization widget
vassistent.util
ConfigLoader.java: classpath properties loaderLogger.java: async logger with file rotation
Test Sources
vassistent.model
AppStateTest.java
vassistent.service
AnimationFileServiceTest.javaBinaryEventServiceTest.javaDataPersistenceServiceTest.javaEvaluationServiceTest.javaMqttClientServiceTest.javaProcessManagerServiceTest.javaStatisticsServiceTest.java