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

Function DefaultTestOptions

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

Source from the content-addressed store, hash-verified

59}
60
61WriteOptions DefaultTestOptions(bool include_header = false,
62 const std::string& null_string = "",
63 QuotingStyle quoting_style = QuotingStyle::Needed,
64 const std::string& eol = "\n", char delimiter = ',',
65 int batch_size = 5,
66 QuotingStyle quoting_header = QuotingStyle::Needed) {
67 WriteOptions options;
68 options.batch_size = batch_size;
69 options.include_header = include_header;
70 options.quoting_header = quoting_header;
71 options.null_string = null_string;
72 options.eol = eol;
73 options.quoting_style = quoting_style;
74 options.delimiter = delimiter;
75 return options;
76}
77
78std::string UtilGetExpectedWithEOL(const std::string& eol) {
79 return std::string("1,,-1,,,,,") + eol + // line 1

Callers 1

GenerateTestCasesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected