| 61 | } |
| 62 | |
| 63 | TEST(CGitCliOutputParser, RemoteLines) |
| 64 | { |
| 65 | std::string_view buffer = "remote: JETZT \nremote: 123 \rremote: abcd \rremote: \nremote: def \nremote: fertig \n"; |
| 66 | |
| 67 | CGitCliOutputParser cliparser; |
| 68 | EmittedLines out = cliparser.Process(buffer); |
| 69 | EXPECT_EQ(0u, out.erasePreviousLineWithLength); |
| 70 | EXPECT_FALSE(out.limited); |
| 71 | EXPECT_STREQ("remote: JETZT \nremote: abcd \nremote: def \nremote: fertig \n", out.text.c_str()); |
| 72 | } |
| 73 | |
| 74 | TEST(CGitCliOutputParser, RemoteLinesOneAtATime) |
| 75 | { |
nothing calls this directly
no test coverage detected