Skip to content

Commit

Permalink
Added to scenario README and updated test names
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph <[email protected]>
  • Loading branch information
folkengine committed Sep 25, 2024
1 parent 198e372 commit e3c3a8e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/lib/ocpp/v201/json/OCCT_TC_K_41_CS/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# OCCT K08 Test Case #TC_K_41_CS

Check notice on line 1 in tests/lib/ocpp/v201/json/OCCT_TC_K_41_CS/README.md

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

tests/lib/ocpp/v201/json/OCCT_TC_K_41_CS/README.md#L1

Expected: [None]; Actual: # OCCT K08 Test Case #TC_K_41_CS

This Composite Schedule test scenario is based on the OCTT integration test
suite TC_K_41_CS test. It us compromised of three Profiles:

- Absolute ChargingStationMaxProfile with a duration of 86404 and one
chargingSchedulePeriod.
- Absolute TxDefaultProfile with a duration of 304 and 5 periods.
- Absolute TxProfile with a duration of 264 and 5 periods.

All have a stackLevel of 0.

This folder also contains the OCCT log file of the original failing test run.
1 change: 1 addition & 0 deletions tests/lib/ocpp/v201/test_composite_schedule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,7 @@ TEST_F(CompositeScheduleTestFixtureV201, OCTT_TC_K_41_CS) {

CompositeSchedule actual =
handler.calculate_composite_schedule(profiles, start_time, end_time, DEFAULT_EVSE_ID, ChargingRateUnitEnum::A);

ASSERT_EQ(actual, expected);
}

Expand Down

0 comments on commit e3c3a8e

Please sign in to comment.