using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using DotNetOpenId.RelyingParty; using System.Net; using System.Collections.Specialized; using System.IO; using System.Text.RegularExpressions; using System.Diagnostics; namespace DotNetOpenId.Test.UI { [TestFixture] public class WebControlTesting { void parameterizedWebClientTest(Identifier identityUrl, AuthenticationRequestMode requestMode, AuthenticationStatus expectedResult) { Uri redirectToProviderUrl; HttpWebRequest rpRequest = (HttpWebRequest)WebRequest.Create(TestSupport.GetFullUrl(TestSupport.ConsumerPage)); NameValueCollection query = new NameValueCollection(); using (HttpWebResponse response = (HttpWebResponse)rpRequest.GetResponse()) { using (StreamReader sr = new StreamReader(response.GetResponseStream())) { Regex regex = new Regex(@"\