Sergio Pedri
f40eb62717
Add more tests for generated partial methods
2022-03-01 00:17:30 +01:00
Sergio Pedri
4fb135719f
Add unit test for new partial generated methods
2022-03-01 00:17:30 +01:00
Sergio Pedri
849a0f14e5
Fix IRecipient generator for partial recipient declarations
2022-03-01 00:17:15 +01:00
Sergio Pedri
9c0a1b36cb
Minor bug fixes, add more unit tests
2022-03-01 00:00:52 +01:00
Sergio Pedri
c9f5b9fe42
Fix async command event notifications
2022-02-28 23:35:26 +01:00
Sergio Pedri
105e31ac87
Fix some typos
2022-02-28 23:12:26 +01:00
Sergio Pedri
d776a1ecda
Add unit tests for Execute raising CanExecuteChanged if needed
2022-02-28 22:58:55 +01:00
Sergio Pedri
2ca1ac7055
Add notes on TaskSchedulerTestHelper logic
2022-02-28 22:39:23 +01:00
Sergio Pedri
55b600b5f4
Add unit tests for UnobservedTaskExceptions propagation
2022-02-28 22:37:26 +01:00
Sergio Pedri
90cf3443e3
Merge pull request #127 from CommunityToolkit/dev/default-async-command-concurrency-false
...
Switch async commands to default to no concurrent execution
2022-02-28 21:25:43 +01:00
Sergio Pedri
f6ca1f0bc4
Switch default async command concurrency to false
2022-02-27 18:53:07 +01:00
Sergio Pedri
c1cb029bc2
Fix [ObservableRecipient] with inherited base attributes
2022-02-22 20:00:26 +01:00
Sergio Pedri
b861efc8e8
Add unit tests for CanExecute on generated properties
2022-01-31 19:45:19 +01:00
Sergio Pedri
bd4f365f01
Bump NuGet package reference versions
2022-01-13 21:53:49 +01:00
Sergio Pedri
c096438a4a
Add unit tests for new generic combinations
2022-01-04 13:25:00 +01:00
Sergio Pedri
f8ca8da76a
Add [RequiresPreviewFeatures] to unsafe APIs
2022-01-01 20:11:13 +01:00
Sergio Pedri
f81cf4b4f9
Switch to target-type new() for direct return values
2022-01-01 17:02:31 +01:00
Sergio Pedri
e31a08890e
Add unit tests for attributes stripping
2021-12-31 20:10:50 +01:00
Sergio Pedri
63abbb051d
Fix generated members accessibility for sealed types
2021-12-31 18:06:42 +01:00
Sergio Pedri
704e5073f1
Enable implementing OnActivated/OnDeactivated with [ObservableRecipient]
2021-12-31 17:58:12 +01:00
Sergio Pedri
8e7c48fab1
Move MVVM Toolkit internals tests to separate project
2021-12-31 16:47:10 +01:00
Sergio Pedri
af03bdfff0
Remove trimming annoations for [ObservableRecipient] on older runtimes
2021-12-31 16:28:00 +01:00
Sergio Pedri
d01455ecb2
Add unit test for build error reported in #13
2021-12-29 18:31:47 +01:00
Sergio Pedri
9cc7d41c1e
Add FilterWithLanguageVersion extension to gate on language version
2021-12-29 18:31:11 +01:00
Sergio Pedri
48c7c73ae6
Remove non incremental generator paths from unit tests
2021-12-29 18:31:11 +01:00
Sergio Pedri
2428765852
Remove leftover DiagnosticDescriptor-s
2021-12-29 18:31:11 +01:00
Sergio Pedri
b354891cc2
Fix build errors in source generator test project
2021-12-29 18:29:56 +01:00
Sergio Pedri
6d7bf0dd14
Add vectorized Count<T> support for nint/nuint
2021-12-29 18:08:05 +01:00
Sergio Pedri
3e61aeb3c1
Remove [Pure] attribute usages
2021-12-29 18:06:54 +01:00
Sergio Pedri
e9344a6f73
Add unit tests for new interpolated Guard APIs
2021-12-20 15:51:54 +01:00
Sergio Pedri
cefd1f7c1a
Fix RuntimeHelpers.IsReferenceOrContainsReferences polyfill
2021-12-20 13:00:49 +01:00
Sergio Pedri
0ab8bd1e69
Merge pull request #64 from CommunityToolkit/dev/nullable-get-value-or-null-ref
...
Add NullableExtensions.DangerousGetValueOrNullReference
2021-12-20 12:59:58 +01:00
Sergio Pedri
c1c52da44d
Add new NullableExtensions unit tests
2021-12-17 14:02:19 +01:00
Sergio Pedri
b155e0456b
Fix incorrect namespace for NullableExtensions
2021-12-17 13:54:29 +01:00
Sergio Pedri
7f0c5a1919
Add test class name to null argument check tests
2021-12-17 00:54:25 +01:00
Sergio Pedri
c44205a15a
Add unit tests for Messaging checks
2021-12-14 10:35:14 +01:00
Sergio Pedri
35fbe9f607
Add unit tests for Input checks
2021-12-14 10:35:14 +01:00
Sergio Pedri
de5393fbb5
Add unit tests for DependencyInjection checks
2021-12-14 10:35:14 +01:00
Sergio Pedri
aee23b8935
Add unit tests for ComponentModel checks
2021-12-14 10:35:14 +01:00
Sergio Pedri
7bee2be36d
Add concurrent messenger test with multiple token types
2021-12-13 13:36:29 +01:00
Sergio Pedri
56fb755f14
Fix a bug in StrongReferenceMessenger.IsRegistered
2021-12-13 13:36:29 +01:00
Sergio Pedri
96dee08dc6
Merge pull request #48 from CommunityToolkit/dev/appcontext-switches
...
Enable INotifyPropertyChanging AppContext switch
2021-12-13 13:35:48 +01:00
Sergio Pedri
32a27ee157
Merge pull request #44 from CommunityToolkit/dev/weak-messenger-opts
...
Optimize WeakReferenceMessenger
2021-12-10 01:12:28 +01:00
Sergio Pedri
e724444cbb
Add IsINotifyPropertyChangingDisabled unit tests
2021-12-10 01:03:20 +01:00
Sergio Pedri
0ca0170da9
Resolve rebase build errors
2021-12-10 00:58:55 +01:00
Sergio Pedri
7841bb1403
Add more tests for [ICommand] default concurrency setting
2021-12-10 00:08:13 +01:00
Sergio Pedri
75c51164b3
Add concurrency control setting to [ICommand] attribute
2021-12-10 00:08:12 +01:00
Sergio Pedri
fa0eb97e3b
Add unit tests for concurrency control setting
2021-12-10 00:02:22 +01:00
Sergio Pedri
0162c71c5b
Add unit test for [AlsoNotifyCanExecuteFor]
2021-12-09 21:02:08 +01:00
Sergio Pedri
6c826407a0
Merge pull request #50 from CommunityToolkit/dev/icommand-attribute-canexecute
...
Add [ICommand] CanExecute property
2021-12-09 21:00:42 +01:00
Sergio Pedri
805437c96e
Add unit tests for Dictionary2<TKey, TValue>
2021-12-09 10:57:25 +01:00
Sergio Pedri
9ba13b7a19
Add uni tests for async command types
2021-12-09 10:49:58 +01:00
Sergio Pedri
042ff3f4c6
Add diagnostics tests for CanExecute feature, bug fixes
2021-12-09 10:49:58 +01:00
Sergio Pedri
206cc6c7ec
Add [ICommand] CanExecute unit tests
2021-12-09 10:49:58 +01:00
Sergio Pedri
b86238cad3
Update TransitiveMembersGenerator for new embedded resources
2021-12-02 18:04:37 +01:00
Sergio Pedri
39388b1c1e
Optimize ConditionalWeakTable2<,>.Enumerator
...
Also done some refactoring to streamline code across targets
2021-12-02 18:04:04 +01:00
Sergio Pedri
dd2a827694
Switch messengers to new dictionary, code refactoring
2021-12-02 18:04:03 +01:00
Sergio Pedri
1b084e4ab8
Add unit tests for ConditionalWeakTable2<TKey, TValue>
2021-12-02 18:04:03 +01:00
Sergio Pedri
8eaea35c2a
Merge pull request #29 from CommunityToolkit/dev/guard-callerargumentexpression
...
Add [CallerArgumentExpression] to Guard APIs
2021-12-02 17:57:09 +01:00
Sergio Pedri
35b034fc62
Fix StrongReferenceMessenger.Unregister, add concurrent unit tests
2021-11-29 14:21:08 +01:00
Sergio Pedri
32c23450f9
Fix some bugs in StrongReferenceMessenger.Unregister[All] APIs
2021-11-29 13:31:49 +01:00
Sergio Pedri
48ab1dda62
Streamline some build conditional blocks
2021-11-22 17:55:01 +01:00
Sergio Pedri
1910995151
Update CommunityToolkit.Mvvm to .NET 6
2021-11-22 17:37:34 +01:00
Sergio Pedri
1d420b780c
Update CommunityToolkit.HighPerformance to .NET 6
2021-11-22 17:37:34 +01:00
Sergio Pedri
5275a50ba4
Update CommunityToolkit.Diagnostics to .NET 6
2021-11-22 17:37:20 +01:00
Sergio Pedri
47b32b5953
Update CommunityToolkit.Common to .NET 6
2021-11-22 17:37:20 +01:00
Sergio Pedri
744bfca7bb
Add some sample unit tests
2021-11-15 10:54:48 +01:00
Sergio Pedri
f841be9f6f
Skip packing for auxiliary test project
2021-11-09 15:18:46 +01:00
Sergio Pedri
55f38715c2
Add missing TFMs in source generator test project
2021-11-09 15:18:46 +01:00
Sergio Pedri
e7849904a5
Rename a helper test project
...
This fixes an issue running dotnet test on the solution
2021-11-05 00:43:07 +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
e2b336184f
Fix app domain unloading issue on .NET Framework
2021-11-02 02:36:45 +01:00
Sergio Pedri
eab4b9ed28
More whitespaces and code style tweaks
2021-11-02 00:28:30 +01:00
Sergio Pedri
a1db2247fc
Fix failing unit tests
2021-11-02 00:11:58 +01:00
Sergio Pedri
93cb82a0d0
Fix incorrect whitespaces, minor code style tweaks
2021-11-02 00:01:05 +01:00
Sergio Pedri
6afdd81742
Refactor multiline variable declarations
2021-11-01 23:42:45 +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
9f4c9fad7f
Remove unnecessary using directives
2021-11-01 22:14:16 +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
11ab330e69
Enable nullability annotations in the entire solution
2021-11-01 19:27:55 +01:00
Sergio Pedri
25879bbaa4
Update NuGet packages in the solution
2021-11-01 19:01:04 +01:00
Sergio Pedri
941098338f
Remove .NET Core 2.1 targets
2021-11-01 17:48:32 +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
Sergio Pedri
2c999fbe69
Rename unit tests folder
2021-11-01 16:26:47 +01:00