From 810c8d0ae51fc382b922d293d188fb5d637a8ed8 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Thu, 29 Mar 2012 00:46:54 +0000 Subject: [PATCH] Initial tests for CSV-85 - to be updated when issue is implemented git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306662 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/resources/CSVFileParser/testCSV85.csv | 9 +++++++++ src/test/resources/CSVFileParser/testCSV85_default.txt | 10 ++++++++++ .../resources/CSVFileParser/testCSV85_ignoreEmpty.txt | 10 ++++++++++ 3 files changed, 29 insertions(+) create mode 100644 src/test/resources/CSVFileParser/testCSV85.csv create mode 100644 src/test/resources/CSVFileParser/testCSV85_default.txt create mode 100644 src/test/resources/CSVFileParser/testCSV85_ignoreEmpty.txt diff --git a/src/test/resources/CSVFileParser/testCSV85.csv b/src/test/resources/CSVFileParser/testCSV85.csv new file mode 100644 index 00000000..b1baab30 --- /dev/null +++ b/src/test/resources/CSVFileParser/testCSV85.csv @@ -0,0 +1,9 @@ +# Comment 1 +a,b,c,e,f +# Very Long +# Comment 2 +g,h,i,j,k +# Very Long + +# Comment 3 +l,m,n,o,p \ No newline at end of file diff --git a/src/test/resources/CSVFileParser/testCSV85_default.txt b/src/test/resources/CSVFileParser/testCSV85_default.txt new file mode 100644 index 00000000..cad26318 --- /dev/null +++ b/src/test/resources/CSVFileParser/testCSV85_default.txt @@ -0,0 +1,10 @@ +testCSV85.csv CommentStart=# +Delimiter=<,> Encapsulator=<"> CommentStart=<#> +5:[a, b, c, e, f] +# Very Long +# Comment 2 +5:[g, h, i, j, k] +# Very Long +1:[] +# Comment 3 +5:[l, m, n, o, p] \ No newline at end of file diff --git a/src/test/resources/CSVFileParser/testCSV85_ignoreEmpty.txt b/src/test/resources/CSVFileParser/testCSV85_ignoreEmpty.txt new file mode 100644 index 00000000..cad26318 --- /dev/null +++ b/src/test/resources/CSVFileParser/testCSV85_ignoreEmpty.txt @@ -0,0 +1,10 @@ +testCSV85.csv CommentStart=# +Delimiter=<,> Encapsulator=<"> CommentStart=<#> +5:[a, b, c, e, f] +# Very Long +# Comment 2 +5:[g, h, i, j, k] +# Very Long +1:[] +# Comment 3 +5:[l, m, n, o, p] \ No newline at end of file