Skip to content

Test case testAuthorWithDiacritics fails on Mac #6024

@stevensdavid

Description

@stevensdavid

Version: JabRef development head (JabRef/jabref:master at 74667e9) on Mac OS X 10.15.3 and Mac OS 10.14.5 on

The unit test case testAuthorWithDiacritics fails when executed on Mac devices, while it passes on tested Linux and Windows devices. This has been tested with AdoptOpenJDK 13.0.2.j9 and Oracle's SE JDK 13.0.2.

Steps to reproduce the behavior:

  1. Build and run tests on MacOS using ./gradlew test

Gradle log:

Test testAuthorWithDiacritics() FAILED
  org.opentest4j.AssertionFailedError: expected: java.util.Collections$SingletonList@f4ce1d7<[src/test/resources/org/jabref/logic/importer/unlinkedFilesTestFolder/directory/subdirectory/2017_Gražulis_726.pdf]> but was: java.util.ArrayList@ebad2510<[src/test/resources/org/jabref/logic/importer/unlinkedFilesTestFolder/directory/subdirectory/2017_Gražulis_726.pdf]>
      at org.jabref/org.jabref.logic.util.io.RegExpBasedFileFinderTests.testAuthorWithDiacritics(RegExpBasedFileFinderTests.java:101)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions