Imported Upstream version 4.3.2.467

Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
Xamarin Public Jenkins
2016-02-22 11:00:01 -05:00
parent f302175246
commit f3e3aab35a
4097 changed files with 122406 additions and 82300 deletions

View File

@@ -206,7 +206,7 @@ namespace MonoTests.System.Windows.Forms
[Test]
public void BackColorTest ()
{
Assert.AreEqual (SystemColors.Window, textBox.BackColor, "#A1");
Assert.AreEqual (SystemColors.Control, textBox.BackColor, "#A1");
textBox.BackColor = Color.Red;
Assert.AreEqual (Color.Red, textBox.BackColor, "#A2");
textBox.BackColor = Color.White;

View File

@@ -108,7 +108,7 @@ namespace MonoTests.System.Windows.Forms
Assert.AreEqual (SystemColors.Control, tsi.BackColor, "B4");
tsi = new ToolStripControlHost (new TextBox ());
Assert.AreEqual (SystemColors.Window, tsi.BackColor, "B5");
Assert.AreEqual (SystemColors.Control, tsi.BackColor, "B5");
tsi = new ToolStripControlHost (new ProgressBar ());
Assert.AreEqual (SystemColors.Control, tsi.BackColor, "B6");
@@ -239,7 +239,7 @@ namespace MonoTests.System.Windows.Forms
Assert.AreEqual (SystemColors.ControlText, tsi.ForeColor, "B4");
tsi = new ToolStripControlHost (new TextBox ());
Assert.AreEqual (SystemColors.WindowText, tsi.ForeColor, "B5");
Assert.AreEqual (SystemColors.ControlText, tsi.ForeColor, "B5");
}
[Test]

View File

@@ -145,7 +145,7 @@ namespace MonoTests.System.Windows.Forms
myTrackBar.Height = 250;
myTrackBar.Orientation = Orientation.Vertical;
Assert.AreEqual(200, myTrackBar.Width, "#SIZE03");
AreEqual(default_height, default_height2, myTrackBar.Height, "#SIZE04");
Assert.AreEqual(250, myTrackBar.Height, "#SIZE04");
}
using (TrackBar myTrackBar = new TrackBar()) {
@@ -163,7 +163,7 @@ namespace MonoTests.System.Windows.Forms
myTrackBar.AutoSize = false;
myTrackBar.Orientation = Orientation.Vertical;
Assert.AreEqual(200, myTrackBar.Width, "#SIZE11");
AreEqual(default_height, default_height2, myTrackBar.Height, "#SIZE12");
Assert.AreEqual(250, myTrackBar.Height, "#SIZE12");
}
using (TrackBar myTrackBar = new TrackBar()) {
@@ -175,7 +175,7 @@ namespace MonoTests.System.Windows.Forms
handle = myTrackBar.Handle;
AreEqual(default_height, default_height2, myTrackBar.Width, "#SIZE17");
AreEqual(default_height, default_height2, myTrackBar.Height, "#SIZE18");
Assert.AreEqual(250, myTrackBar.Height, "#SIZE18");
}
}
@@ -188,7 +188,7 @@ namespace MonoTests.System.Windows.Forms
handle = myTrackBar.Handle;
AreEqual(default_height, default_height2, myTrackBar.Width, "#SIZE19");
AreEqual(default_height, default_height2, myTrackBar.Height, "#SIZE20");
Assert.AreEqual(250, myTrackBar.Height, "#SIZE20");
}
}
@@ -202,7 +202,7 @@ namespace MonoTests.System.Windows.Forms
myTrackBar.Orientation = Orientation.Horizontal;
AreEqual(default_height, default_height2, myTrackBar.Width, "#SIZE23");
Assert.AreEqual(250, myTrackBar.Width, "#SIZE23");
AreEqual(default_height, default_height2, myTrackBar.Height, "#SIZE24");
}
}