using System; namespace UnityEditor.TestTools.TestRunner.GUI.TestAssets { /// /// Provides basic utility methods for creating assets in the active Project Browser folder path. /// internal interface IActiveFolderTemplateAssetCreator { /// /// The active Project Browser folder path relative to the root project folder. /// /// The active folder path string. string GetActiveFolderPath(); /// /// Creates a new folder asset in the active folder path with assets defined by provided templates. /// /// The default name of the folder. /// The names of templates to be used when creating embedded assets. void CreateFolderWithTemplates(string defaultName, params string[] templateNames); /// /// Creates a new script asset in the active folder path defined by the provided template. /// /// The default name of the new script asset. /// The template to be used when creating the asset. void CreateScriptAssetFromTemplateFile(string defaultName, string templatePath); } }