Exemplo n.º 1
0
        public void ListUrls()
        {
            AddFile("test", "data", true, true);
            AddDirectory("foo", true, true);
            var items = SvnClient.ListUrl(Repo.Url, false).ToArray();

            Assert.AreEqual(2, items.Length, "#1");
            Assert.IsTrue(items.Any(item => item.Name == "test" && !item.IsDirectory), "#2a");
            Assert.IsTrue(items.Any(item => item.Name == "foo" && item.IsDirectory), "#2b");
        }