зеркало из https://github.com/DeGsoft/maui-linux.git
29 строки
486 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
} |