Change namespaces for tests
This commit is contained in:
Родитель
60b365914b
Коммит
8f3220ae37
|
@ -11,7 +11,7 @@ using MvvmCross.Platform.Logging;
|
|||
|
||||
[assembly: InternalsVisibleTo("MvvmCross.UnitTest")]
|
||||
|
||||
namespace MvvmCross
|
||||
namespace MvvmCross.Test
|
||||
{
|
||||
internal static class MvxTestLog
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@ using MvvmCross.Platform.Logging.LogProviders;
|
|||
|
||||
[assembly: InternalsVisibleTo("MvvmCross.UnitTest")]
|
||||
|
||||
namespace MvvmCross
|
||||
namespace MvvmCross.Test
|
||||
{
|
||||
internal sealed class TestLogProvider : MvxBaseLogProvider
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MS-PL license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
|
@ -8,7 +8,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
|
||||
namespace MvvmCross.Platform.Test.Converters
|
||||
namespace MvvmCross.UnitTest.Base.Converters
|
||||
{
|
||||
public class MvxDictionaryValueConverterTests : MvxDictionaryValueConverter<MvxDictionaryValueConverterTests.TestStates, string>
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using MvvmCross.Platform.Platform;
|
||||
|
||||
namespace MvvmCross.Platform.Test.Mocks
|
||||
namespace MvvmCross.UnitTest.Base.Mocks
|
||||
{
|
||||
public class MockBootstrapAction : IMvxBootstrapAction
|
||||
{
|
||||
|
@ -15,4 +15,4 @@ namespace MvvmCross.Platform.Test.Mocks
|
|||
CallCount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ using MvvmCross.Platform.Platform;
|
|||
using MvvmCross.Platform.Test.Mocks;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Platform.Test
|
||||
namespace MvvmCross.UnitTest.Base
|
||||
{
|
||||
|
||||
public class MvxBootstrapTest
|
||||
|
@ -20,4 +20,4 @@ namespace MvvmCross.Platform.Test
|
|||
Assert.Equal(1, MockBootstrapAction.CallCount);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ using MvvmCross.Platform.Core;
|
|||
using MvvmCross.Platform.IoC;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Platform.Test
|
||||
namespace MvvmCross.UnitTest.Base
|
||||
{
|
||||
|
||||
public class MvxIocPropertyInjectionTest
|
||||
|
|
|
@ -11,7 +11,7 @@ using System.Reflection;
|
|||
using System.Linq;
|
||||
using MvvmCross.Test;
|
||||
|
||||
namespace MvvmCross.Platform.Test
|
||||
namespace MvvmCross.UnitTest.Base
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxIocTest
|
||||
|
|
|
@ -10,7 +10,7 @@ using MvvmCross.Platform.Exceptions;
|
|||
using MvvmCross.Platform.Parse;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Platform.Test
|
||||
namespace MvvmCross.UnitTest.Base
|
||||
{
|
||||
|
||||
public class MvxParserTest
|
||||
|
@ -329,4 +329,4 @@ namespace MvvmCross.Platform.Test
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using MvvmCross.Platform.Core;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Platform.Test
|
||||
namespace MvvmCross.UnitTest.Base
|
||||
{
|
||||
|
||||
public class MvxPropertyNameFromExpressionTests
|
||||
|
@ -36,4 +36,4 @@ namespace MvvmCross.Platform.Test
|
|||
Assert.Equal("Foo", result);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using MvvmCross.Platform.UI;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Platform.Test.UI
|
||||
namespace MvvmCross.UnitTest.Base.UI
|
||||
{
|
||||
|
||||
public class MvxColorTests
|
||||
|
|
|
@ -17,7 +17,7 @@ using MvvmCross.Platform.Converters;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Binders
|
||||
namespace MvvmCross.UnitTest.Binding.Binders
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxSourceStepTests
|
||||
|
|
|
@ -16,7 +16,7 @@ using MvvmCross.Test;
|
|||
using MvvmCross.Test.Mocks.Dispatchers;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Bindings
|
||||
namespace MvvmCross.UnitTest.Binding.Bindings
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxFullBindingConstructionTest
|
||||
|
|
|
@ -14,7 +14,7 @@ using MvvmCross.Test;
|
|||
using MvvmCross.Test.Mocks.Dispatchers;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Bindings
|
||||
namespace MvvmCross.UnitTest.Binding.Bindings
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxFullBindingTest
|
||||
|
|
|
@ -18,7 +18,7 @@ using MvvmCross.Test;
|
|||
using MvvmCross.Test.Mocks.Dispatchers;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Bindings
|
||||
namespace MvvmCross.UnitTest.Binding.Bindings
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxFullBindingValueConversionTest
|
||||
|
|
|
@ -16,7 +16,7 @@ using MvvmCross.Platform.Converters;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.ExpressionParse
|
||||
namespace MvvmCross.UnitTest.Binding.ExpressionParse
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxExpressionBindingTest
|
||||
|
|
|
@ -10,7 +10,7 @@ using MvvmCross.Platform.Converters;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.ExtensionMethods
|
||||
namespace MvvmCross.UnitTest.Binding.ExtensionMethods
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MakeSafeValueTest
|
||||
|
|
|
@ -7,7 +7,7 @@ using System.Collections.Generic;
|
|||
using MvvmCross.Binding.Bindings.Source;
|
||||
using MvvmCross.Platform.Converters;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Mocks
|
||||
namespace MvvmCross.UnitTest.Binding.Mocks
|
||||
{
|
||||
public class MockSourceBinding : IMvxSourceBinding
|
||||
{
|
||||
|
@ -50,4 +50,4 @@ namespace MvvmCross.Binding.Test.Mocks
|
|||
return TryGetValueValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using MvvmCross.Binding.Bindings.Target;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Mocks
|
||||
namespace MvvmCross.UnitTest.Binding.Mocks
|
||||
{
|
||||
public class MockTargetBinding : IMvxTargetBinding
|
||||
{
|
||||
|
@ -46,4 +46,4 @@ namespace MvvmCross.Binding.Test.Mocks
|
|||
|
||||
public event EventHandler<MvxTargetChangedEventArgs> ValueChanged;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ using System.Globalization;
|
|||
using MvvmCross.Platform.Converters;
|
||||
using MvvmCross.Platform.Exceptions;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Mocks
|
||||
namespace MvvmCross.UnitTest.Binding.Mocks
|
||||
{
|
||||
public class MockValueConverter : IMvxValueConverter
|
||||
{
|
||||
|
@ -45,4 +45,4 @@ namespace MvvmCross.Binding.Test.Mocks
|
|||
return ConversionBackResult;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ using MvvmCross.Binding.Parse.Binding.Lang;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Parse.Binding.Lang
|
||||
namespace MvvmCross.UnitTest.Binding.Parse.Binding.Lang
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxLangBindingTest
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Parse.Binding
|
||||
namespace MvvmCross.UnitTest.Binding.Parse.Binding
|
||||
{
|
||||
public abstract class MvxBindingTest : IClassFixture<MvxTestFixture>
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ using MvvmCross.Platform.Logging;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Parse.Binding.Swiss
|
||||
namespace MvvmCross.UnitTest.Binding.Parse.Binding.Swiss
|
||||
{
|
||||
public abstract class MvxBaseSwissBindingTest<TParser>
|
||||
: MvxBindingTest
|
||||
|
|
|
@ -8,7 +8,7 @@ using MvvmCross.Platform.Logging;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Parse.Binding.Swiss
|
||||
namespace MvvmCross.UnitTest.Binding.Parse.Binding.Swiss
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxSwissBindingTest
|
||||
|
|
|
@ -9,7 +9,7 @@ using MvvmCross.Platform.Logging;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Parse.Binding.Swiss
|
||||
namespace MvvmCross.UnitTest.Binding.Parse.Binding.Swiss
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxTibetBindingTest
|
||||
|
|
|
@ -7,7 +7,7 @@ using MvvmCross.Binding.Parse.PropertyPath;
|
|||
using MvvmCross.Binding.Parse.PropertyPath.PropertyTokens;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Binding.Test.Parse.PropertyPath
|
||||
namespace MvvmCross.UnitTest.Binding.Parse.PropertyPath
|
||||
{
|
||||
|
||||
public class MvxSourcePropertyPathParserTest
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using System;
|
||||
using MvvmCross.Platform.Core;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.Dispatchers
|
||||
namespace MvvmCross.UnitTest.Mocks.Dispatchers
|
||||
{
|
||||
public class CallbackMockMainThreadDispatcher
|
||||
: MvxMainThreadDispatcher, IMvxMainThreadDispatcher
|
||||
|
@ -23,4 +23,4 @@ namespace MvvmCross.Test.Mocks.Dispatchers
|
|||
return _callback(action);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using System;
|
||||
using MvvmCross.Platform.Core;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.Dispatchers
|
||||
namespace MvvmCross.UnitTest.Mocks.Dispatchers
|
||||
{
|
||||
public class CountingMockMainThreadDispatcher
|
||||
: MvxMainThreadDispatcher, IMvxMainThreadDispatcher
|
||||
|
@ -18,4 +18,4 @@ namespace MvvmCross.Test.Mocks.Dispatchers
|
|||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using System;
|
||||
using MvvmCross.Platform.Core;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.Dispatchers
|
||||
namespace MvvmCross.UnitTest.Mocks.Dispatchers
|
||||
{
|
||||
public class InlineMockMainThreadDispatcher
|
||||
: MvxMainThreadDispatcher, IMvxMainThreadDispatcher
|
||||
|
@ -17,4 +17,4 @@ namespace MvvmCross.Test.Mocks.Dispatchers
|
|||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ using MvvmCross.Core.Views;
|
|||
using MvvmCross.Platform.Core;
|
||||
using MvvmCross.Platform.Logging;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.Dispatchers
|
||||
namespace MvvmCross.UnitTest.Mocks.Dispatchers
|
||||
{
|
||||
public class NavigationMockDispatcher
|
||||
: IMvxMainThreadDispatcher, IMvxViewDispatcher
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
using MvvmCross.Core.ViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViewModels
|
||||
{
|
||||
public abstract class AbstractTest1ViewModel : MvxViewModel
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViewModels
|
||||
{
|
||||
public class BundleObject
|
||||
{
|
||||
|
@ -39,4 +39,4 @@ namespace MvvmCross.Test.Mocks.TestViewModels
|
|||
&& TheString2 == rhs.TheString2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MS-PL license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViewModels
|
||||
{
|
||||
public class FailingMockTestThing : ITestThing
|
||||
{
|
||||
|
@ -13,4 +13,4 @@ namespace MvvmCross.Test.Mocks.TestViewModels
|
|||
throw new Exception("I always fail");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MS-PL license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViewModels
|
||||
{
|
||||
public interface ITestThing
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MS-PL license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViewModels
|
||||
{
|
||||
public class MockTestThing : ITestThing
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using MvvmCross.Core.ViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViewModels
|
||||
{
|
||||
public class ViewModelA
|
||||
: MvxViewModel
|
||||
|
@ -28,4 +28,4 @@ namespace MvvmCross.Test.Mocks.TestViewModels
|
|||
: MvxViewModel
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
using MvvmCross.Core.ViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViewModels
|
||||
{
|
||||
public class OddNameViewModel : MvxViewModel
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using System;
|
||||
using MvvmCross.Core.ViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViewModels
|
||||
{
|
||||
public class Test1ViewModel : MvxViewModel
|
||||
{
|
||||
|
@ -74,4 +74,4 @@ namespace MvvmCross.Test.Mocks.TestViewModels
|
|||
StartCalled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
using MvvmCross.Core.ViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViewModels
|
||||
{
|
||||
public class Test2ViewModel : MvxViewModel
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using System.Collections.Generic;
|
||||
using MvvmCross.Core.ViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViewModels
|
||||
{
|
||||
public class Test3ViewModel : MvxViewModel
|
||||
{
|
||||
|
@ -29,4 +29,4 @@ namespace MvvmCross.Test.Mocks.TestViewModels
|
|||
base.SaveStateToBundle(bundle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using System;
|
||||
using MvvmCross.Core.ViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViewModels
|
||||
{
|
||||
public class Test4ViewModel : MvxViewModel
|
||||
{
|
||||
|
@ -21,4 +21,4 @@ namespace MvvmCross.Test.Mocks.TestViewModels
|
|||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MS-PL license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using MvvmCross.Core.ViewModels;
|
||||
using MvvmCross.Core.Views;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViews
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViews
|
||||
{
|
||||
public abstract class AbstractTest1View : IMvxView
|
||||
{
|
||||
public object DataContext { get; set; }
|
||||
public IMvxViewModel ViewModel { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MS-PL license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using MvvmCross.Core.ViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViews
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViews
|
||||
{
|
||||
public class NotReallyAView
|
||||
{
|
||||
public object DataContext { get; set; }
|
||||
public IMvxViewModel ViewModel { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MS-PL license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
|
@ -6,7 +6,7 @@ using MvvmCross.Core.ViewModels;
|
|||
using MvvmCross.Core.Views;
|
||||
using MvvmCross.Test.Mocks.TestViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViews
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViews
|
||||
{
|
||||
public class NotTest2View : IMvxView
|
||||
{
|
||||
|
@ -14,4 +14,4 @@ namespace MvvmCross.Test.Mocks.TestViews
|
|||
IMvxViewModel IMvxView.ViewModel { get; set; }
|
||||
public Test2ViewModel ViewModel { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MS-PL license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
|
@ -6,7 +6,7 @@ using MvvmCross.Core.ViewModels;
|
|||
using MvvmCross.Core.Views;
|
||||
using MvvmCross.Test.Mocks.TestViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViews
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViews
|
||||
{
|
||||
[MvxViewFor(typeof(Test3ViewModel))]
|
||||
public class NotTest3View : IMvxView
|
||||
|
@ -14,4 +14,4 @@ namespace MvvmCross.Test.Mocks.TestViews
|
|||
public object DataContext { get; set; }
|
||||
public IMvxViewModel ViewModel { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
using MvvmCross.Core.ViewModels;
|
||||
using MvvmCross.Core.Views;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViews
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViews
|
||||
{
|
||||
public class OddNameOddness : IMvxView
|
||||
{
|
||||
public object DataContext { get; set; }
|
||||
public IMvxViewModel ViewModel { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
using MvvmCross.Core.ViewModels;
|
||||
using MvvmCross.Core.Views;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.TestViews
|
||||
namespace MvvmCross.UnitTest.Mocks.TestViews
|
||||
{
|
||||
public class Test1View : IMvxView
|
||||
{
|
||||
public object DataContext { get; set; }
|
||||
public IMvxViewModel ViewModel { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using System;
|
||||
using MvvmCross.Core.ViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.ViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.ViewModels
|
||||
{
|
||||
public class SimpleParameterTestViewModel : MvxViewModel<string>
|
||||
{
|
||||
|
|
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||
using MvvmCross.Core.Navigation;
|
||||
using MvvmCross.Core.ViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.ViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.ViewModels
|
||||
{
|
||||
public class SimpleResultTestViewModel : MvxViewModelResult<bool>
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using System;
|
||||
using MvvmCross.Core.ViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Mocks.ViewModels
|
||||
namespace MvvmCross.UnitTest.Mocks.ViewModels
|
||||
{
|
||||
public class SimpleTestViewModel : MvxViewModel
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Plugins.Color.Test
|
||||
namespace MvvmCross.UnitTest
|
||||
{
|
||||
[CollectionDefinition("MvxTest")]
|
||||
public class MvxTestCollection : ICollectionFixture<MvxTestFixture>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using MvvmCross.Core.Navigation;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.Navigation
|
||||
namespace MvvmCross.UnitTest.Navigation
|
||||
{
|
||||
public class NavigationCacheTests
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ using MvvmCross.Test.Mocks.Dispatchers;
|
|||
using MvvmCross.Test.Mocks.ViewModels;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.Navigation
|
||||
namespace MvvmCross.UnitTest.Navigation
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class NavigationServiceTests
|
||||
|
|
|
@ -22,7 +22,7 @@ using Xunit;
|
|||
[assembly: MvxNavigation(typeof(ViewModelC), @"mvx://test/\?id=(?<id>[A-Z0-9]{32})$")]
|
||||
[assembly: MvxNavigation(typeof(SimpleRoutingFacade), @"mvx://facade/\?id=(?<vm>a|b)")]
|
||||
|
||||
namespace MvvmCross.Test.Navigation
|
||||
namespace MvvmCross.UnitTest.Navigation
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class RoutingServiceTests
|
||||
|
|
|
@ -9,7 +9,7 @@ using MvvmCross.Platform;
|
|||
using MvvmCross.Test.Mocks.TestViewModels;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.Parse
|
||||
namespace MvvmCross.UnitTest.Parse
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxStringDictionaryTextSerializerTest
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
|||
using MvvmCross.Core.Platform;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.Platform
|
||||
namespace MvvmCross.UnitTest.Platform
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxSimplePropertyDictionaryExtensionMethodsTests
|
||||
|
|
|
@ -7,7 +7,7 @@ using System.Collections.Generic;
|
|||
using MvvmCross.Core.Platform;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.Platform
|
||||
namespace MvvmCross.UnitTest.Platform
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxStringToTypeParserTest
|
||||
|
|
|
@ -7,7 +7,7 @@ using MvvmCross.Core.ViewModels;
|
|||
using MvvmCross.Test.Mocks.TestViewModels;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.Platform
|
||||
namespace MvvmCross.UnitTest.Platform
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxViewModelByNameLookupTest
|
||||
|
|
|
@ -7,7 +7,7 @@ using MvvmCross.Test.Mocks.TestViewModels;
|
|||
using MvvmCross.Test.Mocks.TestViews;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.Platform
|
||||
namespace MvvmCross.UnitTest.Platform
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxViewModelViewLookupBuilderTest
|
||||
|
|
|
@ -7,7 +7,7 @@ using MvvmCross.Test.Mocks.TestViewModels;
|
|||
using MvvmCross.Test.Mocks.TestViews;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.Platform
|
||||
namespace MvvmCross.UnitTest.Platform
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxViewModelViewTypeFinderTest
|
||||
|
|
|
@ -8,7 +8,7 @@ using MvvmCross.Core.Navigation;
|
|||
using MvvmCross.Core.ViewModels;
|
||||
using MvvmCross.Test.Mocks.TestViewModels;
|
||||
|
||||
namespace MvvmCross.Test.Stubs
|
||||
namespace MvvmCross.UnitTest.Stubs
|
||||
{
|
||||
public class SimpleRoutingFacade
|
||||
: IMvxNavigationFacade
|
||||
|
|
|
@ -9,7 +9,7 @@ using MvvmCross.Core.ViewModels;
|
|||
using MvvmCross.Test.Mocks.TestViewModels;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.ViewModels
|
||||
namespace MvvmCross.UnitTest.ViewModels
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxBundleTest
|
||||
|
|
|
@ -9,7 +9,7 @@ using MvvmCross.Platform.Core;
|
|||
using MvvmCross.Test.Mocks.Dispatchers;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.ViewModels
|
||||
namespace MvvmCross.UnitTest.ViewModels
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxCommandCollectionTest
|
||||
|
|
|
@ -9,7 +9,7 @@ using MvvmCross.Platform.Exceptions;
|
|||
using MvvmCross.Test.Mocks.TestViewModels;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.ViewModels
|
||||
namespace MvvmCross.UnitTest.ViewModels
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxDefaultViewModelLocatorTest
|
||||
|
|
|
@ -10,7 +10,7 @@ using MvvmCross.Platform.Core;
|
|||
using MvvmCross.Test.Mocks.Dispatchers;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.ViewModels
|
||||
namespace MvvmCross.UnitTest.ViewModels
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxNotifyPropertyChangedTest
|
||||
|
|
|
@ -9,7 +9,7 @@ using MvvmCross.Core.ViewModels;
|
|||
using MvvmCross.Test.Mocks.TestViewModels;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.ViewModels
|
||||
namespace MvvmCross.UnitTest.ViewModels
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxSaveStateTest
|
||||
|
|
|
@ -10,7 +10,7 @@ using MvvmCross.Platform.Exceptions;
|
|||
using MvvmCross.Test.Mocks.TestViewModels;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Test.ViewModels
|
||||
namespace MvvmCross.UnitTest.ViewModels
|
||||
{
|
||||
[Collection("MvxTest")]
|
||||
public class MvxViewModelLoaderTest
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Plugins.Color.Test
|
||||
namespace MvvmCross.Plugins.Color.UnitTest
|
||||
{
|
||||
[CollectionDefinition("Color")]
|
||||
public class ColorCollection : ICollectionFixture<MvxTestFixture>
|
||||
|
|
|
@ -6,7 +6,7 @@ using MvvmCross.Platform.UI;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Plugins.Color.Test
|
||||
namespace MvvmCross.Plugins.Color.UnitTest
|
||||
{
|
||||
public class MvxColorValueConverterTest : IClassFixture<MvxTestFixture>
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Globalization;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Plugins.Color.Test
|
||||
namespace MvvmCross.Plugins.Color.UnitTest
|
||||
{
|
||||
[Collection("Color")]
|
||||
public class MvxRgbIntValueConverterTest : MvxColorValueConverterTest
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Globalization;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Plugins.Color.Test
|
||||
namespace MvvmCross.Plugins.Color.UnitTest
|
||||
{
|
||||
[Collection("Color")]
|
||||
public class MvxRgbaValueConverterTest : MvxColorValueConverterTest
|
||||
|
|
|
@ -7,7 +7,7 @@ using MvvmCross.Plugins.JsonLocalization.Tests.Mocks;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Plugins.JsonLocalization.Tests
|
||||
namespace MvvmCross.Plugins.JsonLocalization.UnitTest
|
||||
{
|
||||
public class MvxDictionaryTextProviderTest : IClassFixture<MvxTestFixture>
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// The .NET Foundation licenses this file to you under the MS-PL license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace MvvmCross.Plugins.JsonLocalization.Tests.Mocks
|
||||
namespace MvvmCross.Plugins.JsonLocalization.UnitTest.TestClasses
|
||||
{
|
||||
internal class TestDictionaryTextProvider : MvxDictionaryTextProvider
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@ using System.Threading;
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Plugins.Messenger.Test
|
||||
namespace MvvmCross.Plugins.Messenger.UnitTest
|
||||
{
|
||||
public class MessengerHubTest : IClassFixture<MvxTestFixture>
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
using MvvmCross.Test;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Plugins.Network.Test
|
||||
namespace MvvmCross.Plugins.Network.UnitTest
|
||||
{
|
||||
[CollectionDefinition("Rest")]
|
||||
public class RestCollection : ICollectionFixture<MvxTestFixture>
|
||||
|
|
|
@ -10,7 +10,7 @@ using MvvmCross.Plugins.Network.Rest;
|
|||
using MvvmCross.Plugins.Network.Test.TestClasses.GoogleBooks;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Plugins.Network.Test
|
||||
namespace MvvmCross.Plugins.Network.UnitTest
|
||||
{
|
||||
|
||||
[Collection("Rest")]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// The .NET Foundation licenses this file to you under the MS-PL license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace MvvmCross.Plugins.Network.Test.TestClasses.GoogleBooks
|
||||
namespace MvvmCross.Plugins.Network.UnitTest.TestClasses.GoogleBooks
|
||||
{
|
||||
public class BookSearchItem
|
||||
{
|
||||
|
@ -15,4 +15,4 @@ namespace MvvmCross.Plugins.Network.Test.TestClasses.GoogleBooks
|
|||
return volumeInfo.title;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MvvmCross.Plugins.Network.Test.TestClasses.GoogleBooks
|
||||
namespace MvvmCross.Plugins.Network.UnitTest.TestClasses.GoogleBooks
|
||||
{
|
||||
public class BookSearchResult
|
||||
{
|
||||
public List<BookSearchItem> items { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using System;
|
||||
|
||||
namespace MvvmCross.Plugins.Network.Test.TestClasses.GoogleBooks
|
||||
namespace MvvmCross.Plugins.Network.UnitTest.TestClasses.GoogleBooks
|
||||
{
|
||||
public static class BooksService
|
||||
{
|
||||
|
@ -14,4 +14,4 @@ namespace MvvmCross.Plugins.Network.Test.TestClasses.GoogleBooks
|
|||
return address;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
// The .NET Foundation licenses this file to you under the MS-PL license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace MvvmCross.Plugins.Network.Test.TestClasses.GoogleBooks
|
||||
namespace MvvmCross.Plugins.Network.UnitTest.TestClasses.GoogleBooks
|
||||
{
|
||||
public class ImageLinks
|
||||
{
|
||||
public string smallThumbnail { get; set; }
|
||||
public string thumbnail { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MvvmCross.Plugins.Network.Test.TestClasses.GoogleBooks
|
||||
namespace MvvmCross.Plugins.Network.UnitTest.TestClasses.GoogleBooks
|
||||
{
|
||||
public class VolumeInfo
|
||||
{
|
||||
|
@ -25,4 +25,4 @@ namespace MvvmCross.Plugins.Network.Test.TestClasses.GoogleBooks
|
|||
public string infoLink { get; set; }
|
||||
public string canonicalVolumeLink { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Plugins.ResourceLoader.Test
|
||||
namespace MvvmCross.Plugins.ResourceLoader.UnitTest
|
||||
{
|
||||
public class MvxResourceProviderTest
|
||||
{
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Globalization;
|
|||
using System.Linq;
|
||||
using System.Resources;
|
||||
|
||||
namespace MvvmCross.Plugins.ResxLocalization.Tests.Mocks
|
||||
namespace MvvmCross.Plugins.ResxLocalization.UnitTest.Mocks
|
||||
{
|
||||
internal class MockResourceManager : ResourceManager
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
using MvvmCross.Plugins.ResxLocalization.Tests.Mocks;
|
||||
using Xunit;
|
||||
|
||||
namespace MvvmCross.Plugins.ResxLocalization.Tests
|
||||
namespace MvvmCross.Plugins.ResxLocalization.UnitTest
|
||||
{
|
||||
|
||||
public class MvxResxTextProviderTests
|
||||
|
|
Загрузка…
Ссылка в новой задаче