C#: Add unit tests for DotNet.

This commit is contained in:
Michael Nebel
2023-09-05 10:47:05 +02:00
parent f00b6e27a7
commit d60055b148
3 changed files with 251 additions and 9 deletions

View File

@@ -1,18 +1,9 @@
using Xunit;
using System.Collections.Generic;
using Semmle.Util.Logging;
using Semmle.Extraction.CSharp.DependencyFetching;
namespace Semmle.Extraction.Tests
{
internal class LoggerStub : ILogger
{
public void Log(Severity severity, string message) { }
public void Dispose() { }
}
internal class UnsafeFileReaderStub : IUnsafeFileReader
{
private readonly List<string> lines;