Steven Kirk
456ddbb04b
Don't try to run macOS tests on Windows.
4 years ago
Steven Kirk
d87e7faa60
Added failing tests for #10650 .
4 years ago
Tom Edwards
86324dca77
Convert Text properties to StyledProperty
4 years ago
robloo
cc7656eecb
Rename ContextMenu.PlacementMode to ContextMenu.Placement
4 years ago
robloo
2eb04c2719
Rename Popup.PlacementMode to Popup.Placement
4 years ago
Steven Kirk
0a653b95c8
Use correct window chrome elements.
4 years ago
Steven Kirk
4c9bf8e53a
Fix platform fact/theory attributes.
Throwing on `Skip` setter was causing all subsequent tests in class to be ignored.
4 years ago
Steven Kirk
e378bce4ee
Nullable fixes.
4 years ago
Steven Kirk
7005333bc5
Don't get all window buttons when only one needed.
4 years ago
Steven Kirk
2cce1d4d78
Look up chrome buttons by a11y id.
XPath is slower, and unnecessary here.
4 years ago
Steven Kirk
d46eb22f4e
Don't use a tuple for window chrome buttons.
Return a record so that we can add extra elements more easily.
4 years ago
Steven Kirk
5d47043f5f
Fix expected test results.
4 years ago
Steven Kirk
ed7ee5cf39
Add Visual.GetTransformedBounds extension method.
Fixes #9569 .
4 years ago
Benedikt Stebner
beb57b646c
Fix test font typeface loading
4 years ago
Benedikt Stebner
37168e21bb
Use EnterScope
4 years ago
Benedikt Stebner
7b8f7dbfce
Normalize family names to upper case
4 years ago
Steven Kirk
f8eceb4af9
Update usages of ItemsControl Items/ItemsSource.
- Use `ItemsSource` when appropriate
- When `Items` is appropriate, don't use the setter
4 years ago
Steven Kirk
183fed8985
Add more tests.
One failing.
4 years ago
Steven Kirk
9856711494
Don't modify logical tree in ItemsSource mode.
4 years ago
Steven Kirk
ba7e8a20b5
Added ItemsControl.ItemsSource.
`ItemsControl` now works more like WPF, in that there are separate `Items` and `ItemsSource` properties. For backwards compatibility `Items` can still be set, though the setter is deprecated. `Items` needed to be changed from `IEnumerable` to `IList` though.
4 years ago
Benedikt Stebner
ef2a47bc95
Only try to create embedded font collection for valid assets location
4 years ago
Tom Edwards
3b57b3496a
Added GenerateTypeSafeMetadata to property metadata
This method is used to strip coercion methods out of StyledPropertyMetadata when applying it to a new owner.
Also fixed AvaloniaProperty.(IPropertyInfo.CanSet) returning true for read-only properties
4 years ago
Dariusz Komosinski
d9d208b935
Add benchmark for Or selector and avoid extra virtual calls getting list count.
4 years ago
Dan Walmsley
a577ee6399
add a delay when closing child windows.
4 years ago
Dan Walmsley
2b076322e5
check access before clearing job queue.
4 years ago
Dan Walmsley
b2723d84be
Revert "try and catch issue with test."
This reverts commit 1d6fb2d960 .
4 years ago
Dan Walmsley
a298ff55f9
clear dispatcher queue at the end of tests.
4 years ago
Dan Walmsley
1d6fb2d960
try and catch issue with test.
4 years ago
Dan Walmsley
4d343293c8
fix test on windows.
4 years ago
Dan Walmsley
ac9b06ef66
make integration tests intel compatible
4 years ago
Dan Walmsley
c634f11def
really really fix the test.
4 years ago
Dan Walmsley
3ec8888b5d
actually fix the test.
4 years ago
Dan Walmsley
4203bae16d
fix test.
4 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.
4 years ago
Daniil Pavliuchyk
ddb9669c11
Add ScrollBarAutomationPeer
4 years ago
Dan Walmsley
f2bceb40c9
add an integration test.
4 years ago
Tom Edwards
f36cf7e3ba
Converted several "dataValidation" properties to StyledProperty
Changed Button.IsPressed to a read-only DirectProperty
4 years ago
Tom Edwards
81530c4231
Converted a variety of writeable DirectProperty definitions to StyledProperty
4 years ago
Dan Walmsley
39126b9a8c
skip flaky test on macos.
4 years ago
Benedikt Stebner
9016933085
Fix some unit tests
4 years ago
Benedikt Stebner
147db08f90
Introduce GlyphRun.Bounds
4 years ago
Benedikt Stebner
f07e5de661
Make sure ItemsRepeater is loaded for XAML tests
4 years ago
Benedikt Stebner
48a54d67d3
Use test font family for TextLayoutTests
4 years ago
Benedikt Stebner
2364c5d140
Try to find a fallback glyph typeface for unknown font families
4 years ago
Steven Kirk
8b5114357f
Skip flaky test.
4 years ago
Julien Lebosquain
3791fa8a51
Don't add ItemsControl items to its panel logical children
4 years ago
Benedikt Stebner
0fc25da0dc
[TextBox] MoveEnd now correctly positions the caret before the line break
4 years ago
Benedikt Stebner
5b2a6368c9
Fix some tests
4 years ago
Benedikt Stebner
d08083bbf3
Introduce font collections
4 years ago
Max Katz
adbbe46aee
Reorganize generators code
4 years ago