Skip to content

Commit c513ab9

Browse files
chore(ci): bump dailydevops/pipelines from 0.12.11 to 0.12.12 (#67)
* chore(ci): bump dailydevops/pipelines from 0.12.11 to 0.12.12 Bumps [dailydevops/pipelines](https://github.com/dailydevops/pipelines) from 0.12.11 to 0.12.12. - [Release notes](https://github.com/dailydevops/pipelines/releases) - [Commits](dailydevops/pipelines@0.12.11...0.12.12) --- updated-dependencies: - dependency-name: dailydevops/pipelines dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * style: updated formatting --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Martin Stühmer <me@samtrion.net>
1 parent eeabacf commit c513ab9

4 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
all:
2323
name: Build & Tests
24-
uses: dailydevops/pipelines/.github/workflows/cicd-dotnet.yml@0.12.11
24+
uses: dailydevops/pipelines/.github/workflows/cicd-dotnet.yml@0.12.12
2525
with:
2626
enableSonarQube: true
2727
dotnet-logging: ${{ inputs.dotnet-logging }}

tests/NetEvolve.Extensions.Hosting.WinForms.Tests.Unit/Internals/FormularProviderTests.cs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public void GetFormular_EverythingFine_Expected()
1818
var serviceProvider = services.BuildServiceProvider();
1919
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
2020
{
21-
Context = SynchronizationContext.Current!
21+
Context = SynchronizationContext.Current!,
2222
};
2323
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
2424

@@ -37,7 +37,7 @@ public void GetFormular_InvalidForm_ThrowsInvalidOperationException()
3737
var serviceProvider = services.BuildServiceProvider();
3838
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
3939
{
40-
Context = SynchronizationContext.Current!
40+
Context = SynchronizationContext.Current!,
4141
};
4242
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
4343

@@ -55,7 +55,7 @@ public async Task GetFormularAsync_EverythingFine_Expected()
5555
var serviceProvider = services.BuildServiceProvider();
5656
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
5757
{
58-
Context = SynchronizationContext.Current!
58+
Context = SynchronizationContext.Current!,
5959
};
6060
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
6161

@@ -74,7 +74,7 @@ public async Task GetFormularAsync_InvalidForm_ThrowsInvalidOperationException()
7474
var serviceProvider = services.BuildServiceProvider();
7575
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
7676
{
77-
Context = SynchronizationContext.Current!
77+
Context = SynchronizationContext.Current!,
7878
};
7979
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
8080

@@ -92,7 +92,7 @@ public void GetScopedForm_EverythingFine_Expected()
9292
var serviceProvider = services.BuildServiceProvider();
9393
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
9494
{
95-
Context = SynchronizationContext.Current!
95+
Context = SynchronizationContext.Current!,
9696
};
9797
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
9898

@@ -111,7 +111,7 @@ public void GetScopedForm_InvalidForm_ThrowsInvalidOperationException()
111111
var serviceProvider = services.BuildServiceProvider();
112112
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
113113
{
114-
Context = SynchronizationContext.Current!
114+
Context = SynchronizationContext.Current!,
115115
};
116116
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
117117

@@ -129,7 +129,7 @@ public async Task GetScopedFormAsync_EverythingFine_Expected()
129129
var serviceProvider = services.BuildServiceProvider();
130130
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
131131
{
132-
Context = SynchronizationContext.Current!
132+
Context = SynchronizationContext.Current!,
133133
};
134134
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
135135

@@ -148,7 +148,7 @@ public async Task GetScopedFormAsync_InvalidForm_ThrowsInvalidOperationException
148148
var serviceProvider = services.BuildServiceProvider();
149149
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
150150
{
151-
Context = SynchronizationContext.Current!
151+
Context = SynchronizationContext.Current!,
152152
};
153153
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
154154

@@ -166,7 +166,7 @@ public void GetScopedForm_WithScope_EverythingFine_Expected()
166166
var serviceProvider = services.BuildServiceProvider();
167167
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
168168
{
169-
Context = SynchronizationContext.Current!
169+
Context = SynchronizationContext.Current!,
170170
};
171171
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
172172
using var scope = serviceProvider.CreateScope();
@@ -186,7 +186,7 @@ public void GetScopedForm_WithScope_InvalidForm_ThrowsInvalidOperationException(
186186
var serviceProvider = services.BuildServiceProvider();
187187
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
188188
{
189-
Context = SynchronizationContext.Current!
189+
Context = SynchronizationContext.Current!,
190190
};
191191
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
192192
using var scope = serviceProvider.CreateScope();
@@ -205,7 +205,7 @@ public async Task GetScopedFormAsync_WithScope_EverythingFine_Expected()
205205
var serviceProvider = services.BuildServiceProvider();
206206
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
207207
{
208-
Context = SynchronizationContext.Current!
208+
Context = SynchronizationContext.Current!,
209209
};
210210
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
211211
using var scope = serviceProvider.CreateScope();
@@ -225,7 +225,7 @@ public async Task GetScopedFormAsync_WithScope_InvalidForm_ThrowsInvalidOperatio
225225
var serviceProvider = services.BuildServiceProvider();
226226
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
227227
{
228-
Context = SynchronizationContext.Current!
228+
Context = SynchronizationContext.Current!,
229229
};
230230
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
231231
using var scope = serviceProvider.CreateScope();
@@ -246,7 +246,7 @@ public void GetMainFormular_EverythingFine_Expected()
246246
var serviceProvider = services.BuildServiceProvider();
247247
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
248248
{
249-
Context = SynchronizationContext.Current!
249+
Context = SynchronizationContext.Current!,
250250
};
251251
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
252252

@@ -267,7 +267,7 @@ public void GetMainFormular_InvalidForm_ThrowsInvalidOperationException()
267267
var serviceProvider = services.BuildServiceProvider();
268268
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
269269
{
270-
Context = SynchronizationContext.Current!
270+
Context = SynchronizationContext.Current!,
271271
};
272272
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
273273

@@ -285,7 +285,7 @@ public async Task GetMainFormularAsync_EverythingFine_Expected()
285285
var serviceProvider = services.BuildServiceProvider();
286286
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
287287
{
288-
Context = SynchronizationContext.Current!
288+
Context = SynchronizationContext.Current!,
289289
};
290290
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
291291

@@ -306,7 +306,7 @@ public async Task GetMainFormularAsync_InvalidForm_ThrowsInvalidOperationExcepti
306306
var serviceProvider = services.BuildServiceProvider();
307307
var synchronizationContext = new WindowsFormsSynchronizationContextProvider
308308
{
309-
Context = SynchronizationContext.Current!
309+
Context = SynchronizationContext.Current!,
310310
};
311311
using var formularProvider = new FormularProvider(serviceProvider, synchronizationContext);
312312

tests/NetEvolve.Extensions.Hosting.WinForms.Tests.Unit/Internals/IServiceCollectionExtensionsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ public void AddWindowsFormsLifetime_ConfigurationNull_Expected(
3939
{
4040
options.EnableConsoleShutdown = true;
4141
}
42-
}
42+
},
4343
};
4444
}

tests/NetEvolve.Extensions.Hosting.WinForms.Tests.Unit/Internals/WindowsFormsSynchronizationContextProviderTests.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void Invoke_Action_Expected()
3737
WindowsFormsSynchronizationContext.AutoInstall = false;
3838
var provider = new WindowsFormsSynchronizationContextProvider
3939
{
40-
Context = SynchronizationContext.Current!
40+
Context = SynchronizationContext.Current!,
4141
};
4242

4343
// Act / Assert
@@ -74,7 +74,7 @@ public void Invoke_Func_Expected()
7474
WindowsFormsSynchronizationContext.AutoInstall = false;
7575
var provider = new WindowsFormsSynchronizationContextProvider
7676
{
77-
Context = SynchronizationContext.Current!
77+
Context = SynchronizationContext.Current!,
7878
};
7979

8080
// Act
@@ -118,7 +118,7 @@ public void Invoke_FuncWithInput_Expected()
118118
WindowsFormsSynchronizationContext.AutoInstall = false;
119119
var provider = new WindowsFormsSynchronizationContextProvider
120120
{
121-
Context = SynchronizationContext.Current!
121+
Context = SynchronizationContext.Current!,
122122
};
123123

124124
// Act
@@ -161,7 +161,7 @@ public async Task InvokeAsync_ActionThrows_ExpectedException()
161161
WindowsFormsSynchronizationContext.AutoInstall = false;
162162
var provider = new WindowsFormsSynchronizationContextProvider
163163
{
164-
Context = SynchronizationContext.Current!
164+
Context = SynchronizationContext.Current!,
165165
};
166166

167167
// Act
@@ -182,7 +182,7 @@ public async Task InvokeAsync_Action_CancellationTokenCanceled_ThrowsTaskCancele
182182
WindowsFormsSynchronizationContext.AutoInstall = false;
183183
var provider = new WindowsFormsSynchronizationContextProvider
184184
{
185-
Context = new WindowsFormsSynchronizationContext()
185+
Context = new WindowsFormsSynchronizationContext(),
186186
};
187187

188188
// Act
@@ -199,7 +199,7 @@ public async Task InvokeAsync_Action_Expected()
199199
WindowsFormsSynchronizationContext.AutoInstall = false;
200200
var provider = new WindowsFormsSynchronizationContextProvider
201201
{
202-
Context = SynchronizationContext.Current!
202+
Context = SynchronizationContext.Current!,
203203
};
204204

205205
// Act
@@ -243,7 +243,7 @@ public async Task InvokeAsync_FuncThrows_ExpectedException()
243243
WindowsFormsSynchronizationContext.AutoInstall = false;
244244
var provider = new WindowsFormsSynchronizationContextProvider
245245
{
246-
Context = SynchronizationContext.Current!
246+
Context = SynchronizationContext.Current!,
247247
};
248248

249249
// Act
@@ -264,7 +264,7 @@ public async Task InvokeAsync_Func_CancellationTokenCanceled_ThrowsTaskCanceledE
264264
WindowsFormsSynchronizationContext.AutoInstall = false;
265265
var provider = new WindowsFormsSynchronizationContextProvider
266266
{
267-
Context = new WindowsFormsSynchronizationContext()
267+
Context = new WindowsFormsSynchronizationContext(),
268268
};
269269

270270
// Act
@@ -281,7 +281,7 @@ public async Task InvokeAsync_Func_Expected()
281281
WindowsFormsSynchronizationContext.AutoInstall = false;
282282
var provider = new WindowsFormsSynchronizationContextProvider
283283
{
284-
Context = SynchronizationContext.Current!
284+
Context = SynchronizationContext.Current!,
285285
};
286286

287287
// Act
@@ -325,7 +325,7 @@ public async Task InvokeAsync_FuncWithInputThrows_ExpectedException()
325325
WindowsFormsSynchronizationContext.AutoInstall = false;
326326
var provider = new WindowsFormsSynchronizationContextProvider
327327
{
328-
Context = SynchronizationContext.Current!
328+
Context = SynchronizationContext.Current!,
329329
};
330330

331331
// Act
@@ -349,7 +349,7 @@ public async Task InvokeAsync_FuncWithInput_CancellationTokenCanceled_ThrowsTask
349349
WindowsFormsSynchronizationContext.AutoInstall = false;
350350
var provider = new WindowsFormsSynchronizationContextProvider
351351
{
352-
Context = new WindowsFormsSynchronizationContext()
352+
Context = new WindowsFormsSynchronizationContext(),
353353
};
354354

355355
// Act
@@ -371,7 +371,7 @@ public async Task InvokeAsync_FuncWithInput_Expected()
371371
WindowsFormsSynchronizationContext.AutoInstall = false;
372372
var provider = new WindowsFormsSynchronizationContextProvider
373373
{
374-
Context = SynchronizationContext.Current!
374+
Context = SynchronizationContext.Current!,
375375
};
376376

377377
// Act

0 commit comments

Comments
 (0)