Skip to content

Complex forms in miniLcm #167

Complex forms in miniLcm

Complex forms in miniLcm #167

Triggered via pull request September 23, 2024 09:10
Status Failure
Total duration 6m 9s
Artifacts

fw-lite.yaml

on: pull_request
Build FW Lite and run tests
5m 53s
Build FW Lite and run tests
Publish FW Lite app
0s
Publish FW Lite app
Publish FW Lite app for Mac
0s
Publish FW Lite app for Mac
Publish FW Lite app for Linux
0s
Publish FW Lite app for Linux
Sign FWLite MSIX installer
0s
Sign FWLite MSIX installer
Create Release
0s
Create Release
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 13 warnings
FwLiteProjectSync.Tests.UpdateDiffTests.EntryDiffShouldUpdateAllFields: backend/FwLite/FwLiteProjectSync.Tests/UpdateDiffTests.cs#L23
Expected property previous.ComplexForm to be MiniLcm.ComplexForm { { Components = MiniLcm.EntryReference { EntryId = {889cfa70-d588-afbd-c5dc-540a2d84a0ac}, Headword = "Frozen", SenseId = {bf12e3aa-9070-45af-8816-6f099e3ffa4f} } }, Id = {e40d45cc-e473-eac6-641f-569b9f92fd97}, Types = MiniLcm.EntryType { { Id = {54745dac-e6aa-fdef-c58c-3cceace4de40}, Name = {[MiniLcm.WritingSystemId { Code = "hc" }] = "generating", [MiniLcm.WritingSystemId { Code = "nu" }] = "bluetooth", [MiniLcm.WritingSystemId { Code = "og" }] = "Legacy" } } } }, 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.
LcmCrdt.Tests.EntityCopyMethodTests.EntityCopyMethodShouldCopyAllFields(type: typeof(LcmCrdt.Objects.Entry)): backend/FwLite/LcmCrdt.Tests/EntityCopyMethodTests.cs#L35
Expected property copy.ComplexForm to be MiniLcm.ComplexForm { { Components = MiniLcm.EntryReference { EntryId = {0781262a-0425-1d34-32a9-8011bcff0d2d}, Headword = "Fantastic Frozen Table", SenseId = {dd3cbb64-9bce-f6ff-392d-4748c7e71aef} } }, Id = {538629dc-e5ba-266d-5364-734f3d0d3309}, Types = MiniLcm.EntryType { { Id = {94da5636-a1c0-be37-2fcb-5507fb082680}, Name = <null> } } }, but found <null>. With configuration: - Use runtime 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 - Match member by name (or throw) - Be strict about the order of items in byte arrays - Without automatic conversion.
LcmCrdt.Tests.BasicApiTests.UpdateExampleSentenceTranslation
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.GetEntriesWithOptions
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.CreateEntry
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.GetEntry
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.GetEntries
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.CreateSense_WontCreateMissingDomains
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.CreateSense_WillCreateWithExistingDomains
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
LcmCrdt.Tests.BasicApiTests.UpdateExampleSentence
System.InvalidOperationException : The entity type 'EntryReference' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge.Tests/WritingSystemTests.cs#L28
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.
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge.Tests/SemanticDomainTests.cs#L37
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.
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge.Tests/PartOfSpeechTests.cs#L41
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.
Build FW Lite and run tests: backend/FwLite/MiniLcm/InMemoryApi.cs#L177
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.
Build FW Lite and run tests: backend/FwLite/MiniLcm/InMemoryApi.cs#L182
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.
Build FW Lite and run tests: backend/FwLite/MiniLcm/InMemoryApi.cs#L214
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.
Build FW Lite and run tests: backend/FwLite/MiniLcm/InMemoryApi.cs#L233
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.
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/Api/FwDataMiniLcmApi.cs#L172
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.
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/Api/FwDataMiniLcmApi.cs#L180
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.
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/Api/FwDataMiniLcmApi.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.
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/Api/FwDataMiniLcmApi.cs#L207
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.
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/Api/FwDataMiniLcmApi.cs#L334
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.
Build FW Lite and run tests: backend/FwLite/FwDataMiniLcmBridge/LcmUtils/LcmThreadedProgress.cs#L10
The event 'LcmThreadedProgress.Canceling' is never used