Class ExpanderTests | Localization | 0.6.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class ExpanderTests

    Inheritance
    Object
    ExpanderTests
    Namespace: UnityEngine.Localization.Tests.Pseudo
    Syntax
    public class ExpanderTests

    Methods

    CorrectExpansionRuleIsUsed(Int32, Single)

    Declaration
    public void CorrectExpansionRuleIsUsed(int stringLength, float expectedExpansion)
    Parameters
    Type Name Description
    Int32 stringLength
    Single expectedExpansion

    Length_DoesNotChange_WhenExpandAmountIsNegative(String)

    Declaration
    public void Length_DoesNotChange_WhenExpandAmountIsNegative(string input)
    Parameters
    Type Name Description
    String input

    Length_IsIncreased(String)

    Declaration
    public void Length_IsIncreased(string input)
    Parameters
    Type Name Description
    String input

    PaddingCharactersAreTheSame_WhenASingleCharacterIsUsed(String)

    Declaration
    public void PaddingCharactersAreTheSame_WhenASingleCharacterIsUsed(string input)
    Parameters
    Type Name Description
    String input

    PaddingIsAddedToEnd_WhenPseudoCharactersLocation_Back(String)

    Declaration
    public void PaddingIsAddedToEnd_WhenPseudoCharactersLocation_Back(string input)
    Parameters
    Type Name Description
    String input

    PaddingIsAddedToStart_WhenPseudoCharactersLocation_Front(String)

    Declaration
    public void PaddingIsAddedToStart_WhenPseudoCharactersLocation_Front(string input)
    Parameters
    Type Name Description
    String input

    PaddingIsSplit_WhenPseudoCharactersLocation_Both()

    Declaration
    public void PaddingIsSplit_WhenPseudoCharactersLocation_Both()

    SameRandomCharactersAreUsedEachTime(String)

    Declaration
    public void SameRandomCharactersAreUsedEachTime(string input)
    Parameters
    Type Name Description
    String input

    Setup()

    Declaration
    public void Setup()

    TestCases()

    Declaration
    public static string[] TestCases()
    Returns
    Type Description
    String[]
    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