11using System ;
22using System . Collections . Generic ;
3+ using System . Diagnostics . CodeAnalysis ;
34using System . Threading . Tasks ;
45
56using Microsoft . AspNetCore . Components ;
@@ -22,13 +23,13 @@ public abstract class FixtureBase<TFixture> : RazorTestBase
2223 /// Gets or sets the setup action to perform before the <see cref="Test"/> action,
2324 /// <see cref="TestAsync"/> action and <see cref="Tests"/> and <see cref="TestsAsync"/> actions are invoked.
2425 /// </summary>
25- [ Parameter ] public Action < TFixture > ? Setup { private get ; set ; }
26+ [ Parameter ] public Action < TFixture > ? Setup { get ; set ; }
2627
2728 /// <summary>
2829 /// Gets or sets the asynchronous setup action to perform before the <see cref="Test"/> action,
2930 /// <see cref="TestAsync"/> action and <see cref="Tests"/> and <see cref="TestsAsync"/> actions are invoked.
3031 /// </summary>
31- [ Parameter ] public Func < TFixture , Task > ? SetupAsync { private get ; set ; }
32+ [ Parameter ] public Func < TFixture , Task > ? SetupAsync { get ; set ; }
3233
3334 /// <summary>
3435 /// Gets or sets the first test action to invoke, after the <see cref="Setup"/> action has
@@ -37,7 +38,7 @@ public abstract class FixtureBase<TFixture> : RazorTestBase
3738 /// Use this to assert against the <see cref="ComponentUnderTest"/> and <see cref="Fragment"/>'s
3839 /// defined in the fixture.
3940 /// </summary>
40- [ Parameter ] public Action < TFixture > ? Test { private get ; set ; }
41+ [ Parameter ] public Action < TFixture > ? Test { get ; set ; }
4142
4243 /// <summary>
4344 /// Gets or sets the first test action to invoke, after the <see cref="SetupAsync"/> action has
@@ -46,7 +47,7 @@ public abstract class FixtureBase<TFixture> : RazorTestBase
4647 /// Use this to assert against the <see cref="ComponentUnderTest"/> and <see cref="Fragment"/>'s
4748 /// defined in the fixture.
4849 /// </summary>
49- [ Parameter ] public Func < TFixture , Task > ? TestAsync { private get ; set ; }
50+ [ Parameter ] public Func < TFixture , Task > ? TestAsync { get ; set ; }
5051
5152 /// <summary>
5253 /// Gets or sets the test actions to invoke, one at the time, in the order they are placed
@@ -56,7 +57,7 @@ public abstract class FixtureBase<TFixture> : RazorTestBase
5657 /// Use this to assert against the <see cref="ComponentUnderTest"/> and <see cref="Fragment"/>'s
5758 /// defined in the fixture.
5859 /// </summary>
59- [ Parameter ] public IReadOnlyCollection < Action < TFixture > > ? Tests { private get ; set ; }
60+ [ Parameter ] public IReadOnlyCollection < Action < TFixture > > ? Tests { get ; set ; }
6061
6162 /// <summary>
6263 /// Gets or sets the test actions to invoke, one at the time, in the order they are placed
@@ -66,7 +67,8 @@ public abstract class FixtureBase<TFixture> : RazorTestBase
6667 /// Use this to assert against the <see cref="ComponentUnderTest"/> and <see cref="Fragment"/>'s
6768 /// defined in the fixture.
6869 /// </summary>
69- [ Parameter ] public IReadOnlyCollection < Func < TFixture , Task > > ? TestsAsync { private get ; set ; }
70+ [ Parameter ]
71+ public IReadOnlyCollection < Func < TFixture , Task > > ? TestsAsync { get ; set ; }
7072
7173 /// <inheritdoc/>
7274 public override Task SetParametersAsync ( ParameterView parameters )
0 commit comments