/**
- * @file ChargingStation Integration Tests
+ * @file Tests for ChargingStation integration
* @description Integration test suite that verifies all ChargingStation test modules work together.
*
* Related domain-specific test files:
/**
- * @file Tests for OCPP 1.6 Charging Profile Management — Integration
+ * @file Tests for OCPP 1.6 Charging Profile Management integration
* @see OCPP 1.6 — §9.3 SetChargingProfile, §9.1 ClearChargingProfile, §9.2 GetCompositeSchedule
* @description Multi-step integration tests verifying roundtrip flows across SetChargingProfile,
* ClearChargingProfile, and GetCompositeSchedule handlers for OCPP 1.6 Smart Charging
/**
- * @file Tests for OCPP16 Integration — Configuration Management
+ * @file Tests for OCPP 1.6 Configuration Management integration
* @see OCPP 1.6 — §5.4 ChangeConfiguration, §5.8 GetConfiguration
* @description Multi-step integration tests verifying ChangeConfiguration → GetConfiguration
* roundtrips for OCPP 1.6 configuration management flows
/**
- * @file Tests for OCPP 1.6 integration — Transaction lifecycle
+ * @file Tests for OCPP 1.6 Transaction lifecycle integration
* @module OCPP 1.6 — §5.11 RemoteStartTransaction, §5.12 RemoteStopTransaction,
* §5.14 StartTransaction (response), §5.16 StopTransaction (response)
* @description Multi-step integration tests crossing IncomingRequestService, RequestService,
/**
- * @file Call chain integration tests for OCPP 1.6 request pipeline
+ * @file Tests for OCPP16RequestService call chain integration
* @description Verifies that requestHandler → buildRequestPayload → sendMessage
* is the single path for all outgoing requests.
*/
/**
- * @file Tests for OCPP 1.6 JSON schema validation
+ * @file Tests for OCPP16ServiceUtils JSON schema validation
* @module OCPP 1.6 — §4.1 BootNotification, §5.11 RemoteStartTransaction, §9.3 SetChargingProfile,
* §5.13 Reset, §5.3 ChangeAvailability (representative schema coverage)
* @description Verifies that OCPP 1.6 JSON schemas correctly validate and reject payloads
/**
- * @file Tests for OCPP 1.6 signed meter value support
+ * @file Tests for OCPP16ServiceUtils signed meter value support
* @module OCPP 1.6 — Signed MeterValues (OCA Application Note v1.0)
* @description Verifies signed meter value integration in transaction begin/end functions,
* buildSignedOCPP16SampledValue, and periodic meter values.
/**
- * @file Tests for OCPP 2.0 GroupId-based stop transaction authorization
+ * @file Tests for OCPP20IncomingRequestService GroupId-based stop transaction
* @description Unit tests for C01.FR.03, C09.FR.03, C09.FR.07 conformance
*/
/**
- * @file Tests for OCPP 2.0 JSON schema validation (negative tests)
+ * @file Tests for OCPP20IncomingRequestService JSON schema validation (negative tests)
* @description Verifies that OCPP 2.0.1 JSON schemas correctly reject invalid payloads
* when compiled with AJV. Tests the schemas directly (not through service plumbing),
* which ensures correctness regardless of path resolution in tsx/dist modes.
/**
- * @file Tests for OCPP 2.0 integration (SetVariables → GetVariables consistency)
+ * @file Tests for OCPP 2.0 integration
* @description Verifies that SetVariables and GetVariables produce consistent results
*/
/**
- * @file Tests for OCPP 2.0 signed meter value support
+ * @file Tests for OCPP20RequestBuilders signed meter value support
* @description Verifies signedMeterValue population in sampled value building,
* context-dependent sub-switch logic, and public key inclusion.
*/
/**
- * @file Call chain integration tests for OCPP 2.0 request pipeline
+ * @file Tests for OCPP20RequestService call chain integration
* @description Verifies that requestHandler → buildRequestPayload → sendMessage
* is the single path for all outgoing requests. Minimal params in, complete
* spec-compliant payload in sendMessage.
/**
- * @file Tests for OCPPAuthServiceImpl.updateCacheEntry
+ * @file Tests for OCPP20ResponseService cache update
* @description Unit tests for auth cache updates per OCPP 2.0.1
* C10.FR.01/05, C12.FR.06, C02.FR.03, C03.FR.02
*/
/**
- * @file Tests for OCPP20ServiceUtils.updateAuthorizationCache
+ * @file Tests for OCPP20ServiceUtils authorization cache
* @description Verifies the static helper that delegates auth cache updates to OCPPAuthService,
* covering the C10.FR.04 AuthorizeResponse path and graceful error handling.
*/
/**
- * @file Tests for OCPP20ServiceUtils.computeReconnectDelay
+ * @file Tests for OCPP20ServiceUtils reconnect delay computation
* @description Verifies OCPP 2.0.1 §8.1-§8.3 RetryBackOff reconnection delay computation,
* including default values, variable-configured values, and retry capping.
*/
/**
- * @file Tests for OCPP20ServiceUtils.enforceMessageLimits
+ * @file Tests for OCPP20ServiceUtils message limits enforcement
* @description Verifies message limit enforcement logic for OCPP 2.0 payloads
*/
/**
- * @file Tests for SignedMeterDataGenerator
+ * @file Tests for OCPPSignedMeterDataGenerator
* @description Verifies OCMF-like signed meter data generation for simulation purposes.
*
* Covers:
/**
- * @file Tests for SignedMeterValueUtils
+ * @file Tests for OCPPSignedMeterValueUtils
* @description Unit tests for PublicKeyWithSignedMeterValueEnumType and shouldIncludePublicKey helper
*/
import assert from 'node:assert/strict'
/**
- * @file UIMCPServer Integration Tests
+ * @file Tests for UIMCPServer integration
* @description HTTP integration tests verifying MCP endpoint responds correctly
*/
/**
- * @file Tests for OCPP16VendorParametersKey enum
- * @description Unit tests for signed meter values vendor configuration keys
+ * @file Tests for OCPP 1.6 Configuration types
+ * @description Unit tests for OCPP16VendorParametersKey enum values
*/
import assert from 'node:assert/strict'
import { describe, it } from 'node:test'
/**
- * @file OCPP 1.6 MeterValues types test suite
+ * @file Tests for OCPP 1.6 MeterValues types
* @description Tests for OCPP16MeterValueFormat enum and OCPP16SignedMeterValue interface
*/
/**
- * @file Tests for Configuration static class
+ * @file Tests for Configuration
* @description Verifies configuration loading, section building, and deprecated key handling
*
* Covers: