xamarin-macios/tests/monotouch-test/UIKit/VibrancyEffectTest.cs

36 строки
695 B
C#

//
// Unit tests for UIVibrancyEffect
//
// Authors:
// Sebastien Pouliot <sebastien@xamarin.com>
//
// Copyright 2014 Xamarin Inc. All rights reserved.
//
#if HAS_NOTIFICATIONCENTER
using System;
using Foundation;
using UIKit;
using ObjCRuntime;
#if !__TVOS__
using NotificationCenter;
#endif
using NUnit.Framework;
namespace MonoTouchFixtures.UIKit {
[TestFixture]
[Preserve (AllMembers = true)]
public class VibrancyEffectTest {
[Test]
public void NotificationCenterVibrancyEffect_New ()
{
TestRuntime.AssertSystemVersion (PlatformName.iOS, 8, 0, throwIfOtherPlatform: false);
UIVibrancyEffect.CreateForNotificationCenter ();
}
}
}
#endif // HAS_NOTIFICATIONCENTER