Skip to content

Commit 6c39ebe

Browse files
committed
resolve merge conflicts
Signed-off-by: Martijn Govers <[email protected]>
1 parent ca9680c commit 6c39ebe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/cpp_unit_tests/test_job_dispatch.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class JobAdapterMock : public JobInterface<JobAdapterMock> {
7373
void prepare_job_dispatch_impl(MockUpdateDataset const& /*update_data*/) const { /* patch base class function */ }
7474
void setup_impl(MockUpdateDataset const& /*update_data*/, Idx /*scenario_idx*/) const { ++(counter_->setup_calls); }
7575
void winddown_impl() const { ++(counter_->winddown_calls); }
76-
static CalculationInfo get_calculation_info_impl() { return CalculationInfo{{"default", 0.0}}; }
76+
static CalculationInfo get_calculation_info_impl() { return CalculationInfo{{LogEvent::unknown, 0.0}}; }
7777
void thread_safe_add_calculation_info_impl(CalculationInfo const& /*info*/) const {
7878
++(counter_->thread_safe_add_calculation_info_calls);
7979
}
@@ -346,7 +346,7 @@ TEST_CASE("Test job dispatch logic") {
346346
handler(scenario_idx);
347347
}
348348
CHECK(messages[scenario_idx] == expected_message);
349-
CHECK(info.at("default") == 0.0);
349+
CHECK(info.at(LogEvent::unknown) == 0.0);
350350
}
351351
SUBCASE("Unknown exception") {
352352
Idx const scenario_idx = 3; // arbitrary index
@@ -356,7 +356,7 @@ TEST_CASE("Test job dispatch logic") {
356356
handler(scenario_idx);
357357
}
358358
CHECK(messages[scenario_idx] == "unknown exception");
359-
CHECK(info.at("default") == 0.0);
359+
CHECK(info.at(LogEvent::unknown) == 0.0);
360360
}
361361
}
362362
SUBCASE("Test handle_batch_exceptions") {

0 commit comments

Comments
 (0)