Skip to content

Commit

Permalink
Merge pull request cyclus#598 from bennibbelink/c++-17
Browse files Browse the repository at this point in the history
  • Loading branch information
gonuke authored Apr 21, 2024
2 parents f3708a7 + 09f46f0 commit 129cce7
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ cycamore Change Log
* Define the version number in `CMakeLists.txt` and rely on CMake to propagate the version throughout the code (#589)
* Update version numbers in documentation and fix references to `master` branch (#591)
* Update build procedure to link against Cyclus' cython generated libraries if needed (#596)
* Minor modifications for compatibility with the latest GTest library (#598)
* Remove FindCyclus.cmake from this repo since it is installed with Cyclus (#597)

v1.5.5
Expand Down
4 changes: 2 additions & 2 deletions src/deploy_inst_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ static int cyclus_agent_tests_connected = ConnectAgentTests();
#define CYCLUS_AGENT_TESTS_CONNECTED cyclus_agent_tests_connected
#endif // CYCLUS_AGENT_TESTS_CONNECTED

INSTANTIATE_TEST_CASE_P(DeployInst, InstitutionTests,
INSTANTIATE_TEST_SUITE_P(DeployInst, InstitutionTests,
Values(&DeployInstitutionConstructor));
INSTANTIATE_TEST_CASE_P(DeployInst, AgentTests,
INSTANTIATE_TEST_SUITE_P(DeployInst, AgentTests,
Values(&DeployInstitutionConstructor));
4 changes: 2 additions & 2 deletions src/enrichment_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ static int cyclus_agent_tests_connected = ConnectAgentTests();
#endif // CYCLUS_AGENT_TESTS_CONNECTED

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INSTANTIATE_TEST_CASE_P(EnrichmentFac, FacilityTests,
INSTANTIATE_TEST_SUITE_P(EnrichmentFac, FacilityTests,
Values(&EnrichmentConstructor));
INSTANTIATE_TEST_CASE_P(EnrichmentFac, AgentTests,
INSTANTIATE_TEST_SUITE_P(EnrichmentFac, AgentTests,
Values(&EnrichmentConstructor));
4 changes: 2 additions & 2 deletions src/growth_region_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ static int cyclus_agent_tests_connected = ConnectAgentTests();
#endif // CYCLUS_AGENT_TESTS_CONNECTED

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INSTANTIATE_TEST_CASE_P(GrowthRegion, RegionTests,
INSTANTIATE_TEST_SUITE_P(GrowthRegion, RegionTests,
Values(&GrowthRegionConstructor));
INSTANTIATE_TEST_CASE_P(GrowthRegion, AgentTests,
INSTANTIATE_TEST_SUITE_P(GrowthRegion, AgentTests,
Values(&GrowthRegionConstructor));
#endif // CYCLUS_HAS_COIN
4 changes: 2 additions & 2 deletions src/manager_inst_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static int cyclus_agent_tests_connected = ConnectAgentTests();
#endif // CYCLUS_AGENT_TESTS_CONNECTED

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INSTANTIATE_TEST_CASE_P(ManagerInst, InstitutionTests,
INSTANTIATE_TEST_SUITE_P(ManagerInst, InstitutionTests,
Values(&ManagerInstitutionConstructor));
INSTANTIATE_TEST_CASE_P(ManagerInst, AgentTests,
INSTANTIATE_TEST_SUITE_P(ManagerInst, AgentTests,
Values(&ManagerInstitutionConstructor));
4 changes: 2 additions & 2 deletions src/sink_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -590,5 +590,5 @@ static int cyclus_agent_tests_connected = ConnectAgentTests();
#endif // CYCLUS_AGENT_TESTS_CONNECTED

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INSTANTIATE_TEST_CASE_P(SinkFac, FacilityTests, Values(&SinkConstructor));
INSTANTIATE_TEST_CASE_P(SinkFac, AgentTests, Values(&SinkConstructor));
INSTANTIATE_TEST_SUITE_P(SinkFac, FacilityTests, Values(&SinkConstructor));
INSTANTIATE_TEST_SUITE_P(SinkFac, AgentTests, Values(&SinkConstructor));
4 changes: 2 additions & 2 deletions src/source_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,6 @@ static int cyclus_agent_tests_connected = ConnectAgentTests();
#define CYCLUS_AGENT_TESTS_CONNECTED cyclus_agent_tests_connected
#endif // CYCLUS_AGENT_TESTS_CONNECTED

INSTANTIATE_TEST_CASE_P(SourceFac, FacilityTests, Values(&SourceConstructor));
INSTANTIATE_TEST_CASE_P(SourceFac, AgentTests, Values(&SourceConstructor));
INSTANTIATE_TEST_SUITE_P(SourceFac, FacilityTests, Values(&SourceConstructor));
INSTANTIATE_TEST_SUITE_P(SourceFac, AgentTests, Values(&SourceConstructor));

4 changes: 2 additions & 2 deletions src/storage_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -885,8 +885,8 @@ static int cyclus_agent_tests_connected = ConnectAgentTests();
#endif // CYCLUS_AGENT_TESTS_CONNECTED

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INSTANTIATE_TEST_CASE_P(StorageFac, FacilityTests,
INSTANTIATE_TEST_SUITE_P(StorageFac, FacilityTests,
::testing::Values(&StorageConstructor));

INSTANTIATE_TEST_CASE_P(StorageFac, AgentTests,
INSTANTIATE_TEST_SUITE_P(StorageFac, AgentTests,
::testing::Values(&StorageConstructor));

0 comments on commit 129cce7

Please sign in to comment.