From 071828de338737702ba4ba159f9b8a8f7c7f0b14 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Thu, 15 Jun 2023 15:14:30 +0200 Subject: Rename CSVUtilsTest to CSVParserTest --- .../java/it/alessandroiezzi/csv/CSVParserTest.java | 34 ++++++++++++++++++++++ .../java/it/alessandroiezzi/csv/CSVUtilsTest.java | 34 ---------------------- 2 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 src/test/java/it/alessandroiezzi/csv/CSVParserTest.java delete mode 100644 src/test/java/it/alessandroiezzi/csv/CSVUtilsTest.java diff --git a/src/test/java/it/alessandroiezzi/csv/CSVParserTest.java b/src/test/java/it/alessandroiezzi/csv/CSVParserTest.java new file mode 100644 index 0000000..47aab79 --- /dev/null +++ b/src/test/java/it/alessandroiezzi/csv/CSVParserTest.java @@ -0,0 +1,34 @@ +/* + * A simple CSV utility + * Copyright (C) 2022 Alessandro Iezzi + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package it.alessandroiezzi.csv; + +import org.junit.Test; + +import java.io.File; +import java.io.IOException; + +import static org.junit.Assert.*; + +public class CSVParserTest { + @Test + public void test_parseCSV() throws IOException { + CSVParser parser = new CSVParser(getClass().getClassLoader().getResourceAsStream("test.csv")); + parser.parse(); + } +} diff --git a/src/test/java/it/alessandroiezzi/csv/CSVUtilsTest.java b/src/test/java/it/alessandroiezzi/csv/CSVUtilsTest.java deleted file mode 100644 index 3c46ae6..0000000 --- a/src/test/java/it/alessandroiezzi/csv/CSVUtilsTest.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * A simple CSV utility - * Copyright (C) 2022 Alessandro Iezzi - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -package it.alessandroiezzi.csv; - -import org.junit.Test; - -import java.io.File; -import java.io.IOException; - -import static org.junit.Assert.*; - -public class CSVUtilsTest { - @Test - public void test_parseCSV() throws IOException { - CSVParser parser = new CSVParser(getClass().getClassLoader().getResourceAsStream("test.csv")); - parser.parse(); - } -} -- cgit v1.2.3