Home
last modified time | relevance | path

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

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDefaultRequestDirectorTest.java70 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body")… in shouldGetHttpResponseFromExecute()
84 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body")… in shouldPreferPendingResponses()
96 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a cheery response body"… in shouldReturnRequestsByRule()
118 …assertThat(Strings.fromStream(getResponse.getEntity().getContent()), equalTo("a cheery response bo… in shouldReturnRequestsByRule_AnyMethod()
123 …assertThat(Strings.fromStream(postResponse.getEntity().getContent()), equalTo("a cheery response b… in shouldReturnRequestsByRule_AnyMethod()
135 assertThat(Strings.fromStream(getResponseStream), equalTo("a cheery response body")); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
140 assertThat(Strings.fromStream(postResponseStream), equalTo("a cheery response body")); in shouldReturnRequestsByRule_KeepsTrackOfOpenContentStreams()
158 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a cheery response body"… in shouldReturnRequestsByRule_WithTextResponse()
171 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a gloomy response body"… in clearHttpResponseRules_shouldRemoveAllRules()
184 assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("later")); in clearPendingHttpResponses()
[all …]
DAssetManagerTest.java79 fileContents = Strings.fromStream(inputStream); in assetsInputStreams()
84 fileContents = Strings.fromStream(inputStream); in assetsInputStreams()
DAndroidHttpClientTest.java40 assertThat(Strings.fromStream(resp.getEntity().getContent()), equalTo("foo")); in testExecute()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGPathUtilities.cpp240 bool buildAnimatedSVGPathByteStream(SVGPathByteStream* fromStream, SVGPathByteStream* toStream, SVG… in buildAnimatedSVGPathByteStream() argument
242 ASSERT(fromStream); in buildAnimatedSVGPathByteStream()
253 OwnPtr<SVGPathByteStreamSource> fromSource = SVGPathByteStreamSource::create(fromStream); in buildAnimatedSVGPathByteStream()
261 bool addToSVGPathByteStream(SVGPathByteStream* fromStream, SVGPathByteStream* byStream, unsigned re… in addToSVGPathByteStream() argument
263 ASSERT(fromStream); in addToSVGPathByteStream()
265 if (fromStream->isEmpty() || byStream->isEmpty()) in addToSVGPathByteStream()
268 SVGPathByteStreamBuilder* builder = globalSVGPathByteStreamBuilder(fromStream); in addToSVGPathByteStream()
270 OwnPtr<SVGPathByteStream> fromStreamCopy = fromStream->copy(); in addToSVGPathByteStream()
271 fromStream->clear(); in addToSVGPathByteStream()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
DStringsTest.java14 assertEquals("some random string", Strings.fromStream(stream)); in shouldGetStringFromStream()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
DStrings.java8 public static String fromStream(InputStream inputStream) throws IOException { in fromStream() method in Strings
/external/smack/src/com/kenai/jbosh/
DStaticBody.java83 public static StaticBody fromStream( in fromStream() method in StaticBody