blob: 1831cdce055982e6c7e02f9ea7f5e43305fd9788 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
using System;
using NUnit.Framework;
using Xamarin.Forms.Core.UnitTests;
namespace Xamarin.Forms.Xaml.UnitTests
{
[TestFixture]
public class NullExtensionTests : BaseTestFixture
{
[Test]
public void TestxNull ()
{
var markupString = "{x:Null}";
var serviceProvider = new Internals.XamlServiceProvider (null, null);
var result = (new MarkupExtensionParser ()).ParseExpression (ref markupString, serviceProvider);
Assert.IsNull (result);
}
}
}
|