Permalink
Browse files

Stick to one class per file

  • Loading branch information...
1 parent f5d59f8 commit dc540f1c5ebde73b7d5c46201f22c3d4bf167513 @tathamoddie committed Mar 24, 2013
Showing with 11 additions and 8 deletions.
  1. +10 −0 TestingHelpers/MockDirectoryData.cs
  2. +0 −8 TestingHelpers/MockFileData.cs
  3. +1 −0 TestingHelpers/TestingHelpers.csproj
View
10 TestingHelpers/MockDirectoryData.cs
@@ -0,0 +1,10 @@
+namespace System.IO.Abstractions.TestingHelpers
+{
+ [Serializable]
+ public class MockDirectoryData : MockFileData {
+ public override bool IsDirectory { get { return true; } }
+
+ public MockDirectoryData() : base(string.Empty) {
+ }
+ }
+}
View
8 TestingHelpers/MockFileData.cs
@@ -67,12 +67,4 @@ public FileAttributes Attributes
set { attributes = value; }
}
}
-
- [Serializable]
- public class MockDirectoryData : MockFileData {
- public override bool IsDirectory { get { return true; } }
-
- public MockDirectoryData() : base(string.Empty) {
- }
- }
}
View
1 TestingHelpers/TestingHelpers.csproj
@@ -75,6 +75,7 @@
<ItemGroup>
<Compile Include="IMockFileDataAccessor.cs" />
<Compile Include="MockDirectory.cs" />
+ <Compile Include="MockDirectoryData.cs" />
<Compile Include="MockDirectoryInfo.cs" />
<Compile Include="MockDirectoryInfoFactory.cs" />
<Compile Include="MockFile.cs" />

0 comments on commit dc540f1

Please sign in to comment.