A game about forced loneliness, made by TACStudios
1using System;
2
3namespace UnityEditor.TestTools.TestRunner.GUI.TestAssets
4{
5 /// <summary>
6 /// Provides an interface for creating test assets from templates.
7 /// </summary>
8 internal interface ITestScriptAssetsCreator
9 {
10 /// <summary>
11 /// Creates a new folder in the active folder path with an associated Test Script Assembly definition.
12 /// </summary>
13 /// <param name="isEditorOnly">Should the assembly definition be editor-only?</param>
14 void AddNewFolderWithTestAssemblyDefinition(bool isEditorOnly = false);
15
16 /// <summary>
17 /// Checks if the active folder path already contains a Test Script Assembly definition.
18 /// </summary>
19 /// <returns>True if the active folder path contains a Test Script Assembly; false otherwise.</returns>
20 bool ActiveFolderContainsTestAssemblyDefinition();
21
22 /// <summary>
23 /// Adds a new Test Script asset in the active folder path.
24 /// </summary>
25 void AddNewTestScript();
26
27 /// <summary>
28 /// Checks if a Test Script asset can be compiled in the active folder path.
29 /// </summary>
30 /// <returns>True if a Test Script can be compiled in the active folder path; false otherwise.</returns>
31 bool TestScriptWillCompileInActiveFolder();
32 }
33}