mirror of
https://github.com/chylex/.NET-Community-Toolkit.git
synced 2025-04-10 11:15:45 +02:00
Minor code refactoring
This commit is contained in:
parent
0e3be7e80c
commit
274a3c0174
tests/CommunityToolkit.Mvvm.UnitTests/Collections
@ -3,15 +3,14 @@
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Specialized;
|
||||
using System.Linq;
|
||||
using CommunityToolkit.Mvvm.Collections;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace CommunityToolkit.Mvvm.UnitTests;
|
||||
namespace CommunityToolkit.Mvvm.UnitTests.Collections;
|
||||
|
||||
[TestClass]
|
||||
public class ObservableGroupTests
|
||||
public class Test_ObservableGroup
|
||||
{
|
||||
[TestMethod]
|
||||
public void Ctor_ShouldHaveExpectedState()
|
@ -8,10 +8,10 @@
|
||||
using CommunityToolkit.Mvvm.Collections;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace CommunityToolkit.Mvvm.UnitTests;
|
||||
namespace CommunityToolkit.Mvvm.UnitTests.Collections;
|
||||
|
||||
[TestClass]
|
||||
public class ObservableGroupedCollectionTests
|
||||
public class Test_ObservableGroupedCollection
|
||||
{
|
||||
[TestMethod]
|
||||
public void Ctor_ShouldHaveExpectedValues()
|
@ -3,14 +3,13 @@
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
using CommunityToolkit.Mvvm.Collections;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace CommunityToolkit.Mvvm.UnitTests;
|
||||
namespace CommunityToolkit.Mvvm.UnitTests.Collections;
|
||||
|
||||
[TestClass]
|
||||
public class ObservableGroupedCollectionExtensionsTests
|
||||
public class Test_ObservableGroupedCollectionExtensions
|
||||
{
|
||||
[TestMethod]
|
||||
public void First_WhenGroupExists_ShouldReturnFirstGroup()
|
@ -9,10 +9,10 @@
|
||||
using CommunityToolkit.Mvvm.Collections;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace CommunityToolkit.Mvvm.UnitTests;
|
||||
namespace CommunityToolkit.Mvvm.UnitTests.Collections;
|
||||
|
||||
[TestClass]
|
||||
public class ReadOnlyObservableGroupTests
|
||||
public class Test_ReadOnlyObservableGroup
|
||||
{
|
||||
[TestMethod]
|
||||
public void Ctor_WithKeyAndOBservableCollection_ShouldHaveExpectedInitialState()
|
@ -12,10 +12,10 @@
|
||||
using CommunityToolkit.Mvvm.Collections;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace CommunityToolkit.Mvvm.UnitTests;
|
||||
namespace CommunityToolkit.Mvvm.UnitTests.Collections;
|
||||
|
||||
[TestClass]
|
||||
public class ReadOnlyObservableGroupedCollectionTests
|
||||
public class Test_ReadOnlyObservableGroupedCollection
|
||||
{
|
||||
[TestMethod]
|
||||
public void Ctor_WithEmptySource_ShoudInitializeObject()
|
Loading…
Reference in New Issue
Block a user