Fix namespace typo; add corpus service tests #1081
Annotations
3 errors
Serval.Translation.Services.EngineServiceTests ► StartBuildAsync_ParallelCorpus_TextFiles:
src/Serval/test/Serval.Translation.Tests/Services/EngineServiceTests.cs#L477
Failed test found in:
src/Serval/test/Serval.Translation.Tests/TestResults/test-results.trx
Error:
NSubstitute.Exceptions.ReceivedCallsException : Expected to receive a call matching:
StartBuildAsync({ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "parallel-corpus1", "sourceLanguage": "es", "targetLanguage": "en", "trainOnTextIds": [ "MAT" ], "sourceFiles": [ { "location": "file1.zip", "textId": "file1.zip" } ], "targetFiles": [ { "location": "file2.zip", "textId": "file2.zip" } ] } ] }, <null>, <null>, System.Threading.CancellationToken)
Actually received no matching calls.
Received 1 non-matching call (non-matching arguments indicated with '*' characters):
StartBuildAsync(*{ "engineType": "Smt", "engineId": "engine1", "buildId": "b00000000000000000000001", "corpora": [ { "id": "parallel-corpus1", "sourceLanguage": "es", "targetLanguage": "en", "trainOnTextIds": [ "MAT" ], "sourceFiles": [ { "location": "file1.zip", "textId": "MAT" } ], "targetFiles": [ { "location": "file2.zip", "textId": "MAT" } ] } ] }*, <null>, <null>, System.Threading.CancellationToken)
|
Build
Failed test were found and 'fail-on-error' option is set to true
|
Build
Process completed with exit code 1.
|