finished host FS impl
This commit is contained in:
@ -64,8 +64,7 @@ ReturnValue_t FilesystemMock::removeDirectory(FilesystemParams params, bool dele
|
||||
return HasReturnvaluesIF::RETURN_OK;
|
||||
}
|
||||
|
||||
ReturnValue_t FilesystemMock::renameFile(const char *oldPath, char *newPath,
|
||||
FileSystemArgsIF *args) {
|
||||
ReturnValue_t FilesystemMock::rename(const char *oldPath, char *newPath, FileSystemArgsIF *args) {
|
||||
renameQueue.push(RenameInfo(oldPath, newPath));
|
||||
return HasReturnvaluesIF::RETURN_OK;
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ class FilesystemMock : public HasFileSystemIF {
|
||||
ReturnValue_t removeFile(const char *path, FileSystemArgsIF *args) override;
|
||||
ReturnValue_t createDirectory(FilesystemParams params, bool createParentDirs) override;
|
||||
ReturnValue_t removeDirectory(FilesystemParams params, bool deleteRecurively) override;
|
||||
ReturnValue_t renameFile(const char *oldPath, char *newPath, FileSystemArgsIF *args) override;
|
||||
ReturnValue_t rename(const char *oldPath, char *newPath, FileSystemArgsIF *args) override;
|
||||
|
||||
void reset();
|
||||
|
||||
|
Reference in New Issue
Block a user