docs.unity3d.com
    Show / Hide Table of Contents

    Class BaseValidation

    Inheritance
    Object
    BaseValidation
    Namespace: UnityEditor.PackageManager.ValidationSuite.ValidationTests
    Syntax
    public abstract class BaseValidation : IValidationTest, IValidationTestResult

    Constructors

    BaseValidation()

    Declaration
    protected BaseValidation()

    Properties

    CanUseCompleteTestExceptions

    Declaration
    public bool CanUseCompleteTestExceptions { get; set; }
    Property Value
    Type Description
    Boolean

    CanUseValidationExceptions

    Declaration
    public bool CanUseValidationExceptions { get; set; }
    Property Value
    Type Description
    Boolean

    Context

    Declaration
    public VettingContext Context { get; set; }
    Property Value
    Type Description
    VettingContext

    EndTime

    Declaration
    public DateTime EndTime { get; }
    Property Value
    Type Description
    DateTime

    ShouldRun

    Declaration
    public bool ShouldRun { get; set; }
    Property Value
    Type Description
    Boolean

    StartTime

    Declaration
    public DateTime StartTime { get; }
    Property Value
    Type Description
    DateTime

    Suite

    Declaration
    public ValidationSuite Suite { get; set; }
    Property Value
    Type Description
    ValidationSuite
    Implements
    IValidationTest.Suite

    SupportedPackageTypes

    Declaration
    public PackageType[] SupportedPackageTypes { get; set; }
    Property Value
    Type Description
    PackageType[]

    SupportedValidations

    Declaration
    public ValidationType[] SupportedValidations { get; set; }
    Property Value
    Type Description
    ValidationType[]

    TestCategory

    Declaration
    public TestCategory TestCategory { get; protected set; }
    Property Value
    Type Description
    TestCategory
    Implements
    IValidationTest.TestCategory

    TestDescription

    Declaration
    public string TestDescription { get; protected set; }
    Property Value
    Type Description
    String
    Implements
    IValidationTest.TestDescription

    TestName

    Declaration
    public string TestName { get; protected set; }
    Property Value
    Type Description
    String
    Implements
    IValidationTest.TestName

    TestOutput

    Declaration
    public List<ValidationTestOutput> TestOutput { get; set; }
    Property Value
    Type Description
    List<ValidationTestOutput>

    TestState

    Declaration
    public TestState TestState { get; set; }
    Property Value
    Type Description
    TestState

    ValidationTest

    Declaration
    public IValidationTest ValidationTest { get; }
    Property Value
    Type Description
    IValidationTest

    VettingEntries

    Declaration
    public List<VettingReportEntry> VettingEntries { get; set; }
    Property Value
    Type Description
    List<VettingReportEntry>

    Methods

    AddError(String)

    Declaration
    public void AddError(string message)
    Parameters
    Type Name Description
    String message

    AddError(String, Object[])

    Declaration
    public void AddError(string message, params object[] args)
    Parameters
    Type Name Description
    String message
    Object[] args

    AddInformation(String)

    Declaration
    protected void AddInformation(string message)
    Parameters
    Type Name Description
    String message

    AddInformation(String, Object[])

    Declaration
    public void AddInformation(string message, params object[] args)
    Parameters
    Type Name Description
    String message
    Object[] args

    AddPromotionConditionalError(String)

    Declaration
    protected void AddPromotionConditionalError(string message)
    Parameters
    Type Name Description
    String message

    AddUnityAuthoredConditionalError(ManifestData, String)

    Declaration
    protected void AddUnityAuthoredConditionalError(ManifestData manifest, string message)
    Parameters
    Type Name Description
    ManifestData manifest
    String message

    AddVettingEntry(VettingReportEntryType, String)

    Declaration
    protected void AddVettingEntry(VettingReportEntryType type, string entry)
    Parameters
    Type Name Description
    VettingReportEntryType type
    String entry

    AddWarning(String)

    Declaration
    public void AddWarning(string message)
    Parameters
    Type Name Description
    String message

    AddWarning(String, Object[])

    Declaration
    public void AddWarning(string message, params object[] args)
    Parameters
    Type Name Description
    String message
    Object[] args

    ConvertStandardsIssuesToTestOutput()

    Declaration
    protected void ConvertStandardsIssuesToTestOutput()

    Run()

    Declaration
    protected abstract void Run()

    RunTest()

    Declaration
    public void RunTest()

    Setup()

    Declaration
    public virtual void Setup()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023