/[DiskWriteCacheDisabler]/trunk/Diskpart.UnitTest/Program.cs
ViewVC logotype

Annotation of /trunk/Diskpart.UnitTest/Program.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 51 - (hide annotations) (download)
Thu Aug 9 07:44:20 2012 UTC (7 years, 6 months ago) by william
File size: 642 byte(s)
+ add support to enable/disable device enumeration methods

1 william 45 #define LIBDISKPART_ENABLE_UNITTESTING // when defined will enable libDiskpart Unit Testing
2     using System;
3 william 39 using System.Collections.Generic;
4     using System.Linq;
5     using System.Text;
6    
7     namespace Diskpart.UnitTest
8     {
9     class Program
10     {
11     static void Main(string[] args)
12     {
13 william 45 //libDiskpart.UnitTesting.TEST_DISKPART_STD_INPUT();
14    
15 william 51 libDiskpart.Diskpart.Interop.EnumerateVolumes();
16     libDiskpart.Diskpart.Interop.EnumerateDisks();
17     libDiskpart.Diskpart.Interop.EnumerateVirtualDisks();
18     libDiskpart.Diskpart.Interop.EnumeratePartitions(5);
19 william 39 }
20     }
21     }

  ViewVC Help
Powered by ViewVC 1.1.22