/
TON618OFF
/
Unity-Project-RTU
Обзор
Документация
Войти
/
TON618OFF
/
Unity-Project-RTU
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Library/PackageCache/com.unity.ide.visualstudio@2.0.22/Editor/Testing/TestAdaptor.cs
39 строк
745 B
TON618OFF
release
03 окт 2024, 22:20
03 окт 2024, 22:20
7c70e9f
Код
Авторство
О чём код?
using System; using UnityEditor.TestTools.TestRunner.Api; 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; Assembly = testAdaptor.TypeInfo?.Assembly?.Location; Parent = parent; } } }