Skip to content

Commit

Permalink
Add regression test for #1516
Browse files Browse the repository at this point in the history
  • Loading branch information
spouliot committed Oct 18, 2011
1 parent b571b13 commit 887a47c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions monotouch.tests/RegressionTest.cs
Expand Up @@ -141,5 +141,17 @@ public void Bug1387_UIEdgeInsets_ToString ()
var insets = new MonoTouch.UIKit.UIEdgeInsets (1, 2, 3, 4);
Assert.That (insets.ToString (), Is.Not.EqualTo ("MonoTouch.UIKit.UIEdgeInsets"));
}

[Test]
// http://bugzilla.xamarin.com/show_bug.cgi?id=1516
public void Bug1516_Appearance_Linker ()
{
UINavigationBar.Appearance.TintColor = UIColor.FromRGB (238,234,222);
UINavigationBar.Appearance.SetTitleTextAttributes (new UITextAttributes() {
TextColor = UIColor.FromRGB(85, 108, 17),
TextShadowColor = UIColor.Clear
});
// show not throw if the application is linked
}
}
}

0 comments on commit 887a47c

Please sign in to comment.