Author: gert
Date: 2007-09-01 09:13:07 -0400 (Sat, 01 Sep 2007)
New Revision: 85165

Added:
   trunk/gert/interactive/bug82656/
   trunk/gert/interactive/bug82656/MainForm.cs
   trunk/gert/interactive/bug82656/default.build
   trunk/gert/interactive/bug82657/
   trunk/gert/interactive/bug82657/MainForm.cs
   trunk/gert/interactive/bug82657/default.build
Modified:
   trunk/gert/interactive/known_issues
Log:
More tests.


Added: trunk/gert/interactive/bug82656/MainForm.cs
===================================================================
--- trunk/gert/interactive/bug82656/MainForm.cs 2007-09-01 13:00:55 UTC (rev 
85164)
+++ trunk/gert/interactive/bug82656/MainForm.cs 2007-09-01 13:13:07 UTC (rev 
85165)
@@ -0,0 +1,134 @@
+using System;
+using System.Drawing;
+using System.Globalization;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+       public MainForm ()
+       {
+               // 
+               // _normalCheckBox
+               // 
+               _normalCheckBox = new CheckBox ();
+               _normalCheckBox.Checked = true;
+               _normalCheckBox.Location = new Point (55, 8);
+               _normalCheckBox.Size = new Size (60, 20);
+               _normalCheckBox.Text = "Normal";
+               Controls.Add (_normalCheckBox);
+               // 
+               // _buttonCheckBox
+               // 
+               _buttonCheckBox = new CheckBox ();
+               _buttonCheckBox.Appearance = Appearance.Button;
+               _buttonCheckBox.Checked = true;
+               _buttonCheckBox.Location = new Point (170, 8);
+               _buttonCheckBox.Size = new Size (60, 20);
+               _buttonCheckBox.Text = "Button";
+               Controls.Add (_buttonCheckBox);
+               // 
+               // _enabledCheckBox
+               // 
+               _enabledCheckBox = new CheckBox ();
+               _enabledCheckBox.Checked = true;
+               _enabledCheckBox.Location = new Point (8, 55);
+               _enabledCheckBox.Size = new Size (70, 20);
+               _enabledCheckBox.Text = "Enabled";
+               _enabledCheckBox.CheckedChanged += new EventHandler 
(EnabledCheckBox_CheckedChanged);
+               Controls.Add (_enabledCheckBox);
+               // 
+               // MainForm
+               // 
+               ClientSize = new Size (300, 80);
+               Location = new Point (250, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "bug #82656";
+               Load += new EventHandler (MainForm_Load);
+       }
+
+       [STAThread]
+       static void Main ()
+       {
+               Application.EnableVisualStyles ();
+               Application.Run (new MainForm ());
+       }
+
+       void MainForm_Load (object sender, EventArgs e)
+       {
+               InstructionsForm instructionsForm = new InstructionsForm ();
+               instructionsForm.Show ();
+       }
+
+       void EnabledCheckBox_CheckedChanged (object sender, EventArgs e)
+       {
+               _normalCheckBox.Enabled = _enabledCheckBox.Checked;
+               _buttonCheckBox.Enabled = _enabledCheckBox.Checked;
+       }
+
+       private CheckBox _normalCheckBox;
+       private CheckBox _buttonCheckBox;
+       private CheckBox _enabledCheckBox;
+}
+
+public class InstructionsForm : Form
+{
+       public InstructionsForm ()
+       {
+               // 
+               // _tabControl
+               // 
+               _tabControl = new TabControl ();
+               _tabControl.Dock = DockStyle.Fill;
+               Controls.Add (_tabControl);
+               // 
+               // _bugDescriptionText1
+               // 
+               _bugDescriptionText1 = new TextBox ();
+               _bugDescriptionText1.Dock = DockStyle.Fill;
+               _bugDescriptionText1.Multiline = true;
+               _bugDescriptionText1.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Expected result on start-up:{0}{0}" +
+                       "1. The Normal checkbox has a sunken border.",
+                       Environment.NewLine);
+               // 
+               // _tabPage1
+               // 
+               _tabPage1 = new TabPage ();
+               _tabPage1.Text = "#1";
+               _tabPage1.Controls.Add (_bugDescriptionText1);
+               _tabControl.Controls.Add (_tabPage1);
+               // 
+               // _bugDescriptionText2
+               // 
+               _bugDescriptionText2 = new TextBox ();
+               _bugDescriptionText2.Dock = DockStyle.Fill;
+               _bugDescriptionText2.Multiline = true;
+               _bugDescriptionText2.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Steps to execute:{0}{0}" +
+                       "1. Uncheck the Enabled checkbox.{0}{0}" +
+                       "Expected result:{0}{0}" +
+                       "1. The checkbox is grayed out.{0}{0}" +
+                       "2. All borders of the checkbox remain visible.",
+                       Environment.NewLine);
+               // 
+               // _tabPage2
+               // 
+               _tabPage2 = new TabPage ();
+               _tabPage2.Text = "#2";
+               _tabPage2.Controls.Add (_bugDescriptionText2);
+               _tabControl.Controls.Add (_tabPage2);
+               // 
+               // InstructionsForm
+               // 
+               ClientSize = new Size (330, 170);
+               Location = new Point (600, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "Instructions - bug #82656";
+       }
+
+       private TextBox _bugDescriptionText1;
+       private TextBox _bugDescriptionText2;
+       private TabControl _tabControl;
+       private TabPage _tabPage1;
+       private TabPage _tabPage2;
+}


Property changes on: trunk/gert/interactive/bug82656/MainForm.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/gert/interactive/bug82656/default.build
===================================================================
--- trunk/gert/interactive/bug82656/default.build       2007-09-01 13:00:55 UTC 
(rev 85164)
+++ trunk/gert/interactive/bug82656/default.build       2007-09-01 13:13:07 UTC 
(rev 85165)
@@ -0,0 +1,62 @@
+<project name="bug82656" default="rebuild">
+       <target name="mono-1.0">
+               <property name="csc.defines" 
value="NET_1_0,NET_1_1,ONLY_1_1,MONO" />
+       </target>
+
+       <target name="mono-2.0">
+               <property name="csc.defines" 
value="NET_1_0,NET_1_1,NET_2_0,ONLY_2_0,MONO" />
+       </target>
+
+       <target name="net-1.1">
+               <property name="csc.defines" value="NET_1_0,NET_1_1,ONLY_1_1" />
+       </target>
+
+       <target name="net-2.0">
+               <property name="csc.defines" 
value="NET_1_0,NET_1_1,NET_2_0,ONLY_2_0" />
+       </target>
+
+       <property name="frameworks" value="mono-1.0,mono-2.0,net-1.1,net-2.0" />
+
+       <target name="clean">
+               <delete>
+                       <fileset>
+                               <include name="out" />
+                               <include name="test.exe" />
+                       </fileset>
+               </delete>
+       </target>
+
+       <target name="build">
+               <property name="original.targetframework" 
value="${nant.settings.currentframework}" />
+
+               <foreach property="framework" item="String" in="${frameworks}" 
delim=",">
+                       <if test="${framework::exists(framework)}">
+                               <property name="nant.settings.currentframework" 
value="${framework}" />
+                               <call 
target="${nant.settings.currentframework}" />
+                               <call target="run" />
+                               <call target="clean" />
+                       </if>
+               </foreach>
+
+               <property name="nant.settings.currentframework" 
value="${original.targetframework}" />
+       </target>
+
+       <target name="compile">
+               <csc target="winexe" define="${csc.defines}" output="test.exe" 
warnaserror="true" warninglevel="4">
+                       <sources>
+                               <include name="MainForm.cs" />
+                       </sources>
+                       <references>
+                               <include name="System.Drawing.dll" />
+                               <include name="System.Windows.Forms.dll" />
+                       </references>
+               </csc>
+       </target>
+
+       <target name="run" depends="compile">
+               <exec program="test.exe" managed="true" output="out" />
+               <fail if="${file::exists('out')}" />
+       </target>
+
+       <target name="rebuild" depends="clean, build" />
+</project>


Property changes on: trunk/gert/interactive/bug82656/default.build
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/gert/interactive/bug82657/MainForm.cs
===================================================================
--- trunk/gert/interactive/bug82657/MainForm.cs 2007-09-01 13:00:55 UTC (rev 
85164)
+++ trunk/gert/interactive/bug82657/MainForm.cs 2007-09-01 13:13:07 UTC (rev 
85165)
@@ -0,0 +1,96 @@
+using System;
+using System.Drawing;
+using System.Globalization;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+       public MainForm ()
+       {
+               // 
+               // _normalCheckBox
+               // 
+               _normalCheckBox = new CheckBox ();
+               _normalCheckBox.Checked = true;
+               _normalCheckBox.Location = new Point (55, 8);
+               _normalCheckBox.Size = new Size (60, 20);
+               _normalCheckBox.Text = "Normal";
+               Controls.Add (_normalCheckBox);
+               // 
+               // _buttonCheckBox
+               // 
+               _buttonCheckBox = new CheckBox ();
+               _buttonCheckBox.Appearance = Appearance.Button;
+               _buttonCheckBox.Checked = true;
+               _buttonCheckBox.Location = new Point (170, 8);
+               _buttonCheckBox.Size = new Size (60, 20);
+               _buttonCheckBox.Text = "Button";
+               Controls.Add (_buttonCheckBox);
+               // 
+               // MainForm
+               // 
+               ClientSize = new Size (300, 50);
+               Location = new Point (250, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "bug #82657";
+               Load += new EventHandler (MainForm_Load);
+       }
+
+       [STAThread]
+       static void Main ()
+       {
+               Application.EnableVisualStyles ();
+               Application.Run (new MainForm ());
+       }
+
+       void MainForm_Load (object sender, EventArgs e)
+       {
+               InstructionsForm instructionsForm = new InstructionsForm ();
+               instructionsForm.Show ();
+       }
+
+       private CheckBox _normalCheckBox;
+       private CheckBox _buttonCheckBox;
+}
+
+public class InstructionsForm : Form
+{
+       public InstructionsForm ()
+       {
+               // 
+               // _tabControl
+               // 
+               _tabControl = new TabControl ();
+               _tabControl.Dock = DockStyle.Fill;
+               Controls.Add (_tabControl);
+               // 
+               // _bugDescriptionText1
+               // 
+               _bugDescriptionText1 = new TextBox ();
+               _bugDescriptionText1.Dock = DockStyle.Fill;
+               _bugDescriptionText1.Multiline = true;
+               _bugDescriptionText1.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Expected result on start-up:{0}{0}" +
+                       "1. The left checkbox is a \"normal\" checkbox.{0}{0}" +
+                       "1. The right checkbox is a \"button\" checkbox.",
+                       Environment.NewLine);
+               // 
+               // _tabPage1
+               // 
+               _tabPage1 = new TabPage ();
+               _tabPage1.Text = "#1";
+               _tabPage1.Controls.Add (_bugDescriptionText1);
+               _tabControl.Controls.Add (_tabPage1);
+               // 
+               // InstructionsForm
+               // 
+               ClientSize = new Size (300, 110);
+               Location = new Point (600, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "Instructions - bug #82657";
+       }
+
+       private TextBox _bugDescriptionText1;
+       private TabControl _tabControl;
+       private TabPage _tabPage1;
+}


Property changes on: trunk/gert/interactive/bug82657/MainForm.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/gert/interactive/bug82657/default.build
===================================================================
--- trunk/gert/interactive/bug82657/default.build       2007-09-01 13:00:55 UTC 
(rev 85164)
+++ trunk/gert/interactive/bug82657/default.build       2007-09-01 13:13:07 UTC 
(rev 85165)
@@ -0,0 +1,62 @@
+<project name="bug82657" default="rebuild">
+       <target name="mono-1.0">
+               <property name="csc.defines" 
value="NET_1_0,NET_1_1,ONLY_1_1,MONO" />
+       </target>
+
+       <target name="mono-2.0">
+               <property name="csc.defines" 
value="NET_1_0,NET_1_1,NET_2_0,ONLY_2_0,MONO" />
+       </target>
+
+       <target name="net-1.1">
+               <property name="csc.defines" value="NET_1_0,NET_1_1,ONLY_1_1" />
+       </target>
+
+       <target name="net-2.0">
+               <property name="csc.defines" 
value="NET_1_0,NET_1_1,NET_2_0,ONLY_2_0" />
+       </target>
+
+       <property name="frameworks" value="mono-1.0,mono-2.0,net-1.1,net-2.0" />
+
+       <target name="clean">
+               <delete>
+                       <fileset>
+                               <include name="out" />
+                               <include name="test.exe" />
+                       </fileset>
+               </delete>
+       </target>
+
+       <target name="build">
+               <property name="original.targetframework" 
value="${nant.settings.currentframework}" />
+
+               <foreach property="framework" item="String" in="${frameworks}" 
delim=",">
+                       <if test="${framework::exists(framework)}">
+                               <property name="nant.settings.currentframework" 
value="${framework}" />
+                               <call 
target="${nant.settings.currentframework}" />
+                               <call target="run" />
+                               <call target="clean" />
+                       </if>
+               </foreach>
+
+               <property name="nant.settings.currentframework" 
value="${original.targetframework}" />
+       </target>
+
+       <target name="compile">
+               <csc target="winexe" define="${csc.defines}" output="test.exe" 
warnaserror="true" warninglevel="4">
+                       <sources>
+                               <include name="MainForm.cs" />
+                       </sources>
+                       <references>
+                               <include name="System.Drawing.dll" />
+                               <include name="System.Windows.Forms.dll" />
+                       </references>
+               </csc>
+       </target>
+
+       <target name="run" depends="compile">
+               <exec program="test.exe" managed="true" output="out" />
+               <fail if="${file::exists('out')}" />
+       </target>
+
+       <target name="rebuild" depends="clean, build" />
+</project>


Property changes on: trunk/gert/interactive/bug82657/default.build
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: trunk/gert/interactive/known_issues
===================================================================
--- trunk/gert/interactive/known_issues 2007-09-01 13:00:55 UTC (rev 85164)
+++ trunk/gert/interactive/known_issues 2007-09-01 13:13:07 UTC (rev 85165)
@@ -57,7 +57,6 @@
 bug80657/**
 bug80689/**
 bug80745/**
-bug80853/**
 bug80854/**
 bug80855/**
 bug80887/**
@@ -68,7 +67,6 @@
 bug81178/**
 bug81267/**
 bug81389/**
-bug81402/**
 bug81422/**
 bug81423/**
 bug81480/**
@@ -127,3 +125,5 @@
 bug82608/**
 bug82653/**
 bug82654/**
+bug82656/**
+bug82657/**

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

Reply via email to