Skip to content

Commit 0480998

Browse files
committed
Improvements: integration with VBAexpressions core modules.
1 parent 1b6dad7 commit 0480998

File tree

3 files changed

+183
-0
lines changed

3 files changed

+183
-0
lines changed
162 KB
Binary file not shown.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
=== Delimiters guessing test ===
2+
+ Mixed comma and semicolon
3+
+ File with multi-line field
4+
+ Optional quoted fields
5+
+ Mixed comma and semicolon - file B
6+
+ Geometric CSV
7+
+ Table embedded in the last record
8+
+ Table embedded in the second record
9+
+ Multiple commas in fields
10+
+ Uncommon char as field delimiter
11+
+ Wrong delimiters have been added to guessing operation
12+
+ FEC data - [clevercsv issue #15]
13+
+ Mixed comma and colon - [clevercsv issue #35]
14+
+ Json data type - [clevercsv issue #37]
15+
+ Undefined field delimiter
16+
+ Rainbow CSV [issue #92]
17+
+ Pipe character is more frequent than the comma
18+
+ Pipe character is more frequent than the semicolon
19+
+ Short pipe separated table embedded
20+
= PASS (18 of 18 passed) = 28/02/2022 09:20:35 p.m. =
21+
Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
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 5 quotes in a row and a delimiter
25+
+ Quoted field with delimiter
26+
+ Quoted field with escaped quotes at boundaries
27+
+ Quoted field with escaped quotes
28+
+ Quoted field with extra whitespace on edges
29+
+ Quoted field with line break
30+
+ Quoted field with quotes around delimiter
31+
+ Quoted field with quotes on left side of delimiter
32+
+ Quoted field with quotes on right side of delimiter
33+
+ Quoted field with Unix escaped quotes at boundaries
34+
+ Quoted field with whitespace around quotes
35+
+ Quoted field
36+
+ Quoted fields at end of row with delimiter and line break
37+
+ Quoted fields with line breaks
38+
+ Row with enough fields but blank field at end
39+
+ Row with too few fields
40+
+ Row with too many fields
41+
+ Skip empty lines, with empty input
42+
+ Skip empty lines, with first line only whitespace
43+
+ Skip empty lines, with newline at end of input
44+
+ Tab delimiter
45+
+ Three comment lines consecutively at beginning of file
46+
+ Two comment lines consecutively at end of file
47+
+ Two comment lines consecutively
48+
+ Two rows
49+
+ Unquoted field with quotes at end of field
50+
+ Whitespace at edges of unquoted field
51+
+ Complex CSV syntax
52+
+ Complex Unix CSV syntax
53+
= PASS (51 of 51 passed) = 28/02/2022 09:20:39 p.m. =
54+
55+
=== StringCSVimport ===
56+
+ Bad comments value specified
57+
+ Comment with non-default character
58+
+ Commented line at beginning
59+
+ Commented line at end
60+
+ Commented line in middle
61+
+ Entire file is comment lines
62+
+ Input is just a string (a single field)
63+
+ Input is just empty fields
64+
+ Input is just the delimiter (2 empty fields)
65+
+ Input with only a commented line and blank line after
66+
+ Input with only a commented line, without comments enabled
67+
+ Input without comments with line starting with whitespace
68+
+ Line ends with quoted field
69+
+ Line starts with quoted field
70+
+ Misplaced quotes in data, not as opening quotes
71+
+ Multiple consecutive empty fields
72+
+ Multiple rows, one column (no delimiter found)
73+
+ One column input with empty fields
74+
+ One Row
75+
+ Pipe delimiter
76+
+ Quoted field at end of row (but not at EOF) has quotes
77+
+ Quoted field has no closing quote
78+
+ Quoted field with 5 quotes in a row and a delimiter
79+
+ Quoted field with delimiter
80+
+ Quoted field with escaped quotes at boundaries
81+
+ Quoted field with escaped quotes
82+
+ Quoted field with extra whitespace on edges
83+
+ Quoted field with line break
84+
+ Quoted field with quotes around delimiter
85+
+ Quoted field with quotes on left side of delimiter
86+
+ Quoted field with quotes on right side of delimiter
87+
+ Quoted field with Unix escaped quotes at boundaries
88+
+ Quoted field with whitespace around quotes
89+
+ Quoted field
90+
+ Quoted fields at end of row with delimiter and line break
91+
+ Quoted fields with line breaks
92+
+ Row with enough fields but blank field at end
93+
+ Row with too few fields
94+
+ Row with too many fields
95+
+ Skip empty lines, with empty input
96+
+ Skip empty lines, with first line only whitespace
97+
+ Skip empty lines, with newline at end of input
98+
+ Tab delimiter
99+
+ Three comment lines consecutively at beginning of file
100+
+ Two comment lines consecutively at end of file
101+
+ Two comment lines consecutively
102+
+ Two rows
103+
+ Unquoted field with quotes at end of field
104+
+ Whitespace at edges of unquoted field
105+
+ Complex CSV syntax
106+
+ Complex Unix CSV syntax
107+
= PASS (51 of 51 passed) = 28/02/2022 09:20:40 p.m. =
108+
109+
=== SequentialCSVimport ===
110+
+ Bad comments value specified
111+
+ Comment with non-default character
112+
+ Commented line at beginning
113+
+ Commented line at end
114+
+ Commented line in middle
115+
+ Entire file is comment lines
116+
+ Input is just a string (a single field)
117+
+ Input is just empty fields
118+
+ Input is just the delimiter (2 empty fields)
119+
+ Input with only a commented line and blank line after
120+
+ Input with only a commented line, without comments enabled
121+
+ Input without comments with line starting with whitespace
122+
+ Line ends with quoted field
123+
+ Line starts with quoted field
124+
+ Misplaced quotes in data, not as opening quotes
125+
+ Multiple consecutive empty fields
126+
+ Multiple rows, one column (no delimiter found)
127+
+ One column input with empty fields
128+
+ One Row
129+
+ Pipe delimiter
130+
+ Quoted field at end of row (but not at EOF) has quotes
131+
+ Quoted field has no closing quote
132+
+ Quoted field with 5 quotes in a row and a delimiter
133+
+ Quoted field with delimiter
134+
+ Quoted field with escaped quotes at boundaries
135+
+ Quoted field with escaped quotes
136+
+ Quoted field with extra whitespace on edges
137+
+ Quoted field with line break
138+
+ Quoted field with quotes around delimiter
139+
+ Quoted field with quotes on left side of delimiter
140+
+ Quoted field with quotes on right side of delimiter
141+
+ Quoted field with Unix escaped quotes at boundaries
142+
+ Quoted field with whitespace around quotes
143+
+ Quoted field
144+
+ Quoted fields at end of row with delimiter and line break
145+
+ Quoted fields with line breaks
146+
+ Row with enough fields but blank field at end
147+
+ Row with too few fields
148+
+ Row with too many fields
149+
+ Skip empty lines, with empty input
150+
+ Skip empty lines, with first line only whitespace
151+
+ Skip empty lines, with newline at end of input
152+
+ Tab delimiter
153+
+ Three comment lines consecutively at beginning of file
154+
+ Two comment lines consecutively at end of file
155+
+ Two comment lines consecutively
156+
+ Two rows
157+
+ Unquoted field with quotes at end of field
158+
+ Whitespace at edges of unquoted field
159+
+ Complex CSV syntax
160+
+ Complex Unix CSV syntax
161+
= PASS (51 of 51 passed) = 28/02/2022 09:20:40 p.m. =
162+

0 commit comments

Comments
 (0)