Mock objects for file system classes
Since the file system is an external resource that assumes an underlying reality, it is a hard thing to mock in test cases. However it is also relatively slow, so having a good mock makes good test cases much more usable. Therefore we go to great lenght here to have a full set of mock classes for all file system related objects.
| Class | MockFile |
Undocumented |
| Class | MockFolder |
Undocumented |
| Class | MockFS |
Undocumented |
| Class | MockFSNode |
Undocumented |
| Class | MockFSObjectBase |
Undocumented |
| Function | clone_mock_object |
No summary |
| Function | os_native_path |
No summary |
| Parameters | |
| source | a MockFile or MockFolder |
| target | another MockFile or MockFolder |
MockFile or MockFolder object| Parameters | |
| unixpath | the (mock) unix path as a string |
| drive | Undocumented |