update test names

This commit is contained in:
ado
2021-02-07 21:24:41 +01:00
parent b847699b5e
commit c094ede588
5 changed files with 39 additions and 39 deletions

View File

@@ -49,7 +49,7 @@ static void make_and_write(const std::string& file_name,
}
}
TEST_CASE("testing parser") {
TEST_CASE("parser test various cases") {
unique_file_name f;
std::vector<X> data = {{1, 2, "x"}, {3, 4, "y"}, {5, 6, "z"},
{7, 8, "u"}, {9, 10, "v"}, {11, 12, "w"}};
@@ -179,7 +179,7 @@ void expect_test_struct(const test_struct&) {
}
// various scenarios
TEST_CASE("testing composite conversion") {
TEST_CASE("parser test composite conversion") {
unique_file_name f;
{
std::ofstream out{f.name};
@@ -436,7 +436,7 @@ struct xyz {
}
};
TEST_CASE("testing the moving of parsed values") {
TEST_CASE("parser test the moving of parsed values") {
size_t move_called_one_col;
{
@@ -482,7 +482,7 @@ TEST_CASE("testing the moving of parsed values") {
}
}
TEST_CASE("testing the moving of parsed composite values") {
TEST_CASE("parser test the moving of parsed composite values") {
// to compile is enough
return;
ss::parser p{"", ""};
@@ -495,7 +495,7 @@ TEST_CASE("testing the moving of parsed composite values") {
[](auto&, auto&, auto&) {});
}
TEST_CASE("testing error mode") {
TEST_CASE("parser test error mode") {
unique_file_name f;
{
std::ofstream out{f.name};
@@ -525,7 +525,7 @@ std::string no_quote(const std::string& s) {
return s;
}
TEST_CASE("testing csv on multiple lines with quotes") {
TEST_CASE("parser test csv on multiple lines with quotes") {
unique_file_name f;
std::vector<X> data = {{1, 2, "\"x\nx\nx\""}, {3, 4, "\"y\ny\ny\""},
{5, 6, "\"z\nz\""}, {7, 8, "\"u\"\"\""},
@@ -555,7 +555,7 @@ std::string no_escape(std::string& s) {
return s;
}
TEST_CASE("testing csv on multiple lines with escapes") {
TEST_CASE("parser test csv on multiple lines with escapes") {
unique_file_name f;
std::vector<X> data = {{1, 2, "x\\\nx\\\nx"}, {3, 4, "y\\\ny\\\ny"},
{5, 6, "z\\\nz"}, {7, 8, "u"},