Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@@ -138,10 +138,8 @@ namespace MonoCasTests.System.Web {
CasHttpWorkerRequest hwr = new CasHttpWorkerRequest ();
Assert.IsNull (hwr.MachineConfigPath, "MachineConfigPath");
Assert.IsNull (hwr.MachineInstallDirectory, "MachineInstallDirectory");
#if NET_2_0
Assert.IsNotNull (hwr.RequestTraceIdentifier, "RequestTraceIdentifier");
Assert.IsNull (hwr.RootWebConfigPath, "RootWebConfigPath");
#endif
}
private void Callback (HttpWorkerRequest wr, object extraData)
@@ -204,12 +202,10 @@ namespace MonoCasTests.System.Web {
Assert.AreEqual (0, hwr.GetConnectionID (), "GetConnectionID");
Assert.AreEqual (0, hwr.GetUrlContextID (), "GetUrlContextID");
Assert.AreEqual (IntPtr.Zero, hwr.GetVirtualPathToken (), "GetVirtualPathToken");
#if NET_2_0
Assert.AreEqual (0, hwr.GetPreloadedEntityBody (new byte[0], 0), "GetPreloadedEntityBody(byte[],int)");
Assert.AreEqual (0, hwr.GetPreloadedEntityBodyLength (), "GetPreloadedEntityBodyLength");
Assert.AreEqual (0, hwr.GetTotalEntityBodyLength (), "GetTotalEntityBodyLength");
Assert.AreEqual (0, hwr.ReadEntityBody (new byte[1], 0, 1), "ReadEntityBody(byte[],int,int)");
#endif
}
[Test]