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

    Class TemplateFormatterTests

    Inheritance
    Object
    TemplateFormatterTests
    Namespace: UnityEngine.Localization.SmartFormat.Tests.Extensions
    Syntax
    public class TemplateFormatterTests

    Methods

    Multiple_templates_can_be_used(String, String)

    Declaration
    public void Multiple_templates_can_be_used(string format, string expected)
    Parameters
    Type Name Description
    String format
    String expected

    Sanity_test(String, String)

    Declaration
    public void Sanity_test(string format, string expected)
    Parameters
    Type Name Description
    String format
    String expected

    SetupSmart()

    Declaration
    public void SetupSmart()

    Simple_templates_work_as_expected(String, String)

    Declaration
    public void Simple_templates_work_as_expected(string format, string expected)
    Parameters
    Type Name Description
    String format
    String expected

    Template_can_be_called_with_options_or_with_formatString(String, String)

    Declaration
    public void Template_can_be_called_with_options_or_with_formatString(string format, string expected)
    Parameters
    Type Name Description
    String format
    String expected

    Templates_are_case_sensitive(String)

    Declaration
    public void Templates_are_case_sensitive(string format)
    Parameters
    Type Name Description
    String format

    Templates_can_be_case_insensitive_and_overwrite_each_other(String, String)

    Declaration
    public void Templates_can_be_case_insensitive_and_overwrite_each_other(string format, string expected)
    Parameters
    Type Name Description
    String format
    String expected

    Templates_can_be_nested(String, String)

    Declaration
    public void Templates_can_be_nested(string format, string expected)
    Parameters
    Type Name Description
    String format
    String expected

    Templates_can_be_reused(String, String)

    Declaration
    public void Templates_can_be_reused(string format, string expected)
    Parameters
    Type Name Description
    String format
    String expected

    Templates_must_be_defined(String)

    Declaration
    public void Templates_must_be_defined(string format)
    Parameters
    Type Name Description
    String format
    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