Sergio Pedri
12ae36b594
Refactor unit tests to use new assertion helpers
...
Replaces usages of Assert.AreEqual, Assert.IsTrue, and similar assertions with new helper methods such as Assert.HasCount, Assert.IsEmpty, Assert.IsNull, and Assert.IsGreaterThanOrEqualTo across multiple test files. This improves test readability and consistency with updated assertion APIs.
2025-11-09 18:34:09 -08:00
Sergio Pedri
7d4d6ec84b
Handle 'CanExecute' with method overrides
2025-11-06 10:33:29 -08:00
Sergio Pedri
fb0facdc98
Add unit tests for new scenarios
2024-12-06 19:35:48 -08:00
Sergio Pedri
70e469101e
Remove leftover analyzer test code
2024-11-13 18:42:37 -08:00
Sergio Pedri
50d8ff5b8e
Generate new diagnostics on target symbols
2024-11-13 00:07:52 -08:00
Sergio Pedri
ae66c28c6c
Add unit tests for new WinRT analyzer
2024-11-08 17:55:27 -08:00
Sergio Pedri
a74423d1b3
Run WinRT '[RelayCommand]' tests for all Roslyn-s
2024-11-08 17:41:51 -08:00
Sergio Pedri
ec0a331005
Add unit tests for all WinRT analyzers
2024-11-07 23:12:51 -08:00
Sergio Pedri
143df8e101
Add 'InvalidGeneratedPropertyObservablePropertyAttributeAnalyzer'
2024-10-27 18:09:32 -07:00
Sergio Pedri
ead5b1163b
Add 'PropertyNameCollisionObservablePropertyAttributeAnalyzer'
2024-10-27 18:09:32 -07:00
Sergio Pedri
0b5dfb2d24
Add 'InvalidTargetObservablePropertyAttributeAnalyzer'
2024-10-27 18:09:32 -07:00
Sergio Pedri
648788ca0d
Fix last remaining unit test, and test regex
2024-10-24 22:59:33 -07:00
Sergio Pedri
b98a6586bc
Add unit test for new code fixer
2024-10-24 17:10:04 -07:00
Sergio Pedri
9ba8f27919
Add new helper for testing code fixers
2024-10-24 17:09:45 -07:00
Sergio Pedri
162bab5991
Add unit tests for invalid property declarations
2024-10-24 14:42:24 -07:00
Sergio Pedri
aabcd15960
Add initial codegen tests for partial properties
2024-10-24 00:32:34 -07:00
Sergio Pedri
bbd59ec247
Add unit tests for new analyzer
2024-10-22 23:55:53 -07:00
Sergio Pedri
c7e454a8c7
Add unit test for accessor attributes
2024-09-18 17:31:05 +02:00
Sergio Pedri
8e23ac1a03
Add unit tests for new nullable annotations
2024-09-09 13:40:44 +02:00
Sergio Pedri
2e3ca71147
Add unit tests for generated trim annotations
2024-08-21 22:56:40 -07:00
Sergio Pedri
b4bc12b092
Update assembly version in outdated unit tests
2024-08-21 22:44:31 -07:00
Sergio Pedri
8802c03f32
Update Roslyn test NuGet packages
2024-08-07 22:31:56 -07:00
Sergio Pedri
e26602c226
Fix source generator unit tests on .NET 8
2024-01-20 19:06:43 +01:00
Sergio Pedri
8e6afabe61
Add generator unit tests for new dependency generation
2023-10-24 21:43:34 +02:00
Sergio Pedri
4c8f27b235
Add unit tests for new diagnostic analyzer
2023-07-21 12:50:49 +02:00
Sergio Pedri
9f7d0bd34c
Update unit tests for negative forwarded enum values
2023-07-11 17:10:10 +02:00
Sergio Pedri
84476ced18
Add unit tests for new field escaping logic
2023-06-21 13:58:41 +02:00
Sergio Pedri
8e88f30e44
Add unit test for new async void analyzer
2023-06-08 00:34:30 +02:00
Sergio Pedri
01f07fec16
Add unit tests for new attribute expression diagnostics
2023-05-10 16:47:15 +02:00
Sergio Pedri
35db0843be
Dynamically resolve assembly version in generator tests
2023-05-10 14:39:33 +02:00
Sergio Pedri
40c82ce907
Add one more generator test for enum values
2023-05-04 16:07:05 +02:00
Sergio Pedri
374219554b
Fix forwarding attributes with negative enum values
2023-05-04 15:48:04 +02:00
Sergio Pedri
873c1c3613
Add unit tests for XML docs on generated property change args
2023-03-25 18:47:22 +01:00
Sergio Pedri
2e7634829d
Preserve /// <inheritdoc/> in top level types, add unit test
2023-03-25 18:19:37 +01:00
Sergio Pedri
3b2d287d28
Add /// <inheritdoc/> to generated type hierarchies
2023-03-25 18:11:07 +01:00
Sergio Pedri
673801af53
Update generator for unconstrained generic nullability
2023-03-14 18:34:27 +01:00
Sergio Pedri
d2fe8a0eb0
Add unit tests for [MemberNotNull] generation
2023-03-14 14:07:59 +01:00
Sergio Pedri
7c3c8c56fb
Bump version to 8.2.0
2023-03-09 21:16:11 +01:00
Sergio Pedri
66f582bd94
Fix [RelayCommand] attribute over methods with no attributes
2023-03-09 20:25:50 +01:00
Sergio Pedri
9297335238
Fix partial methods support with Roslyn 4.0
...
Also ensure a consistent order for forwarded attributes
2023-03-09 15:38:16 +01:00
Sergio Pedri
a845ad4b16
Fix attributes gathering from partial command methods
2023-03-09 14:13:34 +01:00
Sergio Pedri
fd7fa69538
Add unit tests for forwarded [RelayCommand] attributes
2023-03-08 20:19:39 +01:00
Sergio Pedri
0ea77c3aae
Add codegen test for filename hints on Roslyn 4.0.1
2023-02-14 13:49:29 +01:00
Sergio Pedri
b4b2227bd9
Fix forwarded double attribute parameters
2023-02-10 19:01:23 +01:00
Sergio Pedri
845503d7f7
Add codegen test for new partial property hooks
2023-02-01 00:07:45 +01:00
Sergio Pedri
b7f121c2ef
Update unit tests for the two new analyzers
2023-01-22 21:34:37 +01:00
Sergio Pedri
9eb3a05d85
Add unit tests for new attribute diagnostics
2023-01-16 13:21:39 +01:00
Sergio Pedri
5802e2f90b
Stop generating polyfills for nullability attributes
2022-12-19 20:31:23 +01:00
Sergio Pedri
1953935bbb
Skip field reference diagnostics from constructors
2022-12-14 16:52:19 +01:00
Sergio Pedri
35e358459b
Add unit tests for new analyzer
2022-12-12 21:35:56 +01:00