Giter Site home page Giter Site logo

testabledokan's Introduction

TestableDokan solution README

This is a quick project I slapped together to show how to build a mockable, testable framework around Dokan-dotnet. There are two projects in here, ImplementationSide and TestProjectSide. You are encouraged to take these classes and put them in your own projects.

These classes are for Dokan-dotnet 1.1.0.3, not the latest available verison. There was an API change in v1.1.1.1 which requires a bit of patching to bring this to that version's requirements [specifically, a parameter added to a method in DokanNet.IDokanOperations].

Your implementation project should have a reference to DokanNet. Your test project should have a reference to your implementation project.

TestProjectSide\MockableDokan\FileInformationTest.cs is written to the MSTestV2 API. You can use other test APIs, but if you do you will have to either drop that test or modify it to use your chosen test API.

I hope you find this helpful.

-kyanha@github, 2018-07-01

testabledokan's People

Contributors

kyanha avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.