Complex forms in miniLcm #195
Annotations
4 errors and 10 warnings
backend/FwLite/FwLiteProjectSync.Tests/UpdateDiffTests.cs#L23
Expected property previous.Components to be a collection with 1 item(s), but found an empty collection.
Expected property previous.ComplexForms to be a collection with 1 item(s), but found an empty collection.
Expected property previous.ComplexFormTypes to be a collection with 1 item(s), but found an empty collection.
Expected property previous.Variants to be
MiniLcm.Models.Variants
{
Id = {a39f8c51-73ce-b48f-b05a-fac8855e0d6b},
{
Types = MiniLcm.Models.VariantType
{
Id = {6c37b49b-2e64-b56a-7b1b-1d461e49886b},
Name = {[MiniLcm.Models.WritingSystemId
{
Code = "ec"
}] = "24/7", [MiniLcm.Models.WritingSystemId
{
Code = "xw"
}] = "Manat"
}
}
},
VariantsOf = MiniLcm.Models.ComplexFormComponent
{
{
ComplexFormEntryId = {0859486d-b508-6be2-f725-82594243beb5},
ComplexFormHeadword = "index",
ComponentEntryId = {2629e981-cbad-ccf1-2492-4990a284ada6},
ComponentHeadword = "Strategist",
ComponentSenseId = {2e19fbc2-0caf-3075-b5e0-ef08b8758475},
Id = {8d965113-97a5-729b-9132-cc6efc41006b}
}
}
}, but found <null>.
With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Exclude member Id
- Exclude member Senses
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
|
backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L129
Expected property crdtEntries[6].Components[0].ComponentHeadword to be "Pomme" with a length of 5, but "???" has a length of 3, differs near "???" (index 0).
Expected property crdtEntries[7].ComplexForms[0].ComponentHeadword to be "Pomme" with a length of 5, but "???" has a length of 3, differs near "???" (index 0).
With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Include all non-private properties
- Include all non-private fields
- Exclude member Components[]Id
- Exclude member ComplexForms[]Id
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
|
backend/FwLite/FwLiteProjectSync.Tests/SyncTests.cs#L156
Expected property crdtEntries[6].Components[0].ComponentHeadword to be "Pomme" with a length of 5, but "???" has a length of 3, differs near "???" (index 0).
Expected property crdtEntries[9].ComplexForms[0].ComponentHeadword to be "Pomme" with a length of 5, but "???" has a length of 3, differs near "???" (index 0).
With configuration:
- Use declared types and members
- Compare enums by value
- Compare tuples by their properties
- Compare anonymous types by their properties
- Compare records by their members
- Include non-browsable members
- Include all non-private properties
- Include all non-private fields
- Exclude member Components[]Id
- Exclude member ComplexForms[]Id
- Match member by name (or throw)
- Be strict about the order of items in byte arrays
- Without automatic conversion.
|
|
backend/FwLite/MiniLcm/InMemoryApi.cs#L189
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
backend/FwLite/MiniLcm/InMemoryApi.cs#L194
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
backend/FwLite/MiniLcm/InMemoryApi.cs#L226
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
backend/FwLite/MiniLcm/InMemoryApi.cs#L245
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
backend/FwLite/FwDataMiniLcmBridge/LcmUtils/LcmThreadedProgress.cs#L10
The event 'LcmThreadedProgress.Canceling' is never used
|
backend/FwLite/FwDataMiniLcmBridge/Api/UpdateProxy/UpdateSenseProxy.cs#L121
Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD110.md)
|
backend/FwLite/FwDataMiniLcmBridge/Api/UpdateProxy/UpdateEntryProxy.cs#L38
Observe the awaitable result of this method call by awaiting it, assigning to a variable, or passing it to another method (https://github.com/Microsoft/vs-threading/blob/main/doc/analyzers/VSTHRD110.md)
|
backend/FwLite/LcmCrdt/CrdtMiniLcmApi.cs#L18
Parameter 'timeProvider' is unread.
|
backend/FwLite/LcmCrdt/Changes/RemoveSemanticDomainChange.cs#L11
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
backend/FwLite/LcmCrdt/Changes/CreateSemanticDomainChange.cs#L18
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
This job failed
Loading