/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/ |
D | WatcherImplTest.java | 38 public MojoTestRule mTestRule = new MojoTestRule(); field in WatcherImplTest 130 mTestRule.runLoopUntilIdle(); in testCorrectResult() 150 mTestRule.runLoopUntilIdle(); in testClosingPeerHandle() 154 mTestRule.runLoopUntilIdle(); in testClosingPeerHandle() 174 mTestRule.runLoopUntilIdle(); in testClosingWatchedHandle() 178 mTestRule.runLoopUntilIdle(); in testClosingWatchedHandle() 200 mTestRule.runLoopUntilIdle(); in testInvalidHandle() 217 mTestRule.runLoopUntilIdle(); in testDefaultInvalidHandle() 237 mTestRule.runLoopUntilIdle(); in testCancel() 241 mTestRule.runLoopUntilIdle(); in testCancel() [all …]
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
D | InterfaceControlMessageTest.java | 32 public MojoTestRule mTestRule = new MojoTestRule(); field in InterfaceControlMessageTest 103 mTestRule.runLoopUntilIdle(); in testQueryVersion() 119 mTestRule.runLoopUntilIdle(); in testRequireVersion() 126 mTestRule.runLoopUntilIdle(); in testRequireVersion() 135 mTestRule.runLoopUntilIdle(); in testRequireVersion()
|
D | InterfacesTest.java | 40 public MojoTestRule mTestRule = new MojoTestRule(); field in InterfacesTest 199 mTestRule.runLoopUntilIdle(); in checkProxy() 207 mTestRule.runLoopUntilIdle(); in checkProxy() 216 mTestRule.runLoopUntilIdle(); in checkProxy() 272 mTestRule.runLoopUntilIdle(); in testInterfaceClosing() 292 mTestRule.runLoopUntilIdle(); in testResponse()
|
D | ExecutorFactoryTest.java | 33 public MojoTestRule mTestRule = new MojoTestRule(); field in ExecutorFactoryTest 66 mTestRule.runLoop(RUN_LOOP_TIMEOUT_MS); in testExecutorOnCurrentThread() 109 mTestRule.runLoop(RUN_LOOP_TIMEOUT_MS); in testExecutorOnOtherThread()
|
D | ConnectorTest.java | 37 public MojoTestRule mTestRule = new MojoTestRule(); field in ConnectorTest 99 mTestRule.runLoopUntilIdle(); in testReceivingMessage() 114 mTestRule.runLoopUntilIdle(); in testErrors()
|
D | RouterTest.java | 37 public MojoTestRule mTestRule = new MojoTestRule(); field in RouterTest 96 mTestRule.runLoopUntilIdle(); in testSendingToRouterWithResponse() 121 mTestRule.runLoopUntilIdle(); in sendMessageToRouter() 235 mTestRule.runLoopUntilIdle(); in testDroppingReceiverWithoutUsingIt()
|
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/ |
D | CronetTestRuleTest.java | 33 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetTestRuleTest 47 mTestFramework = mTestRule.startCronetTestFramework(); in setUp() 75 assertFalse(mTestRule.testingJavaImpl()); in testRunOnlyNativeMustRun()
|
D | CronetUrlRequestContextTest.java | 75 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetUrlRequestContextTest 184 final CronetTestFramework testFramework = mTestRule.startCronetTestFramework(); in testShutdown() 304 final CronetTestFramework testFramework = mTestRule.startCronetTestFramework(); in testMultipleShutdown() 319 final CronetTestFramework testFramework = mTestRule.startCronetTestFramework(); in testShutdownAfterError() 335 final CronetTestFramework testFramework = mTestRule.startCronetTestFramework(); in testShutdownAfterCancel() 362 final CronetTestFramework testFramework = mTestRule.startCronetTestFramework(); in testNetworkBoundContextLifetime() 427 final CronetTestFramework testFramework = mTestRule.startCronetTestFramework(); in testNetworkBoundRequestCancel() 594 final CronetTestFramework testFramework = mTestRule.startCronetTestFramework(); in testGetActiveRequestCount() 623 final CronetTestFramework testFramework = mTestRule.startCronetTestFramework(); in testGetActiveRequestCountOnReachingSucceeded() 645 final CronetTestFramework testFramework = mTestRule.startCronetTestFramework(); in testGetActiveRequestCountOnReachingCancel() [all …]
|
D | CronetStressTest.java | 39 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetStressTest 44 mTestFramework = mTestRule.startCronetTestFramework(); in setUp()
|
D | NetworkChangeNotifierTest.java | 44 public final CronetTestRule mTestRule = new CronetTestRule(); field in NetworkChangeNotifierTest 56 CronetTestFramework testFramework = mTestRule.startCronetTestFramework(); in testNetworkChangeNotifier()
|
D | GetStatusTest.java | 45 public final CronetTestRule mTestRule = new CronetTestRule(); field in GetStatusTest 70 mTestFramework = mTestRule.startCronetTestFramework(); in setUp()
|
D | CronetUploadTest.java | 42 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetUploadTest 52 mTestFramework = mTestRule.startCronetTestFramework(); in setUp()
|
D | MockCertVerifierTest.java | 33 public final CronetTestRule mTestRule = new CronetTestRule(); field in MockCertVerifierTest
|
D | CronetUrlRequestTest.java | 80 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetUrlRequestTest 87 mTestFramework = mTestRule.startCronetTestFramework(); in setUp() 90 if (!mTestRule.testingJavaImpl()) { in setUp() 97 if (!mTestRule.testingJavaImpl()) { in tearDown() 180 mTestRule.assertResponseEquals(urlResponseInfo, callback.mResponseInfo); in testSimpleGet() 264 mTestRule.assertResponseEquals(expected, callback.mRedirectResponseInfoList.get(0)); in testRedirectAsync() 315 mTestRule.assertResponseEquals(urlResponseInfo, callback.mResponseInfo); in testRedirectAsync() 699 mTestRule.assertResponseEquals(firstExpectedResponseInfo, firstRedirectResponseInfo); in testMockMultiRedirect() 709 mTestRule.assertResponseEquals(secondExpectedResponseInfo, mResponseInfo); in testMockMultiRedirect() 722 mTestRule.assertResponseEquals(expected, callback.mResponseInfo); in testMockNotFound() [all …]
|
D | PkpTest.java | 58 public final CronetTestRule mTestRule = new CronetTestRule(); field in PkpTest 69 if (mTestRule.testingJavaImpl()) { in setUp()
|
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/ |
D | CronetChunkedOutputStreamTest.java | 46 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetChunkedOutputStreamTest 54 mTestRule.setStreamHandlerFactory(new HttpEngine.Builder(getContext()).build()); in setUp() 117 if (!mTestRule.testingSystemHttpURLConnection()) { in testWriteAfterRequestFailed() 147 if (!mTestRule.testingSystemHttpURLConnection()) { in testGetResponseAfterWriteFailed() 151 if (!mTestRule.testingSystemHttpURLConnection()) { in testGetResponseAfterWriteFailed() 164 if (!mTestRule.testingSystemHttpURLConnection()) { in testGetResponseAfterWriteFailed()
|
D | CronetURLStreamHandlerFactoryTest.java | 26 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetURLStreamHandlerFactoryTest 31 mTestRule.startCronetTestFramework(); in testRequireConfig()
|
D | CronetFixedModeOutputStreamTest.java | 53 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetFixedModeOutputStreamTest 60 mTestRule.setStreamHandlerFactory(new HttpEngine.Builder(getContext()).build()); in setUp() 124 if (!mTestRule.testingSystemHttpURLConnection()) { in testWriteAfterRequestFailed() 153 if (!mTestRule.testingSystemHttpURLConnection()) { in testGetResponseAfterWriteFailed() 157 if (!mTestRule.testingSystemHttpURLConnection()) { in testGetResponseAfterWriteFailed() 170 if (!mTestRule.testingSystemHttpURLConnection()) { in testGetResponseAfterWriteFailed() 447 assertFalse(mTestRule.testingSystemHttpURLConnection()); in testRewindWithCronet()
|
D | CronetHttpURLStreamHandlerTest.java | 38 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetHttpURLStreamHandlerTest 44 mTestFramework = mTestRule.startCronetTestFramework(); in setUp()
|
D | CronetHttpURLConnectionTest.java | 75 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetHttpURLConnectionTest 81 mCronetEngine = mTestRule.enableDiskCache(new HttpEngine.Builder(getContext())).build(); in setUp() 82 mTestRule.setStreamHandlerFactory(mCronetEngine); in setUp() 867 if (!mTestRule.testingSystemHttpURLConnection()) { in testDisconnectWhileReadingDoesnotBlock() 877 if (!mTestRule.testingSystemHttpURLConnection()) { in testDisconnectWhileReadingDoesnotBlock() 904 if (!mTestRule.testingSystemHttpURLConnection()) { in testServerHangsUp() 920 if (!mTestRule.testingSystemHttpURLConnection()) { in testServerHangsUp() 960 if (!mTestRule.testingSystemHttpURLConnection() in testDisableRedirects() 981 if (!mTestRule.testingSystemHttpURLConnection() in testDisableRedirectsGlobal() 1041 if (mTestRule.testingSystemHttpURLConnection() in testDoNotFollowRedirectsIfSchemesDontMatch()
|
D | QuicUploadTest.java | 38 public final CronetTestRule mTestRule = new CronetTestRule(); field in QuicUploadTest
|
D | CronetInputStreamTest.java | 26 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetInputStreamTest
|
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/impl/ |
D | CronetLoggerTest.java | 68 private final CronetTestRule mTestRule = new CronetTestRule(); field in CronetLoggerTest 72 public final RuleChain chain = RuleChain.outerRule(mTestRule).around(mLoggerTestRule); 152 mTestFramework = mTestRule.buildCronetTestFramework(); in setUp() 304 if (mTestRule.testingJavaImpl()) { in testEngineCreation()
|
D | CronetManifestTest.java | 37 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetManifestTest
|
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/apihelpers/ |
D | UploadDataProvidersTest.java | 49 public final CronetTestRule mTestRule = new CronetTestRule(); field in UploadDataProvidersTest 55 mTestFramework = mTestRule.startCronetTestFramework(); in setUp()
|