public void ThemeManagerApplyFallbackTheme() { tlog.Debug(tag, $"ThemeManagerApplyFallbackTheme START"); Theme a1 = new Theme(); ThemeManager.ApplyFallbackTheme(a1); tlog.Debug(tag, $"ThemeManagerApplyFallbackTheme END (OK)"); Assert.Pass("ThemeManagerApplyFallbackTheme"); }
public void ThemeManagerApplyFallbackTheme() { tlog.Debug(tag, $"ThemeManagerApplyFallbackTheme START"); var testingTarget = new Theme(path); Assert.IsNotNull(testingTarget, "should be not null"); Assert.IsInstanceOf <Theme>(testingTarget, "should be an instance of testing target class!"); try { ThemeManager.ApplyFallbackTheme(testingTarget); } catch (Exception e) { tlog.Debug(tag, e.Message.ToString()); Assert.Fail("Caught Exception : Failed!"); } tlog.Debug(tag, $"ThemeManagerApplyFallbackTheme END (OK)"); }