Dan Walmsley
a577ee6399
add a delay when closing child windows.
3 years ago
Dan Walmsley
2b076322e5
check access before clearing job queue.
3 years ago
Dan Walmsley
b2723d84be
Revert "try and catch issue with test."
This reverts commit 1d6fb2d960 .
3 years ago
Dan Walmsley
a298ff55f9
clear dispatcher queue at the end of tests.
3 years ago
Dan Walmsley
1d6fb2d960
try and catch issue with test.
3 years ago
Dan Walmsley
4d343293c8
fix test on windows.
3 years ago
Dan Walmsley
ac9b06ef66
make integration tests intel compatible
3 years ago
Dan Walmsley
c634f11def
really really fix the test.
3 years ago
Dan Walmsley
3ec8888b5d
actually fix the test.
3 years ago
Dan Walmsley
4203bae16d
fix test.
3 years ago
Steven Kirk
16efee95ca
Disambiguate ShowWindowTest controls.
Under the appium-mac2-driver, `FindElementByAccessibilityId` doesn't actually find elements by their accessibility ID, it also finds them by their accessibility name. Since #10531 added an automation peer for `Label` which sets the accessibility name, the wrong control was being located (e.g. it located the "Position" label instead of the `Name="Position"` text box).
Disambiguate these controls by adding a `Current` prefix to make integration tests pass again.
3 years ago
Dan Walmsley
f2bceb40c9
add an integration test.
3 years ago
Tom Edwards
f36cf7e3ba
Converted several "dataValidation" properties to StyledProperty
Changed Button.IsPressed to a read-only DirectProperty
3 years ago
Tom Edwards
81530c4231
Converted a variety of writeable DirectProperty definitions to StyledProperty
3 years ago
Dan Walmsley
39126b9a8c
skip flaky test on macos.
3 years ago
Benedikt Stebner
9016933085
Fix some unit tests
3 years ago
Benedikt Stebner
147db08f90
Introduce GlyphRun.Bounds
3 years ago
Benedikt Stebner
f07e5de661
Make sure ItemsRepeater is loaded for XAML tests
3 years ago
Benedikt Stebner
48a54d67d3
Use test font family for TextLayoutTests
3 years ago
Benedikt Stebner
2364c5d140
Try to find a fallback glyph typeface for unknown font families
3 years ago
Steven Kirk
8b5114357f
Skip flaky test.
3 years ago
Julien Lebosquain
3791fa8a51
Don't add ItemsControl items to its panel logical children
3 years ago
Benedikt Stebner
5b2a6368c9
Fix some tests
3 years ago
Benedikt Stebner
d08083bbf3
Introduce font collections
3 years ago
Steven Kirk
d7b6a8e97a
Added failing test for #10398 .
3 years ago
Steven Kirk
cfd35d17d5
Added failing `SetCurrentValue` test.
`SetCurrent_Value_Persists_When_Toggling_Style_1` passes but `SetCurrent_Value_Persists_When_Toggling_Style_2` fails as it uses a different code-path.
3 years ago
Benedikt Stebner
db72ae64fc
Prevent AssetLoader.GetAssets from crashing
3 years ago
Nikita Tsukanov
a9ef92bbeb
Implemented BeginFigure(isFilled: false)
3 years ago
Max Katz
29d92f75dc
Fix Relative Source with {x:Type} bindings
3 years ago
José Pedro
5778afd76a
Added unit test for templated parent theme changed loop.
3 years ago
Benedikt Stebner
edbfd96b2d
Simply ShapedBuffer GlyphInfos access
3 years ago
Steven Kirk
f745fe1788
Use simpler event args type.
The `PointerEnteredItem` and `PointerExitedItem` were using an obsolete API to create the event args. We don't need a `PointerEventArgs` anyway, just use `RoutedEventArgs`.
3 years ago
Steven Kirk
f1759ab23e
Fix merge error.
3 years ago
Steven Kirk
f87148dbbc
Add failing unit test for #10420 .
3 years ago
Yoh Deadfall
a62096ed05
Added test for mouse device
3 years ago
Steven Kirk
ac882ad3a1
Add failing integration tests for overlay popups.
Integration tests for #10420 :
- Adds an `--overlayPopups` command-line argument to IntegrationTestApp
- Renames `TestAppFixture` -> `DefaultAppFixture`
- Adds additional `OverlayPopupsAppFixture`
- Runs ComboBox and Menu tests in both default and overlay popups mode
- VS keeps changing the `.sln` file
3 years ago
Nikita Tsukanov
ae1fcfed51
Refactored DrawingContext and VisualBrush, added DrawingBrush ( #10419 )
Refactored DrawingContext and VisualBrush, added DrawingBrush
3 years ago
Daniil Pavliuchyk
8a771855db
Add tests
3 years ago
Steven Kirk
3096a2d159
Add failing integration test.
For the following scenario:
- Open a child window of main window
- Open a modal window as a child of main window
- Close main window
- First child window should remain in front of main window
3 years ago
Steven Kirk
40ab20146f
Clear data validation when binding completes.
3 years ago
Benedikt Stebner
f5caa61051
[SKIA] UseOpacitySaveLayer feature switch ( #9964 )
* [SKIA] Introduce UseOpacitySaveLayer feature switch
* Only maintain _currentOpacity when OpacitySaveLayer is disabled
3 years ago
Steven Kirk
a899185afb
Update data validation from EffectiveValue.
Requires `ValueEntry`/`BaseValueEntry` to be available to `EffectiveValue<T>`.
Also change the tests to only test values coming back from the model in the style binding tests, as they don't work when setting local values currently. This will be fixed later.
3 years ago
Steven Kirk
23267b7967
Added additional failing tests.
3 years ago
Steven Kirk
d787a72f7f
Initial impl of data validation for styled properties.
Currently only local value bindings implemented.
3 years ago
Steven Kirk
eabc9493fa
Added tests for styled property data validation.
3 years ago
Steven Kirk
688dbc4fdc
Moved EnableDataValdiation to AvaloniaPropertyMetadata
Support data validation in StyledProperty bindings
Co-Authored-By: Tom Edwards <109803929+tomenscape@users.noreply.github.com>
3 years ago
Benedikt Stebner
1ecdf32520
Remove trailing whitespace for right aligned text
Fix justification for non wrapped text
Fix text trimming for RTL flow direction
3 years ago
Nikita Tsukanov
95b6343f8f
Respect AdornerLayer.IsClipEnabled
3 years ago
Daniil Pavliuchyk
44b833a0af
Fix test
3 years ago
Steven Kirk
2cff53c057
Added failing test for #10345 .
3 years ago