Wiesław Šoltés
2bd109c808
Fix System.InvalidOperationException Dispatcher job loop detected ( #20310 )
9 months ago
Julien Lebosquain
64b63fa5d2
Fix common warnings ( #20311 )
9 months ago
Max Katz
a4bfae1c29
Headless AvaloniaTestIsolationLevel ( #20000 )
* Remove Unstable from HeadlessUnitTestSession
* Implement headless AvaloniaTestIsolationLevel
* Duplicate headless unit tests with different levels of isolation
* Fix accidental ABI breaking change
* Adjust docs
* Add IsolationTests
* Fix RunCoreLibsTests nukebuild target
* Headless: reuse sync context, instead of always forcing avalonia context
11 months ago
Max Katz
56dd94c0b9
Fix headless FontManager leak ( #19599 )
* Dispose font manager after headless session
* Add xunit/nunit LeakTests
1 year ago
Julien Lebosquain
1583de3e33
Fix random test failures and add empty dispatcher verification to tests ( #17628 )
* Add VerifyEmptyDispatcherAfterTestAttribute
* Use VerifyEmptyDispatcherAfterTest and fix failing tests
* Remove unsupported timeout from sync xUnit tests
2 years ago
Max Katz
001c939995
Fix visual snapshot on headless ( #17565 )
* Check for HasRenderContextAffinity before calling CreateNonAffinedSnapshot
* Add ServerVisualRenderContext.RenderChildren context parameter
* Add Should_Render_To_A_Compositor_Snapshot_Capture test
* Fix xunit tests
2 years ago
Valery Varaksa
981f47f050
Fix HeadlessWindowImpl.Position does not persist new value ( #17103 )
* Fix HeadlessWindowImpl.Position does not persist new value
* Create unit-test for 17071 fix
* Fix CI errors
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
2 years ago
Max Katz
8ea60fefe2
Fix nunit tests adapter losing async locals ( #16157 )
* Fix NUnit test context not being properly set
* Add failing tests
* Capture ExecutionContext to keep async locals
* Remove explicit EstablishExecutionEnvironment call, as it was a bad idea
* Make ExecutionContext usage disabled by default, and only enabled for NUnit
2 years ago
Max Katz
460a3549d5
Fix headless screens ( #16348 )
* Fix headless screens being null
* Remove unused properties
2 years ago
yankun
26564ec1c8
Add support for CombinedGeometry and GeometryGroup in Headless renderer ( #14360 )
3 years ago
jankrib
682b674625
Fix merge issue in test
3 years ago
jankrib
26d4746096
Break layout flip flop in headless
3 years ago
Glen Stone
089b732b40
Fix ignoring of AvalonitTest
3 years ago
Max Katz
0f3a4b313c
Uncomment test that should always fail
3 years ago
Max Katz
238a8ae58a
Add timeouts to the tests
3 years ago
Max Katz
6b51f00a4a
Minor adjustments to changes in master + fix failing test (need to tick the timer manually) + add some comments
3 years ago
Max Katz
5a742ea2c4
Run jobs after headless input
3 years ago
Max Katz
bb893b189c
Make HeadlessUnitTestSession run individual frames per test
3 years ago
Max Katz
629900d6d8
Instead of creating a fake test command, try to iterate over existing commands structure and replace only what's needed
3 years ago
Max Katz
321bf26a0a
Support SetUp and TearDown methods by NUnit
3 years ago
Max Katz
ae04033c76
Use ExecutionQueue in test frameworks
3 years ago
Max Katz
8e4b76cb19
Reuse same tests for XUnit and NUnit
3 years ago
Max Katz
f61f8f2bb6
Minor changes, missing documentation
4 years ago
Max Katz
6b81b5a935
Make headless easier to use with HeadlessWindowExtensions
4 years ago
Max Katz
5e4509deb1
Run tests on Avalonia.Headless
4 years ago