diff options
author | David <ottodavid@gmx.net> | 2015-08-10 19:50:41 +0200 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2015-08-11 08:34:39 +0200 |
commit | 606874e9a883ae547df198498fce6fca7b735466 (patch) | |
tree | 2f9e772926ee22e715411e79acd8e0adfe1de2cd /tests/unit/Data | |
parent | ac81ab6d556ce52e98acf636bbcd8ad4d60ecf4e (diff) |
Fix TProperyValue::ensureEnum and some unit tests class names
Diffstat (limited to 'tests/unit/Data')
-rw-r--r-- | tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php b/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php index 99118927..0a95e49f 100644 --- a/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php +++ b/tests/unit/Data/SqlMap/DataMapper/TPropertyAccessTest.php @@ -5,7 +5,7 @@ use Prado\Data\SqlMap\DataMapper\TPropertyAccess; /** - * @package System.Data.SqlMap.DataMapper + * @package System.Data.\SqlMap\\DataMapper.DataMapper */ class TPropertyAccessTest extends PHPUnit_Framework_TestCase { @@ -28,7 +28,7 @@ class TPropertyAccessTest extends PHPUnit_Framework_TestCase self::assertEquals(1, TPropertyAccess::get($testobj, 'a')); self::assertEquals(2, TPropertyAccess::get($testobj, 'b')); - self::setExpectedException('TInvalidPropertyException'); + self::setExpectedException('Prado\\Data\SqlMap\DataMapper\\TInvalidPropertyException'); TPropertyAccess::get($testobj, 'c'); } @@ -67,10 +67,10 @@ class TPropertyAccessTest extends PHPUnit_Framework_TestCase self::assertEquals(1, TPropertyAccess::get($testobj, 'A')); self::assertEquals(2, TPropertyAccess::get($testobj, 'B')); - self::setExpectedException('TInvalidPropertyException'); + self::setExpectedException('Prado\\Data\\SqlMap\\DataMapper\\TInvalidPropertyException'); TPropertyAccess::get($testobj, 'c'); - self::setExpectedException('TInvalidPropertyException'); + self::setExpectedException('Prado\\Data\\SqlMap\\DataMapper\\TInvalidPropertyException'); TPropertyAccess::get($testobj, 'C'); } @@ -96,7 +96,7 @@ class TPropertyAccessTest extends PHPUnit_Framework_TestCase TPropertyAccess::set($testobj, 'c', 30); self::assertEquals(30, TPropertyAccess::get($testobj, 'c')); - self::setExpectedException('TInvalidPropertyException'); + self::setExpectedException('Prado\\Data\\SqlMap\\DataMapper\\TInvalidPropertyException'); TPropertyAccess::get($testobj, 'C'); } @@ -189,10 +189,10 @@ class TPropertyAccessTest extends PHPUnit_Framework_TestCase self::assertNull(TPropertyAccess::get($testobj, 'a.e.c')); self::assertNull(TPropertyAccess::get($testobj, 'a.e.C')); - self::setExpectedException('TInvalidPropertyException'); + self::setExpectedException('Prado\\Data\\SqlMap\\DataMapper\\TInvalidPropertyException'); TPropertyAccess::get($testobj, 'a.c.C'); - self::setExpectedException('TInvalidPropertyException'); + self::setExpectedException('Prado\\Data\\SqlMap\\DataMapper\\TInvalidPropertyException'); TPropertyAccess::get($testobj, 'a.d.C'); } } |