{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class PolySpatialTest | Unity PolySpatial | 0.0.4
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PolySpatialTest

    An abstract PolySpatial test class with common attributes and methods. This is an implicit TestFixture class since it contains a UnityTearDown method.

    Inheritance
    object
    PolySpatialTest
    UnityLightTests
    PolySpatialFunctionalTest
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Tests.Runtime.PolySpatialTest.Base
    Assembly: solution.dll
    Syntax
    public abstract class PolySpatialTest

    Fields

    Name Description
    m_TestGameObject
    m_TestLight
    m_TestPolySpatialMeshFilter
    m_TestPolySpatialMeshRenderer

    Methods

    Name Description
    DisableFailOnErrorMessages()

    This method disables test failures caused by logging error|exception messages from the executing code. PolySpatial may log these types of messages without throwing an exception, which will cause tests to fail. Note that this function needs to be called from test methods individually; it cannot be set globally from pre/post-test methods, like SetUp or TearDown; it only applies to that method's scope. See Class documentation for more information: https://docs.unity3d.com/Packages/com.unity.test-framework@2.0/api/UnityEngine.TestTools.LogAssert.html TODO: remove this workaround if JIRA addressed: https://jira.unity3d.com/browse/LXR-250

    TearDown()
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)