-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for issue 3959: migrate all tests to JUnit 5 (#4260)
* Update migrate from JUnit 4 to JUnit 5 * Update migrate from JUnit 4 to JUnit 5 * Trying to change git accounts on my laptop * Trying to change git accounts on my laptop * Trying to change git accounts on my laptop * Using static assert methods. * Migrate from JUnit 4 to JUnit 5 *AuthorListParameterTest.java * Migrate from JUnit 4 to JUnit 5 *XmpUtilWriterTest.java * Migrate from JUnit 4 to JUnit 5 *XmpUtilReaderTest.java * Migrate from JUnit 4 to JUnit 5 *SearchQueryHighlightObservableTest.java -did not use MockitoExtension.class as its official version has not been released yet. * Migrate from JUnit 4 to JUnit 5 *CitationEntryTest.java * Migrate from JUnit 4 to JUnit 5 *RTFCharsTest.java * Migrate from JUnit 4 to JUnit 5 *ProtectedTermsLoaderTest.java -When running tests, outputs in command line are different. I don't know if this change is correct. * Trying to change to a new branch. * commit_test * delete my meaningless txt * Migrate from JUnit 4 to JUnit 5 *AuthorAndToSemicolonReplacerTest.java * Migrate from JUnit 4 to JUnit 5 *FileDialogConfigurationTest.java * Migrate from JUnit 4 to JUnit 5 *IntegrityCheckTest.java * Migrate from JUnit 4 to JUnit 5 *ModsExportFormatTest.java * Migrate from JUnit 4 to JUnit 5 *AutoSetFileLinksUtilTest.java * Migrate from JUnit 4 to JUnit 5 *MsBibExportFormatTest.java * Migrate from JUnit 4 to JUnit 5 *CsvExportFormatTest.java * Migrate from JUnit 4 to JUnit 5 *HtmlExportFormatTest.java * Migrate from JUnit 4 to JUnit 5 *HtmlExportFormatTest.java * Migrate from JUnit 4 to JUnit 5 *RenamePdfCleanupTest.java * Migrate from JUnit 4 to JUnit 5 *ProtectedTermsListTest.java * Migrate from JUnit 4 to JUnit 5 *MoveFilesCleanupTest.java * Migrate from JUnit 4 to JUnit 5 *ImporterTest.java * Migrate from JUnit 4 to JUnit 5 *ExporterTest.java * Try to trigger the Travis CI build. * Try to trigger the Travis CI build. * Migrate from JUnit 4 to JUnit 5 * Try to migrate from JUnit 4 to JUnit 5 *BibTeXMLExporterTestFiles.java *Test, not finished * Roll back to earlier version. *BibTeXMLExporterTestFiles.java *CleanupWorkerTest.java * Migrate from JUnit 4 to JUnit 5 *ImportFormatReaderIntegrationTest.java * Migrate from JUnit 4 to JUnit 5 *MimeTypeDetectorTest.java * failed to modify CleanupWorkerTest * failed to modify cleanupWorkTest * change cleanupWorkerTest to initial * ***DatabaseTest*** Migrate from JUnit 4 to JUnit 5 *DBMSProcessorTest.java *Wait for the Travis CI * ***DatabaseTest*** Migrate from JUnit 4 to JUnit 5 *DBMSProcessorTest.java *Wait for the Travis CI * Migrate from JUnit 4 to JUnit 5 *BibTeXMLExporterTestFiles.java *MSBibExportFormatTestFiles.java *All the GUI tests * Migrate from JUnit 4 to JUnit 5 *CleanupWorkerTest.java *It seems that worker doesn't work in cleanupRenamePdfRenamesRelativeFile() and cleanupRelativePathsConvertAbsoluteToRelativePath() * Migrate JUnit 4 to JUnit 5. *AuthorListParameterTest.java -Follow up tp the newest. * Migrate JUnit 4 to JUnit 5. *CleanupWorkerTest.java -Delete my sout. * Migrate JUnit 4 to JUnit 5. *EntryTypesTest.java -Just some method name changes. * Fix part of CleanupWorkerTest. -cleanupRelativePathsConvertAbsoluteToRelativePath() test passed. -The cleanupRenamePdfRenamesRelativeFile() test still failed. * Migrate and sync. *CiteKeyBasedFileFinderTest.java * Migrate. *FileUtilTest.java Partly migrate. *ModsExportFormatTestFiles.java * Fix CleanupWorkerTest.java * Fix .travis.yml * Remove unnecessary @rule. *IntegrityCheckTest.java * AuxParserTest.java * BibtexParserTest.java * EntryComparatorTest.java * Migrate JUnit 4 to JUnit 5 -------by 1160300229 * Migrate. Some tasks by my team members. *LinkedFileViewModelTest.java *RecursiveTreeItemTest.java *UndoTest.java *EntryComparatorTest.java *MakeLabelWithDatabaseTest.java *MakeLabelWithoutDatabaseTest.java *CleanupUrlFormatterTest.java *BibtexParserTest.java *MedlinePlainImporterTest.java *SilverPlatterImporterTest.java *EntryLinkCheckerTest.java *LocalizationKeyTest.java *JabRefPreferencesTest.java * Fix 1160300302's error. * Remove unnecessary "public". *AuxParserTest.java * fix architecture test by removing check for public make some classes default visibility level * Fix "cannot find files" problem in JUnit 4. * Migrate to JUnit 5. *BibTeXMLExporterTestFiles.java *ModsExportFormatTestFiles.java *MSBibExportFormatTestFiles.java * Change the slash direction. *BibTeXMLExporterTestFiles.java *ModsExportFormatTestFiles.java *MSBibExportFormatTestFiles.java * fix resolving of paths in msbibexporterpath update junit and correct resource dirs in gradle * Fix the path issue in *BibTeXMLExporterTestFiles.java *ModsExportFormatTestFiles.java * Disable the failing exporter tests and change the build.gradle * Fix the parent folder issue by make every path to their child once. -You can see in the code. :) * Fix some minor issues. -Use the NIO methods in MoveFilesCleanupTest.java -Use toAbsolutePath() method in RenamePdfCleanupTest.java -Rename "tempFilename" to "tempFilePath" in BibTeXMLExporterTestFiles.java * include main/java in resources as well convert legalcy file methods to nio
- Loading branch information
1 parent
7d4b2ae
commit a880add
Showing
61 changed files
with
1,372 additions
and
1,390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,3 +71,4 @@ cache: | |
directories: | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.