namespace Prism.Glass.UnitTests { public static class Program { // Building a picker, typing into its hex box and committing it compiles most of Glass. Paying for that here // keeps it off whichever test reaches a picker first, which a busy machine would push past its 500ms budget. private static void WarmUp() { var picker = ColorPickerTests.PickerWithHexBox(ColorPickerTests.DarkRed()); picker.HexBox.Text = "#00FF0"; var keys = ColorPickerTests.Focus(picker); ColorPickerTests.Type(picker, "0"); ColorPickerTests.PressEnter(keys); _ = BlendPickerTests.Picker(); } public static int Main() { return UnitTestSharp.TestRunner.RunAllTests(WarmUp); } } }