Skip to content

Commit

Permalink
Changed FAT Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymekk44 committed Sep 21, 2024
1 parent 63e875c commit 34e1566
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tests/Cosmos.System.Tests/DiskManagerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void Execute()

Assert.IsTrue(ourPart.RootPath == driveName, "ManagedPartition.RootPath failed drive has wrong name");

ourDisk.FormatPartition(0, "FAT32", true);
ourDisk.FormatPartition(0, FileSystemType.FAT32, true);

var xDi = new DriveInfo(driveName);

Expand Down
2 changes: 1 addition & 1 deletion Tests/Cosmos.System.Tests/VFSManagerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void Test_Disk_Manager()

const string root = @"0:\";
long initialSize = VFSManager.GetTotalSize(root);
ourDisk.FormatPartition(0, "FAT32", true);
ourDisk.FormatPartition(0, FileSystemType.FAT32, true);
Assert.AreEqual(initialSize, VFSManager.GetAvailableFreeSpace(root));
Assert.AreEqual(0, VFSManager.GetDirectoryListing(root).Count);
VFSManager.CreateFile(root + "test.txt");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static void Execute(Debugger mDebugger)

ourDisk.Mount();

ourDisk.FormatPartition(0, "FAT32", true);
ourDisk.FormatPartition(0, FileSystemType.FAT32, true);

mDebugger.Send("Format done testing HDD is really empty");

Expand Down

0 comments on commit 34e1566

Please sign in to comment.