]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor(ocpp): align builder naming and harmonize test structure
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 1 Apr 2026 16:45:50 +0000 (18:45 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 1 Apr 2026 16:45:50 +0000 (18:45 +0200)
commit6019cb28512c77a30a8cbb02a6b33040173740b4
treecd767ecc9fdc6963ec68fe541480ff605b00eea8
parent9c4a5f23dc953f21f6c24fe6d66d323b3ea63712
refactor(ocpp): align builder naming and harmonize test structure

Rename buildMeterValueForOCPP16/20 and buildSampledValueForOCPP16/20
to buildOCPP16/20MeterValue and buildOCPP16/20SampledValue matching
the established buildOCPP{version}{Thing} convention.

Merge IdTagAuthorization.test.ts into OCPPServiceOperations.test.ts
(source file was deleted). Move buildBootNotificationRequest tests
from OCPPServiceOperations.test.ts to OCPPServiceUtils-pure.test.ts
(function was moved to Utils).
src/charging-station/ocpp/1.6/OCPP16RequestBuilders.ts
src/charging-station/ocpp/2.0/OCPP20RequestBuilders.ts
src/charging-station/ocpp/OCPPServiceUtils.ts
tests/charging-station/ocpp/IdTagAuthorization.test.ts [deleted file]
tests/charging-station/ocpp/OCPPServiceOperations.test.ts
tests/charging-station/ocpp/OCPPServiceUtils-pure.test.ts