Skip to content

Commit e962ad4

Browse files
committed
Updated tests
1 parent 191fa40 commit e962ad4

File tree

3 files changed

+157
-0
lines changed

3 files changed

+157
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"1","cnonce="""",nc=""""","2"
7.49 KB
Binary file not shown.
Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
=== StreamCSVimport ===
2+
+ Bad comments value specified
3+
+ Comment with non-default character
4+
+ Commented line at beginning
5+
+ Commented line at end
6+
+ Commented line in middle
7+
+ Entire file is comment lines
8+
+ Input is just a string (a single field)
9+
+ Input is just empty fields
10+
+ Input is just the delimiter (2 empty fields)
11+
+ Input with only a commented line and blank line after
12+
+ Input with only a commented line, without comments enabled
13+
+ Input without comments with line starting with whitespace
14+
+ Line ends with quoted field
15+
+ Line starts with quoted field
16+
+ Misplaced quotes in data, not as opening quotes
17+
+ Multiple consecutive empty fields
18+
+ Multiple rows, one column (no delimiter found)
19+
+ One column input with empty fields
20+
+ One Row
21+
+ Pipe delimiter
22+
+ Quoted field at end of row (but not at EOF) has quotes
23+
+ Quoted field has no closing quote
24+
+ Quoted field with delimiter
25+
+ Quoted field with escaped quotes at boundaries
26+
+ Quoted field with escaped quotes
27+
+ Quoted field with extra whitespace on edges
28+
+ Quoted field with line break
29+
+ Quoted field with quotes around delimiter
30+
+ Quoted field with quotes on left side of delimiter
31+
+ Quoted field with quotes on right side of delimiter
32+
+ Quoted field with whitespace around quotes
33+
+ Quoted field
34+
+ Quoted fields at end of row with delimiter and line break
35+
+ Quoted fields with line breaks
36+
+ Quoted variable assignment
37+
+ Row with enough fields but blank field at end
38+
+ Row with too few fields
39+
+ Row with too many fields
40+
+ Skip empty lines, with empty input
41+
+ Skip empty lines, with first line only whitespace
42+
+ Skip empty lines, with newline at end of input
43+
+ Tab delimiter
44+
+ Three comment lines consecutively at beginning of file
45+
+ Two comment lines consecutively at end of file
46+
+ Two comment lines consecutively
47+
+ Two rows
48+
+ Unquoted field with quotes at end of field
49+
+ Whitespace at edges of unquoted field
50+
+ Quoted field with 5 quotes in a row and a delimiter
51+
= PASS (49 of 49 passed) = 29/6/2021 10:01:40 p.�m. =
52+
53+
=== StringCSVimport ===
54+
+ Bad comments value specified
55+
+ Comment with non-default character
56+
+ Commented line at beginning
57+
+ Commented line at end
58+
+ Commented line in middle
59+
+ Entire file is comment lines
60+
+ Input is just a string (a single field)
61+
+ Input is just empty fields
62+
+ Input is just the delimiter (2 empty fields)
63+
+ Input with only a commented line and blank line after
64+
+ Input with only a commented line, without comments enabled
65+
+ Input without comments with line starting with whitespace
66+
+ Line ends with quoted field
67+
+ Line starts with quoted field
68+
+ Misplaced quotes in data, not as opening quotes
69+
+ Multiple consecutive empty fields
70+
+ Multiple rows, one column (no delimiter found)
71+
+ One column input with empty fields
72+
+ One Row
73+
+ Pipe delimiter
74+
+ Quoted field at end of row (but not at EOF) has quotes
75+
+ Quoted field has no closing quote
76+
+ Quoted field with delimiter
77+
+ Quoted field with escaped quotes at boundaries
78+
+ Quoted field with escaped quotes
79+
+ Quoted field with extra whitespace on edges
80+
+ Quoted field with line break
81+
+ Quoted field with quotes around delimiter
82+
+ Quoted field with quotes on left side of delimiter
83+
+ Quoted field with quotes on right side of delimiter
84+
+ Quoted field with whitespace around quotes
85+
+ Quoted field
86+
+ Quoted fields at end of row with delimiter and line break
87+
+ Quoted fields with line breaks
88+
+ Quoted variable assignment
89+
+ Row with enough fields but blank field at end
90+
+ Row with too few fields
91+
+ Row with too many fields
92+
+ Skip empty lines, with empty input
93+
+ Skip empty lines, with first line only whitespace
94+
+ Skip empty lines, with newline at end of input
95+
+ Tab delimiter
96+
+ Three comment lines consecutively at beginning of file
97+
+ Two comment lines consecutively at end of file
98+
+ Two comment lines consecutively
99+
+ Two rows
100+
+ Unquoted field with quotes at end of field
101+
+ Whitespace at edges of unquoted field
102+
+ Quoted field with 5 quotes in a row and a delimiter
103+
= PASS (49 of 49 passed) = 29/6/2021 10:01:40 p.�m. =
104+
105+
=== SequentialCSVimport ===
106+
+ Bad comments value specified
107+
+ Comment with non-default character
108+
+ Commented line at beginning
109+
+ Commented line at end
110+
+ Commented line in middle
111+
+ Entire file is comment lines
112+
+ Input is just a string (a single field)
113+
+ Input is just empty fields
114+
+ Input is just the delimiter (2 empty fields)
115+
+ Input with only a commented line and blank line after
116+
+ Input with only a commented line, without comments enabled
117+
+ Input without comments with line starting with whitespace
118+
+ Line ends with quoted field
119+
+ Line starts with quoted field
120+
+ Misplaced quotes in data, not as opening quotes
121+
+ Multiple consecutive empty fields
122+
+ Multiple rows, one column (no delimiter found)
123+
+ One column input with empty fields
124+
+ One Row
125+
+ Pipe delimiter
126+
+ Quoted field at end of row (but not at EOF) has quotes
127+
+ Quoted field has no closing quote
128+
+ Quoted field with delimiter
129+
+ Quoted field with escaped quotes at boundaries
130+
+ Quoted field with escaped quotes
131+
+ Quoted field with extra whitespace on edges
132+
+ Quoted field with line break
133+
+ Quoted field with quotes around delimiter
134+
+ Quoted field with quotes on left side of delimiter
135+
+ Quoted field with quotes on right side of delimiter
136+
+ Quoted field with whitespace around quotes
137+
+ Quoted field
138+
+ Quoted fields at end of row with delimiter and line break
139+
+ Quoted fields with line breaks
140+
+ Quoted variable assignment
141+
+ Row with enough fields but blank field at end
142+
+ Row with too few fields
143+
+ Row with too many fields
144+
+ Skip empty lines, with empty input
145+
+ Skip empty lines, with first line only whitespace
146+
+ Skip empty lines, with newline at end of input
147+
+ Tab delimiter
148+
+ Three comment lines consecutively at beginning of file
149+
+ Two comment lines consecutively at end of file
150+
+ Two comment lines consecutively
151+
+ Two rows
152+
+ Unquoted field with quotes at end of field
153+
+ Whitespace at edges of unquoted field
154+
+ Quoted field with 5 quotes in a row and a delimiter
155+
= PASS (49 of 49 passed) = 29/6/2021 10:01:41 p.�m. =
156+

0 commit comments

Comments
 (0)