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

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

            Directory.CreateDirectory(testPath);

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