You've already forked linux-packaging-mono
Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user