add My.ashx and Global.asax to grasshopper test webapp; use project reference to...
[mono.git] / mcs / class / System.Web / Test / mainsoft / MainsoftWebApp20 / MyPage.aspx.cs
1 #if TARGET_JVM
2 #define BUG_78521_FIXED
3 #endif
4
5 using System;
6 using System.Web.UI;\r
7 using MonoTests.SystemWeb.Framework;
8
9 public partial class MyPage : System.Web.UI.Page
10 {
11         //FIXME: mono defines its own constructor here
12 #if BUG_78521_FIXED
13         public MyPage ()\r
14 #else\r
15         protected override void OnPreInit (EventArgs e)\r
16 #endif\r
17         {\r
18                 WebTest t = WebTest.CurrentTest;\r
19                 if (t != null)\r
20                         t.Invoke (this);\r
21         }
22                 
23         public override void VerifyRenderingInServerForm (Control c)
24         {
25
26         }
27 }