public void updateInstrumentationTestSuite( String user, String project, long testSuite, File appApk, File testApk, TestSuiteResource.InstrumentationTestSuiteRequest request) { String appUploadId = upload.uploadFile(user, project, appApk).replace("\"", ""); String testUploadId = upload.uploadFile(user, project, testApk).replace("\"", ""); request.testUploadId = testUploadId; request.appUploadId = appUploadId; this.testSuite.updateInstrumentationTestSuite(user, project, testSuite, request); }
@Override public void createAppVersion(String userId, String projectId, File appApk) { String appUploadId = upload.uploadFile(userId, projectId, appApk).replace("\"", ""); this.appVersion.createAppVersion( userId, projectId, new AppVersionResource.CreateAppVersionRequest(appUploadId)); }