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

            if (File.Exists(_logFilePath))
            {
                File.Delete(_logFilePath);
            }
        }
Exemple #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)
 {
 }
Exemple #6
0
 public MountImageTests(TestWimTemplate template)
     : base(template)
 {
 }
Exemple #7
0
 public CreateFileTests(TestWimTemplate template)
     : base(template)
 {
     CreateWimPath = Path.Combine(TestDirectory, "create.wim");
 }
 public SplitFileTests(TestWimTemplate template)
     : base(template)
 {
 }
 public ExportImageTests(TestWimTemplate template)
     : base(template)
 {
 }
 public ImageInfoTests(TestWimTemplate template)
     : base(template)
 {
 }
 public CommitImageHandleTests(TestWimTemplate template)
     : base(template)
 {
 }
 public DeleteImageMountsTests(TestWimTemplate template)
     : base(template)
 {
 }
 public LoadImageTests(TestWimTemplate template)
     : base(template)
 {
 }
 public SetBootImageTests(TestWimTemplate template)
     : base(template)
 {
 }
 public ApplyImageTests(TestWimTemplate template)
     : base(template)
 {
 }
Exemple #16
0
 public CaptureImageTests(TestWimTemplate template)
     : base(template)
 {
 }
 public ExtractImagePathTests(TestWimTemplate template)
     : base(template)
 {
 }