summaryrefslogtreecommitdiff
path: root/tests/UnitTests/framework/utComponent.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/UnitTests/framework/utComponent.php')
-rw-r--r--tests/UnitTests/framework/utComponent.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/UnitTests/framework/utComponent.php b/tests/UnitTests/framework/utComponent.php
index 2683652a..07be4577 100644
--- a/tests/UnitTests/framework/utComponent.php
+++ b/tests/UnitTests/framework/utComponent.php
@@ -110,15 +110,15 @@ class utComponent extends UnitTestCase
}
}
- public function testGetPropertyByPath()
+ public function testGetSubProperty()
{
- $this->assertTrue('object text'===$this->component->getPropertyByPath('Object.Text'));
+ $this->assertTrue('object text'===$this->component->getSubProperty('Object.Text'));
}
- public function testSetPropertyByPath()
+ public function testSetSubProperty()
{
- $this->component->setPropertyByPath('Object.Text','new object text');
- $this->assertEqual('new object text',$this->component->getPropertyByPath('Object.Text'));
+ $this->component->setSubProperty('Object.Text','new object text');
+ $this->assertEqual('new object text',$this->component->getSubProperty('Object.Text'));
}
public function testHasEvent()