public void XamlParseExceptionConstructor4() { tlog.Debug(tag, $"XamlParseExceptionConstructor START"); Exception e1 = new Exception(); XmlLineInfoImplent xmlLineInfoImplent = new XmlLineInfoImplent(); XamlParseException x4 = new XamlParseException("myMessage", xmlLineInfoImplent, e1); x4 = null; tlog.Debug(tag, $"XamlParseExceptionConstructor END (OK)"); Assert.Pass("XamlParseExceptionConstructor"); }
public void XamlParseExceptionXmlInfo() { tlog.Debug(tag, $"XamlParseExceptionXmlInfo START"); try { XmlLineInfoImplent xml1 = (XmlLineInfoImplent)xamlParseException.XmlInfo; } catch (Exception e) { Tizen.Log.Error(tag, "Caught Exception" + e.ToString()); Assert.Fail("Caught Exception" + e.ToString()); } tlog.Debug(tag, $"XamlParseExceptionXmlInfo END (OK)"); Assert.Pass("XamlParseExceptionXmlInfo"); }
public void StaticResourceExtensionGetApplicationLevelResource() { tlog.Debug(tag, $"StaticResourceExtensionGetApplicationLevelResource START"); try { XmlLineInfoImplent xx = new XmlLineInfoImplent(); resourceExtension.GetApplicationLevelResource("mykey", xx); } catch (Exception e) { tlog.Debug(tag, $"StaticResourceExtensionGetApplicationLevelResource END (OK)"); Assert.Pass("StaticResource not found for key mykey : Passed!"); } }
public void StaticResourceExtensionGetApplicationLevelResource() { tlog.Debug(tag, $"StaticResourceExtensionGetApplicationLevelResource START"); try { XmlLineInfoImplent xx = new XmlLineInfoImplent(); s1.GetApplicationLevelResource("mykey", xx); } catch (Exception e) { Tizen.Log.Error(tag, "Caught Exception" + e.ToString()); Assert.Fail("Caught Exception" + e.ToString()); } tlog.Debug(tag, $"StaticResourceExtensionGetApplicationLevelResource END (OK)"); Assert.Pass("StaticResourceExtensionGetApplicationLevelResource"); }