diff --git a/ETL-Abstractions.sln.DotSettings b/ETL-Abstractions.sln.DotSettings new file mode 100644 index 00000000..aa5d6a0a --- /dev/null +++ b/ETL-Abstractions.sln.DotSettings @@ -0,0 +1,165 @@ + + + + + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + + + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + + + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + + + DO_NOT_SHOW + + + DO_NOT_SHOW + + + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + + + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + + + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + + + DO_NOT_SHOW + DO_NOT_SHOW + DO_NOT_SHOW + + + + + DO_NOT_SHOW + + + DO_NOT_SHOW + + + DO_NOT_SHOW + + + DO_NOT_SHOW + + + DO_NOT_SHOW + + + DO_NOT_SHOW + diff --git a/benchmarks/Wolfgang.Etl.Abstractions.Benchmarks/PipelineBenchmarks.cs b/benchmarks/Wolfgang.Etl.Abstractions.Benchmarks/PipelineBenchmarks.cs index ee8c914a..b597d8b5 100644 --- a/benchmarks/Wolfgang.Etl.Abstractions.Benchmarks/PipelineBenchmarks.cs +++ b/benchmarks/Wolfgang.Etl.Abstractions.Benchmarks/PipelineBenchmarks.cs @@ -1,3 +1,4 @@ +using System.Collections.Generic; using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using Wolfgang.Etl.Abstractions; diff --git a/tests/Wolfgang.Etl.Abstractions.Tests.Unit/BaseClassTests/SystemProgressTimerTests.cs b/tests/Wolfgang.Etl.Abstractions.Tests.Unit/BaseClassTests/SystemProgressTimerTests.cs index f6afead4..3647160c 100644 --- a/tests/Wolfgang.Etl.Abstractions.Tests.Unit/BaseClassTests/SystemProgressTimerTests.cs +++ b/tests/Wolfgang.Etl.Abstractions.Tests.Unit/BaseClassTests/SystemProgressTimerTests.cs @@ -242,7 +242,6 @@ private static async Task WaitUntilStable( private sealed class CapturingExtractor : ExtractorBase { private readonly Action _onTimerCreated; - private readonly int _intervalMs; private readonly int _workerDelayMs; public CapturingExtractor( @@ -251,7 +250,6 @@ public CapturingExtractor( int workerDelayMs = 0) { _onTimerCreated = onTimerCreated; - _intervalMs = intervalMs; _workerDelayMs = workerDelayMs > 0 ? workerDelayMs : intervalMs * 2; ReportingInterval = intervalMs; } diff --git a/tests/Wolfgang.Etl.Abstractions.Tests.Unit/EtlPipelineTests/EtlPipelineTests.cs b/tests/Wolfgang.Etl.Abstractions.Tests.Unit/EtlPipelineTests/EtlPipelineTests.cs index ca4f22da..c11be51b 100644 --- a/tests/Wolfgang.Etl.Abstractions.Tests.Unit/EtlPipelineTests/EtlPipelineTests.cs +++ b/tests/Wolfgang.Etl.Abstractions.Tests.Unit/EtlPipelineTests/EtlPipelineTests.cs @@ -288,7 +288,7 @@ await EtlPipeline .To(loader) .RunAsync(progress); - var final = reports.Last(); + var final = reports[reports.Count - 1]; Assert.Equal(5, final.ExtractedItemCount); Assert.Equal(5, final.LoadedItemCount); diff --git a/tests/Wolfgang.Etl.Abstractions.Tests.Unit/PipelineTests/TestDoubles/WrongOverloadCalledException.cs b/tests/Wolfgang.Etl.Abstractions.Tests.Unit/PipelineTests/TestDoubles/WrongOverloadCalledException.cs index fdc02591..e3ed8abc 100644 --- a/tests/Wolfgang.Etl.Abstractions.Tests.Unit/PipelineTests/TestDoubles/WrongOverloadCalledException.cs +++ b/tests/Wolfgang.Etl.Abstractions.Tests.Unit/PipelineTests/TestDoubles/WrongOverloadCalledException.cs @@ -9,8 +9,19 @@ namespace Wolfgang.Etl.Abstractions.Tests.Unit.PipelineTests.TestDoubles; /// internal sealed class WrongOverloadCalledException : Exception { + public WrongOverloadCalledException() + { + } + + public WrongOverloadCalledException(string overloadSignature) : base($"Unexpected call to {overloadSignature}. The pipeline routed through the wrong overload.") { } + + + public WrongOverloadCalledException(string message, Exception innerException) + : base(message, innerException) + { + } }