}
[Test]
-#if NET_2_0
[ExpectedException (typeof (NullReferenceException))]
-#else
- [ExpectedException (typeof (ArgumentNullException))]
-#endif
public void HttpRequestPublicCtor ()
{
HttpRequest hr = new HttpRequest ("file", "http://www.mono-project.com/", "");
}
[Test]
-#if ONLY_1_1
- [Category ("NotDotNet")] // we don't want to duplicate this
-#endif
public void DefaultValues ()
{
HttpClientCertificate hcc = GetHttpClientCertificate ();
}
[Test]
-#if ONLY_1_1
- [Category ("NotDotNet")] // we don't want to duplicate this
-#endif
public void MirrorValues ()
{
hwr.MirrorVariableName = true;
}
[Test]
-#if ONLY_1_1
- [Category ("NotDotNet")] // we don't want to duplicate this
-#endif
public void MirrorValues_Alternate ()
{
hwr.MirrorVariableName = true;
}
[Test]
-#if ONLY_1_1
- [Category ("NotDotNet")] // we don't want to duplicate this
-#endif
public void HttpWorkerRequest ()
{
// required to "activate" later call as IsPresent will return true
}
[Test]
-#if ONLY_1_1
- [Category ("NotDotNet")] // we don't want to duplicate this
-#endif
public void Valid ()
{
HttpClientCertificate hcc = GetHttpClientCertificate ();
}
[Test]
-#if ONLY_1_1
- [Category ("NotDotNet")] // we don't want to duplicate this
-#endif
public void Add ()
{
HttpClientCertificate hcc = GetHttpClientCertificate ();
}
[Test]
-#if ONLY_1_1
- [Category ("NotDotNet")] // we don't want to duplicate this
-#endif
public void Get ()
{
HttpClientCertificate hcc = GetHttpClientCertificate ();