MCPcopy Create free account
hub / github.com/apache/arrow / UtilGetExpectedWithEOL

Function UtilGetExpectedWithEOL

cpp/src/arrow/csv/writer_test.cc:78–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78std::string UtilGetExpectedWithEOL(const std::string& eol) {
79 return std::string("1,,-1,,,,,") + eol + // line 1
80 R"(1,"abc""efg",2324,,,,,)" + eol + // line 2
81 R"(,"abcd",5467,,,,,"efghi")" + eol + // line 3
82 R"(,,,,,,,)" + eol + // line 4
83 R"(546,"",517,,,,,)" + eol + // line 5
84 R"(124,"a""""b""",,,,,,)" + eol + // line 6
85 R"(,,,1970-01-01,,,,"jklm")" + eol + // line 7
86 R"(,,,,1970-01-02,,,)" + eol + // line 8
87 R"(,,,,,2004-02-29 01:02:03,,)" + eol + // line 9
88 R"(,,,,,,3600,)" + eol + // line 10
89 R"(,"NA",,,,,,)" + eol; // line 11
90}
91
92std::vector<WriterTestParams> GenerateTestCases() {
93 // Dummy schema and data for testing invalid options.

Callers 1

GenerateTestCasesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected