Skip to content

Commit 274a3c0

Browse files
committed
Minor code refactoring
1 parent 0e3be7e commit 274a3c0

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

tests/CommunityToolkit.Mvvm.UnitTests/Collections/ObservableGroupTests.cs renamed to tests/CommunityToolkit.Mvvm.UnitTests/Collections/Test_ObservableGroup.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
// See the LICENSE file in the project root for more information.
44

55
using System;
6-
using System.Collections.Specialized;
76
using System.Linq;
87
using CommunityToolkit.Mvvm.Collections;
98
using Microsoft.VisualStudio.TestTools.UnitTesting;
109

11-
namespace CommunityToolkit.Mvvm.UnitTests;
10+
namespace CommunityToolkit.Mvvm.UnitTests.Collections;
1211

1312
[TestClass]
14-
public class ObservableGroupTests
13+
public class Test_ObservableGroup
1514
{
1615
[TestMethod]
1716
public void Ctor_ShouldHaveExpectedState()

tests/CommunityToolkit.Mvvm.UnitTests/Collections/ObservableGroupedCollectionTests.cs renamed to tests/CommunityToolkit.Mvvm.UnitTests/Collections/Test_ObservableGroupedCollection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
using CommunityToolkit.Mvvm.Collections;
99
using Microsoft.VisualStudio.TestTools.UnitTesting;
1010

11-
namespace CommunityToolkit.Mvvm.UnitTests;
11+
namespace CommunityToolkit.Mvvm.UnitTests.Collections;
1212

1313
[TestClass]
14-
public class ObservableGroupedCollectionTests
14+
public class Test_ObservableGroupedCollection
1515
{
1616
[TestMethod]
1717
public void Ctor_ShouldHaveExpectedValues()

tests/CommunityToolkit.Mvvm.UnitTests/Collections/ObservableGroupedCollectionExtensionsTests.cs renamed to tests/CommunityToolkit.Mvvm.UnitTests/Collections/Test_ObservableGroupedCollectionExtensions.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
// See the LICENSE file in the project root for more information.
44

55
using System;
6-
using System.Linq;
76
using CommunityToolkit.Mvvm.Collections;
87
using Microsoft.VisualStudio.TestTools.UnitTesting;
98

10-
namespace CommunityToolkit.Mvvm.UnitTests;
9+
namespace CommunityToolkit.Mvvm.UnitTests.Collections;
1110

1211
[TestClass]
13-
public class ObservableGroupedCollectionExtensionsTests
12+
public class Test_ObservableGroupedCollectionExtensions
1413
{
1514
[TestMethod]
1615
public void First_WhenGroupExists_ShouldReturnFirstGroup()

tests/CommunityToolkit.Mvvm.UnitTests/Collections/ReadOnlyObservableGroupTests.cs renamed to tests/CommunityToolkit.Mvvm.UnitTests/Collections/Test_ReadOnlyObservableGroup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
using CommunityToolkit.Mvvm.Collections;
1010
using Microsoft.VisualStudio.TestTools.UnitTesting;
1111

12-
namespace CommunityToolkit.Mvvm.UnitTests;
12+
namespace CommunityToolkit.Mvvm.UnitTests.Collections;
1313

1414
[TestClass]
15-
public class ReadOnlyObservableGroupTests
15+
public class Test_ReadOnlyObservableGroup
1616
{
1717
[TestMethod]
1818
public void Ctor_WithKeyAndOBservableCollection_ShouldHaveExpectedInitialState()

tests/CommunityToolkit.Mvvm.UnitTests/Collections/ReadOnlyObservableGroupedCollectionTests.cs renamed to tests/CommunityToolkit.Mvvm.UnitTests/Collections/Test_ReadOnlyObservableGroupedCollection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
using CommunityToolkit.Mvvm.Collections;
1313
using Microsoft.VisualStudio.TestTools.UnitTesting;
1414

15-
namespace CommunityToolkit.Mvvm.UnitTests;
15+
namespace CommunityToolkit.Mvvm.UnitTests.Collections;
1616

1717
[TestClass]
18-
public class ReadOnlyObservableGroupedCollectionTests
18+
public class Test_ReadOnlyObservableGroupedCollection
1919
{
2020
[TestMethod]
2121
public void Ctor_WithEmptySource_ShoudInitializeObject()

0 commit comments

Comments
 (0)