1
0
mirror of https://github.com/BDDSM/YY.EventLogReaderAssistant.git synced 2024-11-21 10:05:51 +02:00

Адаптировал классы для unit-тестов

This commit is contained in:
YPermitin 2020-04-13 10:30:59 +05:00
parent 34bcfa1f8a
commit 3dc724d579
6 changed files with 14 additions and 2 deletions

View File

@ -4,7 +4,9 @@ using System.Linq;
using System.Data.SQLite;
using YY.EventLogAssistant.Models;
using YY.EventLogAssistant.Services;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
{
internal sealed class EventLogLGDReader : EventLogReader

View File

@ -2,10 +2,12 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using YY.EventLogAssistant.Models;
using YY.EventLogAssistant.Services;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
{
internal sealed class EventLogLGFReader : EventLogReader

View File

@ -1,4 +1,7 @@
namespace YY.EventLogAssistant
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
{
public sealed class EventLogPosition
{

View File

@ -4,7 +4,9 @@ using System.IO;
using System.Linq;
using YY.EventLogAssistant.Services;
using YY.EventLogAssistant.Models;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
{
public abstract partial class EventLogReader : IEventLogReader, IDisposable

View File

@ -1,5 +1,6 @@
using YY.EventLogAssistant.Models;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
{
internal interface IEventLogReader

View File

@ -7,7 +7,9 @@ using YY.EventLogAssistant.Services;
using System.Text.RegularExpressions;
using System.IO;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("YY.EventLogAssistant.Tests")]
namespace YY.EventLogAssistant
{
internal sealed class LogParserLGF