public void MarkPortalOnline_Null() { #if __TVOS__ Assert.Throws <NotSupportedException> (() => CaptiveNetwork.MarkPortalOnline(null)); #else Assert.Throws <ArgumentNullException> (() => CaptiveNetwork.MarkPortalOnline(null)); #endif }
public void MarkPortalOnline() { TestRuntime.AssertSystemVersion(PlatformName.MacOSX, 10, 8, throwIfOtherPlatform: false); #if __TVOS__ Assert.Throws <NotSupportedException> (() => CaptiveNetwork.MarkPortalOnline("xamxam")); #else Assert.False(CaptiveNetwork.MarkPortalOnline("xamxam")); #endif }
public void MarkPortalOnline() { Assert.False(CaptiveNetwork.MarkPortalOnline("xamxam")); }
public void MarkPortalOnline_Null() { CaptiveNetwork.MarkPortalOnline(null); }
public void MarkPortalOnline() { TestRuntime.AssertSystemVersion(PlatformName.MacOSX, 10, 8, throwIfOtherPlatform: false); Assert.False(CaptiveNetwork.MarkPortalOnline("xamxam")); }