public function testIssetOwnPropertiesSuccess()
 {
     parent::testGetOwnPropertiesSuccess();
     $findQuery = $this->createFindQuery();
     $this->assertTrue(isset($findQuery->isRestricted));
     $this->assertTrue(isset($findQuery->relations));
 }
示例#2
0
 public function testIssetOwnPropertiesSuccess()
 {
     parent::testGetOwnPropertiesSuccess();
     $findQuery = $this->createFindQuery();
     $this->assertTrue(isset($findQuery->relationSetName));
     $this->assertTrue(isset($findQuery->relationSource));
 }
示例#3
0
文件: suite.php 项目: bmdevel/ezc
 public function __construct()
 {
     parent::__construct();
     $this->setName("PersistentObject");
     $this->addTest(ezcPersistentCodeManagerTest::suite());
     $this->addTest(ezcPersistentCacheManagerTest::suite());
     $this->addTest(ezcPersistentMultiManagerTest::suite());
     $this->addTest(ezcPersistentSessionDeleteTest::suite());
     $this->addTest(ezcPersistentSessionFindTest::suite());
     $this->addTest(ezcPersistentSessionLoadTest::suite());
     $this->addTest(ezcPersistentSessionMiscTest::suite());
     $this->addTest(ezcPersistentSessionSaveTest::suite());
     $this->addTest(ezcPersistentSessionCasesensitiveTest::suite());
     $this->addTest(ezcPersistentSessionIdentityDecoratorOptionsTest::suite());
     $this->addTest(ezcPersistentSessionIdentityDecoratorMiscTest::suite());
     $this->addTest(ezcPersistentSessionIdentityDecoratorDeleteTest::suite());
     $this->addTest(ezcPersistentSessionIdentityDecoratorFindTest::suite());
     $this->addTest(ezcPersistentSessionIdentityDecoratorLoadTest::suite());
     $this->addTest(ezcPersistentSessionIdentityDecoratorSaveTest::suite());
     $this->addTest(ezcPersistentSessionIdentityDecoratorRelationTest::suite());
     $this->addTest(ezcPersistentSessionIdentityDecoratorInstanceTest::suite());
     $this->addTest(ezcPersistentFindIteratorTest::suite());
     $this->addTest(ezcPersistentManualGeneratorTest::suite());
     $this->addTest(ezcPersistentNativeGeneratorTest::suite());
     $this->addTest(ezcPersistentSessionInstanceTest::suite());
     $this->addTest(ezcPersistentOneToManyRelationTest::suite());
     $this->addTest(ezcPersistentOneToOneRelationTest::suite());
     $this->addTest(ezcPersistentManyToOneRelationTest::suite());
     $this->addTest(ezcPersistentManyToManyRelationTest::suite());
     $this->addTest(ezcPersistentMultiRelationTest::suite());
     $this->addTest(ezcPersistentKeywordTest::suite());
     $this->addTest(ezcPersistentStringIdentifierTest::suite());
     $this->addTest(ezcPersistentObjectPropertyTest::suite());
     $this->addTest(ezcPersistentObjectIdPropertyTest::suite());
     $this->addTest(ezcPersistentObjectDefinitionTest::suite());
     $this->addTest(ezcPersistentObjectRelationsTest::suite());
     $this->addTest(ezcPersistentObjectPropertiesTest::suite());
     $this->addTest(ezcPersistentObjectColumnsTest::suite());
     $this->addTest(ezcPersistentRelationCollectionTest::suite());
     $this->addTest(ezcPersistentPropertyDateTimeConverterTest::suite());
     $this->addTest(ezcPersistentDatabaseTypeTest::suite());
     $this->addTest(ezcPersistentObjectTest::suite());
     $this->addTest(ezcPersistentObjectInstanceDelayedInitTest::suite());
     $this->addTest(ezcPersistentFindQueryTest::suite());
     $this->addTest(ezcPersistentRelationFindQueryTest::suite());
     $this->addTest(ezcPersistentFindWithRelationsQueryTest::suite());
     $this->addTest(ezcPersistentBasicIdentityMapTest::suite());
     $this->addTest(ezcPersistentSessionIdentityDecoratorRelationQueryCreatorTest::suite());
     $this->addTest(ezcPersistentSessionIdentityDecoratorRelationObjectExtractorTest::suite());
 }