Sergio Pedri
5eb6a68b42
Don't use '[ExpectedException]' in HighPerformance tests
2025-11-07 14:56:47 -08:00
Sergio Pedri
2b42d139af
Use Assert.ThrowsExactly in unit tests
...
Replaces usage of Assert.ThrowsException with Assert.ThrowsExactly across multiple unit test files to ensure that tests only pass when the exact exception type is thrown, improving test precision and reliability.
2025-11-07 11:56:48 -08:00
Sergio Pedri
d105721bb2
Replace Unsafe.NullRef<T>() with ref *(T*)null
2022-11-23 16:38:04 +01:00
Sergio Pedri
ffb818aa15
Switch .NET Core 3.1 TFM in tests to .NET 7
2022-11-16 01:48:01 +01:00
Sergio Pedri
7d68280215
Remove redundant [TestCategory] attributes
2021-11-04 21:48:54 +01:00
Sergio Pedri
a5ef60ea4d
Enable .NET Standard 2.0 tests through .NET Framework 4.7.2
2021-11-02 02:36:50 +01:00
Sergio Pedri
eab4b9ed28
More whitespaces and code style tweaks
2021-11-02 00:28:30 +01:00
Sergio Pedri
51c7a67c20
More code style improvements and tweaks
...
- Remove unused namespaces
- Remove unused attributes
- Remove unnecessary #nullable enable directives
- Sort using directives
- Simplify names
2021-11-01 22:29:46 +01:00
Sergio Pedri
58c0dd96c4
Fix namespaces in unit test projects
2021-11-01 22:12:56 +01:00
Sergio Pedri
c176080d37
Switch whole solution to file-scoped namespaces
2021-11-01 20:46:46 +01:00
Sergio Pedri
7a2295b03c
Update some code style rules
...
In particular:
- Use explicit types everywhere to improve clarity
- Use target-typed new() expression when target is explicit
- Use explicit discard for value-returning statements
2021-11-01 20:34:00 +01:00
Sergio Pedri
8b7c87284b
Update namespaces from Microsoft.Toolkit to CommunityToolkit
2021-11-01 17:22:05 +01:00
Sergio Pedri
b498321331
Rename folders/projects from Microsoft.Toolkit to CommunityToolkit
2021-11-01 17:07:47 +01:00