Author: gert
Date: 2007-05-31 14:09:29 -0400 (Thu, 31 May 2007)
New Revision: 78362

Added:
   trunk/gert/interactive/bug81219/
   trunk/gert/interactive/bug81219/MainForm.cs
   trunk/gert/interactive/bug81219/default.build
   trunk/gert/interactive/bug81255/
   trunk/gert/interactive/bug81255/MainForm.cs
   trunk/gert/interactive/bug81255/default.build
   trunk/gert/interactive/bug81267/
   trunk/gert/interactive/bug81267/MainForm.cs
   trunk/gert/interactive/bug81267/default.build
   trunk/gert/interactive/bug81285/
   trunk/gert/interactive/bug81285/MainForm.cs
   trunk/gert/interactive/bug81285/default.build
   trunk/gert/interactive/bug81311/
   trunk/gert/interactive/bug81311/MainForm.cs
   trunk/gert/interactive/bug81311/default.build
   trunk/gert/interactive/bug81389/
   trunk/gert/interactive/bug81389/MainForm.cs
   trunk/gert/interactive/bug81389/default.build
Modified:
   trunk/gert/interactive/known_issues
Log:
Added some additional tests.


Added: trunk/gert/interactive/bug81219/MainForm.cs
===================================================================
--- trunk/gert/interactive/bug81219/MainForm.cs 2007-05-31 17:46:36 UTC (rev 
78361)
+++ trunk/gert/interactive/bug81219/MainForm.cs 2007-05-31 18:09:29 UTC (rev 
78362)
@@ -0,0 +1,84 @@
+using System;
+using System.Drawing;
+using System.Globalization;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+       public MainForm ()
+       {
+               // 
+               // MainForm
+               // 
+               ClientSize = new Size (300, 100);
+               Location = new Point (200, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "bug #81219";
+               Load += new EventHandler (MainForm_Load);
+       }
+
+       [STAThread]
+       public static void Main ()
+       {
+               Application.Run (new MainForm ());
+       }
+
+       protected override void OnPaint (PaintEventArgs pe)
+       {
+               base.OnPaint (pe);
+
+               Font = new Font ("Arial", 12);
+               StringFormat format = StringFormat.GenericTypographic;
+               format.SetDigitSubstitution (0, 
StringDigitSubstitute.Traditional);
+               format.FormatFlags |= (StringFormatFlags.DisplayFormatControl | 
StringFormatFlags.NoWrap);
+               pe.Graphics.DrawString ("THIS IS A FEED\u0000", Font, new 
SolidBrush (ForeColor), 10, 10, format);
+       }
+
+       void MainForm_Load (object sender, EventArgs e)
+       {
+               InstructionsForm instructionsForm = new InstructionsForm ();
+               instructionsForm.Show ();
+       }
+}
+
+public class InstructionsForm : Form
+{
+       public InstructionsForm ()
+       {
+               // 
+               // _tabControl
+               // 
+               _tabControl = new TabControl ();
+               _tabControl.Dock = DockStyle.Fill;
+               Controls.Add (_tabControl);
+               // 
+               // _bugDescriptionText1
+               // 
+               _bugDescriptionText1 = new TextBox ();
+               _bugDescriptionText1.Multiline = true;
+               _bugDescriptionText1.Dock = DockStyle.Fill;
+               _bugDescriptionText1.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Expected result on start-up:{0}{0}" +
+                       "1. An unknown character \"box\" is displayed after the 
text " +
+                       "\"THIS IS A FEED\".",
+                       Environment.NewLine);
+               // 
+               // _tabPage1
+               // 
+               _tabPage1 = new TabPage ();
+               _tabPage1.Text = "#1";
+               _tabPage1.Controls.Add (_bugDescriptionText1);
+               _tabControl.Controls.Add (_tabPage1);
+               // 
+               // InstructionsForm
+               // 
+               ClientSize = new Size (300, 150);
+               Location = new Point (550, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "Instructions - bug #81219";
+       }
+
+       private TextBox _bugDescriptionText1;
+       private TabControl _tabControl;
+       private TabPage _tabPage1;
+}


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

Added: trunk/gert/interactive/bug81219/default.build
===================================================================
--- trunk/gert/interactive/bug81219/default.build       2007-05-31 17:46:36 UTC 
(rev 78361)
+++ trunk/gert/interactive/bug81219/default.build       2007-05-31 18:09:29 UTC 
(rev 78362)
@@ -0,0 +1,62 @@
+<project name="bug81219" 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/bug81219/default.build
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/gert/interactive/bug81255/MainForm.cs
===================================================================
--- trunk/gert/interactive/bug81255/MainForm.cs 2007-05-31 17:46:36 UTC (rev 
78361)
+++ trunk/gert/interactive/bug81255/MainForm.cs 2007-05-31 18:09:29 UTC (rev 
78362)
@@ -0,0 +1,92 @@
+using System;
+using System.Drawing;
+using System.Globalization;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+       public MainForm ()
+       {
+               // 
+               // _selectButton
+               //
+               _selectButton = new Button ();
+               _selectButton.Location = new Point (8, 8);
+               _selectButton.Size = new Size (60, 20);
+               _selectButton.Text = "Select";
+               Controls.Add (_selectButton);
+               // 
+               // _unselectButton
+               //
+               _unselectButton = new Button ();
+               _unselectButton.Location = new Point (130, 8);
+               _unselectButton.Size = new Size (60, 20);
+               _unselectButton.Text = "Unselect";
+               Controls.Add (_unselectButton);
+               // 
+               // MainForm
+               // 
+               AutoScaleBaseSize = new Size (5, 13);
+               ClientSize = new Size (200, 45);
+               Location = new Point (300, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "bug #81255";
+               Load += new EventHandler (MainForm_Load);
+       }
+
+       [STAThread]
+       static void Main (string [] args)
+       {
+               Application.Run (new MainForm ());
+       }
+
+       void MainForm_Load (object sender, EventArgs e)
+       {
+               InstructionsForm instructionsForm = new InstructionsForm ();
+               instructionsForm.Show ();
+       }
+
+       private Button _selectButton;
+       private Button _unselectButton;
+}
+
+public class InstructionsForm : Form
+{
+       public InstructionsForm ()
+       {
+               // 
+               // _tabControl
+               // 
+               _tabControl = new TabControl ();
+               _tabControl.Dock = DockStyle.Fill;
+               Controls.Add (_tabControl);
+               // 
+               // _bugDescriptionText1
+               // 
+               _bugDescriptionText1 = new TextBox ();
+               _bugDescriptionText1.Multiline = true;
+               _bugDescriptionText1.Dock = DockStyle.Fill;
+               _bugDescriptionText1.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Expected result on start-up:{0}{0}" +
+                       "1. The text in the \"Unselect\" button is fully 
visible.",
+                       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 (550, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "Instructions - bug #81255";
+       }
+
+       private TextBox _bugDescriptionText1;
+       private TabControl _tabControl;
+       private TabPage _tabPage1;
+}


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

Added: trunk/gert/interactive/bug81255/default.build
===================================================================
--- trunk/gert/interactive/bug81255/default.build       2007-05-31 17:46:36 UTC 
(rev 78361)
+++ trunk/gert/interactive/bug81255/default.build       2007-05-31 18:09:29 UTC 
(rev 78362)
@@ -0,0 +1,62 @@
+<project name="bug81255" 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/bug81255/default.build
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/gert/interactive/bug81267/MainForm.cs
===================================================================
--- trunk/gert/interactive/bug81267/MainForm.cs 2007-05-31 17:46:36 UTC (rev 
78361)
+++ trunk/gert/interactive/bug81267/MainForm.cs 2007-05-31 18:09:29 UTC (rev 
78362)
@@ -0,0 +1,133 @@
+using System;
+using System.Data;
+using System.Drawing;
+using System.Globalization;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+       public MainForm ()
+       {
+               // 
+               // _dataGrid
+               // 
+               _dataGrid = new DataGrid ();
+               _dataGrid.DataMember = string.Empty;
+               _dataGrid.Dock = DockStyle.Top;
+               _dataGrid.Height = 100;
+               _dataGrid.TabIndex = 0;
+               Controls.Add (_dataGrid);
+               // 
+               // _tabControl
+               // 
+               _tabControl = new TabControl ();
+               _tabControl.Dock = DockStyle.Bottom;
+               _tabControl.Height = 250;
+               Controls.Add (_tabControl);
+               // 
+               // _bugDescriptionText1
+               // 
+               _bugDescriptionText1 = new TextBox ();
+               _bugDescriptionText1.Multiline = true;
+               _bugDescriptionText1.Dock = DockStyle.Fill;
+               _bugDescriptionText1.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Expected result on start-up{0}{0}" +
+                       "1. The value of the \"Name\" column starts with 
\"Miguel\".",
+                       Environment.NewLine);
+               // 
+               // _tabPage1
+               // 
+               _tabPage1 = new TabPage ();
+               _tabPage1.Text = "#1";
+               _tabPage1.Controls.Add (_bugDescriptionText1);
+               _tabControl.Controls.Add (_tabPage1);
+               // 
+               // _bugDescriptionText2
+               // 
+               _bugDescriptionText2 = new TextBox ();
+               _bugDescriptionText2.Multiline = true;
+               _bugDescriptionText2.Dock = DockStyle.Fill;
+               _bugDescriptionText2.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Steps to execute:{0}{0}" +
+                       "1. Click inside the first row of the Product 
column.{0}{0}" +
+                       "2. Click inside the first row of the Name 
column.{0}{0}" +
+                       "3. Press the Down arrow.{0}{0}" +
+                       "Expected result:{0}{0}" +
+                       "1. On step 2, the displayed text in the \"Name\" 
column starts " +
+                       "with \"Miguel\".{0}{0}" +
+                       "2. On step 3, the text cursor moves to \"Name\" cell 
in the " +
+                       "second row.",
+                       Environment.NewLine);
+               // 
+               // _tabPage2
+               // 
+               _tabPage2 = new TabPage ();
+               _tabPage2.Text = "#2";
+               _tabPage2.Controls.Add (_bugDescriptionText2);
+               _tabControl.Controls.Add (_tabPage2);
+               // 
+               // _bugDescriptionText3
+               // 
+               _bugDescriptionText3 = new TextBox ();
+               _bugDescriptionText3.Multiline = true;
+               _bugDescriptionText3.Dock = DockStyle.Fill;
+               _bugDescriptionText3.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Steps to execute:{0}{0}" +
+                       "1. Click inside the first row of the Product 
column.{0}{0}" +
+                       "2. Click inside the first row of the Name 
column.{0}{0}" +
+                       "3. Click again inside the first row of the Name 
column.{0}{0}" +
+                       "4. Press the Down arrow.{0}{0}" +
+                       "Expected result:{0}{0}" +
+                       "1. The text cursor moves to the second line of the 
textbox.{0}{0}" +
+                       "2. The value \"U.S.\" is now displayed in the \"Name\" 
column.",
+                       Environment.NewLine);
+               // 
+               // _tabPage3
+               // 
+               _tabPage3 = new TabPage ();
+               _tabPage3.Text = "#3";
+               _tabPage3.Controls.Add (_bugDescriptionText3);
+               _tabControl.Controls.Add (_tabPage3);
+               // 
+               // MainForm
+               // 
+               ClientSize = new Size (450, 360);
+               StartPosition = FormStartPosition.CenterScreen;
+               Text = "bug #81267";
+               Load += new EventHandler (MainForm_Load);
+       }
+
+       [STAThread]
+       static void Main ()
+       {
+               Application.Run (new MainForm ());
+       }
+
+       void MainForm_Load (object sender, EventArgs e)
+       {
+               System.Data.DataSet dataSet = new DataSet ();
+
+               DataTable table = new DataTable ();
+               dataSet.Tables.Add (table);
+
+               table.Columns.Add (new DataColumn ("Name"));
+               table.Columns.Add (new DataColumn ("Product"));
+
+               DataRow row = table.NewRow ();
+               row ["Name"] = "Miguel de Icaza (Novell)" + Environment.NewLine 
+ "U.S.";
+               row ["Product"] = "Mono is a great product";
+               table.Rows.Add (row);
+
+               _dataGrid.DataSource = dataSet;
+               _dataGrid.DataMember = dataSet.Tables [0].TableName;
+       }
+
+       private DataGrid _dataGrid;
+       private TextBox _bugDescriptionText1;
+       private TextBox _bugDescriptionText2;
+       private TextBox _bugDescriptionText3;
+       private TabControl _tabControl;
+       private TabPage _tabPage1;
+       private TabPage _tabPage2;
+       private TabPage _tabPage3;
+}


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

Added: trunk/gert/interactive/bug81267/default.build
===================================================================
--- trunk/gert/interactive/bug81267/default.build       2007-05-31 17:46:36 UTC 
(rev 78361)
+++ trunk/gert/interactive/bug81267/default.build       2007-05-31 18:09:29 UTC 
(rev 78362)
@@ -0,0 +1,63 @@
+<project name="bug81267" 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.Data.dll" />
+                               <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/bug81267/default.build
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/gert/interactive/bug81285/MainForm.cs
===================================================================
--- trunk/gert/interactive/bug81285/MainForm.cs 2007-05-31 17:46:36 UTC (rev 
78361)
+++ trunk/gert/interactive/bug81285/MainForm.cs 2007-05-31 18:09:29 UTC (rev 
78362)
@@ -0,0 +1,129 @@
+using System;
+using System.Drawing;
+using System.Globalization;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+       public MainForm ()
+       {
+               // 
+               // _textBox
+               // 
+               _textBox = new TextBox ();
+               _textBox.Dock = DockStyle.Fill;
+               _textBox.Multiline = true;
+               Controls.Add (_textBox);
+               // 
+               // MainForm
+               // 
+               AutoScaleBaseSize = new Size (5, 13);
+               ClientSize = new Size (300, 150);
+               Location = new Point (200, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "bug #81285";
+               Load += new EventHandler (MainForm_Load);
+       }
+
+       [STAThread]
+       static void Main ()
+       {
+               Application.Run (new MainForm ());
+       }
+
+       void MainForm_Load (object sender, EventArgs e)
+       {
+               InstructionsForm instructionsForm = new InstructionsForm ();
+               instructionsForm.Show ();
+       }
+
+       private TextBox _textBox;
+}
+
+public class InstructionsForm : Form
+{
+       public InstructionsForm ()
+       {
+               // 
+               // _tabControl
+               // 
+               _tabControl = new TabControl ();
+               _tabControl.Dock = DockStyle.Fill;
+               Controls.Add (_tabControl);
+               // 
+               // _bugDescriptionText1
+               // 
+               _bugDescriptionText1 = new TextBox ();
+               _bugDescriptionText1.Multiline = true;
+               _bugDescriptionText1.Dock = DockStyle.Fill;
+               _bugDescriptionText1.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Steps to execute:{0}{0}" +
+                       "1. Enter the following text in the TextBox:{0}{0}" +
+                       "   a{0}" +
+                       "   b{0}" +
+                       "   c{0}" +
+                       "   d{0}" +
+                       "   e{0}" +
+                       "   f{0}{0}" +
+                       "2. Do not press Enter after the last line.{0}{0}" +
+                       "3. Move the cursor to the start of the first 
line.{0}{0}" +
+                       "4. Press the Delete key 6 times.{0}{0}" +
+                       "Expected result:{0}{0}" +
+                       "1. The following text is displayed at the top of the 
TextBox:{0}{0}" +
+                       "   d{0}" +
+                       "   e{0}" +
+                       "   f",
+                       Environment.NewLine);
+               // 
+               // _tabPage1
+               // 
+               _tabPage1 = new TabPage ();
+               _tabPage1.Text = "#1";
+               _tabPage1.Controls.Add (_bugDescriptionText1);
+               _tabControl.Controls.Add (_tabPage1);
+               // 
+               // _bugDescriptionText2
+               // 
+               _bugDescriptionText2 = new TextBox ();
+               _bugDescriptionText2.Multiline = true;
+               _bugDescriptionText2.Dock = DockStyle.Fill;
+               _bugDescriptionText2.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Steps to execute:{0}{0}" +
+                       "1. Enter the following text in the TextBox:{0}{0}" +
+                       "   a{0}" +
+                       "   b{0}" +
+                       "   c{0}" +
+                       "   d{0}" +
+                       "   e{0}" +
+                       "   f{0}{0}" +
+                       "2. Press Enter after the last line.{0}{0}" +
+                       "3. Move the cursor to the start of the first 
line.{0}{0}" +
+                       "4. Press the Delete key 6 times.{0}{0}" +
+                       "Expected result:{0}{0}" +
+                       "1. The following text is displayed at the top of the 
TextBox:{0}{0}" +
+                       "   d{0}" +
+                       "   e{0}" +
+                       "   f",
+                       Environment.NewLine);
+               // 
+               // _tabPage2
+               // 
+               _tabPage2 = new TabPage ();
+               _tabPage2.Text = "#2";
+               _tabPage2.Controls.Add (_bugDescriptionText2);
+               _tabControl.Controls.Add (_tabPage2);
+               // 
+               // InstructionsForm
+               // 
+               ClientSize = new Size (300, 370);
+               Location = new Point (550, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "Instructions - bug #81285";
+       }
+
+       private TextBox _bugDescriptionText1;
+       private TextBox _bugDescriptionText2;
+       private TabControl _tabControl;
+       private TabPage _tabPage1;
+       private TabPage _tabPage2;
+}


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

Added: trunk/gert/interactive/bug81285/default.build
===================================================================
--- trunk/gert/interactive/bug81285/default.build       2007-05-31 17:46:36 UTC 
(rev 78361)
+++ trunk/gert/interactive/bug81285/default.build       2007-05-31 18:09:29 UTC 
(rev 78362)
@@ -0,0 +1,65 @@
+<project name="bug81285" 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" 
unsafe="true" warnaserror="true" warninglevel="4">
+                       <sources>
+                               <include name="MainForm.cs" />
+                       </sources>
+                       <resources>
+                           <include name="MainForm.resx" />
+                       </resources>
+                       <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/bug81285/default.build
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/gert/interactive/bug81311/MainForm.cs
===================================================================
--- trunk/gert/interactive/bug81311/MainForm.cs 2007-05-31 17:46:36 UTC (rev 
78361)
+++ trunk/gert/interactive/bug81311/MainForm.cs 2007-05-31 18:09:29 UTC (rev 
78362)
@@ -0,0 +1,119 @@
+using System;
+using System.Drawing;
+using System.Globalization;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+       public MainForm ()
+       {
+               // 
+               // _textBox
+               // 
+               _textBox = new TextBox ();
+               _textBox.Dock = DockStyle.Fill;
+               _textBox.Multiline = true;
+               _textBox.ScrollBars = ScrollBars.Vertical;
+               _textBox.Text = string.Format (CultureInfo.InvariantCulture,
+                       "Line #1.{0}" +
+                       "Line #2.{0}" +
+                       "Line #3.{0}" +
+                       "Line #4.{0}" +
+                       "Line #5.{0}" +
+                       "Line #6.{0}" +
+                       "Line #7.{0}" +
+                       "Line #8.{0}" +
+                       "Line #9.{0}" +
+                       "Line #10.{0}" +
+                       "Line #11.{0}" +
+                       "Line #12.{0}" +
+                       "Line #13.{0}" +
+                       "Line #14.{0}" +
+                       "Line #15.{0}" +
+                       "Line #16.{0}" +
+                       "Line #17.{0}" +
+                       "Line #18.{0}" +
+                       "Line #19.{0}" +
+                       "Line #20.{0}" +
+                       "Line #21.{0}" +
+                       "Line #22.{0}" +
+                       "Line #23.{0}" +
+                       "Line #24.{0}" +
+                       "Line #25.{0}" +
+                       "Line #26.{0}" +
+                       "Line #27.{0}" +
+                       "Line #28.{0}" +
+                       "Line #29.{0}" +
+                       "Line #30.",
+                       Environment.NewLine);
+               Controls.Add (_textBox);
+               // 
+               // MainForm
+               // 
+               AutoScaleBaseSize = new Size (5, 13);
+               ClientSize = new Size (300, 300);
+               Location = new Point (200, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "bug #81311";
+               Load += new EventHandler (MainForm_Load);
+       }
+
+       [STAThread]
+       static void Main ()
+       {
+               Application.Run (new MainForm ());
+       }
+
+       void MainForm_Load (object sender, EventArgs e)
+       {
+               InstructionsForm instructionsForm = new InstructionsForm ();
+               instructionsForm.Show ();
+       }
+
+       private TextBox _textBox;
+}
+
+public class InstructionsForm : Form
+{
+       public InstructionsForm ()
+       {
+               // 
+               // _tabControl
+               // 
+               _tabControl = new TabControl ();
+               _tabControl.Dock = DockStyle.Fill;
+               Controls.Add (_tabControl);
+               // 
+               // _bugDescriptionText1
+               // 
+               _bugDescriptionText1 = new TextBox ();
+               _bugDescriptionText1.Multiline = true;
+               _bugDescriptionText1.Dock = DockStyle.Fill;
+               _bugDescriptionText1.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Steps to execute:{0}{0}" +
+                       "1. Click inside the TextBox at the end of line 
5.{0}{0}" +
+                       "2. Press PageDown key.{0}{0}" +
+                       "3. Press PageUp key.{0}{0}" +
+                       "Expected result:{0}{0}" +
+                       "1. The cursor caret is positioned at the end of line 
5.",
+                       Environment.NewLine);
+               // 
+               // _tabPage1
+               // 
+               _tabPage1 = new TabPage ();
+               _tabPage1.Text = "#1";
+               _tabPage1.Controls.Add (_bugDescriptionText1);
+               _tabControl.Controls.Add (_tabPage1);
+               // 
+               // InstructionsForm
+               // 
+               ClientSize = new Size (320, 220);
+               Location = new Point (550, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "Instructions - bug #81311";
+       }
+
+       private TextBox _bugDescriptionText1;
+       private TabControl _tabControl;
+       private TabPage _tabPage1;
+}


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

Added: trunk/gert/interactive/bug81311/default.build
===================================================================
--- trunk/gert/interactive/bug81311/default.build       2007-05-31 17:46:36 UTC 
(rev 78361)
+++ trunk/gert/interactive/bug81311/default.build       2007-05-31 18:09:29 UTC 
(rev 78362)
@@ -0,0 +1,62 @@
+<project name="bug81311" 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/bug81311/default.build
___________________________________________________________________
Name: svn:eol-style
   + native

Added: trunk/gert/interactive/bug81389/MainForm.cs
===================================================================
--- trunk/gert/interactive/bug81389/MainForm.cs 2007-05-31 17:46:36 UTC (rev 
78361)
+++ trunk/gert/interactive/bug81389/MainForm.cs 2007-05-31 18:09:29 UTC (rev 
78362)
@@ -0,0 +1,219 @@
+using System;
+using System.Drawing;
+using System.Drawing.Drawing2D;
+using System.Globalization;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+       public MainForm ()
+       {
+               // 
+               // _changeShapeButton
+               // 
+               _changeShapeButton = new Button ();
+               _changeShapeButton.BackColor = Color.Red;
+               _changeShapeButton.Cursor = Cursors.Hand;
+               _changeShapeButton.Location = new Point (40, 8);
+               _changeShapeButton.Size = new Size (300, 250);
+               _changeShapeButton.Text = string.Empty;
+               _changeShapeButton.Click += new EventHandler 
(ChangeButton_Click);
+               _changeShapeButton.MouseEnter += new EventHandler 
(ChangeButton_MouseEnter);
+               _changeShapeButton.MouseLeave += new EventHandler 
(ChangeButton_MouseLeave);
+               Controls.Add (_changeShapeButton);
+               // 
+               // _panel
+               // 
+               _panel = new Panel ();
+               _panel.Dock = DockStyle.Top;
+               _panel.BackColor = Color.Blue;
+               _panel.Height = 100;
+               Controls.Add (_panel);
+               // 
+               // _resetButton
+               // 
+               _resetButton = new Button ();
+               _resetButton.Location = new Point (455, 265);
+               _resetButton.Size = new Size (60, 20);
+               _resetButton.Text = "Reset";
+               _resetButton.Click += new EventHandler (ResetButton_Click);
+               Controls.Add (_resetButton);
+               // 
+               // _eventsText
+               // 
+               _eventsText = new TextBox ();
+               _eventsText.Dock = DockStyle.Bottom;
+               _eventsText.Height = 150;
+               _eventsText.Multiline = true;
+               Controls.Add (_eventsText);
+               // 
+               // MainForm
+               // 
+               ClientSize = new Size (520, 445);
+               Location = new Point (100, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "bug #81389";
+               Load += new EventHandler (MainForm_Load);
+       }
+
+       [STAThread]
+       static void Main (string [] args)
+       {
+               Application.Run (new MainForm ());
+       }
+
+       void MainForm_Load (object sender, EventArgs e)
+       {
+               GraphicsPath gp = new GraphicsPath ();
+               gp.AddArc (_changeShapeButton.ClientRectangle, 0.0f, 360.0f);
+               _changeShapeButton.Region = new Region (gp);
+
+               InstructionsForm instructionsForm = new InstructionsForm ();
+               instructionsForm.Show ();
+       }
+
+       void ChangeButton_Click (object sender, EventArgs e)
+       {
+               _eventsText.AppendText ("Click" + Environment.NewLine);
+       }
+
+       void ChangeButton_MouseEnter (object sender, EventArgs e)
+       {
+               _eventsText.AppendText ("MouseEnter" + Environment.NewLine);
+       }
+
+       void ChangeButton_MouseLeave (object sender, EventArgs e)
+       {
+               _eventsText.AppendText ("MouseLeave" + Environment.NewLine);
+       }
+
+       void ResetButton_Click (object sender, EventArgs e)
+       {
+               _eventsText.Text = string.Empty;
+       }
+
+       private Panel _panel;
+       private Button _changeShapeButton;
+       private Button _resetButton;
+       private TextBox _eventsText;
+}
+
+public class InstructionsForm : Form
+{
+       public InstructionsForm ()
+       {
+               // 
+               // _tabControl
+               // 
+               _tabControl = new TabControl ();
+               _tabControl.Dock = DockStyle.Fill;
+               Controls.Add (_tabControl);
+               // 
+               // _bugDescriptionText1
+               // 
+               _bugDescriptionText1 = new TextBox ();
+               _bugDescriptionText1.Multiline = true;
+               _bugDescriptionText1.Dock = DockStyle.Fill;
+               _bugDescriptionText1.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Expected result at start-up:{0}{0}" +
+                       "1. A red ellipse shape is displayed.{0}{0}" +
+                       "2. Outside the top rounded-off corners of the ellipse, 
the blue " +
+                       "panel is displayed.",
+                       Environment.NewLine);
+               // 
+               // _tabPage1
+               // 
+               _tabPage1 = new TabPage ();
+               _tabPage1.Text = "#1";
+               _tabPage1.Controls.Add (_bugDescriptionText1);
+               _tabControl.Controls.Add (_tabPage1);
+               // 
+               // _bugDescriptionText2
+               // 
+               _bugDescriptionText2 = new TextBox ();
+               _bugDescriptionText2.Multiline = true;
+               _bugDescriptionText2.Dock = DockStyle.Fill;
+               _bugDescriptionText2.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Steps to execute:{0}{0}" +
+                       "1. Move the cursor inside the ellipse shape.{0}{0}" +
+                       "2. Move the cursor little outside the ellipse at the 
top left.{0}{0}" +
+                       "Expected result:{0}{0}" +
+                       "1. On step 1, the mouse pointer is a hand 
cursor.{0}{0}" +
+                       "2. On step 2, the mouse pointer turns back into a 
regular cursor " +
+                       "once the mouse pointer leaves the ellipse shape.",
+                       Environment.NewLine);
+               // 
+               // _tabPage2
+               // 
+               _tabPage2 = new TabPage ();
+               _tabPage2.Text = "#2";
+               _tabPage2.Controls.Add (_bugDescriptionText2);
+               _tabControl.Controls.Add (_tabPage2);
+               // 
+               // _bugDescriptionText3
+               // 
+               _bugDescriptionText3 = new TextBox ();
+               _bugDescriptionText3.Multiline = true;
+               _bugDescriptionText3.Dock = DockStyle.Fill;
+               _bugDescriptionText3.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Steps to execute:{0}{0}" +
+                       "1. Click the Reset button.{0}{0}" +
+                       "2. Move the mouse pointer to the rounded-off area just 
outside " +
+                       "the ellipse shape.{0}{0}" +
+                       "3. Move the mouse pointer into the ellipse 
shape.{0}{0}" +
+                       "Expected result:{0}{0}" +
+                       "1. On step 2, no MouseEnter event is fired.{0}{0}" +
+                       "2. On step 3, a MouseEnter event fires when the mouse 
pointer " +
+                       "enters the ellipse shape.",
+                       Environment.NewLine);
+               // 
+               // _tabPage3
+               // 
+               _tabPage3 = new TabPage ();
+               _tabPage3.Text = "#3";
+               _tabPage3.Controls.Add (_bugDescriptionText3);
+               _tabControl.Controls.Add (_tabPage3);
+               // 
+               // _bugDescriptionText4
+               // 
+               _bugDescriptionText4 = new TextBox ();
+               _bugDescriptionText4.Multiline = true;
+               _bugDescriptionText4.Dock = DockStyle.Fill;
+               _bugDescriptionText4.Text = string.Format 
(CultureInfo.InvariantCulture,
+                       "Steps to execute:{0}{0}" +
+                       "1. Click the Reset button.{0}{0}" +
+                       "2. Move the mouse pointer to the rounded-off area just 
outside " +
+                       "the ellipse shape.{0}{0}" +
+                       "3. Press and release the left mouse button.{0}{0}" +
+                       "4. Move the mouse pointer into the ellipse 
shape.{0}{0}" +
+                       "5. Press and release the left mouse button.{0}{0}" +
+                       "Expected result:{0}{0}" +
+                       "1. On step 3, no Click event is fired.{0}{0}" +
+                       "2. On step 5, a Click event is fired.",
+                       Environment.NewLine);
+               // 
+               // _tabPage4
+               // 
+               _tabPage4 = new TabPage ();
+               _tabPage4.Text = "#4";
+               _tabPage4.Controls.Add (_bugDescriptionText4);
+               _tabControl.Controls.Add (_tabPage4);
+               // 
+               // InstructionsForm
+               // 
+               ClientSize = new Size (360, 290);
+               Location = new Point (650, 100);
+               StartPosition = FormStartPosition.Manual;
+               Text = "Instructions - bug #81389";
+       }
+
+       private TextBox _bugDescriptionText1;
+       private TextBox _bugDescriptionText2;
+       private TextBox _bugDescriptionText3;
+       private TextBox _bugDescriptionText4;
+       private TabControl _tabControl;
+       private TabPage _tabPage1;
+       private TabPage _tabPage2;
+       private TabPage _tabPage3;
+       private TabPage _tabPage4;
+}


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

Added: trunk/gert/interactive/bug81389/default.build
===================================================================
--- trunk/gert/interactive/bug81389/default.build       2007-05-31 17:46:36 UTC 
(rev 78361)
+++ trunk/gert/interactive/bug81389/default.build       2007-05-31 18:09:29 UTC 
(rev 78362)
@@ -0,0 +1,62 @@
+<project name="bug81389" 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/bug81389/default.build
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: trunk/gert/interactive/known_issues
===================================================================
--- trunk/gert/interactive/known_issues 2007-05-31 17:46:36 UTC (rev 78361)
+++ trunk/gert/interactive/known_issues 2007-05-31 18:09:29 UTC (rev 78362)
@@ -21,6 +21,7 @@
 bug79957/**
 bug79964/**
 bug79970/**
+bug81267/**
 bug81402/**
 bug81422/**
 bug81423/**

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

Reply via email to