MeshBaker
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
UnityTest.ComparerBase Class Referenceabstract

Inherits UnityTest.ActionBase.

Inherited by UnityTest.ComparerBaseGeneric< T1, T2 >, and UnityTest.GeneralComparer.

Public Types

enum  CompareToType { CompareToType.CompareToObject, CompareToType.CompareToConstantValue, CompareToType.CompareToNull }
 

Public Member Functions

virtual Type [] GetAccepatbleTypesForB ()
 
virtual object GetDefaultConstValue ()
 
override string GetFailureMessage ()
 
- Public Member Functions inherited from UnityTest.ActionBase
virtual Type [] GetAccepatbleTypesForA ()
 
virtual int GetDepthOfSearch ()
 
virtual string [] GetExcludedFieldNames ()
 
bool Compare ()
 
virtual Type GetParameterType ()
 
virtual string GetConfigurationDescription ()
 
ActionBase CreateCopy (GameObject oldGameObject, GameObject newGameObject)
 
virtual void Fail (AssertionComponent assertion)
 

Public Attributes

CompareToType compareToType = CompareToType.CompareToObject
 
GameObject other
 
string otherPropertyPath = ""
 
- Public Attributes inherited from UnityTest.ActionBase
GameObject go
 
string thisPropertyPath = ""
 

Protected Member Functions

abstract bool Compare (object a, object b)
 
override bool Compare (object objValue)
 

Protected Attributes

object m_ObjOtherVal
 
- Protected Attributes inherited from UnityTest.ActionBase
object m_ObjVal
 

Properties

virtual object ConstValue [get, set]
 
- Properties inherited from UnityTest.ActionBase
virtual bool UseCache [get]
 

Member Enumeration Documentation

§ CompareToType

Enumerator
CompareToObject 
CompareToConstantValue 
CompareToNull 

Member Function Documentation

§ Compare() [1/2]

abstract bool UnityTest.ComparerBase.Compare ( object  a,
object  b 
)
protectedpure virtual

§ Compare() [2/2]

override bool UnityTest.ComparerBase.Compare ( object  objValue)
protectedvirtual

Implements UnityTest.ActionBase.

§ GetAccepatbleTypesForB()

virtual Type [] UnityTest.ComparerBase.GetAccepatbleTypesForB ( )
virtual

§ GetDefaultConstValue()

virtual object UnityTest.ComparerBase.GetDefaultConstValue ( )
virtual

§ GetFailureMessage()

override string UnityTest.ComparerBase.GetFailureMessage ( )
virtual

Reimplemented from UnityTest.ActionBase.

Member Data Documentation

§ compareToType

CompareToType UnityTest.ComparerBase.compareToType = CompareToType.CompareToObject

§ m_ObjOtherVal

object UnityTest.ComparerBase.m_ObjOtherVal
protected

§ other

GameObject UnityTest.ComparerBase.other

§ otherPropertyPath

string UnityTest.ComparerBase.otherPropertyPath = ""

Property Documentation

§ ConstValue

virtual object UnityTest.ComparerBase.ConstValue
getset

The documentation for this class was generated from the following file: