Skip to content

Improve file system support and mocks. #42

Description

@jochenwierum

At the moment we mock File Objects, but that does not work if somewhere in the code a construct like new File(mockedFile, "subdir") is used. On the other hand, there is this obscure FileSystemHelper class which does things like converting absolute to relative pathes.

After migrating to Java 7 (#33) we should migrate the file handling to Javas Path API and investigate how Projects like jimfs (https://github.com/google/jimfs) can help us to mock the filesystem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions