mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Add assertions around registerObjects
This commit is contained in:
parent
24f8e6ff87
commit
7c46789a9e
1 changed files with 2 additions and 2 deletions
|
|
@ -8,10 +8,10 @@
|
|||
TEST(InspectorFieldTest, SetData_Should_Update_The_Field)
|
||||
{
|
||||
GuiInspector* inspector = new GuiInspector();
|
||||
inspector->registerObject();
|
||||
ASSERT_TRUE(inspector->registerObject());
|
||||
|
||||
ParticleData* exampleObj = new ParticleData();
|
||||
exampleObj->registerObject();
|
||||
ASSERT_TRUE(exampleObj->registerObject());
|
||||
// Add it to inspector so inspector field can find it
|
||||
inspector->addInspectObject(exampleObj);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue