Home
last modified time | relevance | path

Searched refs:BUCKET_NAME (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java48 private static final String BUCKET_NAME = "tradefed_function_test"; field in GCSFileDownloaderFuncTest
102 createFile(mStorage, FILE_CONTENT, BUCKET_NAME, mRemoteRoot, FILE_NAME1); in setUp()
103 createFile(mStorage, FILE_NAME2, BUCKET_NAME, mRemoteRoot, FOLDER_NAME1, FILE_NAME2); in setUp()
104 createFile(mStorage, FILE_NAME3, BUCKET_NAME, mRemoteRoot, FOLDER_NAME1, FILE_NAME3); in setUp()
106 createFile(mStorage, FILE_NAME3, BUCKET_NAME, mRemoteRoot, FOLDER_NAME1, FOLDER_NAME2); in setUp()
110 BUCKET_NAME, in setUp()
125 List listOperation = mStorage.objects().list(BUCKET_NAME).setPrefix(mRemoteRoot); in tearDown()
132 mStorage.objects().delete(BUCKET_NAME, object.getName()).buildHttpRequest(), in tearDown()
157 mDownloader.downloadFile(BUCKET_NAME, mRemoteRoot + "/" + FILE_NAME1); in testDownloadFile_streamOutput()
166 mDownloader.downloadFile(BUCKET_NAME, mRemoteRoot + "/" + "non_exist_file"); in testDownloadFile_streamOutput_notExist()
[all …]
DGCSFileUploaderFuncTest.java38 private static final String BUCKET_NAME = "tradefed_function_test"; field in GCSFileUploaderFuncTest
63 storage.objects().delete(BUCKET_NAME, mTestFile.getName()).execute(); in tearDown()
73 BUCKET_NAME, in testUploadFile_roundTrip()
86 BUCKET_NAME, in testUploadFile_overwrite()
94 BUCKET_NAME, in testUploadFile_overwrite()
105 BUCKET_NAME, in testUploadFile_overwrite()
129 return mDownloader.downloadFile(BUCKET_NAME, gcsFilePath); in pullFileFromGcs()
DGCSBucketUtilFuncTest.java39 private static final String BUCKET_NAME = "tradefed_function_test"; field in GCSBucketUtilFuncTest
50 mBucket = new GCSBucketUtil(BUCKET_NAME); in setUp()
96 expected, BUCKET_NAME, mRemoteRoot, actualFiles)); in testDownloadMultiple()
159 String.format("gs://%s/%s/%s", BUCKET_NAME, mRemoteRoot, expectedFiles.get(i)), in testLs_folder()
171 String.format("gs://%s/%s/%s", BUCKET_NAME, mRemoteRoot, FILE_NAME), files.get(0)); in testLs_file()