using System; namespace UnityEditor.TestTools.TestRunner.GUI.TestAssets { /// /// Provides an interface for creating test assets from templates. /// internal interface ITestScriptAssetsCreator { /// /// Creates a new folder in the active folder path with an associated Test Script Assembly definition. /// /// Should the assembly definition be editor-only? void AddNewFolderWithTestAssemblyDefinition(bool isEditorOnly = false); /// /// Checks if the active folder path already contains a Test Script Assembly definition. /// /// True if the active folder path contains a Test Script Assembly; false otherwise. bool ActiveFolderContainsTestAssemblyDefinition(); /// /// Adds a new Test Script asset in the active folder path. /// void AddNewTestScript(); /// /// Checks if a Test Script asset can be compiled in the active folder path. /// /// True if a Test Script can be compiled in the active folder path; false otherwise. bool TestScriptWillCompileInActiveFolder(); } }