예제 #1
0
        public async Task LocateInRoot_ValidPath()
        {
            await ABSRegistry.AddItemToRootAsync(new Group("ABPaint".ToCharArray()));

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