コード例 #1
0
ファイル: outputdata.php プロジェクト: mach-o/mozilla_sync
 function test_EmptyArray()
 {
     OCA_mozilla_sync\OutputData::$outputFlag = OCA_mozilla_sync\OutputData::ConstOutputBuffer;
     OCA_mozilla_sync\OutputData::$outputBuffer = '';
     OCA_mozilla_sync\OutputData::write(array());
     $this->assertTrue(OCA_mozilla_sync\OutputData::$outputBuffer === "[]\n");
 }
コード例 #2
0
ファイル: storageservice.php プロジェクト: netcon-source/apps
 private function clearRequest()
 {
     OCA_mozilla_sync\OutputData::$outputBuffer = '';
     OCA_mozilla_sync\Utils::$requestMethod = 'GET';
     OCA_mozilla_sync\Utils::$lastStatus = OCA_mozilla_sync\Utils::STATUS_OK;
 }