public void ParseControl_Deny_Unrestricted () { NonAbstractTemplateControl tc = new NonAbstractTemplateControl (); try { tc.ParseControl (null); } catch (NullReferenceException) { throw; } }
public void ParseControl_Deny_Unrestricted() { NonAbstractTemplateControl tc = new NonAbstractTemplateControl(); try { tc.ParseControl(null); } catch (NullReferenceException) { throw; } }
public void Events_Deny_Unrestricted() { NonAbstractTemplateControl tc = new NonAbstractTemplateControl(); tc.AbortTransaction += new EventHandler(Handler); tc.CommitTransaction += new EventHandler(Handler); tc.Error += new EventHandler(Handler); tc.AbortTransaction -= new EventHandler(Handler); tc.CommitTransaction -= new EventHandler(Handler); tc.Error -= new EventHandler(Handler); }
public void ParseControl_Deny_Unrestricted() { NonAbstractTemplateControl tc = new NonAbstractTemplateControl(); try { tc.ParseControl(null); } catch (NullReferenceException) { #if NET_2_0 throw; #else Assert.Ignore("NRE"); #endif } }
public void IFilterResolutionService_Deny_Unrestricted() { IFilterResolutionService frs = new NonAbstractTemplateControl(); try { Assert.AreEqual(0, frs.CompareFilters(String.Empty, String.Empty), "CompareFilters"); } catch (NotImplementedException) { // mono } try { Assert.IsFalse(frs.EvaluateFilter(String.Empty), "EvaluateFilter"); } catch (NotImplementedException) { // mono } }
public void LoadTemplate_Deny_Unrestricted() { NonAbstractTemplateControl tc = new NonAbstractTemplateControl(); tc.LoadTemplate(null); }
public void LoadTemplate_Deny_Unrestricted () { NonAbstractTemplateControl tc = new NonAbstractTemplateControl (); tc.LoadTemplate (null); }
public void IFilterResolutionService_Deny_Unrestricted () { IFilterResolutionService frs = new NonAbstractTemplateControl (); try { Assert.AreEqual (0, frs.CompareFilters (String.Empty, String.Empty), "CompareFilters"); } catch (NotImplementedException) { // mono } try { Assert.IsFalse (frs.EvaluateFilter (String.Empty), "EvaluateFilter"); } catch (NotImplementedException) { // mono } }
public void Events_Deny_Unrestricted () { NonAbstractTemplateControl tc = new NonAbstractTemplateControl (); tc.AbortTransaction += new EventHandler (Handler); tc.CommitTransaction += new EventHandler (Handler); tc.Error += new EventHandler (Handler); tc.AbortTransaction -= new EventHandler (Handler); tc.CommitTransaction -= new EventHandler (Handler); tc.Error -= new EventHandler (Handler); }
public void ParseControl_Deny_Unrestricted () { NonAbstractTemplateControl tc = new NonAbstractTemplateControl (); try { tc.ParseControl (null); } catch (NullReferenceException) { #if NET_2_0 throw; #else Assert.Ignore ("NRE"); #endif } }