Searched refs:uploadUrl (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | TestOutputUploader.java | 68 String uploadUrl = joinSegments(mUploadUrl, destPath); in uploadFile() local 69 CLog.i("Uploading %s to %s", file.getAbsolutePath(), uploadUrl); in uploadFile() 73 File destDir = new File(new URL(uploadUrl).getPath()); in uploadFile() 77 return joinSegments(uploadUrl, file.getName()); in uploadFile() 79 executeUploadCommand(file, "gsutil", "cp", file.getAbsolutePath(), uploadUrl); in uploadFile() 80 return joinSegments(uploadUrl, file.getName()); in uploadFile() 87 uploadUrl = joinSegments(mUploadUrl, encodedPath); in uploadFile() 97 uploadUrl); in uploadFile() 98 return uploadUrl; in uploadFile()
|
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/ |
D | TestOutputUploaderTest.java | 73 String uploadUrl = "file://" + destDir.getAbsolutePath(); in testUploadFile_fileProtocol_rootPath() local 74 mTestOutputUploader.setUploadUrl(uploadUrl); in testUploadFile_fileProtocol_rootPath() 77 assertEquals(uploadUrl + "/test_file", outputFileUrl); in testUploadFile_fileProtocol_rootPath() 86 String uploadUrl = "file://" + destDir.getAbsolutePath(); in testUploadFile_fileProtocol_withDestPath() local 87 mTestOutputUploader.setUploadUrl(uploadUrl); in testUploadFile_fileProtocol_withDestPath() 90 assertEquals(uploadUrl + "/sub_dir/test_file", outputFileUrl); in testUploadFile_fileProtocol_withDestPath()
|