public void BackupRootVirtualPathPropertyTest()
        {
            var root = new BackupRoot();

            Assert.AreEqual(root.VirtualPath, ".");

            TestExtensions.Throws<InvalidOperationException>(() => root.VirtualPath = "Test");
        }
Esempio n. 2
0
 public BackupStatus()
 {
     Root = new BackupRoot ();
 }
 public WorkingDirectory(string path)
 {
     Root = new BackupRoot ();
     WorkingDirectoryPath = path;
 }
        public void BackupRootHasInitializedElementsList()
        {
            var root = new BackupRoot();

            Assert.IsNotNull(root.Children);
        }