]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(tests): harmonize test file names and @file descriptions
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 7 Apr 2026 19:07:33 +0000 (21:07 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 7 Apr 2026 19:07:33 +0000 (21:07 +0200)
commitf5d6dd4e457e79d88474f86c987af3bc1876d2bf
treebe197174007f2b9b76a66652525526307ed8a89c
parentb459fa16e9d6e4418d7aaf4017e2464d9f711976
refactor(tests): harmonize test file names and @file descriptions

- Rename test files to follow Source-Focus.test.ts convention:
  OCPP16SignedMeterValues → OCPP16ServiceUtils-SignedMeterValues
  OCPP20SignedMeterValues → OCPP20RequestBuilders-SignedMeterValues
  OCPP16SchemaValidation → OCPP16ServiceUtils-SchemaValidation
  OCPP20SchemaValidation → OCPP20IncomingRequestService-SchemaValidation
  OCPP16VendorParametersKey → Configuration (in tests/types/)
- Harmonize all @file tags to 'Tests for <SourceModule> [focus]' pattern
- Fix module name mismatches, dot notation, and inverted descriptions
- Integration tests use descriptive 'Tests for OCPP X.Y <feature>' style
22 files changed:
tests/charging-station/ChargingStation.test.ts
tests/charging-station/ocpp/1.6/OCPP16Integration-ChargingProfiles.test.ts
tests/charging-station/ocpp/1.6/OCPP16Integration-Configuration.test.ts
tests/charging-station/ocpp/1.6/OCPP16Integration-Transactions.test.ts
tests/charging-station/ocpp/1.6/OCPP16RequestService-CallChain.test.ts
tests/charging-station/ocpp/1.6/OCPP16ServiceUtils-SchemaValidation.test.ts [moved from tests/charging-station/ocpp/1.6/OCPP16SchemaValidation.test.ts with 99% similarity]
tests/charging-station/ocpp/1.6/OCPP16ServiceUtils-SignedMeterValues.test.ts [moved from tests/charging-station/ocpp/1.6/OCPP16SignedMeterValues.test.ts with 99% similarity]
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-GroupIdStop.test.ts
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-SchemaValidation.test.ts [moved from tests/charging-station/ocpp/2.0/OCPP20SchemaValidation.test.ts with 99% similarity]
tests/charging-station/ocpp/2.0/OCPP20Integration.test.ts
tests/charging-station/ocpp/2.0/OCPP20RequestBuilders-SignedMeterValues.test.ts [moved from tests/charging-station/ocpp/2.0/OCPP20SignedMeterValues.test.ts with 99% similarity]
tests/charging-station/ocpp/2.0/OCPP20RequestService-CallChain.test.ts
tests/charging-station/ocpp/2.0/OCPP20ResponseService-CacheUpdate.test.ts
tests/charging-station/ocpp/2.0/OCPP20ServiceUtils-AuthCache.test.ts
tests/charging-station/ocpp/2.0/OCPP20ServiceUtils-ReconnectDelay.test.ts
tests/charging-station/ocpp/2.0/OCPP20ServiceUtils-enforceMessageLimits.test.ts
tests/charging-station/ocpp/OCPPSignedMeterDataGenerator.test.ts
tests/charging-station/ocpp/OCPPSignedMeterValueUtils.test.ts
tests/charging-station/ui-server/UIMCPServer.integration.test.ts
tests/types/ocpp/1.6/Configuration.test.ts
tests/types/ocpp/1.6/MeterValues.test.ts
tests/utils/Configuration.test.ts