コード例 #1
0
        public void ResourcesLoaderGetResourceTest()
        {
            tlog.Debug(tag, $"ResourcesLoaderGetResourceTest START");

            try
            {
                var rl  = new ResourcesLoader();
                var ret = rl.GetResource("layout/TotalSample.xaml", typeof(UIElement).Assembly, null);
                Assert.IsNotNull(ret, "Should not be null");
            }
            catch (Exception e)
            {
                tlog.Debug(tag, e.Message.ToString());
                Assert.Fail("Caught Exception : Failed!");
            }

            tlog.Debug(tag, $"ResourcesLoaderGetResourceTest END");
        }