Skip to content
GitHub Actions / .NET Test Results failed Aug 13, 2023 in 0s

.NET Test Results ❌

Tests failed

Report Passed Failed Skipped Time
TestResults/_fv-az193-93_2023-08-13_19_59_48.trx 4❌ 2s
TestResults/_fv-az193-93_2023-08-13_19_59_49.trx 25✅ 3❌ 2s

❌ TestResults/_fv-az193-93_2023-08-13_19_59_48.trx

4 tests were completed in 2s with 0 passed, 4 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests 4❌ 101ms

❌ BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests

❌ GetBookmarkingService_Exception
	Test method threw exception System.ArgumentNullException, but exception System.InvalidOperationException was expected. Exception message: System.ArgumentNullException: Value cannot be null. (Parameter 'source')
❌ GetBookmarkingService_LinkAce
	Test method BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_LinkAce threw exception: 
	System.ArgumentNullException: Value cannot be null. (Parameter 'source')
❌ GetBookmarkingService_Linkding
	Test method BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_Linkding threw exception: 
	System.ArgumentNullException: Value cannot be null. (Parameter 'source')
❌ GetBookmarkingService_Pinboard
	Test method BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_Pinboard threw exception: 
	System.ArgumentNullException: Value cannot be null. (Parameter 'source')

❌ TestResults/_fv-az193-93_2023-08-13_19_59_49.trx

28 tests were completed in 2s with 25 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
BookmarkSync.Core.Tests.Configuration.ConfigManagerTests 3❌ 51ms
BookmarkSync.Core.Tests.Entities.AccountTests 2✅ 1ms
BookmarkSync.Core.Tests.Entities.BookmarkTests 1✅ 0ms
BookmarkSync.Core.Tests.Entities.Config.AppTests 1✅ 1ms
BookmarkSync.Core.Tests.Entities.Config.BookmarkingTests 1✅ 0ms
BookmarkSync.Core.Tests.Entities.Config.InstanceTests 2✅ 1ms
BookmarkSync.Core.Tests.Extensions.StringExtensionsTests 7✅ 3ms
BookmarkSync.Core.Tests.Utilities.HtmlUtilitiesTests 5✅ 26ms
BookmarkSync.Core.Tests.Utilities.UriUtilitiesTests 6✅ 13ms

❌ BookmarkSync.Core.Tests.Configuration.ConfigManagerTests

❌ ConfigManager_HasProperties
	Initialization method BookmarkSync.Core.Tests.Configuration.ConfigManagerTests.Init threw exception. System.ArgumentNullException: Value cannot be null. (Parameter 'source').
❌ GetConfigValue_InvalidKey
	Initialization method BookmarkSync.Core.Tests.Configuration.ConfigManagerTests.Init threw exception. System.ArgumentNullException: Value cannot be null. (Parameter 'source').
❌ GetConfigValue_Success
	Initialization method BookmarkSync.Core.Tests.Configuration.ConfigManagerTests.Init threw exception. System.ArgumentNullException: Value cannot be null. (Parameter 'source').

✅ BookmarkSync.Core.Tests.Entities.AccountTests

✅ Account_HasProperties
✅ Account_ToString_Is_Name

✅ BookmarkSync.Core.Tests.Entities.BookmarkTests

✅ Bookmark_HasProperties

✅ BookmarkSync.Core.Tests.Entities.Config.AppTests

✅ App_HasProperties

✅ BookmarkSync.Core.Tests.Entities.Config.BookmarkingTests

✅ Bookmarking_HasProperties

✅ BookmarkSync.Core.Tests.Entities.Config.InstanceTests

✅ Instance_HasProperties
✅ Instance_ToString_Is_Uri

✅ BookmarkSync.Core.Tests.Extensions.StringExtensionsTests

✅ HasLeadingAt_Success (@prplecake,True)
✅ HasLeadingAt_Success (flipper,False)
✅ RemoveLeadingAt_Success (@[email protected],[email protected])
✅ RemoveLeadingAt_Success ([email protected],[email protected])
✅ ToSnakeCase_Success (Example,example)
✅ ToSnakeCase_Success (Example2,example2)
✅ ToSnakeCase_Success (TestCase,test_case)

✅ BookmarkSync.Core.Tests.Utilities.HtmlUtilitiesTests

✅ ConvertToPlainText_Success
✅ ConvertToPlainText_WithBr
✅ ConvertToPlainText_WithComments
✅ ConvertToPlainText_WithScripts
✅ ConvertToPlainText_WithStyle

✅ BookmarkSync.Core.Tests.Utilities.UriUtilitiesTests

✅ UriUtilities_HttpProto (http://example.com)
✅ UriUtilities_HttpProto (http://example.com/)
✅ UriUtilities_HttpsProto (https://example.com)
✅ UriUtilities_HttpsProto (https://example.com/)
✅ UriUtilities_NoProto (example.com)
✅ UriUtilities_NoProto (example.com/)

Annotations

Check failure on line 54 in src/BookmarkSync.Core/Configuration/ConfigManager.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Test Results

BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests ► GetBookmarkingService_Exception

Failed test found in:
  TestResults/_fv-az193-93_2023-08-13_19_59_48.trx
Error:
  Test method threw exception System.ArgumentNullException, but exception System.InvalidOperationException was expected. Exception message: System.ArgumentNullException: Value cannot be null. (Parameter 'source')
Raw output
Test method threw exception System.ArgumentNullException, but exception System.InvalidOperationException was expected. Exception message: System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at BookmarkSync.Core.Configuration.ConfigManager.CleanUpIgnoredAccounts() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 54
   at BookmarkSync.Core.Configuration.ConfigManager..ctor(IConfiguration configuration) in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 25
   at BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_Exception() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/tests/BookmarkSync.Infrastructure.Tests/Services/BookmarkingServiceTests.cs:line 23
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 54 in src/BookmarkSync.Core/Configuration/ConfigManager.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Test Results

BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests ► GetBookmarkingService_LinkAce

Failed test found in:
  TestResults/_fv-az193-93_2023-08-13_19_59_48.trx
Error:
  Test method BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_LinkAce threw exception: 
  System.ArgumentNullException: Value cannot be null. (Parameter 'source')
Raw output
Test method BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_LinkAce threw exception: 
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
    at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at BookmarkSync.Core.Configuration.ConfigManager.CleanUpIgnoredAccounts() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 54
   at BookmarkSync.Core.Configuration.ConfigManager..ctor(IConfiguration configuration) in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 25
   at BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_LinkAce() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/tests/BookmarkSync.Infrastructure.Tests/Services/BookmarkingServiceTests.cs:line 50
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 54 in src/BookmarkSync.Core/Configuration/ConfigManager.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Test Results

BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests ► GetBookmarkingService_Linkding

Failed test found in:
  TestResults/_fv-az193-93_2023-08-13_19_59_48.trx
Error:
  Test method BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_Linkding threw exception: 
  System.ArgumentNullException: Value cannot be null. (Parameter 'source')
Raw output
Test method BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_Linkding threw exception: 
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
    at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at BookmarkSync.Core.Configuration.ConfigManager.CleanUpIgnoredAccounts() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 54
   at BookmarkSync.Core.Configuration.ConfigManager..ctor(IConfiguration configuration) in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 25
   at BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_Linkding() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/tests/BookmarkSync.Infrastructure.Tests/Services/BookmarkingServiceTests.cs:line 79
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 54 in src/BookmarkSync.Core/Configuration/ConfigManager.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Test Results

BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests ► GetBookmarkingService_Pinboard

Failed test found in:
  TestResults/_fv-az193-93_2023-08-13_19_59_48.trx
Error:
  Test method BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_Pinboard threw exception: 
  System.ArgumentNullException: Value cannot be null. (Parameter 'source')
Raw output
Test method BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_Pinboard threw exception: 
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
    at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at BookmarkSync.Core.Configuration.ConfigManager.CleanUpIgnoredAccounts() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 54
   at BookmarkSync.Core.Configuration.ConfigManager..ctor(IConfiguration configuration) in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 25
   at BookmarkSync.Infrastructure.Tests.Services.BookmarkingServiceTests.GetBookmarkingService_Pinboard() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/tests/BookmarkSync.Infrastructure.Tests/Services/BookmarkingServiceTests.cs:line 105
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 54 in src/BookmarkSync.Core/Configuration/ConfigManager.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Test Results

BookmarkSync.Core.Tests.Configuration.ConfigManagerTests ► ConfigManager_HasProperties

Failed test found in:
  TestResults/_fv-az193-93_2023-08-13_19_59_49.trx
Error:
  Initialization method BookmarkSync.Core.Tests.Configuration.ConfigManagerTests.Init threw exception. System.ArgumentNullException: Value cannot be null. (Parameter 'source').
Raw output
Initialization method BookmarkSync.Core.Tests.Configuration.ConfigManagerTests.Init threw exception. System.ArgumentNullException: Value cannot be null. (Parameter 'source').
    at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at BookmarkSync.Core.Configuration.ConfigManager.CleanUpIgnoredAccounts() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 54
   at BookmarkSync.Core.Configuration.ConfigManager..ctor(IConfiguration configuration) in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 25
   at BookmarkSync.Core.Tests.Configuration.ConfigManagerTests.Init() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/tests/BookmarkSync.Core.Tests/Configuration/ConfigManagerTests.cs:line 26
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

Check failure on line 54 in src/BookmarkSync.Core/Configuration/ConfigManager.cs

See this annotation in the file changed.

@github-actions github-actions / .NET Test Results

BookmarkSync.Core.Tests.Configuration.ConfigManagerTests ► GetConfigValue_InvalidKey

Failed test found in:
  TestResults/_fv-az193-93_2023-08-13_19_59_49.trx
  TestResults/_fv-az193-93_2023-08-13_19_59_49.trx
Error:
  Initialization method BookmarkSync.Core.Tests.Configuration.ConfigManagerTests.Init threw exception. System.ArgumentNullException: Value cannot be null. (Parameter 'source').
Raw output
Initialization method BookmarkSync.Core.Tests.Configuration.ConfigManagerTests.Init threw exception. System.ArgumentNullException: Value cannot be null. (Parameter 'source').
    at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   at BookmarkSync.Core.Configuration.ConfigManager.CleanUpIgnoredAccounts() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 54
   at BookmarkSync.Core.Configuration.ConfigManager..ctor(IConfiguration configuration) in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/src/BookmarkSync.Core/Configuration/ConfigManager.cs:line 25
   at BookmarkSync.Core.Tests.Configuration.ConfigManagerTests.Init() in /home/runner/work/mastodon-bookmark-sync/mastodon-bookmark-sync/tests/BookmarkSync.Core.Tests/Configuration/ConfigManagerTests.cs:line 26
   at InvokeStub_ConfigManagerTests.Init(Object, Object, IntPtr*)
   at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)