diff options
author | Jo Shields <directhex@apebox.org> | 2014-02-19 22:12:43 +0000 |
---|---|---|
committer | Jo Shields <directhex@apebox.org> | 2014-02-19 22:12:43 +0000 |
commit | 9972bf87b4f27d9c8f358ef8414ac1ab957a2f0f (patch) | |
tree | 5bb230c1d698659115f918e243c1d4b0aa4c7f51 /mcs/class/System/Test/System.Net/IPAddressTest.cs | |
parent | d0a215f5626219ff7927f576588a777e5331c7be (diff) | |
download | mono-upstream/3.2.8+dfsg.tar.gz |
Imported Upstream version 3.2.8+dfsgupstream/3.2.8+dfsg
Diffstat (limited to 'mcs/class/System/Test/System.Net/IPAddressTest.cs')
-rw-r--r-- | mcs/class/System/Test/System.Net/IPAddressTest.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/class/System/Test/System.Net/IPAddressTest.cs b/mcs/class/System/Test/System.Net/IPAddressTest.cs index 965b1cd44a..a07c1a19d9 100644 --- a/mcs/class/System/Test/System.Net/IPAddressTest.cs +++ b/mcs/class/System/Test/System.Net/IPAddressTest.cs @@ -545,6 +545,15 @@ public class IPAddressTest Assert.IsTrue (IPAddress.Parse ("FF01::1").IsIPv6Multicast, "#2"); Assert.IsFalse (IPAddress.Parse ("FE00::1").IsIPv6Multicast, "#3"); } + +#if NET_4_0 + [Test] + public void IsIPv6Teredo () + { + Assert.IsTrue (IPAddress.Parse ("2001::1").IsIPv6Teredo, "#1"); + Assert.IsFalse (IPAddress.Parse ("2002::1").IsIPv6Teredo, "#2"); + } +#endif } } |