diff --git a/doc/design/diagrams/iceoryx_components_diagram_v3_0_0.puml b/doc/design/diagrams/iceoryx_components_diagram_v3_0_0.puml index 8e63edf34d9..71062cc8b13 100644 --- a/doc/design/diagrams/iceoryx_components_diagram_v3_0_0.puml +++ b/doc/design/diagrams/iceoryx_components_diagram_v3_0_0.puml @@ -24,7 +24,6 @@ skinparam frame { ' @todo #539 ' RouDi split, separate files and namespaces for static/dynamic discovery ' Implement exported libraries (add_library in iceoryx_posh/CMakeLists.txt) -' RouDiEnvironment shall not be in roudi namespace, but in testing header Eclipse iceoryx component overview diff --git a/doc/website/images/iceoryx_components_diagram_v3_0_0.svg b/doc/website/images/iceoryx_components_diagram_v3_0_0.svg index d6d7c10d388..d133986b019 100644 --- a/doc/website/images/iceoryx_components_diagram_v3_0_0.svg +++ b/doc/website/images/iceoryx_components_diagram_v3_0_0.svg @@ -86,7 +86,6 @@ skinparam frame { ' @todo #539 ' RouDi split, separate files and namespaces for static/dynamic discovery ' Implement exported libraries (add_library in iceoryx_posh/CMakeLists.txt) -' RouDiEnvironment shall not be in roudi namespace, but in testing header Eclipse iceoryx component overview @@ -329,4 +328,4 @@ JVM: Java HotSpot(TM) 64-Bit Server VM Default Encoding: UTF-8 Language: en Country: US ---> \ No newline at end of file +--> diff --git a/doc/website/release-notes/iceoryx-unreleased.md b/doc/website/release-notes/iceoryx-unreleased.md index a8161ad6b90..7f33ca19a29 100644 --- a/doc/website/release-notes/iceoryx-unreleased.md +++ b/doc/website/release-notes/iceoryx-unreleased.md @@ -154,6 +154,7 @@ - Better align `iox::expected` with `std::expected` [\#1969](https://github.com/eclipse-iceoryx/iceoryx/issues/1969) - Use logger for "RouDi is ready for clients" message [\#1994](https://github.com/eclipse-iceoryx/iceoryx/issues/1994) - Speed up posh tests [#1030](https://github.com/eclipse-iceoryx/iceoryx/issues/1030) +- Roudi Environment independent from Googletest [#1533](https://github.com/eclipse-iceoryx/iceoryx/issues/1533) **Workflow:** @@ -1175,3 +1176,33 @@ }; ``` + +53. `iox::roudi::RouDiEnvironment` is moved to `iox::roudi_env::RouDiEnv` and in a separate library + + There is still an alias on the old location with a deprecation warning. The API also changed a bit. + ```cpp + // before + #include "iceoryx_posh/testing/roudi_environment/roudi_environment.hpp" + iox::roudi::RouDiEnvironment roudiEnv{/*config*/}; + + // after + #include "iceoryx_posh/roudi_env/roudi_environment.hpp" + iox::roudi_enf::RouDiEnv roudiEnv{/*config*/}; + + + // before + roudiEnv.InterOpWait(); + + // after + roudiEnv.triggerDiscoveryLoopAndWaitToFinish(); + + + // before + SetInterOpWaitingTime(/*chrono*/); + + // after + setDiscoveryLoopWaitToFinishTimeout(/*units::Duration*/); + + ``` + + It is now also possible to directly link to `iceoryx_posh::iceoryx_posh_roudi_env` which has no dependency to gTest.