Home
last modified time | relevance | path

Searched refs:FILE_CONTENT (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSBucketUtilFuncTest.java42 private static final String FILE_CONTENT = "Hello World!"; field in GCSBucketUtilFuncTest
73 mBucket.pushString(FILE_CONTENT, path); in testStringUploadThenDownLoad()
74 Assert.assertEquals(FILE_CONTENT, mBucket.pullContents(path)); in testStringUploadThenDownLoad()
81 mBucket.pushString(FILE_CONTENT, Paths.get(mRemoteRoot, file)); in testDownloadMultiple()
105 FileUtil.writeToFile(FILE_CONTENT, tempDst); in testUploadDownload()
153 mBucket.pushString(FILE_CONTENT, Paths.get(mRemoteRoot, file)); in testLs_folder()
167 mBucket.pushString(FILE_CONTENT, path); in testLs_file()
177 mBucket.pushString(FILE_CONTENT, path); in testIsFile()
184 mBucket.pushString(FILE_CONTENT, path); in testIsFile_folder()
196 mBucket.pushString(FILE_CONTENT, path); in testStat()
[all …]
DGCSFileDownloaderFuncTest.java55 private static final String FILE_CONTENT = "Hello World!"; field in GCSFileDownloaderFuncTest
102 createFile(mStorage, FILE_CONTENT, BUCKET_NAME, mRemoteRoot, FILE_NAME1); in setUp()
157 Assert.assertEquals(FILE_CONTENT, content); in testDownloadFile_streamOutput()
201 Assert.assertEquals(FILE_CONTENT, content); in testDownloadFile()