0

Resolved

Querying variety tests

description

Single component registered one time, with name = null. Query with:
  • GetComponent<T>()
  • GetComponent<T>(name = null)
  • GetComponent(type)
  • GetComponent(type, name = null)
  • GetAllComponents<T>()
  • GetAllComponents<T>(name = null)
  • GetAllComponents(type)
  • GetAllComponents(type, name = null)
  • GetComponentFamily<T>()
  • GetComponentFamily(type)
    {NONE of the above should result in null or empty IEnumerables.}
     
    Single component registered one time, with name != null. Query with:
  • GetComponent<T>() -> result = null
  • GetComponent<T>(name) -> result != null
  • GetComponent(type) -> result = null
  • GetComponent(type, name) -> result != null
  • GetAllComponents<T>() -> result = empty
  • GetAllComponents<T>(name) -> result = one member
  • GetAllComponents(type) -> result = empty
  • GetAllComponents(type, name) -> result = one member
  • GetComponentFamily<T>() -> result = one member
  • GetComponentFamily(type) -> result = one member

comments

wrote Apr 9, 2010 at 3:18 PM

 Copied from work item 7858
4/9/2010 7:40:57 PMCreated by iravanchi_cp Copied from work item 7857
4/9/2010 7:37:41 PMCreated by iravanchi_cp