reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
96 EXPECT_STREQ(request.GetRawLine().str().c_str(), command.c_str()); 97 EXPECT_EQ(request.GetRawCursorPos(), cursor_pos); 98 EXPECT_EQ(request.GetCursorIndex(), arg_index); 100 EXPECT_EQ(request.GetParsedLine().GetArgumentCount(), 2u); 101 EXPECT_STREQ(request.GetParsedLine().GetArgumentAtIndex(1), "b"); 104 request.ShiftArguments(); 107 EXPECT_STREQ(request.GetRawLine().str().c_str(), command.c_str()); 108 EXPECT_EQ(request.GetRawCursorPos(), cursor_pos); 111 EXPECT_EQ(request.GetCursorIndex(), arg_index - 1U); 112 EXPECT_EQ(request.GetParsedLine().GetArgumentCount(), 1u); 113 EXPECT_EQ(request.GetCursorArgumentPrefix().str(), "b");