Initial commit

This commit is contained in:
2026-03-03 00:39:30 +05:00
commit fc01f07d9b
29933 changed files with 5353098 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
using System;
using UnityEditor.TestTools.TestRunner.Api;
#if UNITY_6000_5_OR_NEWER
using UnityEngine;
#endif
namespace Microsoft.Unity.VisualStudio.Editor.Testing
{
[Serializable]
internal class TestAdaptorContainer
{
public TestAdaptor[] TestAdaptors;
}
[Serializable]
internal class TestAdaptor
{
public string Id;
public string Name;
public string FullName;
public string Type;
public string Method;
public string Assembly;
public int Parent;
public TestAdaptor(ITestAdaptor testAdaptor, int parent)
{
Id = testAdaptor.Id;
Name = testAdaptor.Name;
FullName = testAdaptor.FullName;
Type = testAdaptor.TypeInfo?.FullName;
Method = testAdaptor.Method?.Name;
#if UNITY_6000_5_OR_NEWER
Assembly = testAdaptor.TypeInfo?.Assembly?.GetLoadedAssemblyPath();
#else
Assembly = testAdaptor.TypeInfo?.Assembly?.Location;
#endif
Parent = parent;
}
}
}