jordanlytle / SmbAbstraction

Implements the System.IO.Abstractions interfaces for interacting with the filesystem, and adds support for interacting with UNC or SMB paths
MIT License
6 stars 8 forks source link

Update System.IO.Abstractions to version 9.0.5, Implement Smb and Unc fixtures in Integration test project, Add docker file in integration test project #8

Closed Jo0 closed 4 years ago

Jo0 commented 4 years ago

Changes made

Update System.IO.Abstractions to version 9.0.5

  1. Update SMBFileInfo to inherit from FileInfoWrapper
    • Implement Replace() in SMBFileInfo
  2. Add SMBPath which implements IPath and inherits PathWrapper
    • Implement Combines (TODO: implement Combine(string[]))
    • Implement GetDirectoryName() and GetFileName()
    • Update SMBFileSystem.Path from PathWrapper to SMBPath
    • Update all calls to System.IO.Path to use SMBFileSystem.Path
  3. Add more tests to SmbAbstraction.Test.Integration.FileInfoTest
  4. Update SMBDirectoryInfo to inherit from DirectoryInfoWrapper

Add dockerfile

Clean and consolidate SmbAbstraction.Test.Integration and create fixtures for SMBUri and UNCPath

  1. Create SmbUriFixture and UncPathFixture
  2. Move tests into their own namespace
  3. Create *Tests.Variations.cs to utilize SmbUriFixture and UncPathFixture on set of tests