/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/ |
D | HttpHelperTest.java | 51 private TestHttpHelper mHelper; field in HttpHelperTest 55 mHelper = new TestHttpHelper(); in setUp() 60 mHelper.close(); in tearDown() 68 assertEquals("key=value", mHelper.buildParameters(paramMap)); in testBuildParams() 73 String params = mHelper.buildParameters(paramMap); in testBuildParams() 81 assertEquals("key=value1&key=value2", mHelper.buildParameters(paramMap)); in testBuildParams() 85 assertEquals("key%2Bf%3Fo%3Do%3B=value", mHelper.buildParameters(paramMap)); in testBuildParams() 91 assertEquals("http://foo", mHelper.buildUrl(TEST_URL_STRING, null)); in testBuildUrl() 94 assertEquals("http://foo", mHelper.buildUrl(TEST_URL_STRING, paramMap)); in testBuildUrl() 97 assertEquals("http://foo?key=value", mHelper.buildUrl(TEST_URL_STRING, paramMap)); in testBuildUrl() [all …]
|
D | HttpMultipartPostTest.java | 36 private IHttpHelper mHelper; field in HttpMultipartPostTest 49 mHelper = EasyMock.createMock(IHttpHelper.class); in setUp() 61 EasyMock.expect(mHelper.doPostWithRetry("www.example.com", expectedContents, in testSendRequest() 63 EasyMock.replay(mHelper); in testSendRequest() 65 HttpMultipartPost testPost = new HttpMultipartPost("www.example.com", mHelper); in testSendRequest() 71 EasyMock.verify(mHelper); in testSendRequest()
|
/tools/tradefederation/core/src/com/android/tradefed/config/remote/ |
D | GcsRemoteFileResolver.java | 35 private GCSDownloaderHelper mHelper = null; field in GcsRemoteFileResolver 61 if (mHelper == null) { in getDownloader() 62 mHelper = new GCSDownloaderHelper(); in getDownloader() 64 return mHelper; in getDownloader()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | ShardHelperTest.java | 74 private ShardHelper mHelper; field in ShardHelperTest 84 mHelper = in setUp() 139 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testSplitWithShardCount() 165 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testSplit_noShardCount() 197 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testSplitWithShardCount_notEnoughTest() 242 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testCloneStatusChecker() 289 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testCloneMetricCollector() 318 mHelper = in testClone_withKeystore() 363 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testClone_withKeystore() 402 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testSplitWithTokens()
|
D | StrictShardHelperTest.java | 75 private StrictShardHelper mHelper; field in StrictShardHelperTest 84 mHelper = new StrictShardHelper(); in setUp() 121 assertTrue(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testShardConfig_internal() 153 assertFalse(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testShardConfig_internal_shardIndex() 184 assertFalse(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testShardConfig_internal_shardIndex_notShardable_shard0() 215 assertFalse(mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null)); in testShardConfig_internal_shardIndex_notShardable_shard1() 281 mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null); in testShard() 346 mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null); in testShardSuite() 392 mHelper.shardConfig(mConfig, mTestInfo, mRescheduler, null); in testSuite_withAllInterfaces() 423 List<List<IRemoteTest>> res = mHelper.splitTests(testList, shardCount); in testDistribution_hightests_highcount() [all …]
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/net/ |
D | HttpMultipartPost.java | 45 private IHttpHelper mHelper; field in HttpMultipartPost 50 mHelper = httpHelper; in HttpMultipartPost() 121 mHelper.doPostWithRetry(mUrl, mBuilder.toString(), in send()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommandLauncher.java | 225 SubprocessReportingHelper mHelper = new SubprocessReportingHelper(); in run() local 232 mHelper.createSubprocessReporterJar(mRootDir).getAbsolutePath(), in run() 237 commandLine = mHelper.buildNewCommandConfig(commandLine, port, testWorkDir); in run()
|
/tools/tradefederation/core/tests/res/testdata/ |
D | tradefed-prebuilt-cts-8.0_r21.jar | META-INF/
META-INF/MANIFEST.MF
jline/
jline/CompletionHandler.class
CompletionHandler ... |