xamarin-macios/tests/monotouch-test/FileProvider/NSFileProviderPageTest.cs

37 строки
847 B
C#

//
// Unit tests for NSFileProviderPage
//
// Authors:
// Alex Soto <alexsoto@microsoft.com>
//
//
// Copyright 2017 Xamarin Inc. All rights reserved.
//
#if XAMCORE_2_0 && __IOS__
using System;
using FileProvider;
using Foundation;
using NUnit.Framework;
namespace MonoTouchFixtures.FileProvider {
[TestFixture]
[Preserve (AllMembers = true)]
public class NSFileProviderPageTests {
[Test]
public void CompressionSessionCreateTest ()
{
// The FileProvider's NSData constants are only available running on device.
TestRuntime.AssertDevice ();
TestRuntime.AssertXcodeVersion (9,0);
Assert.IsNotNull (NSFileProviderPage.InitialPageSortedByDate, "InitialPageSortedByDate should not be null");
Assert.IsNotNull (NSFileProviderPage.InitialPageSortedByName, "InitialPageSortedByName should not be null");
}
}
}
#endif