Skip to content

Commit

Permalink
iox-#1067 Add test ids
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Eltzschig <[email protected]>
  • Loading branch information
elfenpiff committed Feb 14, 2022
1 parent ecb4e98 commit 89607e2
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iceoryx_hoofs/test/moduletests/test_cxx_command_line.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ struct CommandLineSut

TEST_F(CommandLine_test, OnlyRequiredValuesSetsRemainingValuesToDefault)
{
::testing::Test::RecordProperty("TEST_ID", "451701b8-061f-4e30-9beb-1c09c7e6bc1b");
CmdArgs args(
{"myBinaryName", "--required-string", "bluubb", "--required-float", "123.456", "--required-uint", "12"});
CommandLineSut sut(args.argc, args.argv);
Expand All @@ -95,6 +96,7 @@ TEST_F(CommandLine_test, OnlyRequiredValuesSetsRemainingValuesToDefault)

TEST_F(CommandLine_test, AllValuesViaCommandLineAreSetCorrectly)
{
::testing::Test::RecordProperty("TEST_ID", "0478575e-8eb4-4983-93bd-199d222e706e");
CmdArgs args({"anotherOneBitesTheDust",
"--required-string",
"schnappidububa",
Expand Down
Loading

0 comments on commit 89607e2

Please sign in to comment.