Class LocalizationEditorSettingsTests | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class LocalizationEditorSettingsTests

    Inheritance
    System.Object
    LocalizationEditorSettingsTests
    Namespace: UnityEditor.Localization.Tests
    Syntax
    public class LocalizationEditorSettingsTests

    Properties

    KeyDb

    Declaration
    protected KeyDatabase KeyDb { get; set; }
    Property Value
    Type Description
    KeyDatabase

    Settings

    Declaration
    protected FakedLocalizationEditorSettings Settings { get; set; }
    Property Value
    Type Description
    FakedLocalizationEditorSettings

    Methods

    AddLocale_WithNonPersistentLocale_GeneratesError()

    Declaration
    public void AddLocale_WithNonPersistentLocale_GeneratesError()

    AllTableTypes()

    Declaration
    public static List<Type> AllTableTypes()
    Returns
    Type Description
    System.Collections.Generic.List<System.Type>

    CreateTables_AssignsTableNameToAllNewTables(Type)

    Declaration
    public void CreateTables_AssignsTableNameToAllNewTables(Type tableType)
    Parameters
    Type Name Description
    System.Type tableType

    CreateTables_WithKeyDatabaseProvided_DoesNotCreateANewKeyDatabase(Type)

    Declaration
    public void CreateTables_WithKeyDatabaseProvided_DoesNotCreateANewKeyDatabase(Type tableType)
    Parameters
    Type Name Description
    System.Type tableType

    CreateTables_WithNullKeyDatabaseArgument_CreatesAndAssignsNewKeyDatabase(Type)

    Declaration
    public void CreateTables_WithNullKeyDatabaseArgument_CreatesAndAssignsNewKeyDatabase(Type tableType)
    Parameters
    Type Name Description
    System.Type tableType

    GenerateSampleLocales()

    Declaration
    protected static List<Locale> GenerateSampleLocales()
    Returns
    Type Description
    System.Collections.Generic.List<Locale>

    Init()

    Declaration
    public void Init()

    IsLocaleLabel_WorksWithLabelsGeneratedUsing_FormatAssetLabel(Locale)

    Declaration
    public void IsLocaleLabel_WorksWithLabelsGeneratedUsing_FormatAssetLabel(Locale locale)
    Parameters
    Type Name Description
    Locale locale

    LocaleLabelToId_CorrectlyConvertsLabel(String, String)

    Declaration
    public void LocaleLabelToId_CorrectlyConvertsLabel(string label, string expectedCode)
    Parameters
    Type Name Description
    System.String label
    System.String expectedCode

    LocaleLabelToId_WorksWithLabelsGeneratedUsing_FormatAssetLabel(Locale)

    Declaration
    public void LocaleLabelToId_WorksWithLabelsGeneratedUsing_FormatAssetLabel(Locale locale)
    Parameters
    Type Name Description
    Locale locale

    Teardown()

    Declaration
    public void Teardown()
    Back to top
    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