Add files using upload-large-folder tool
Browse files- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/CallbacksHolder.cs.meta +11 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ExecutionSettings.cs +77 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ExecutionSettings.cs.meta +11 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/Filter.cs +56 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/Filter.cs.meta +11 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacks.cs +29 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacks.cs.meta +11 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacksDelegator.cs +18 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacksDelegator.cs.meta +11 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacksHolder.cs +10 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacksHolder.cs.meta +11 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/IErrorCallbacks.cs +16 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/IErrorCallbacks.cs.meta +11 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestAdaptor.cs +100 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestAdaptor.cs.meta +11 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestAdaptorFactory.cs +18 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestAdaptorFactory.cs.meta +11 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestResultAdaptor.cs +121 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestResultAdaptor.cs.meta +11 -0
- benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestRunnerApi.cs +12 -0
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/CallbacksHolder.cs.meta
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fileFormatVersion: 2
|
| 2 |
+
guid: 4884ccc3528cb2e40a0e6f0a19a2b35b
|
| 3 |
+
MonoImporter:
|
| 4 |
+
externalObjects: {}
|
| 5 |
+
serializedVersion: 2
|
| 6 |
+
defaultReferences: []
|
| 7 |
+
executionOrder: 0
|
| 8 |
+
icon: {instanceID: 0}
|
| 9 |
+
userData:
|
| 10 |
+
assetBundleName:
|
| 11 |
+
assetBundleVariant:
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ExecutionSettings.cs
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System;
|
| 2 |
+
using System.Linq;
|
| 3 |
+
using NUnit.Framework.Interfaces;
|
| 4 |
+
using NUnit.Framework.Internal.Filters;
|
| 5 |
+
using UnityEngine;
|
| 6 |
+
|
| 7 |
+
namespace UnityEditor.TestTools.TestRunner.Api
|
| 8 |
+
{
|
| 9 |
+
/// <summary>
|
| 10 |
+
/// A set of execution settings defining how to run tests, using the <see cref="TestRunnerApi"/>.
|
| 11 |
+
/// </summary>
|
| 12 |
+
[Serializable]
|
| 13 |
+
public class ExecutionSettings
|
| 14 |
+
{
|
| 15 |
+
/// <summary>
|
| 16 |
+
/// Creates an instance with a given set of filters, if any.
|
| 17 |
+
/// </summary>
|
| 18 |
+
/// <param name="filtersToExecute">Set of filters</param>
|
| 19 |
+
public ExecutionSettings(params Filter[] filtersToExecute)
|
| 20 |
+
{
|
| 21 |
+
filters = filtersToExecute;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
[SerializeField]
|
| 25 |
+
internal BuildTarget? targetPlatform;
|
| 26 |
+
|
| 27 |
+
/// <summary>
|
| 28 |
+
/// An instance of <see cref="ITestRunSettings"/> to set up before running tests on a Player.
|
| 29 |
+
/// </summary>
|
| 30 |
+
// Note: Is not available after serialization
|
| 31 |
+
public ITestRunSettings overloadTestRunSettings;
|
| 32 |
+
|
| 33 |
+
[SerializeField]
|
| 34 |
+
internal Filter filter;
|
| 35 |
+
///<summary>
|
| 36 |
+
///A collection of <see cref="Filter"/> to execute tests on.
|
| 37 |
+
///</summary>
|
| 38 |
+
[SerializeField]
|
| 39 |
+
public Filter[] filters;
|
| 40 |
+
/// <summary>
|
| 41 |
+
/// Note that this is only supported for EditMode tests, and that tests which take multiple frames (i.e. [UnityTest] tests, or tests with [UnitySetUp] or [UnityTearDown] scaffolding) will be filtered out.
|
| 42 |
+
/// </summary>
|
| 43 |
+
/// <returns>If true, the call to Execute() will run tests synchronously, guaranteeing that all tests have finished running by the time the call returns.</returns>
|
| 44 |
+
[SerializeField]
|
| 45 |
+
public bool runSynchronously;
|
| 46 |
+
/// <summary>
|
| 47 |
+
/// The time, in seconds, the editor should wait for heartbeats after starting a test run on a player. This defaults to 10 minutes.
|
| 48 |
+
/// </summary>
|
| 49 |
+
[SerializeField]
|
| 50 |
+
public int playerHeartbeatTimeout = 60*10;
|
| 51 |
+
|
| 52 |
+
internal bool EditModeIncluded()
|
| 53 |
+
{
|
| 54 |
+
return filters.Any(f => IncludesTestMode(f.testMode, TestMode.EditMode));
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
internal bool PlayModeInEditorIncluded()
|
| 58 |
+
{
|
| 59 |
+
return filters.Any(f => IncludesTestMode(f.testMode, TestMode.PlayMode) && targetPlatform == null);
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
internal bool PlayerIncluded()
|
| 63 |
+
{
|
| 64 |
+
return filters.Any(f => IncludesTestMode(f.testMode, TestMode.PlayMode) && targetPlatform != null);
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
private static bool IncludesTestMode(TestMode testMode, TestMode modeToCheckFor)
|
| 68 |
+
{
|
| 69 |
+
return (testMode & modeToCheckFor) == modeToCheckFor;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
internal ITestFilter BuildNUnitFilter()
|
| 73 |
+
{
|
| 74 |
+
return new OrFilter(filters.Select(f => f.ToRuntimeTestRunnerFilter(runSynchronously).BuildNUnitFilter()).ToArray());
|
| 75 |
+
}
|
| 76 |
+
}
|
| 77 |
+
}
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ExecutionSettings.cs.meta
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fileFormatVersion: 2
|
| 2 |
+
guid: eea34a28297f9bc4c9f4c573bc8d5d1c
|
| 3 |
+
MonoImporter:
|
| 4 |
+
externalObjects: {}
|
| 5 |
+
serializedVersion: 2
|
| 6 |
+
defaultReferences: []
|
| 7 |
+
executionOrder: 0
|
| 8 |
+
icon: {instanceID: 0}
|
| 9 |
+
userData:
|
| 10 |
+
assetBundleName:
|
| 11 |
+
assetBundleVariant:
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/Filter.cs
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System;
|
| 2 |
+
using UnityEngine;
|
| 3 |
+
using UnityEngine.TestTools.TestRunner.GUI;
|
| 4 |
+
|
| 5 |
+
namespace UnityEditor.TestTools.TestRunner.Api
|
| 6 |
+
{
|
| 7 |
+
/// <summary>
|
| 8 |
+
/// The filter class provides the <see cref="TestRunnerApi"/> with a specification of what tests to run when [running tests programmatically](https://docs.unity3d.com/Packages/com.unity.test-framework@1.1/manual/extension-run-tests.html).
|
| 9 |
+
/// </summary>
|
| 10 |
+
[Serializable]
|
| 11 |
+
public class Filter
|
| 12 |
+
{
|
| 13 |
+
/// <summary>
|
| 14 |
+
/// An enum flag that specifies if Edit Mode or Play Mode tests should run.
|
| 15 |
+
///</summary>
|
| 16 |
+
[SerializeField]
|
| 17 |
+
public TestMode testMode;
|
| 18 |
+
/// <summary>
|
| 19 |
+
/// The full name of the tests to match the filter. This is usually in the format FixtureName.TestName. If the test has test arguments, then include them in parenthesis. E.g. MyTestClass2.MyTestWithMultipleValues(1).
|
| 20 |
+
/// </summary>
|
| 21 |
+
[SerializeField]
|
| 22 |
+
public string[] testNames;
|
| 23 |
+
/// <summary>
|
| 24 |
+
/// The same as testNames, except that it allows for Regex. This is useful for running specific fixtures or namespaces. E.g. "^MyNamespace\\." Runs any tests where the top namespace is MyNamespace.
|
| 25 |
+
/// </summary>
|
| 26 |
+
[SerializeField]
|
| 27 |
+
public string[] groupNames;
|
| 28 |
+
/// <summary>
|
| 29 |
+
/// The name of a [Category](https://nunit.org/docs/2.2.7/category.html) to include in the run. Any test or fixtures runs that have a Category matching the string.
|
| 30 |
+
/// </summary>
|
| 31 |
+
[SerializeField]
|
| 32 |
+
public string[] categoryNames;
|
| 33 |
+
/// <summary>
|
| 34 |
+
/// The name of assemblies included in the run. That is the assembly name, without the .dll file extension. E.g., MyTestAssembly
|
| 35 |
+
/// </summary>
|
| 36 |
+
[SerializeField]
|
| 37 |
+
public string[] assemblyNames;
|
| 38 |
+
/// <summary>
|
| 39 |
+
/// The <see cref="BuildTarget"/> platform to run the test on. If set to null, then the Editor is the target for the tests.
|
| 40 |
+
/// </summary>
|
| 41 |
+
[SerializeField]
|
| 42 |
+
public BuildTarget? targetPlatform;
|
| 43 |
+
|
| 44 |
+
internal RuntimeTestRunnerFilter ToRuntimeTestRunnerFilter(bool synchronousOnly)
|
| 45 |
+
{
|
| 46 |
+
return new RuntimeTestRunnerFilter()
|
| 47 |
+
{
|
| 48 |
+
testNames = testNames,
|
| 49 |
+
categoryNames = categoryNames,
|
| 50 |
+
groupNames = groupNames,
|
| 51 |
+
assemblyNames = assemblyNames,
|
| 52 |
+
synchronousOnly = synchronousOnly
|
| 53 |
+
};
|
| 54 |
+
}
|
| 55 |
+
}
|
| 56 |
+
}
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/Filter.cs.meta
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fileFormatVersion: 2
|
| 2 |
+
guid: 05f92e4a2414cb144a92157752dfa324
|
| 3 |
+
MonoImporter:
|
| 4 |
+
externalObjects: {}
|
| 5 |
+
serializedVersion: 2
|
| 6 |
+
defaultReferences: []
|
| 7 |
+
executionOrder: 0
|
| 8 |
+
icon: {instanceID: 0}
|
| 9 |
+
userData:
|
| 10 |
+
assetBundleName:
|
| 11 |
+
assetBundleVariant:
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacks.cs
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
namespace UnityEditor.TestTools.TestRunner.Api
|
| 2 |
+
{
|
| 3 |
+
/// <summary>
|
| 4 |
+
/// Callbacks in the <see cref="TestRunnerApi"/> for the test stages when running tests.
|
| 5 |
+
/// </summary>
|
| 6 |
+
public interface ICallbacks
|
| 7 |
+
{
|
| 8 |
+
/// <summary>
|
| 9 |
+
/// A callback invoked when a test run is started.
|
| 10 |
+
/// </summary>
|
| 11 |
+
/// <param name="testsToRun">The full loaded test tree.</param>
|
| 12 |
+
void RunStarted(ITestAdaptor testsToRun);
|
| 13 |
+
/// <summary>
|
| 14 |
+
/// A callback invoked when a test run is finished.
|
| 15 |
+
/// </summary>
|
| 16 |
+
/// <param name="result">The result of the test run.</param>
|
| 17 |
+
void RunFinished(ITestResultAdaptor result);
|
| 18 |
+
/// <summary>
|
| 19 |
+
/// A callback invoked when each individual node of the test tree has started executing.
|
| 20 |
+
/// </summary>
|
| 21 |
+
/// <param name="test">The test node currently executed.</param>
|
| 22 |
+
void TestStarted(ITestAdaptor test);
|
| 23 |
+
/// <summary>
|
| 24 |
+
/// A callback invoked when each individual node of the test tree has finished executing.
|
| 25 |
+
/// </summary>
|
| 26 |
+
/// <param name="result">The result of the test tree node after it had been executed.</param>
|
| 27 |
+
void TestFinished(ITestResultAdaptor result);
|
| 28 |
+
}
|
| 29 |
+
}
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacks.cs.meta
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fileFormatVersion: 2
|
| 2 |
+
guid: 93eea84e53d0226479c9a584f19427b5
|
| 3 |
+
MonoImporter:
|
| 4 |
+
externalObjects: {}
|
| 5 |
+
serializedVersion: 2
|
| 6 |
+
defaultReferences: []
|
| 7 |
+
executionOrder: 0
|
| 8 |
+
icon: {instanceID: 0}
|
| 9 |
+
userData:
|
| 10 |
+
assetBundleName:
|
| 11 |
+
assetBundleVariant:
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacksDelegator.cs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using NUnit.Framework.Interfaces;
|
| 2 |
+
|
| 3 |
+
namespace UnityEditor.TestTools.TestRunner.Api
|
| 4 |
+
{
|
| 5 |
+
internal interface ICallbacksDelegator
|
| 6 |
+
{
|
| 7 |
+
void RunStarted(ITest testsToRun);
|
| 8 |
+
void RunStartedRemotely(byte[] testsToRunData);
|
| 9 |
+
void RunFinished(ITestResult testResults);
|
| 10 |
+
void RunFinishedRemotely(byte[] testResultsData);
|
| 11 |
+
void RunFailed(string failureMessage);
|
| 12 |
+
void TestStarted(ITest test);
|
| 13 |
+
void TestStartedRemotely(byte[] testStartedData);
|
| 14 |
+
void TestFinished(ITestResult result);
|
| 15 |
+
void TestFinishedRemotely(byte[] testResultsData);
|
| 16 |
+
void TestTreeRebuild(ITest test);
|
| 17 |
+
}
|
| 18 |
+
}
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacksDelegator.cs.meta
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fileFormatVersion: 2
|
| 2 |
+
guid: 8f8f74fe8e363da42875d9cab025d3b2
|
| 3 |
+
MonoImporter:
|
| 4 |
+
externalObjects: {}
|
| 5 |
+
serializedVersion: 2
|
| 6 |
+
defaultReferences: []
|
| 7 |
+
executionOrder: 0
|
| 8 |
+
icon: {instanceID: 0}
|
| 9 |
+
userData:
|
| 10 |
+
assetBundleName:
|
| 11 |
+
assetBundleVariant:
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacksHolder.cs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
namespace UnityEditor.TestTools.TestRunner.Api
|
| 2 |
+
{
|
| 3 |
+
internal interface ICallbacksHolder
|
| 4 |
+
{
|
| 5 |
+
void Add(ICallbacks callback, int priority);
|
| 6 |
+
void Remove(ICallbacks callback);
|
| 7 |
+
ICallbacks[] GetAll();
|
| 8 |
+
void Clear();
|
| 9 |
+
}
|
| 10 |
+
}
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ICallbacksHolder.cs.meta
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fileFormatVersion: 2
|
| 2 |
+
guid: d742f2caefd9f934d9f19dad07a08e6f
|
| 3 |
+
MonoImporter:
|
| 4 |
+
externalObjects: {}
|
| 5 |
+
serializedVersion: 2
|
| 6 |
+
defaultReferences: []
|
| 7 |
+
executionOrder: 0
|
| 8 |
+
icon: {instanceID: 0}
|
| 9 |
+
userData:
|
| 10 |
+
assetBundleName:
|
| 11 |
+
assetBundleVariant:
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/IErrorCallbacks.cs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
namespace UnityEditor.TestTools.TestRunner.Api
|
| 2 |
+
{
|
| 3 |
+
/// <summary>
|
| 4 |
+
/// An extended version of the <see cref="ICallbacks"/>, which get invoked if the test run fails due to a build error or if any <see cref="UnityEngine.TestTools.IPrebuildSetup"/> has a failure.
|
| 5 |
+
/// </summary>
|
| 6 |
+
public interface IErrorCallbacks : ICallbacks
|
| 7 |
+
{
|
| 8 |
+
/// <summary>
|
| 9 |
+
/// Method invoked on failure.
|
| 10 |
+
/// </summary>
|
| 11 |
+
/// <param name="message">
|
| 12 |
+
/// The error message detailing the reason for the run to fail.
|
| 13 |
+
/// </param>
|
| 14 |
+
void OnError(string message);
|
| 15 |
+
}
|
| 16 |
+
}
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/IErrorCallbacks.cs.meta
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fileFormatVersion: 2
|
| 2 |
+
guid: 1a06c562b0c5eb046bcb876a29f93c98
|
| 3 |
+
MonoImporter:
|
| 4 |
+
externalObjects: {}
|
| 5 |
+
serializedVersion: 2
|
| 6 |
+
defaultReferences: []
|
| 7 |
+
executionOrder: 0
|
| 8 |
+
icon: {instanceID: 0}
|
| 9 |
+
userData:
|
| 10 |
+
assetBundleName:
|
| 11 |
+
assetBundleVariant:
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestAdaptor.cs
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System.Collections.Generic;
|
| 2 |
+
using NUnit.Framework.Interfaces;
|
| 3 |
+
|
| 4 |
+
namespace UnityEditor.TestTools.TestRunner.Api
|
| 5 |
+
{
|
| 6 |
+
/// <summary>
|
| 7 |
+
/// ```ITestAdaptor``` is a representation of a node in the test tree implemented as a wrapper around the [NUnit](http://www.nunit.org/) [ITest](https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Interfaces/ITest.cs) interface.
|
| 8 |
+
/// </summary>
|
| 9 |
+
public interface ITestAdaptor
|
| 10 |
+
{
|
| 11 |
+
/// <summary>
|
| 12 |
+
/// The ID of the test tree node. The ID can change if you add new tests to the suite. Use UniqueName, if you want to have a more permanent point of reference.
|
| 13 |
+
/// </summary>
|
| 14 |
+
string Id { get; }
|
| 15 |
+
/// <summary>
|
| 16 |
+
/// The name of the test. E.g.,```MyTest```.
|
| 17 |
+
/// </summary>
|
| 18 |
+
string Name { get; }
|
| 19 |
+
/// <summary>
|
| 20 |
+
/// The full name of the test. E.g., ```MyNamespace.MyTestClass.MyTest```.
|
| 21 |
+
/// </summary>
|
| 22 |
+
string FullName { get; }
|
| 23 |
+
/// <summary>
|
| 24 |
+
/// The total number of test cases in the node and all sub-nodes.
|
| 25 |
+
/// </summary>
|
| 26 |
+
int TestCaseCount { get; }
|
| 27 |
+
/// <summary>
|
| 28 |
+
/// Whether the node has any children.
|
| 29 |
+
/// </summary>
|
| 30 |
+
bool HasChildren { get; }
|
| 31 |
+
/// <summary>
|
| 32 |
+
/// True if the node is a test suite/fixture, false otherwise.
|
| 33 |
+
/// </summary>
|
| 34 |
+
bool IsSuite { get; }
|
| 35 |
+
/// <summary>
|
| 36 |
+
/// The child nodes.
|
| 37 |
+
/// </summary>
|
| 38 |
+
IEnumerable<ITestAdaptor> Children { get; }
|
| 39 |
+
/// <summary>
|
| 40 |
+
/// The parent node, if any.
|
| 41 |
+
/// </summary>
|
| 42 |
+
ITestAdaptor Parent { get; }
|
| 43 |
+
/// <summary>
|
| 44 |
+
/// The test case timeout in milliseconds. Note that this value is only available on TestFinished.
|
| 45 |
+
/// </summary>
|
| 46 |
+
int TestCaseTimeout { get; }
|
| 47 |
+
/// <summary>
|
| 48 |
+
/// The type of test class as an ```NUnit``` <see cref="ITypeInfo"/>. If the node is not a test class, then the value is null.
|
| 49 |
+
/// </summary>
|
| 50 |
+
ITypeInfo TypeInfo { get; }
|
| 51 |
+
/// <summary>
|
| 52 |
+
/// The Nunit <see cref="IMethodInfo"/> of the test method. If the node is not a test method, then the value is null.
|
| 53 |
+
/// </summary>
|
| 54 |
+
IMethodInfo Method { get; }
|
| 55 |
+
/// <summary>
|
| 56 |
+
/// An array of the categories applied to the test or fixture.
|
| 57 |
+
/// </summary>
|
| 58 |
+
string[] Categories { get; }
|
| 59 |
+
/// <summary>
|
| 60 |
+
/// Returns true if the node represents a test assembly, false otherwise.
|
| 61 |
+
/// </summary>
|
| 62 |
+
bool IsTestAssembly { get; }
|
| 63 |
+
/// <summary>
|
| 64 |
+
/// The run state of the test node. Either ```NotRunnable```, ```Runnable```, ```Explicit```, ```Skipped```, or ```Ignored```.
|
| 65 |
+
/// </summary>
|
| 66 |
+
RunState RunState { get; }
|
| 67 |
+
/// <summary>
|
| 68 |
+
/// The description of the test.
|
| 69 |
+
/// </summary>
|
| 70 |
+
string Description { get; }
|
| 71 |
+
/// <summary>
|
| 72 |
+
/// The skip reason. E.g., if ignoring the test.
|
| 73 |
+
/// </summary>
|
| 74 |
+
string SkipReason { get; }
|
| 75 |
+
/// <summary>
|
| 76 |
+
/// The ID of the parent node.
|
| 77 |
+
/// </summary>
|
| 78 |
+
string ParentId { get; }
|
| 79 |
+
/// <summary>
|
| 80 |
+
/// The full name of the parent node.
|
| 81 |
+
/// </summary>
|
| 82 |
+
string ParentFullName { get; }
|
| 83 |
+
/// <summary>
|
| 84 |
+
/// A unique generated name for the test node. E.g., ```Tests.dll/MyNamespace/MyTestClass/[Tests][MyNamespace.MyTestClass.MyTest]```.
|
| 85 |
+
/// </summary>
|
| 86 |
+
string UniqueName { get; }
|
| 87 |
+
/// <summary>
|
| 88 |
+
/// A unique name of the parent node. E.g., ```Tests.dll/MyNamespace/[Tests][MyNamespace.MyTestClass][suite]```.
|
| 89 |
+
/// </summary>
|
| 90 |
+
string ParentUniqueName { get; }
|
| 91 |
+
/// <summary>
|
| 92 |
+
/// The child index of the node in its parent.
|
| 93 |
+
/// </summary>
|
| 94 |
+
int ChildIndex { get; }
|
| 95 |
+
/// <summary>
|
| 96 |
+
/// The mode of the test. Either **Edit Mode** or **Play Mode**.
|
| 97 |
+
/// </summary>
|
| 98 |
+
TestMode TestMode { get; }
|
| 99 |
+
}
|
| 100 |
+
}
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestAdaptor.cs.meta
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fileFormatVersion: 2
|
| 2 |
+
guid: 85dd7af03f02aea4aae13a3945e3b313
|
| 3 |
+
MonoImporter:
|
| 4 |
+
externalObjects: {}
|
| 5 |
+
serializedVersion: 2
|
| 6 |
+
defaultReferences: []
|
| 7 |
+
executionOrder: 0
|
| 8 |
+
icon: {instanceID: 0}
|
| 9 |
+
userData:
|
| 10 |
+
assetBundleName:
|
| 11 |
+
assetBundleVariant:
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestAdaptorFactory.cs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System.Collections.Generic;
|
| 2 |
+
using NUnit.Framework.Interfaces;
|
| 3 |
+
using UnityEngine.TestRunner.TestLaunchers;
|
| 4 |
+
|
| 5 |
+
namespace UnityEditor.TestTools.TestRunner.Api
|
| 6 |
+
{
|
| 7 |
+
internal interface ITestAdaptorFactory
|
| 8 |
+
{
|
| 9 |
+
ITestAdaptor Create(ITest test);
|
| 10 |
+
ITestAdaptor Create(RemoteTestData testData);
|
| 11 |
+
ITestResultAdaptor Create(ITestResult testResult);
|
| 12 |
+
ITestResultAdaptor Create(RemoteTestResultData testResult, RemoteTestResultDataWithTestData allData);
|
| 13 |
+
ITestAdaptor BuildTree(RemoteTestResultDataWithTestData data);
|
| 14 |
+
IEnumerator<ITestAdaptor> BuildTreeAsync(RemoteTestResultDataWithTestData data);
|
| 15 |
+
void ClearResultsCache();
|
| 16 |
+
void ClearTestsCache();
|
| 17 |
+
}
|
| 18 |
+
}
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestAdaptorFactory.cs.meta
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fileFormatVersion: 2
|
| 2 |
+
guid: 803abab0f7e17044db56f8760186dbd1
|
| 3 |
+
MonoImporter:
|
| 4 |
+
externalObjects: {}
|
| 5 |
+
serializedVersion: 2
|
| 6 |
+
defaultReferences: []
|
| 7 |
+
executionOrder: 0
|
| 8 |
+
icon: {instanceID: 0}
|
| 9 |
+
userData:
|
| 10 |
+
assetBundleName:
|
| 11 |
+
assetBundleVariant:
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestResultAdaptor.cs
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System;
|
| 2 |
+
using System.Collections.Generic;
|
| 3 |
+
using NUnit.Framework.Interfaces;
|
| 4 |
+
|
| 5 |
+
namespace UnityEditor.TestTools.TestRunner.Api
|
| 6 |
+
{
|
| 7 |
+
/// <summary>
|
| 8 |
+
/// The `ITestResultAdaptor` is the representation of the test results for a node in the test tree implemented as a wrapper around the [NUnit](http://www.nunit.org/) [ITest](https://github.com/nunit/nunit/blob/master/src/NUnitFramework/framework/Interfaces/ITestResults.cs) interface.
|
| 9 |
+
/// </summary>
|
| 10 |
+
public interface ITestResultAdaptor
|
| 11 |
+
{
|
| 12 |
+
/// <summary>
|
| 13 |
+
/// The test details of the test result tree node as a <see cref="TestAdaptor"/>
|
| 14 |
+
/// </summary>
|
| 15 |
+
ITestAdaptor Test { get; }
|
| 16 |
+
///<summary>
|
| 17 |
+
///The name of the test node.
|
| 18 |
+
///</summary>
|
| 19 |
+
string Name { get; }
|
| 20 |
+
/// <summary>
|
| 21 |
+
/// Gets the full name of the test result
|
| 22 |
+
/// </summary>
|
| 23 |
+
///<returns>
|
| 24 |
+
///The name of the test result.
|
| 25 |
+
///</returns>
|
| 26 |
+
string FullName { get; }
|
| 27 |
+
///<summary>
|
| 28 |
+
///Gets the state of the result as a string.
|
| 29 |
+
///</summary>
|
| 30 |
+
///<returns>
|
| 31 |
+
///It returns one of these values: `Success`, `Skipped`, `Failure`, `Explicit`, `Cancelled`
|
| 32 |
+
///</returns>
|
| 33 |
+
string ResultState { get; }
|
| 34 |
+
///<summary>
|
| 35 |
+
///Gets the status of the test as an enum.
|
| 36 |
+
///</summary>
|
| 37 |
+
///<returns>
|
| 38 |
+
///It returns one of these values:`Inconclusive`, `Skipped`, `Passed`, or `Failed`
|
| 39 |
+
///</returns>
|
| 40 |
+
TestStatus TestStatus { get; }
|
| 41 |
+
/// <summary>
|
| 42 |
+
/// Gets the elapsed time for running the test in seconds
|
| 43 |
+
/// </summary>
|
| 44 |
+
/// <returns>
|
| 45 |
+
/// Time in seconds.
|
| 46 |
+
/// </returns>
|
| 47 |
+
double Duration { get; }
|
| 48 |
+
/// <summary>
|
| 49 |
+
/// Gets or sets the time the test started running.
|
| 50 |
+
/// </summary>
|
| 51 |
+
///<returns>
|
| 52 |
+
///A DataTime object.
|
| 53 |
+
///</returns>
|
| 54 |
+
DateTime StartTime { get; }
|
| 55 |
+
///<summary>
|
| 56 |
+
///Gets or sets the time the test finished running.
|
| 57 |
+
///</summary>
|
| 58 |
+
///<returns>
|
| 59 |
+
///A DataTime object.
|
| 60 |
+
///</returns>
|
| 61 |
+
DateTime EndTime { get; }
|
| 62 |
+
|
| 63 |
+
/// <summary>
|
| 64 |
+
/// The message associated with a test failure or with not running the test
|
| 65 |
+
/// </summary>
|
| 66 |
+
string Message { get; }
|
| 67 |
+
|
| 68 |
+
/// <summary>
|
| 69 |
+
/// Any stacktrace associated with an error or failure. Not available in the Compact Framework 1.0.
|
| 70 |
+
/// </summary>
|
| 71 |
+
string StackTrace { get; }
|
| 72 |
+
|
| 73 |
+
/// <summary>
|
| 74 |
+
/// The number of asserts executed when running the test and all its children.
|
| 75 |
+
/// </summary>
|
| 76 |
+
int AssertCount { get; }
|
| 77 |
+
|
| 78 |
+
/// <summary>
|
| 79 |
+
/// The number of test cases that failed when running the test and all its children.
|
| 80 |
+
/// </summary>
|
| 81 |
+
int FailCount { get; }
|
| 82 |
+
|
| 83 |
+
/// <summary>
|
| 84 |
+
/// The number of test cases that passed when running the test and all its children.
|
| 85 |
+
/// </summary>
|
| 86 |
+
int PassCount { get; }
|
| 87 |
+
|
| 88 |
+
/// <summary>
|
| 89 |
+
/// The number of test cases that were skipped when running the test and all its children.
|
| 90 |
+
/// </summary>
|
| 91 |
+
int SkipCount { get; }
|
| 92 |
+
|
| 93 |
+
/// <summary>
|
| 94 |
+
///The number of test cases that were inconclusive when running the test and all its children.
|
| 95 |
+
/// </summary>
|
| 96 |
+
int InconclusiveCount { get; }
|
| 97 |
+
|
| 98 |
+
/// <summary>
|
| 99 |
+
/// Accessing HasChildren should not force creation of the Children collection in classes implementing this interface.
|
| 100 |
+
/// </summary>
|
| 101 |
+
/// <returns>True if this result has any child results.</returns>
|
| 102 |
+
bool HasChildren { get; }
|
| 103 |
+
|
| 104 |
+
/// <summary>
|
| 105 |
+
/// Gets the the collection of child results.
|
| 106 |
+
/// </summary>
|
| 107 |
+
IEnumerable<ITestResultAdaptor> Children { get; }
|
| 108 |
+
|
| 109 |
+
/// <summary>
|
| 110 |
+
/// Gets any text output written to this result.
|
| 111 |
+
/// </summary>
|
| 112 |
+
string Output { get; }
|
| 113 |
+
/// <summary>
|
| 114 |
+
/// Use this to save the results to an XML file
|
| 115 |
+
/// </summary>
|
| 116 |
+
/// <returns>
|
| 117 |
+
/// The test results as an `NUnit` XML node.
|
| 118 |
+
/// </returns>
|
| 119 |
+
TNode ToXml();
|
| 120 |
+
}
|
| 121 |
+
}
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestResultAdaptor.cs.meta
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fileFormatVersion: 2
|
| 2 |
+
guid: 4f90cfe4bf5cfb44f84a5b11387f2a42
|
| 3 |
+
MonoImporter:
|
| 4 |
+
externalObjects: {}
|
| 5 |
+
serializedVersion: 2
|
| 6 |
+
defaultReferences: []
|
| 7 |
+
executionOrder: 0
|
| 8 |
+
icon: {instanceID: 0}
|
| 9 |
+
userData:
|
| 10 |
+
assetBundleName:
|
| 11 |
+
assetBundleVariant:
|
benchmark/NYU_CTF_Bench/test/2022/CSAW-Quals/rev/AnyaGacha/src/client/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEditor.TestRunner/Api/ITestRunnerApi.cs
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System;
|
| 2 |
+
|
| 3 |
+
namespace UnityEditor.TestTools.TestRunner.Api
|
| 4 |
+
{
|
| 5 |
+
internal interface ITestRunnerApi
|
| 6 |
+
{
|
| 7 |
+
string Execute(ExecutionSettings executionSettings);
|
| 8 |
+
void RegisterCallbacks<T>(T testCallbacks, int priority = 0) where T : ICallbacks;
|
| 9 |
+
void UnregisterCallbacks<T>(T testCallbacks) where T : ICallbacks;
|
| 10 |
+
void RetrieveTestList(TestMode testMode, Action<ITestAdaptor> callback);
|
| 11 |
+
}
|
| 12 |
+
}
|