Exemplo n.º 1
0
        public async Task LocateInRoot_ValidPath()
        {
            await ABSRegistry.AddItemToRootAsync(new Group("ABPaint".ToCharArray()));

            CollectionAssert.AreEqual((await ABSRegistry.LocateInRootAsync("ABPaint")).Name, "ABPaint".ToCharArray());
        }
Exemplo n.º 2
0
 public async Task LocateInRoot_InvalidPath()
 {
     Assert.AreEqual(await ABSRegistry.LocateInRootAsync("(None)"), null);
 }