Beispiel #1
0
        public void VersionProperties_Deny_Unrestricted()
        {
            HttpBrowserCapabilities cap = new VersionHttpBrowserCapabilities();

            Assert.IsNotNull(cap.ClrVersion, "ClrVersion");
            Assert.IsNotNull(cap.EcmaScriptVersion, "EcmaScriptVersion");
            Assert.IsNotNull(cap.MSDomVersion, "MSDomVersion");
            Assert.IsNotNull(cap.W3CDomVersion, "W3CDomVersion");
        }
		public void VersionProperties_Deny_Unrestricted ()
		{
			HttpBrowserCapabilities cap = new VersionHttpBrowserCapabilities ();
			Assert.IsNotNull (cap.ClrVersion, "ClrVersion");
			Assert.IsNotNull (cap.EcmaScriptVersion, "EcmaScriptVersion");
			Assert.IsNotNull (cap.MSDomVersion, "MSDomVersion");
			Assert.IsNotNull (cap.W3CDomVersion, "W3CDomVersion");
		}