using System; using UnityEditor.Scripting.ScriptCompilation; namespace UnityEditor.TestTools.TestRunner.GUI.TestAssets { /// /// Provides a wrapper for a Custom Script Assembly and exposes its basic properties. /// internal interface ICustomScriptAssembly { /// /// Checks if the Custom Script Assembly is referencing the provided precompiled library. /// /// The name of the precompiled library reference to be checked. /// True if the assembly references the provided precompiled library; false otherwise. bool HasPrecompiledReference(string libraryFilename); /// /// Checks if the Custom Script Assembly has the provided value set. /// /// The value to check against. /// True if the provided value is set; false otherwise. bool HasAssemblyFlag(AssemblyFlags flag); } }