eclipse-basyx / basyx-java-server-sdk

MIT License
60 stars 47 forks source link

Write a test suite for FileRepository #413

Closed aaronzi closed 3 months ago

aaronzi commented 3 months ago

Currently, there is no test suite for the FileRepository, therefore the expectations of the FileRepository API are not clearly defined across implementations.

An implementation of the test suite should also be implemented for each backend type:

Rules

References/Entrypoints

[1] https://github.com/eclipse-basyx/basyx-java-server-sdk/blob/main/basyx.common/basyx.filerepository-backend/src/main/java/org/eclipse/digitaltwin/basyx/core/filerepository/FileRepository.java [2] https://github.com/eclipse-basyx/basyx-java-server-sdk/blob/main/basyx.common/basyx.filerepository-backend-inmemory/src/main/java/org/eclipse/digitaltwin/basyx/core/filerepository/InMemoryFileRepository.java [3] https://github.com/eclipse-basyx/basyx-java-server-sdk/blob/main/basyx.common/basyx.filerepository-backend-mongodb/src/main/java/org/eclipse/digitaltwin/basyx/core/filerepository/MongoDBFileRepository.java