Core: Fix property rename test
This commit is contained in:
committed by
Chris Hennes
parent
902012f12f
commit
5c9761d676
@@ -278,6 +278,9 @@ TEST_F(RenameProperty, updateExpressionDifferentContainer)
|
||||
EXPECT_EQ(varSet->getDynamicPropertyByName("Variable"), nullptr);
|
||||
EXPECT_EQ(varSet->getDynamicPropertyByName("NewName"), prop);
|
||||
EXPECT_EQ(prop2->getValue(), Value);
|
||||
|
||||
// Tear down
|
||||
_doc->removeObject(varSet2->getNameInDocument());
|
||||
}
|
||||
|
||||
// Tests whether we can rename a property that is used in an expression in a different document
|
||||
@@ -313,6 +316,9 @@ TEST_F(RenameProperty, updateExpressionDifferentDocument)
|
||||
EXPECT_EQ(varSet->getDynamicPropertyByName("Variable"), nullptr);
|
||||
EXPECT_EQ(varSet->getDynamicPropertyByName("NewName"), prop);
|
||||
EXPECT_EQ(prop2->getValue(), Value);
|
||||
|
||||
// Tear down
|
||||
doc->removeObject(varSet2->getNameInDocument());
|
||||
}
|
||||
|
||||
// Tests whether we can rename a property and undo it
|
||||
|
||||
Reference in New Issue
Block a user