Browse Source

All AutoSize tests pass!

Tig Kindel 1 year ago
parent
commit
2d4948a18d
2 changed files with 896 additions and 896 deletions
  1. 895 893
      UnitTests/View/Text/AutoSizeTextTests.cs
  2. 1 3
      UnitTests/View/Text/TextTests.cs

File diff suppressed because it is too large
+ 895 - 893
UnitTests/View/Text/AutoSizeTextTests.cs


+ 1 - 3
UnitTests/View/Text/TextTests.cs

@@ -427,10 +427,8 @@ public class TextTests {
 		win.Add (label);
 		Application.Top.Add (win);
 
-		// #3127: Before: Text is empty but height=1 by default, see Label view
-		//        After: Text is empty Dim.Fill is honored
 		Assert.False (label.AutoSize);
-		Assert.Equal ("(0,0,28,78)", label.Bounds.ToString ());
+		Assert.Equal ("(0,0,80,25)", label.Bounds.ToString ());
 
 		label.Text = "New text\nNew line";
 		Application.Top.LayoutSubviews ();

Some files were not shown because too many files changed in this diff