Back to index

unity  6.0.0
Public Member Functions | Protected Attributes
TestIntrospection Class Reference

List of all members.

Public Member Functions

 TestIntrospection ()

Protected Attributes

std::shared_ptr
< MockIntrospectable
root_
std::shared_ptr
< MockIntrospectable
dc_
std::shared_ptr
< MockIntrospectable
pc_
std::shared_ptr
< MockIntrospectable
foo1_
std::shared_ptr
< MockIntrospectable
foo2_
std::shared_ptr
< MockIntrospectable
foo3_

Detailed Description

Definition at line 67 of file test_introspection.cpp.


Constructor & Destructor Documentation

Definition at line 70 of file test_introspection.cpp.

  : root_(new MockIntrospectable("Unity")),
  dc_(new MockIntrospectable("DashController")),
  pc_(new MockIntrospectable("PanelController")),
  foo1_(new MockIntrospectable("Foo")),
  foo2_(new MockIntrospectable("Foo")),
  foo3_(new MockIntrospectable("Foo"))
  {
    root_->AddChild(dc_.get());
    root_->AddChild(pc_.get());
    dc_->AddChild(foo1_.get());
    dc_->AddChild(foo2_.get());
    dc_->AddChild(foo3_.get());

    //root_->SetProperty(g_variant_new("{sv}", "SomeProperty", g_variant_new_string("SomeValue")));
  }

Member Data Documentation

std::shared_ptr<MockIntrospectable> TestIntrospection::dc_ [protected]

Definition at line 89 of file test_introspection.cpp.

std::shared_ptr<MockIntrospectable> TestIntrospection::foo1_ [protected]

Definition at line 91 of file test_introspection.cpp.

std::shared_ptr<MockIntrospectable> TestIntrospection::foo2_ [protected]

Definition at line 92 of file test_introspection.cpp.

std::shared_ptr<MockIntrospectable> TestIntrospection::foo3_ [protected]

Definition at line 93 of file test_introspection.cpp.

std::shared_ptr<MockIntrospectable> TestIntrospection::pc_ [protected]

Definition at line 90 of file test_introspection.cpp.

std::shared_ptr<MockIntrospectable> TestIntrospection::root_ [protected]

Definition at line 88 of file test_introspection.cpp.


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