From 49da3f099983fd2d0a3c02ac568c7712c90037db Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Tue, 6 Aug 2024 22:43:44 +0200 Subject: [PATCH] fix test --- src/main/java/org/jabref/logic/util/StandardFileType.java | 1 - .../logic/importer/ImportFormatReaderIntegrationTest.java | 1 - .../logic/importer/fileformat/BibtexImporterTest.java | 6 ------ 3 files changed, 8 deletions(-) diff --git a/src/main/java/org/jabref/logic/util/StandardFileType.java b/src/main/java/org/jabref/logic/util/StandardFileType.java index e0464c4d1eb..a18af13513d 100644 --- a/src/main/java/org/jabref/logic/util/StandardFileType.java +++ b/src/main/java/org/jabref/logic/util/StandardFileType.java @@ -15,7 +15,6 @@ public enum StandardFileType implements FileType { MEDLINE("Medline", "nbib", "xml"), MEDLINE_PLAIN("Medline Plain", "nbib", "txt"), PUBMED("Pubmed", "fcgi"), - SILVER_PLATTER("SilverPlatter", "dat", "txt"), AUX("Aux file", "aux"), BIBTEX_DB("Bibtex library", "bib"), BST("BibTeX-Style file", "bst"), diff --git a/src/test/java/org/jabref/logic/importer/ImportFormatReaderIntegrationTest.java b/src/test/java/org/jabref/logic/importer/ImportFormatReaderIntegrationTest.java index 7bbef2de9b4..e9548dc9667 100644 --- a/src/test/java/org/jabref/logic/importer/ImportFormatReaderIntegrationTest.java +++ b/src/test/java/org/jabref/logic/importer/ImportFormatReaderIntegrationTest.java @@ -62,7 +62,6 @@ private static Stream importFormats() { Collection result = new ArrayList<>(); result.add(new Object[]{"fileformat/RisImporterTest1.ris", "ris", 1}); result.add(new Object[]{"fileformat/IsiImporterTest1.isi", "isi", 1}); - result.add(new Object[]{"fileformat/SilverPlatterImporterTest1.txt", "silverplatter", 1}); result.add(new Object[]{"fileformat/RepecNepImporterTest2.txt", "repecnep", 1}); result.add(new Object[]{"fileformat/OvidImporterTest3.txt", "ovid", 1}); result.add(new Object[]{"fileformat/Endnote.entries.enw", "refer", 5}); diff --git a/src/test/java/org/jabref/logic/importer/fileformat/BibtexImporterTest.java b/src/test/java/org/jabref/logic/importer/fileformat/BibtexImporterTest.java index 50e82e542c7..a0a79a6cafe 100644 --- a/src/test/java/org/jabref/logic/importer/fileformat/BibtexImporterTest.java +++ b/src/test/java/org/jabref/logic/importer/fileformat/BibtexImporterTest.java @@ -130,12 +130,6 @@ public void sGetExtensions() { assertEquals(StandardFileType.BIBTEX_DB, importer.getFileType()); } - @Test - public void getDescription() { - assertEquals( - "This importer enables `--importToOpen someEntry.bib`", - importer.getDescription()); - } @Test public void recognizesDatabaseID() throws Exception {