3aa993cecb
* Don't log cancelling * redo exception handling for receive * remove null test case * clean up with Id/Json and more cancels * Change the exception stacks * fix serialization test * make a custom scrubber for internalized exceptions * clean up * fix namespaces again :( * adjust the scrubber * try to make tests more predictable * rework exceptions again * strip out compile files used * formatting * custom exception validation * fix init * Move serialization to own class * save serialize test * add deep clean * add cancellation test on save to cache * cancellation tests * format * do DI correctly * receive cancel works
23 lines
833 B
C#
23 lines
833 B
C#
using Speckle.Sdk.SQLite;
|
|
|
|
namespace Speckle.Sdk.Serialization.Tests.Framework;
|
|
|
|
public class ExceptionSendCacheManager(bool? hasObject = null) : ISqLiteJsonCacheManager
|
|
{
|
|
public void Dispose() { }
|
|
|
|
public IReadOnlyCollection<(string Id, string Json)> GetAllObjects() => throw new NotImplementedException();
|
|
|
|
public void DeleteObject(string id) => throw new NotImplementedException();
|
|
|
|
public string? GetObject(string id) => null;
|
|
|
|
public void SaveObject(string id, string json) => throw new NotImplementedException();
|
|
|
|
public void UpdateObject(string id, string json) => throw new NotImplementedException();
|
|
|
|
public void SaveObjects(IEnumerable<(string id, string json)> items) => throw new NotImplementedException();
|
|
|
|
public bool HasObject(string objectId) => hasObject ?? throw new NotImplementedException();
|
|
}
|