summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId.Test/UI/OpenIdTextBoxTest.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-08-08 15:46:40 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2008-08-08 15:46:40 -0700
commit3fb65cccfa1e35de45b3b42cf0f7867b77dca254 (patch)
tree47b16124b0a19aa0e27662f24b9e41a891cf7ee0 /src/DotNetOpenId.Test/UI/OpenIdTextBoxTest.cs
parent47e9212eebc0bc4d002ce1822e0b2959bd14e244 (diff)
downloadDotNetOpenAuth-3fb65cccfa1e35de45b3b42cf0f7867b77dca254.zip
DotNetOpenAuth-3fb65cccfa1e35de45b3b42cf0f7867b77dca254.tar.gz
DotNetOpenAuth-3fb65cccfa1e35de45b3b42cf0f7867b77dca254.tar.bz2
Put all ASP.NET depending tests inside a UI directory.
Diffstat (limited to 'src/DotNetOpenId.Test/UI/OpenIdTextBoxTest.cs')
-rw-r--r--src/DotNetOpenId.Test/UI/OpenIdTextBoxTest.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/DotNetOpenId.Test/UI/OpenIdTextBoxTest.cs b/src/DotNetOpenId.Test/UI/OpenIdTextBoxTest.cs
new file mode 100644
index 0000000..6d5d703
--- /dev/null
+++ b/src/DotNetOpenId.Test/UI/OpenIdTextBoxTest.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using NUnit.Framework;
+using DotNetOpenId.Test.Hosting;
+using System.Net;
+
+namespace DotNetOpenId.Test.UI {
+ [TestFixture]
+ public class OpenIdTextBoxTest {
+ [Test]
+ public void TextBoxAppears() {
+ string html = TestSupport.Host.ProcessRequest(TestSupport.ConsumerPage);
+ Assert.IsTrue(html.Contains("<input "));
+ }
+ }
+}