2016-08-24 18:14:27 +03:00
|
|
|
|
//
|
|
|
|
|
// Unit tests for INIntentResolutionResult
|
|
|
|
|
//
|
|
|
|
|
// Authors:
|
|
|
|
|
// Alex Soto <alexsoto@microsoft.com>
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// Copyright 2016 Xamarin Inc. All rights reserved.
|
|
|
|
|
//
|
|
|
|
|
|
2020-05-28 17:35:09 +03:00
|
|
|
|
#if !__TVOS__ && !MONOMAC
|
2016-08-24 18:14:27 +03:00
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
|
|
|
|
|
using Foundation;
|
|
|
|
|
using Intents;
|
|
|
|
|
|
|
|
|
|
namespace MonoTouchFixtures.Intents {
|
|
|
|
|
|
|
|
|
|
[TestFixture]
|
|
|
|
|
[Preserve (AllMembers = true)]
|
|
|
|
|
public class INIntentResolutionResultTests {
|
|
|
|
|
|
2016-09-01 06:08:54 +03:00
|
|
|
|
[SetUp]
|
|
|
|
|
public void Setup ()
|
|
|
|
|
{
|
2017-02-15 16:13:27 +03:00
|
|
|
|
#if !__WATCHOS__
|
2016-09-01 06:08:54 +03:00
|
|
|
|
TestRuntime.AssertXcodeVersion (8, 0);
|
2017-02-15 16:13:27 +03:00
|
|
|
|
#else
|
|
|
|
|
TestRuntime.AssertXcodeVersion (8, 3);
|
|
|
|
|
#endif
|
2016-09-01 06:08:54 +03:00
|
|
|
|
}
|
|
|
|
|
|
2016-08-24 18:14:27 +03:00
|
|
|
|
[Test]
|
|
|
|
|
public void INIntentResolutionResultIsAbstractTest ()
|
|
|
|
|
{
|
|
|
|
|
Assert.Throws<NotImplementedException> (() => { var needsValue = INIntentResolutionResult.NeedsValue; }, "Base type must implement NeedsValue");
|
|
|
|
|
Assert.Throws<NotImplementedException> (() => { var notRequired = INIntentResolutionResult.NotRequired; }, "Base type must implement NotRequired");
|
|
|
|
|
Assert.Throws<NotImplementedException> (() => { var unsupported = INIntentResolutionResult.Unsupported; }, "Base type must implement Unsupported");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
2017-01-12 21:13:56 +03:00
|
|
|
|
public void INCallRecordTypeResolutionResultPropertyTest ()
|
2016-08-24 18:14:27 +03:00
|
|
|
|
{
|
2017-01-12 21:13:56 +03:00
|
|
|
|
using (var needsValue = INCallRecordTypeResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INCallRecordTypeResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INCallRecordTypeResolutionResult.Unsupported) {
|
2016-08-24 18:14:27 +03:00
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INCallRecordTypeResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCallRecordTypeResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCallRecordTypeResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
2017-01-12 21:13:56 +03:00
|
|
|
|
public void INDateComponentsRangeResolutionResultPropertyTest ()
|
2016-08-24 18:14:27 +03:00
|
|
|
|
{
|
2017-01-12 21:13:56 +03:00
|
|
|
|
using (var needsValue = INDateComponentsRangeResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INDateComponentsRangeResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INDateComponentsRangeResolutionResult.Unsupported) {
|
2016-08-24 18:14:27 +03:00
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INDateComponentsRangeResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INDateComponentsRangeResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INDateComponentsRangeResolutionResult), unsupported, "Unsupported");
|
2017-01-12 21:13:56 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INMessageAttributeOptionsResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INMessageAttributeOptionsResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INMessageAttributeOptionsResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INMessageAttributeOptionsResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INMessageAttributeOptionsResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INMessageAttributeOptionsResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INMessageAttributeOptionsResolutionResult), unsupported, "Unsupported");
|
2017-01-12 21:13:56 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INMessageAttributeResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INMessageAttributeResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INMessageAttributeResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INMessageAttributeResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INMessageAttributeResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INMessageAttributeResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INMessageAttributeResolutionResult), unsupported, "Unsupported");
|
2017-01-12 21:13:56 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INPersonResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INPersonResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INPersonResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INPersonResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INPersonResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INPersonResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INPersonResolutionResult), unsupported, "Unsupported");
|
2017-01-12 21:13:56 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INPlacemarkResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INPlacemarkResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INPlacemarkResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INPlacemarkResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INPlacemarkResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INPlacemarkResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INPlacemarkResolutionResult), unsupported, "Unsupported");
|
2017-01-12 21:13:56 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INSpeakableStringResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INSpeakableStringResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INSpeakableStringResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INSpeakableStringResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INSpeakableStringResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INSpeakableStringResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INSpeakableStringResolutionResult), unsupported, "Unsupported");
|
2017-01-12 21:13:56 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INStringResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INStringResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INStringResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INStringResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INStringResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INStringResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INStringResolutionResult), unsupported, "Unsupported");
|
2017-01-12 21:13:56 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if !MONOMAC // iOS only Result types
|
|
|
|
|
[Test]
|
|
|
|
|
public void INBooleanResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INBooleanResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INBooleanResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INBooleanResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INBooleanResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INBooleanResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INBooleanResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INCarAirCirculationModeResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#if __WATCHOS__
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarAirCirculationModeResolutionResult.NeedsValue; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarAirCirculationModeResolutionResult.NotRequired; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarAirCirculationModeResolutionResult.Unsupported; });
|
|
|
|
|
#else
|
2016-08-24 18:14:27 +03:00
|
|
|
|
using (var needsValue = INCarAirCirculationModeResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INCarAirCirculationModeResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INCarAirCirculationModeResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INCarAirCirculationModeResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCarAirCirculationModeResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCarAirCirculationModeResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#endif
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INCarAudioSourceResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#if __WATCHOS__
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarAudioSourceResolutionResult.NeedsValue; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarAudioSourceResolutionResult.NotRequired; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarAudioSourceResolutionResult.Unsupported; });
|
|
|
|
|
#else
|
2016-08-24 18:14:27 +03:00
|
|
|
|
using (var needsValue = INCarAudioSourceResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INCarAudioSourceResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INCarAudioSourceResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INCarAudioSourceResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCarAudioSourceResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCarAudioSourceResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#endif
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INCarDefrosterResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#if __WATCHOS__
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarDefrosterResolutionResult.NeedsValue; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarDefrosterResolutionResult.NotRequired; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarDefrosterResolutionResult.Unsupported; });
|
|
|
|
|
#else
|
2016-08-24 18:14:27 +03:00
|
|
|
|
using (var needsValue = INCarDefrosterResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INCarDefrosterResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INCarDefrosterResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INCarDefrosterResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCarDefrosterResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCarDefrosterResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#endif
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INCarSeatResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#if __WATCHOS__
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarSeatResolutionResult.NeedsValue; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarSeatResolutionResult.NotRequired; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INCarSeatResolutionResult.Unsupported; });
|
|
|
|
|
#else
|
2016-08-24 18:14:27 +03:00
|
|
|
|
using (var needsValue = INCarSeatResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INCarSeatResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INCarSeatResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INCarSeatResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCarSeatResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCarSeatResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#endif
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INCurrencyAmountResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INCurrencyAmountResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INCurrencyAmountResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INCurrencyAmountResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INCurrencyAmountResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCurrencyAmountResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCurrencyAmountResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INDoubleResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INDoubleResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INDoubleResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INDoubleResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INDoubleResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INDoubleResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INDoubleResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INDateComponentsResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INDateComponentsResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INDateComponentsResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INDateComponentsResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INDateComponentsResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INDateComponentsResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INDateComponentsResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INIntegerResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INIntegerResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INIntegerResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INIntegerResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INIntegerResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INIntegerResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INIntegerResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INRadioTypeResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#if __WATCHOS__
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INRadioTypeResolutionResult.NeedsValue; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INRadioTypeResolutionResult.NotRequired; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INRadioTypeResolutionResult.Unsupported; });
|
|
|
|
|
#else
|
2016-08-24 18:14:27 +03:00
|
|
|
|
using (var needsValue = INRadioTypeResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INRadioTypeResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INRadioTypeResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INRadioTypeResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INRadioTypeResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INRadioTypeResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#endif
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INRelativeReferenceResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#if __WATCHOS__
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INRelativeReferenceResolutionResult.NeedsValue; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INRelativeReferenceResolutionResult.NotRequired; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INRelativeReferenceResolutionResult.Unsupported; });
|
|
|
|
|
#else
|
2016-08-24 18:14:27 +03:00
|
|
|
|
using (var needsValue = INRelativeReferenceResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INRelativeReferenceResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INRelativeReferenceResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INRelativeReferenceResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INRelativeReferenceResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INRelativeReferenceResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#endif
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INRelativeSettingResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#if __WATCHOS__
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INRelativeSettingResolutionResult.NeedsValue; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INRelativeSettingResolutionResult.NotRequired; });
|
|
|
|
|
Assert.Throws<PlatformNotSupportedException> (() => { var v = INRelativeSettingResolutionResult.Unsupported; });
|
|
|
|
|
#else
|
2016-08-24 18:14:27 +03:00
|
|
|
|
using (var needsValue = INRelativeSettingResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INRelativeSettingResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INRelativeSettingResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INRelativeSettingResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INRelativeSettingResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INRelativeSettingResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#endif
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
|
2017-02-15 16:13:27 +03:00
|
|
|
|
#if !__WATCHOS__
|
2016-08-24 18:14:27 +03:00
|
|
|
|
[Test]
|
|
|
|
|
public void INRestaurantGuestResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INRestaurantGuestResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INRestaurantGuestResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INRestaurantGuestResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INRestaurantGuestResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INRestaurantGuestResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INRestaurantGuestResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INRestaurantResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INRestaurantResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INRestaurantResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INRestaurantResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INRestaurantResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INRestaurantResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INRestaurantResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-07-16 09:19:33 +03:00
|
|
|
|
#endif // !__WATCHOS__
|
2016-08-24 18:14:27 +03:00
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INTemperatureResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INTemperatureResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INTemperatureResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INTemperatureResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INTemperatureResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INTemperatureResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INTemperatureResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INWorkoutGoalUnitTypeResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INWorkoutGoalUnitTypeResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INWorkoutGoalUnitTypeResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INWorkoutGoalUnitTypeResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INWorkoutGoalUnitTypeResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INWorkoutGoalUnitTypeResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INWorkoutGoalUnitTypeResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INWorkoutLocationTypeResolutionResultPropertyTest ()
|
|
|
|
|
{
|
|
|
|
|
using (var needsValue = INWorkoutLocationTypeResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INWorkoutLocationTypeResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INWorkoutLocationTypeResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INWorkoutLocationTypeResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INWorkoutLocationTypeResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INWorkoutLocationTypeResolutionResult), unsupported, "Unsupported");
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2017-01-12 21:13:56 +03:00
|
|
|
|
#endif
|
2017-02-15 16:13:27 +03:00
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INBillPayeeResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2017-07-20 18:08:25 +03:00
|
|
|
|
TestRuntime.AssertXcodeVersion (8, 3);
|
|
|
|
|
|
2017-02-15 16:13:27 +03:00
|
|
|
|
using (var needsValue = INBillPayeeResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INBillPayeeResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INBillPayeeResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INBillPayeeResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INBillPayeeResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INBillPayeeResolutionResult), unsupported, "Unsupported");
|
2017-02-15 16:13:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INBillTypeResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2017-07-20 18:08:25 +03:00
|
|
|
|
TestRuntime.AssertXcodeVersion (8, 3);
|
|
|
|
|
|
2017-02-15 16:13:27 +03:00
|
|
|
|
using (var needsValue = INBillTypeResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INBillTypeResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INBillTypeResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INBillTypeResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INBillTypeResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INBillTypeResolutionResult), unsupported, "Unsupported");
|
2017-02-15 16:13:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INCarSignalOptionsResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2017-07-20 18:08:25 +03:00
|
|
|
|
TestRuntime.AssertXcodeVersion (8, 3);
|
|
|
|
|
|
2017-02-15 16:13:27 +03:00
|
|
|
|
using (var needsValue = INCarSignalOptionsResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INCarSignalOptionsResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INCarSignalOptionsResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INCarSignalOptionsResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCarSignalOptionsResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INCarSignalOptionsResolutionResult), unsupported, "Unsupported");
|
2017-02-15 16:13:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INPaymentAmountResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2017-07-20 18:08:25 +03:00
|
|
|
|
TestRuntime.AssertXcodeVersion (8, 3);
|
|
|
|
|
|
2017-02-15 16:13:27 +03:00
|
|
|
|
using (var needsValue = INPaymentAmountResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INPaymentAmountResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INPaymentAmountResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INPaymentAmountResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INPaymentAmountResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INPaymentAmountResolutionResult), unsupported, "Unsupported");
|
2017-02-15 16:13:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INPaymentStatusResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2017-07-20 18:08:25 +03:00
|
|
|
|
TestRuntime.AssertXcodeVersion (8, 3);
|
|
|
|
|
|
2017-02-15 16:13:27 +03:00
|
|
|
|
using (var needsValue = INPaymentStatusResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INPaymentStatusResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INPaymentStatusResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INPaymentStatusResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INPaymentStatusResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INPaymentStatusResolutionResult), unsupported, "Unsupported");
|
2017-02-15 16:13:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
public void INPaymentAccountResolutionResultPropertyTest ()
|
|
|
|
|
{
|
2017-07-20 18:08:25 +03:00
|
|
|
|
TestRuntime.AssertXcodeVersion (8, 3);
|
|
|
|
|
|
2017-02-15 16:13:27 +03:00
|
|
|
|
using (var needsValue = INPaymentAccountResolutionResult.NeedsValue)
|
|
|
|
|
using (var notRequired = INPaymentAccountResolutionResult.NotRequired)
|
|
|
|
|
using (var unsupported = INPaymentAccountResolutionResult.Unsupported) {
|
|
|
|
|
Assert.NotNull (needsValue, "NeedsValue Null");
|
|
|
|
|
Assert.NotNull (notRequired, "NotRequired Null");
|
|
|
|
|
Assert.NotNull (unsupported, "Unsupported Null");
|
|
|
|
|
|
2020-07-14 16:45:24 +03:00
|
|
|
|
Assert.IsInstanceOf (typeof (INPaymentAccountResolutionResult), needsValue, "NeedsValue");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INPaymentAccountResolutionResult), notRequired, "NotRequired");
|
|
|
|
|
Assert.IsInstanceOf (typeof (INPaymentAccountResolutionResult), unsupported, "Unsupported");
|
2017-02-15 16:13:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
2016-08-24 18:14:27 +03:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|