/** * @covers WindowsAzure\Table\TableRestProxy::insertEntity * @covers WindowsAzure\Table\TableRestProxy::queryEntities */ public function testInsertEntityBoolean() { foreach (TableServiceFunctionalTestData::getInterestingGoodBooleans() as $o) { $ent = new Entity(); $ent->setPartitionKey(TableServiceFunctionalTestData::getNewKey()); $ent->setRowKey(TableServiceFunctionalTestData::getNewKey()); $ent->addProperty('BOOLEAN', EdmType::BOOLEAN, $o); $this->insertEntityWorker($ent, true, null, $o); } }
/** * @covers WindowsAzure\Table\TableRestProxy::queryEntities */ public function testQueryEntitiesBooleanLevel1() { // The emulator has problems with non-standard queries tested here. $this->skipIfEmulated(); $interestingqueryEntitiesOptions = self::addBinaryFilter('BOOLEAN', EdmType::BOOLEAN, TableServiceFunctionalTestData::getInterestingGoodBooleans()); foreach ($interestingqueryEntitiesOptions as $options) { $this->queryEntitiesWorker($options); } }