Closed yoh1496 closed 2 years ago
In unit test, these lines create a file in working directory.
https://github.com/personium/personium-core/blob/4f210419aeee7341b6731a13dd6ca16acbdb6bd0/src/test/java/io/personium/core/model/file/BinaryDataAccessorTest.java#L51
https://github.com/personium/personium-core/blob/4f210419aeee7341b6731a13dd6ca16acbdb6bd0/src/test/java/io/personium/core/model/file/BinaryDataAccessorTest.java#L66
https://github.com/personium/personium-core/blob/4f210419aeee7341b6731a13dd6ca16acbdb6bd0/src/test/java/io/personium/core/model/file/BinaryDataAccessorTest.java#L81
It would be good that these files are deleted after the test case. And more, these files should be created in temporary directory.
In unit test, these lines create a file in working directory.
https://github.com/personium/personium-core/blob/4f210419aeee7341b6731a13dd6ca16acbdb6bd0/src/test/java/io/personium/core/model/file/BinaryDataAccessorTest.java#L51
https://github.com/personium/personium-core/blob/4f210419aeee7341b6731a13dd6ca16acbdb6bd0/src/test/java/io/personium/core/model/file/BinaryDataAccessorTest.java#L66
https://github.com/personium/personium-core/blob/4f210419aeee7341b6731a13dd6ca16acbdb6bd0/src/test/java/io/personium/core/model/file/BinaryDataAccessorTest.java#L81
It would be good that these files are deleted after the test case. And more, these files should be created in temporary directory.