public ArchiveAndHarddiskCopyAndMoveTest()
        {
            archivePath = Path.Combine(Path.GetTempPath(), KosTestDirectory);

            archive = PrepareArchive(archivePath);
            harddisk = new Harddisk(1000);
        }
Пример #2
0
        public void Setup()
        {
            if (Directory.Exists(testPath))
            {
                Directory.Delete(testPath, true);
            }

            Directory.CreateDirectory(testPath);

            TestVolume = new Archive(testPath);
        }
Пример #3
0
 public ArchiveFile(Archive archive, FileInfo fileInfo, VolumePath path)
     : base(archive, path)
 {
     this.fileInfo = fileInfo;
 }
Пример #4
0
 public ArchiveDirectory(Archive archive, VolumePath path)
     : base(archive, path)
 {
     this.archive = archive;
     this.archivePath = archive.GetArchivePath(path);
 }
Пример #5
0
 public ArchiveFile(Archive archive, FileInfo fileInfo, VolumePath path)
     : base(archive, path)
 {
     this.fileInfo = fileInfo;
 }
Пример #6
0
 public ArchiveDirectory(Archive archive, VolumePath path) : base(archive, path)
 {
     this.archive     = archive;
     this.archivePath = archive.GetArchivePath(path);
 }