예제 #1
0
        public void BackupRootVirtualPathPropertyTest()
        {
            var root = new BackupRoot();

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

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

            Assert.IsNotNull(root.Children);
        }