コード例 #1
0
 /**
  * @covers WindowsAzure\Table\TableRestProxy::insertEntity
  * @covers WindowsAzure\Table\TableRestProxy::queryEntities
  */
 public function testInsertEntityGuid()
 {
     foreach (TableServiceFunctionalTestData::getInterestingGoodGuids() as $o) {
         $ent = new Entity();
         $ent->setPartitionKey(TableServiceFunctionalTestData::getNewKey());
         $ent->setRowKey(TableServiceFunctionalTestData::getNewKey());
         $ent->addProperty('GUID', EdmType::GUID, $o);
         $this->insertEntityWorker($ent, true, null, $o);
     }
 }
コード例 #2
0
 /**
  * @covers WindowsAzure\Table\TableRestProxy::queryEntities
  */
 public function testQueryEntitiesGuidLevel1()
 {
     // The emulator has problems with non-standard queries tested here.
     $this->skipIfEmulated();
     $interestingqueryEntitiesOptions = self::addBinaryFilter('GUID', EdmType::GUID, TableServiceFunctionalTestData::getInterestingGoodGuids());
     foreach ($interestingqueryEntitiesOptions as $options) {
         $this->queryEntitiesWorker($options);
     }
 }