8000 Improve Tests · Issue #301 · dokan-dev/dokan-dotnet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Improve Tests #301
Open
Open
@TrabacchinLuigi

Description

@TrabacchinLuigi

Unit tests seem to be working as integration tests: mounting a disk and using that disk.
Because of that moq is being used to verify calls from the driver instead of creating mocks to be fed to the system under test.
Also, it is impossible for now to use moq with Spans devlooped/moq#1049 (and i belive we should not be held back by that)

I think we should try to use the marshal class to tests if the class / struct we wrote can be marshalled https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.marshal.copy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0