From 206f77658861286a7739ade50781cf0e69f0e0f4 Mon Sep 17 00:00:00 2001 From: Giuseppe Lippolis Date: Thu, 4 Apr 2024 14:48:02 +0200 Subject: [PATCH 1/5] test: Add tests to check ControlTheme Nested Selector/Setter Completation --- Directory.Build.props | 2 +- tests/CompletionEngineTests/AdvancedTests.cs | 68 +++++++++++++++++++- 2 files changed, 66 insertions(+), 4 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 1c4f4eb..e8303d7 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,7 +3,7 @@ Avalonia.Templates 11.0.10 11.0.7 - 11.0 + 12.0 diff --git a/tests/CompletionEngineTests/AdvancedTests.cs b/tests/CompletionEngineTests/AdvancedTests.cs index 3c34c40..4c00bd3 100644 --- a/tests/CompletionEngineTests/AdvancedTests.cs +++ b/tests/CompletionEngineTests/AdvancedTests.cs @@ -1,7 +1,5 @@ using System; -using System.Collections; using System.Collections.Generic; -using System.ComponentModel; using System.Linq; using Xunit; @@ -487,6 +485,70 @@ public void Should_Not_Contain_Abstract_Classes() } } + [Fact] + public void ControlTheme_Nested_Selector_Should_Be_Completed() + { + var xaml = + """ + + +