Added first controller unit test as well as several mock services

This commit is contained in:
Cameron
2024-09-08 13:17:54 -05:00
parent 296190b79c
commit fd92d38cdd
6 changed files with 242 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
using ComiServ.Background;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ComiServUnitTest.Mocks
{
internal class MockPictureConverter : IPictureConverter
{
public MockPictureConverter()
{
}
public Task<Stream> MakeThumbnail(Stream image)
{
throw new NotImplementedException();
}
public Task<Stream> Resize(Stream image, Size newSize, PictureFormats? newFormat = null)
{
throw new NotImplementedException();
}
public Task<Stream> ResizeIfBigger(Stream image, Size maxSize, PictureFormats? newFormat = null)
{
throw new NotImplementedException();
}
}
}