Home
last modified time | relevance | path

Searched refs:assertCode (Results 1 – 7 of 7) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSyncApiTest.java68 .assertCode(200) in get()
132 .assertCode(200) in post()
151 .assertCode(200).assertBody("A"); in conditionalCacheHit()
155 .assertCode(200).assertBody("A"); in conditionalCacheHit()
167 .assertCode(200).assertBody("A"); in conditionalCacheMiss()
171 .assertCode(200).assertBody("B"); in conditionalCacheMiss()
190 .assertCode(200) in redirect()
193 .assertCode(302) in redirect()
196 .assertCode(301) in redirect()
214 .assertCode(301) in redirectWithRedirectsDisabled()
[all …]
DAsyncApiTest.java73 .assertCode(200) in get()
146 .assertCode(200) in post()
168 receiver.await(request1.url()).assertCode(200).assertBody("A"); in conditionalCacheHit()
175 receiver.await(request2.url()).assertCode(200).assertBody("A"); in conditionalCacheHit()
190 receiver.await(request1.url()).assertCode(200).assertBody("A"); in conditionalCacheMiss()
197 receiver.await(request2.url()).assertCode(200).assertBody("B"); in conditionalCacheMiss()
219 .assertCode(200) in redirect()
222 .assertCode(302) in redirect()
225 .assertCode(301) in redirect()
246 .assertCode(301) in redirectWithRedirectsDisabled()
[all …]
DRecordedResponse.java43 public RecordedResponse assertCode(int expectedCode) { in assertCode() method in RecordedResponse
/external/chromium_org/third_party/cython/src/Cython/Compiler/Tests/
DTestTreeFragment.py12 self.assertCode(u"x = 4", T)
32 self.assertCode(u"y = 4", T)
DTestParseTreeTransforms.py101 self.assertCode(u"""
126 self.assertCode(u"""
/external/chromium_org/third_party/cython/src/Cython/Tests/
DTestCodeWriter.py18 self.assertCode(codestr, self.fragment(codestr).root)
/external/chromium_org/third_party/cython/src/Cython/
DTestUtils.py73 def assertCode(self, expected, result_tree): member in CythonTest