File tree Expand file tree Collapse file tree
src/test/java/org/apache/commons/csv/issues Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525import org .apache .commons .csv .CSVFormat ;
2626import org .apache .commons .csv .CSVParser ;
2727import org .apache .commons .csv .QuoteMode ;
28- import org .junit .jupiter .api .Disabled ;
2928import org .junit .jupiter .api .Test ;
3029
3130/**
3231 * Tests https://issues.apache.org/jira/browse/CSV-213
33- *
32+ * <p>
3433 * This is normal behavior with the current architecture: The iterator() API presents an object that is backed by data
3534 * in the CSVParser as the parser is streaming over the file. The CSVParser is like a forward-only stream. When you
3635 * create a new Iterator you are only created a new view on the same position in the parser's stream. For the behavior
3736 * you want, you need to open a new CSVParser.
37+ * </p>
3838 */
39- @ Disabled
4039public class JiraCsv213Test {
4140
4241 private void createEndChannel (final File csvFile ) {
@@ -64,6 +63,6 @@ private void createEndChannel(final File csvFile) {
6463
6564 @ Test
6665 public void test () {
67- createEndChannel (new File ("src/test/resources/CSV-213/999751170.patch.csv" ));
66+ createEndChannel (new File ("src/test/resources/org/apache/commons/csv/ CSV-213/999751170.patch.csv" ));
6867 }
6968}
You can’t perform that action at this time.
0 commit comments