[Mono-dev] framework for system.web tests

Andrew Skiba andrews at mainsoft.com
Tue May 9 03:57:04 EDT 2006


Hello, Chris.

Are you sure you compiled the sources from the attached zip? Because in
those sources I see code

			Console.WriteLine (res);
			Assert.AreEqual (@"<span><a
href=""#_SkipLink""><img alt=""Skip Navigation Links"" height=""0""
width=""0""
src=""/NunitWeb/WebResource.axd?d=HkJ8fQo6w7kxQaySxHq4Lg2&amp;t=63279744
5633148088"" style=""border-width:0px;"" /></a><a
id=""_SkipLink""></a></span>",
				res);

And it's strange that such code simultaneously outputs "<!DOCTYPE ..."
and does not fail on Assert.AreEqual ("<span...", res). Anyway, I don't
think this version of framework is relevant. In last 2 days I added
functionality of aspx, and now most tests will be written using aspx,
and not using custom handler. So I'm going to narrow the problem I
reported yesterday, and hopefully to provide a testcase.

Thank you.
Andrew.

> Hm, If I compile Program.cs to Program.exe and run it with 
> mono, here's what I see:
> 
> $ mono Program.exe
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 
> Transitional//EN" 
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> 
> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1"><title>
>         Untitled Page
> </title></head>
> <body>
>     <form name="form1" method="post" action="MyPage.aspx" 
> id="form1"> <input type="hidden" name="__VIEWSTATE" value="" />
> 
>     <div>
> 
>     </div>
>     </form>
> </body>
> </html>
> 
> ---
> 
> Looks like it's working?
> 
> Chris
> 



More information about the Mono-devel-list mailing list