Rename and cleanup#103
Conversation
4fef2b3 to
20651c3
Compare
|
@traversaro @pattacini The PR is ready to be merged, let me know what you think. I was considering to add some switch like in Catch2 to enable/disable the |
|
You can proceed 👍 Are the switches meant to just help the transition or will they stay there forever? Let me only clarify that I won't have time to go on now and update downstream code everywhere. This is a process I feel I have to put in the background or even to freeze until the very moment when we will need to use e.g. VVV school tutorials. |
The RTF acronym is usually used for Rich Text Format, and it is causing conflicts in packaging (Fixes robotology#101). Big CMake refactor, update modules from YCM, use targets instead of internal properties, move CMake files from 'conf' to 'cmake'. Cleanup c++ files. Update and fix copyright headers. Bump version patch. Change COMPATIBILITY to SameMajorVersion
20651c3 to
0308a9f
Compare
|
The switches could be there forever. This means that if the switch is enabled you can use I'm merging this branch into the I made a script to update in batch all the vvv repos, I'm testing it right now. @pattacini if you agree I will automatically create a branch |
|
Awesome! Thanks! 👍 |
|
@drdanz what is the new name of Anyway, once specified, I'll change this line: |
Sorry, I forgot about that in the script
The executable is |
|
I didn't change the target names, because target_link_libraries(foo PRIVATE RobotTestingFramework::robottestingframework
RobotTestingFramework::robottestingframework_dllI left target_link_libraries(foo PRIVATE RobotTestingFramework::RTF
RobotTestingFramework::RTF_dllseems a bit redundant to me... Let me know if you think we should change these as well |
|
Thanks, updated in vvv-school/vvv-school.github.io@7b71014. |
|
Merged into the |
Sorry for the huge patch.
std::stringinstead ofconst std::stringFixtureManager::getParamPluginLoader::getLastErrorTestCase::getParamTestCase::getEnvironmentTestMessage::getMessageTestMessage::getDetailTestMessage::getSourceFileNameThis is the list of the renames applied:
RTFtoRobotTestingFramework(e.g.
find_package(RobotTestingFramework))RTFtoRobotTestingFramework. The names of the target are unchanged.(e.g.
target_link_libraries(foo PRIVATE RobotTestingFramework::RTF)RTFtoRobotTestingFramework(e.g.
RobotTestingFramework_INCLUDE_DIRS)rtftorobottestingframework(e.g.
robottestingframework_add_suite)RTF*torobottestingframework*(e.g.
librobottestingframework.so)testrunnerexecutable was renamedrobottestingframework-testrunnerrtftorobottestingframework(e.g.
#include <robottestingframework/TestCase.h>)RTFtorobottestingframework(e.g.
robottestingframework::TestCase)RTF_* were renamedROBOTTESTINGFRAMEWORK_(e.g.ROBOTTESTINGFRAMEWORK_ASSERT_ERROR("This is an error")`)RTFtorobottestingframeworkorRobotTestingFramework(language dependent)(e.g.
robottestingframework.setName("PythonTestCase"), andRobotTestingFramework::setName("RubyTestCase"))PREPARE_FIXTURE_PLUGINmacro was renamedROBOTTESTINGFRAMEWORK_PREPARE_FIXTURE_PLUGINPREPARE_PLUGINmacro was renamedROBOTTESTINGFRAMEWORK_PREPARE_PLUGIN