Skip to content

Build fails on case-sensitive file systems #1

@sworisbreathing

Description

@sworisbreathing

Building restclient-lib fails on case-sensitive file systems with a FileNotFoundException in XMLIndentUtilTest.testGetIndentedNONE:

Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.15 sec <<< FAILURE!
testGetIndentedNONE(org.wiztools.restclient.util.XMLIndentUtilTest)  Time elapsed: 0.004 sec  <<< ERROR!
java.io.FileNotFoundException: src/test/resources/input_NONE.xml (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:146)
    at org.wiztools.commons.FileUtil.getContentAsString(FileUtil.java:39)
    at org.wiztools.restclient.util.XMLIndentUtilTest.testGetIndentedNONE(XMLIndentUtilTest.java:49)

This is because the file in src/test/resources is named input_None.xml instead of input_NONE.xml

I'll open a pull request with the fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions