Skip to content

Improved unit tests for FFmpegRunner #236

Improved unit tests for FFmpegRunner

Improved unit tests for FFmpegRunner #236

GitHub Actions / Palaso Tests failed Dec 3, 2024 in 0s

15 fail, 233 skipped, 4 653 pass in 14m 33s

     3 files  +     3       3 suites  +3   14m 33s ⏱️ + 14m 33s
 4 901 tests + 4 901   4 653 ✅ + 4 653  233 💤 +233  15 ❌ +15 
14 150 runs  +14 150  13 489 ✅ +13 489  631 💤 +631  30 ❌ +30 

Results for commit c1e1801. ± Comparison against earlier commit 2a5390f.

Annotations

Check warning on line 0 in SIL.Media.Tests.AudioSessionTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: Play_WhileRecording_Throws (SIL.Media.Tests.AudioSessionTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
  Expected: <System.ApplicationException>
  But was:  <System.IO.FileLoadException: Trying to play empty file
   at SIL.Media.WindowsAudioSession.Play() in D:\a\libpalaso\libpalaso\SIL.Media\WindowsAudioSession.cs:line 148
   at NUnit.Framework.Assert.Throws(IResolveConstraint expression, TestDelegate code, String message, Object[] args)>
   at SIL.Media.Tests.AudioSessionTests.Play_WhileRecording_Throws() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 46

1)    at SIL.Media.Tests.AudioSessionTests.Play_WhileRecording_Throws() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 46

Check warning on line 0 in SIL.Media.Tests.AudioSessionTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: RecordThenPlay_OK (SIL.Media.Tests.AudioSessionTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
System.IO.FileLoadException : Trying to play empty file   at SIL.Media.WindowsAudioSession.Play() in D:\a\libpalaso\libpalaso\SIL.Media\WindowsAudioSession.cs:line 148
   at SIL.Media.Tests.AudioSessionTests.RecordThenPlay_OK() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 400

Check warning on line 0 in SIL.Media.Tests.AudioRecorderTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: BeginRecording_OnNonUiThreadAfterMonitoringStartedOnUIThread_NoException (SIL.Media.Tests.AudioRecorderTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
OneTimeSetUp:   These tests require a microphone.
  Expected: not null
  But was:  null

Check warning on line 0 in SIL.Media.Tests.AudioSessionTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: Record_DoesRecord (SIL.Media.Tests.AudioSessionTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
  Expected: True
  But was:  False
   at SIL.Media.Tests.AudioSessionTests.Record_DoesRecord() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 461

1)    at SIL.Media.Tests.AudioSessionTests.Record_DoesRecord() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 461

Check warning on line 0 in SIL.Media.Tests.AudioSessionTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: CanRecord_WhilePlaying_False (SIL.Media.Tests.AudioSessionTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 1s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 1s]
Raw output
System.IO.FileLoadException : Trying to play empty file   at SIL.Media.WindowsAudioSession.Play() in D:\a\libpalaso\libpalaso\SIL.Media\WindowsAudioSession.cs:line 148
   at SIL.Media.Tests.AudioSessionTests.CanRecord_WhilePlaying_False() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 336

Check warning on line 0 in SIL.Media.Tests.AudioSessionTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: IsRecording_WhileRecording_True (SIL.Media.Tests.AudioSessionTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
  Expected: True
  But was:  False
   at SIL.Media.Tests.AudioSessionTests.IsRecording_WhileRecording_True() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 167

1)    at SIL.Media.Tests.AudioSessionTests.IsRecording_WhileRecording_True() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 167

Check warning on line 0 in SIL.Media.Tests.AudioSessionTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: CanPlay_WhileRecording_False (SIL.Media.Tests.AudioSessionTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
  Expected: False
  But was:  True
   at SIL.Media.Tests.AudioSessionTests.CanPlay_WhileRecording_False() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 297

1)    at SIL.Media.Tests.AudioSessionTests.CanPlay_WhileRecording_False() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 297

Check warning on line 0 in SIL.Media.Tests.AudioRecorderTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: BeginRecording_ThenStop_RecordingSavedToFile (SIL.Media.Tests.AudioRecorderTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
OneTimeSetUp:   These tests require a microphone.
  Expected: not null
  But was:  null

Check warning on line 0 in SIL.Media.Tests.AudioRecorderTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: BeginRecording_WhileRecording_ThrowsInvalidOperationException (SIL.Media.Tests.AudioRecorderTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
OneTimeSetUp:   These tests require a microphone.
  Expected: not null
  But was:  null

Check warning on line 0 in SIL.Media.Tests.AudioSessionTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: CanRecord_WhileRecording_False (SIL.Media.Tests.AudioSessionTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
  Expected: False
  But was:  True
   at SIL.Media.Tests.AudioSessionTests.CanRecord_WhileRecording_False() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 307

1)    at SIL.Media.Tests.AudioSessionTests.CanRecord_WhileRecording_False() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 307

Check warning on line 0 in SIL.Media.Tests.AudioSessionTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: RecordAndStop_FileAlreadyExists_FileReplaced (SIL.Media.Tests.AudioSessionTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 1s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 1s]
Raw output
  Expected: greater than 2024-12-03 15:12:14.628188
  But was:  2024-12-03 15:12:14.628188
   at SIL.Media.Tests.AudioSessionTests.RecordAndStop_FileAlreadyExists_FileReplaced() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 152

1)    at SIL.Media.Tests.AudioSessionTests.RecordAndStop_FileAlreadyExists_FileReplaced() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 152

Check warning on line 0 in SIL.Media.Tests.AudioSessionTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: RecordThenPlay_SmokeTest (SIL.Media.Tests.AudioSessionTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 1s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 1s]
Raw output
System.IO.FileLoadException : Trying to play empty file   at SIL.Media.WindowsAudioSession.Play() in D:\a\libpalaso\libpalaso\SIL.Media\WindowsAudioSession.cs:line 148
   at SIL.Media.Tests.AudioSessionTests.RecordThenPlay_SmokeTest() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 200

Check warning on line 0 in SIL.Media.Tests.AudioSessionTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: CanStop_WhileRecording_True (SIL.Media.Tests.AudioSessionTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
  Expected: True
  But was:  False
   at SIL.Media.Tests.AudioSessionTests.CanStop_WhileRecording_True() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 287

1)    at SIL.Media.Tests.AudioSessionTests.CanStop_WhileRecording_True() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 287

Check warning on line 0 in SIL.Media.Tests.AudioRecorderTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: BeginRecording_OnNonUiThread_Throws (SIL.Media.Tests.AudioRecorderTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
OneTimeSetUp:   These tests require a microphone.
  Expected: not null
  But was:  null

Check warning on line 0 in SIL.Media.Tests.AudioRecorderTests

See this annotation in the file changed.

@github-actions github-actions / Palaso Tests

All 2 runs failed: BeginMonitoring_WhileRecording_ThrowsInvalidOperationException (SIL.Media.Tests.AudioRecorderTests)

artifacts/Test results (net462)/results_net462_20241203151350.trx [took 0s]
artifacts/Test results (net48)/results_net48_20241203151036.trx [took 0s]
Raw output
OneTimeSetUp:   These tests require a microphone.
  Expected: not null
  But was:  null