| 60 | |
| 61 | Y_UNIT_TEST_SUITE(TShellQuoteTest) { |
| 62 | Y_UNIT_TEST(TestQuoteArg) { |
| 63 | TString cmd; |
| 64 | ShellQuoteArg(cmd, "/pr f/krev/prev.exe"); |
| 65 | ShellQuoteArgSp(cmd, "-DVal=\"W Quotes\""); |
| 66 | ShellQuoteArgSp(cmd, "-DVal=W Space"); |
| 67 | ShellQuoteArgSp(cmd, "-DVal=Blah"); |
| 68 | UNIT_ASSERT_STRINGS_EQUAL(cmd, "\"/pr f/krev/prev.exe\" \"-DVal=\\\"W Quotes\\\"\" \"-DVal=W Space\" \"-DVal=Blah\""); |
| 69 | } |
| 70 | } // Y_UNIT_TEST_SUITE(TShellQuoteTest) |
| 71 | |
| 72 | Y_UNIT_TEST_SUITE(TShellCommandTest) { |
nothing calls this directly
no test coverage detected