maui-linux/Xamarin.Forms.Xaml.UnitTests/McIgnorable.xaml.cs

29 строки
486 B
C#

using NUnit.Framework;
namespace Xamarin.Forms.Xaml.UnitTests
{
public partial class McIgnorable : ContentPage
{
public McIgnorable ()
{
InitializeComponent ();
}
public McIgnorable (bool useCompiledXaml)
{
//this stub will be replaced at compile time
}
[TestFixture]
public class Tests
{
[TestCase (false)]
[TestCase (true)]
public void DoesNotThrow (bool useCompiledXaml)
{
var layout = new McIgnorable (useCompiledXaml);
}
}
}
}