Home
last modified time | relevance | path

Searched refs:FakeInputStream (Results 1 – 11 of 11) sorted by relevance

/dports/www/firefox-legacy/firefox-52.8.0esr/xpcom/tests/gtest/
H A DTestBase64.cpp146 ~FakeInputStream() {} in ~FakeInputStream()
150 FakeInputStream() in FakeInputStream() function in FakeInputStream
171 NS_IMPL_ISUPPORTS(FakeInputStream, nsIInputStream) in NS_IMPL_ISUPPORTS() argument
174 FakeInputStream::Close() in NS_IMPL_ISUPPORTS()
181 FakeInputStream::Available(uint64_t* aAvailable) in Available()
230 FakeInputStream::IsNonBlocking(bool* aIsBlocking) in IsNonBlocking()
237 FakeInputStream::Reset() in Reset()
244 FakeInputStream::NextTest() in NextTest()
255 FakeInputStream::CheckTest(nsACString& aResult) in CheckTest()
261 FakeInputStream::CheckTest(nsAString& aResult) in CheckTest()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/xpcom/tests/gtest/
H A DTestBase64.cpp83 class FakeInputStream final : public nsIInputStream { class
84 ~FakeInputStream() = default;
87 FakeInputStream() in FakeInputStream() function in FakeInputStream
108 NS_IMPL_ISUPPORTS(FakeInputStream, nsIInputStream) in NS_IMPL_ISUPPORTS() argument
111 FakeInputStream::Close() { in NS_IMPL_ISUPPORTS()
117 FakeInputStream::Available(uint64_t* aAvailable) { in Available()
159 FakeInputStream::IsNonBlocking(bool* aIsBlocking) { in IsNonBlocking()
164 void FakeInputStream::Reset() { in Reset()
169 bool FakeInputStream::NextTest() { in NextTest()
182 void FakeInputStream::CheckTest(nsAString& aResult) { in CheckTest()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/xpcom/tests/gtest/
H A DTestBase64.cpp147 ~FakeInputStream() {} in ~FakeInputStream()
151 FakeInputStream() in FakeInputStream() function in FakeInputStream
172 NS_IMPL_ISUPPORTS(FakeInputStream, nsIInputStream) in NS_IMPL_ISUPPORTS() argument
175 FakeInputStream::Close() in NS_IMPL_ISUPPORTS()
182 FakeInputStream::Available(uint64_t* aAvailable) in Available()
231 FakeInputStream::IsNonBlocking(bool* aIsBlocking) in IsNonBlocking()
238 FakeInputStream::Reset() in Reset()
245 FakeInputStream::NextTest() in NextTest()
256 FakeInputStream::CheckTest(nsACString& aResult) in CheckTest()
262 FakeInputStream::CheckTest(nsAString& aResult) in CheckTest()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/xpcom/tests/gtest/
H A DTestBase64.cpp83 class FakeInputStream final : public nsIInputStream { class
84 ~FakeInputStream() = default;
87 FakeInputStream() in FakeInputStream() function in FakeInputStream
108 NS_IMPL_ISUPPORTS(FakeInputStream, nsIInputStream) in NS_IMPL_ISUPPORTS() argument
111 FakeInputStream::Close() { in NS_IMPL_ISUPPORTS()
117 FakeInputStream::Available(uint64_t* aAvailable) { in Available()
159 FakeInputStream::IsNonBlocking(bool* aIsBlocking) { in IsNonBlocking()
164 void FakeInputStream::Reset() { in Reset()
169 bool FakeInputStream::NextTest() { in NextTest()
182 void FakeInputStream::CheckTest(nsAString& aResult) { in CheckTest()
[all …]
/dports/www/firefox/firefox-99.0/xpcom/tests/gtest/
H A DTestBase64.cpp83 class FakeInputStream final : public nsIInputStream { class
84 ~FakeInputStream() = default;
87 FakeInputStream() in FakeInputStream() function in FakeInputStream
108 NS_IMPL_ISUPPORTS(FakeInputStream, nsIInputStream) in NS_IMPL_ISUPPORTS() argument
111 FakeInputStream::Close() { in NS_IMPL_ISUPPORTS()
117 FakeInputStream::Available(uint64_t* aAvailable) { in Available()
159 FakeInputStream::IsNonBlocking(bool* aIsBlocking) { in IsNonBlocking()
164 void FakeInputStream::Reset() { in Reset()
169 bool FakeInputStream::NextTest() { in NextTest()
182 void FakeInputStream::CheckTest(nsAString& aResult) { in CheckTest()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/xpcom/tests/gtest/
H A DTestBase64.cpp83 class FakeInputStream final : public nsIInputStream { class
84 ~FakeInputStream() = default;
87 FakeInputStream() in FakeInputStream() function in FakeInputStream
108 NS_IMPL_ISUPPORTS(FakeInputStream, nsIInputStream) in NS_IMPL_ISUPPORTS() argument
111 FakeInputStream::Close() { in NS_IMPL_ISUPPORTS()
117 FakeInputStream::Available(uint64_t* aAvailable) { in Available()
159 FakeInputStream::IsNonBlocking(bool* aIsBlocking) { in IsNonBlocking()
164 void FakeInputStream::Reset() { in Reset()
169 bool FakeInputStream::NextTest() { in NextTest()
182 void FakeInputStream::CheckTest(nsAString& aResult) { in CheckTest()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/embedder_support/android/util/
H A Dandroid_stream_reader_url_loader_unittest.cc37 class FakeInputStream : public embedder_support::InputStream { class
39 FakeInputStream() : contents_(""), nb_reads_(0) {} in FakeInputStream() function in embedder_support::FakeInputStream
40 explicit FakeInputStream(std::string contents) in FakeInputStream() function in embedder_support::FakeInputStream
42 explicit FakeInputStream(std::string contents, int nb_reads) in FakeInputStream() function in embedder_support::FakeInputStream
44 ~FakeInputStream() override {} in ~FakeInputStream()
244 CreateLoader(request, client.get(), std::make_unique<FakeInputStream>()); in TEST_F()
270 CreateLoader(request, client.get(), std::make_unique<FakeInputStream>()); in TEST_F()
285 CreateLoader(request, client.get(), std::make_unique<FakeInputStream>()); in TEST_F()
313 request, client.get(), std::make_unique<FakeInputStream>(expected_body)); in TEST_F()
331 std::make_unique<FakeInputStream>(expected_body, 2)); in TEST_F()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/crypto/
H A DTestCryptoStreams.java87 return new CryptoInputStream(new FakeInputStream(in), codec, bufferSize, in getInputStream()
167 public static class FakeInputStream extends InputStream implements class in TestCryptoStreams
176 public FakeInputStream(DataInputBuffer in) { in FakeInputStream() method in TestCryptoStreams.FakeInputStream
H A DTestCryptoCodec.java209 in = new CryptoInputStream(new TestCryptoStreams.FakeInputStream( in cryptoCodecTest()
215 TestCryptoStreams.FakeInputStream originalInput = in cryptoCodecTest()
216 new TestCryptoStreams.FakeInputStream(originalData); in cryptoCodecTest()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-tools/hadoop-gridmix/src/test/java/org/apache/hadoop/mapred/gridmix/
H A DTestGridMixClasses.java486 FakeInputStream input = new FakeInputStream(); in testReadRecordFactory()
524 private class FakeInputStream extends InputStream implements Seekable, class in TestGridMixClasses
599 new FakeFSDataInputStream(new FakeInputStream())); in testLoadJobLoadRecordReader()
605 new FakeFSDataInputStream(new FakeInputStream())); in testLoadJobLoadRecordReader()
/dports/devel/thonny/thonny-3.3.14/thonny/plugins/cpython/
H A Dcpython_backend.py893 sys.stdin = FakeInputStream(self, sys.stdin)
1130 class FakeInputStream(FakeStream): class