Searched refs:mRemoteRoot (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | GCSFileDownloaderFuncTest.java | 58 private String mRemoteRoot; field in GCSFileDownloaderFuncTest 80 mRemoteRoot = tempFile.getName(); in setUp() 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() 111 mRemoteRoot, in setUp() 125 List listOperation = mStorage.objects().list(BUCKET_NAME).setPrefix(mRemoteRoot); 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 …]
|
D | GCSBucketUtilFuncTest.java | 44 private String mRemoteRoot; field in GCSBucketUtilFuncTest 52 mRemoteRoot = tempFile.getName(); in setUp() 67 mBucket.remove(mRemoteRoot, true); in tearDown() 72 Path path = Paths.get(mRemoteRoot, FILE_NAME); in testStringUploadThenDownLoad() 81 mBucket.pushString(FILE_CONTENT, Paths.get(mRemoteRoot, file)); in testDownloadMultiple() 85 mBucket.pull(Paths.get(mRemoteRoot), mLocalRoot); in testDownloadMultiple() 89 File local = new File(mLocalRoot, mRemoteRoot); in testDownloadMultiple() 96 expected, BUCKET_NAME, mRemoteRoot, actualFiles)); in testDownloadMultiple() 106 mBucket.push(tempSrc, Paths.get(mRemoteRoot, FILE_NAME)); in testUploadDownload() 107 mBucket.pull(Paths.get(mRemoteRoot, FILE_NAME), tempDst); in testUploadDownload() [all …]
|