Skip to content

Commit

Permalink
chore: build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezgerges committed Nov 19, 2024
1 parent 3eb75b1 commit 191c152
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Uno.UI.RuntimeTests/MUX/Helpers/EventTester.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,14 @@ public static EventTester<UIElement, TEventArgs> FromRoutedEvent(UIElement sende
return new RoutedEventTester<TEventArgs>(sender, eventName, action);
}

public TimeSpan DefaultTimeout = FeatureConfiguration.DebugOptions.WaitIndefinitelyInEventTester ? TimeSpan.FromMilliseconds(-1) : EventTesterConfig.Timeout;
public TimeSpan DefaultTimeout =

Check warning on line 157 in src/Uno.UI.RuntimeTests/MUX/Helpers/EventTester.cs

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/MUX/Helpers/EventTester.cs#L157

Make 'DefaultTimeout' private.

Check notice on line 157 in src/Uno.UI.RuntimeTests/MUX/Helpers/EventTester.cs

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/MUX/Helpers/EventTester.cs#L157

Make this field 'private' and encapsulate it in a 'public' property.
#if HAS_UNO
FeatureConfiguration.DebugOptions.WaitIndefinitelyInEventTester
#else
Debugger.IsAttached
#endif
? TimeSpan.FromMilliseconds(-1)
: EventTesterConfig.Timeout;

private TSender Sender
{
Expand Down

0 comments on commit 191c152

Please sign in to comment.