示例#1
0
        public LogFileTests(TestWimTemplate template) : base(template)
        {
            _logFilePath = Path.Combine(TestDirectory, "test.log");

            if (File.Exists(_logFilePath))
            {
                File.Delete(_logFilePath);
            }
        }
示例#2
0
        protected TestBase(TestWimTemplate template)
        {
            Template  = template;
            TempPath  = Directory.CreateDirectory(Path.Combine(TestDirectory, "temp")).FullName;
            ApplyPath = Directory.CreateDirectory(Path.Combine(TestDirectory, "apply")).FullName;
            MountPath = Directory.CreateDirectory(Path.Combine(TestDirectory, "mount")).FullName;

            CaptureWimPath = Path.Combine(TestDirectory, "capture.wim");
        }
        public CopyFileTests(TestWimTemplate template)
            : base(template)
        {
            _destinationPath = Path.Combine(TestDirectory, "copy.wim");

            if (File.Exists(_destinationPath))
            {
                File.Delete(_destinationPath);
            }
        }
 public SetTemporaryPathTests(TestWimTemplate template)
     : base(template)
 {
 }
 public MessageCallbackTests(TestWimTemplate template)
     : base(template)
 {
 }
示例#6
0
 public MountImageTests(TestWimTemplate template)
     : base(template)
 {
 }
示例#7
0
 public CreateFileTests(TestWimTemplate template)
     : base(template)
 {
     CreateWimPath = Path.Combine(TestDirectory, "create.wim");
 }
示例#8
0
 public SplitFileTests(TestWimTemplate template)
     : base(template)
 {
 }
 public ExportImageTests(TestWimTemplate template)
     : base(template)
 {
 }
示例#10
0
 public ImageInfoTests(TestWimTemplate template)
     : base(template)
 {
 }
 public CommitImageHandleTests(TestWimTemplate template)
     : base(template)
 {
 }
 public DeleteImageMountsTests(TestWimTemplate template)
     : base(template)
 {
 }
示例#13
0
 public LoadImageTests(TestWimTemplate template)
     : base(template)
 {
 }
示例#14
0
 public SetBootImageTests(TestWimTemplate template)
     : base(template)
 {
 }
示例#15
0
 public ApplyImageTests(TestWimTemplate template)
     : base(template)
 {
 }
示例#16
0
 public CaptureImageTests(TestWimTemplate template)
     : base(template)
 {
 }
 public ExtractImagePathTests(TestWimTemplate template)
     : base(template)
 {
 }