コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
google.appengine.api.files.testutil モジュール
概要
Files API。
バージョン 1.8.1 移行サポート終了: Google Cloud Storage クライアント ライブラリを使用してください。
Files API に関連するテストを作成するテスト ユーティリティ。
目次
- class google.appengine.api.files.testutil.TestFileServiceStubソース
-
ベース: google.appengine.api.apiproxy_stub.APIProxyStub
テストで使用する FileServiceStub。
ファイルの検証は行いません。ファイルのコンテンツもメモリに保存しません。
低レベルのファイル呼び出しをテストする場合にのみ使用できます。一部の機能はサポートされません(blobstore ファイルなど)。
- get_content(filename)source
-
現在メモリ内にあるファイルのコンテンツを取得します。
- set_content(filename, content)source
-
現在メモリ内にあるファイルのコンテンツを設定します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-10-21 UTC。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]