<commit_before>using Uno.Testing;
using FuseTest;
using Fuse.UserEvents;

namespace Fuse.UserEvents.Test
{
	public class UserEventTests : TestBase
	{
		[Test]
		public void UserEventArgs()
		{
			var e = new UX.UserEventArgs();
			var root = TestRootPanel.CreateWithChild(e);

			root.StepFrameJS();
			Assert.AreEqual("Not Triggered", e.ResultText.Value);

			e.Trigger.Value = true;
			root.StepFrameJS();
			Assert.AreEqual("Triggered", e.ResultText.Value);
		}
	}
}<commit_msg>Fuse.UserEvents: ensure tests dispose TestRootPanel<commit_after>using Uno.Testing;
using FuseTest;
using Fuse.UserEvents;

namespace Fuse.UserEvents.Test
{
	public class UserEventTests : TestBase
	{
		[Test]
		public void UserEventArgs()
		{
			var e = new UX.UserEventArgs();
			using (var root = TestRootPanel.CreateWithChild(e))
			{
				root.StepFrameJS();
				Assert.AreEqual("Not Triggered", e.ResultText.Value);

				e.Trigger.Value = true;
				root.StepFrameJS();
				Assert.AreEqual("Triggered", e.ResultText.Value);
			}
		}
	}
}
{'fraction_non_alphanumeric': 0.12438785504407443, 'fraction_numerical': 0.0, 'mean_word_length': 4.0344827586206895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3740791', 'n_tokens_mistral': 399, 'n_tokens_neox': 350, 'n_words': 69}