Author: gert
Date: 2007-11-09 02:57:36 -0500 (Fri, 09 Nov 2007)
New Revision: 89303

Modified:
   trunk/gert/standalone/bug82216/default.build
   trunk/gert/standalone/bug82216/test.cs
Log:
Allow test to pass on Mono without privatebinpath working.


Modified: trunk/gert/standalone/bug82216/default.build
===================================================================
--- trunk/gert/standalone/bug82216/default.build        2007-11-09 07:41:23 UTC 
(rev 89302)
+++ trunk/gert/standalone/bug82216/default.build        2007-11-09 07:57:36 UTC 
(rev 89303)
@@ -38,7 +38,8 @@
        <target name="compile">
                <mkdir dir="web/bin" />
                <mkdir dir="web/libraries" />
-               <csc target="library" define="${csc.defines}" 
output="web/libraries/Mono.Web.Security.dll" warnaserror="true" 
warninglevel="4">
+               <!-- compile assembly in web/libraries once privatebinpath is 
working -->
+               <csc target="library" define="${csc.defines}" 
output="web/bin/Mono.Web.Security.dll" warnaserror="true" warninglevel="4">
                        <sources>
                                <include name="PasswordBox.cs" />
                                <include name="SecuredPanel.cs" />

Modified: trunk/gert/standalone/bug82216/test.cs
===================================================================
--- trunk/gert/standalone/bug82216/test.cs      2007-11-09 07:41:23 UTC (rev 
89302)
+++ trunk/gert/standalone/bug82216/test.cs      2007-11-09 07:57:36 UTC (rev 
89303)
@@ -32,7 +32,7 @@
                h.Execute ("Default.aspx", sw);
                string result = sw.ToString ();
 #if MONO
-               if (!result.Contains ("<input id=\"TextBox1\" type=\"text\" 
value=\"Normal TextBox\" name=\"TextBox1\" />")) {
+               if (!result.Contains ("<input type=\"text\" value=\"Normal 
TextBox\" name=\"TextBox1\" id=\"TextBox1\" />")) {
 #else
                if (!result.Contains ("<input name=\"TextBox1\" type=\"text\" 
value=\"Normal TextBox\" id=\"TextBox1\" />")) {
 #endif
@@ -52,7 +52,7 @@
                        return 4;
                }
 #if MONO
-               if (!result.Contains ("<input id=\"TextBox2\" type=\"text\" 
value=\"Another TextBox\" name=\"TextBox2\" />")) {
+               if (!result.Contains ("<input type=\"text\" value=\"Another 
TextBox\" name=\"TextBox2\" id=\"TextBox2\" />")) {
 #else
                if (!result.Contains ("<input name=\"TextBox2\" type=\"text\" 
value=\"Another TextBox\" id=\"TextBox2\" />")) {
 #endif

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to