зеркало из https://github.com/DeGsoft/maui-linux.git
31 строка
562 B
C#
31 строка
562 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
using Xamarin.Forms;
|
|
using NUnit.Framework;
|
|
|
|
namespace Xamarin.Forms.Xaml.UnitTests
|
|
{
|
|
public partial class Unreported003 : ContentPage
|
|
{
|
|
public Unreported003 ()
|
|
{
|
|
InitializeComponent ();
|
|
}
|
|
|
|
public Unreported003 (bool useCompiledXaml)
|
|
{
|
|
//this stub will be replaced at compile time
|
|
}
|
|
|
|
[TestFixture]
|
|
class Tests
|
|
{
|
|
[TestCase(true), TestCase(false)]
|
|
public void AllowCtorArgsForValueTypes (bool useCompiledXaml)
|
|
{
|
|
var page = new Unreported003 (useCompiledXaml);
|
|
}
|
|
}
|
|
}
|
|
} |