Home
last modified time | relevance | path

Searched refs:mTestRule (Results 1 – 25 of 41) sorted by relevance

12

/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/
DWatcherImplTest.java38 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/
DInterfaceControlMessageTest.java32 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()
DInterfacesTest.java40 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()
DExecutorFactoryTest.java33 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()
DConnectorTest.java37 public MojoTestRule mTestRule = new MojoTestRule(); field in ConnectorTest
99 mTestRule.runLoopUntilIdle(); in testReceivingMessage()
114 mTestRule.runLoopUntilIdle(); in testErrors()
DRouterTest.java37 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/
DCronetTestRuleTest.java33 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetTestRuleTest
47 mTestFramework = mTestRule.startCronetTestFramework(); in setUp()
75 assertFalse(mTestRule.testingJavaImpl()); in testRunOnlyNativeMustRun()
DCronetUrlRequestContextTest.java75 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 …]
DCronetStressTest.java39 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetStressTest
44 mTestFramework = mTestRule.startCronetTestFramework(); in setUp()
DNetworkChangeNotifierTest.java44 public final CronetTestRule mTestRule = new CronetTestRule(); field in NetworkChangeNotifierTest
56 CronetTestFramework testFramework = mTestRule.startCronetTestFramework(); in testNetworkChangeNotifier()
DGetStatusTest.java45 public final CronetTestRule mTestRule = new CronetTestRule(); field in GetStatusTest
70 mTestFramework = mTestRule.startCronetTestFramework(); in setUp()
DCronetUploadTest.java42 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetUploadTest
52 mTestFramework = mTestRule.startCronetTestFramework(); in setUp()
DMockCertVerifierTest.java33 public final CronetTestRule mTestRule = new CronetTestRule(); field in MockCertVerifierTest
DCronetUrlRequestTest.java80 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 …]
DPkpTest.java58 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/
DCronetChunkedOutputStreamTest.java46 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()
DCronetURLStreamHandlerFactoryTest.java26 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetURLStreamHandlerFactoryTest
31 mTestRule.startCronetTestFramework(); in testRequireConfig()
DCronetFixedModeOutputStreamTest.java53 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()
DCronetHttpURLStreamHandlerTest.java38 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetHttpURLStreamHandlerTest
44 mTestFramework = mTestRule.startCronetTestFramework(); in setUp()
DCronetHttpURLConnectionTest.java75 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()
DQuicUploadTest.java38 public final CronetTestRule mTestRule = new CronetTestRule(); field in QuicUploadTest
DCronetInputStreamTest.java26 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetInputStreamTest
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/impl/
DCronetLoggerTest.java68 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()
DCronetManifestTest.java37 public final CronetTestRule mTestRule = new CronetTestRule(); field in CronetManifestTest
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/apihelpers/
DUploadDataProvidersTest.java49 public final CronetTestRule mTestRule = new CronetTestRule(); field in UploadDataProvidersTest
55 mTestFramework = mTestRule.startCronetTestFramework(); in setUp()

12