Home
last modified time | relevance | path

Searched refs:TestInputStream (Results 1 – 14 of 14) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DTestReader.java30 private final TestInputStream in;
33 this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options)); in TestReader()
36 public TestReader(TestInputStream in) { in TestReader()
DByteSinkTest.java75 TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10])); in testWriteFromStream_doesNotCloseThatStream()
111 TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10]), READ_THROWS); in testClosesOnErrors_writingFromInputStreamThatThrows()
DTestInputStream.java32 public class TestInputStream extends FilterInputStream { class
37 public TestInputStream(InputStream in, TestOption... options) throws IOException { in TestInputStream() method in TestInputStream
41 public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException { in TestInputStream() method in TestInputStream
DCloseablesTest.java66 TestInputStream in = in testCloseQuietly_inputStreamWithEatenException()
67 new TestInputStream(new ByteArrayInputStream(new byte[1]), TestOption.CLOSE_THROWS); in testCloseQuietly_inputStreamWithEatenException()
DTestByteSource.java61 private final class In extends TestInputStream {
/external/guava/android/guava-tests/test/com/google/common/io/
DTestReader.java30 private final TestInputStream in;
33 this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options)); in TestReader()
36 public TestReader(TestInputStream in) { in TestReader()
DByteSinkTest.java75 TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10])); in testWriteFromStream_doesNotCloseThatStream()
111 TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10]), READ_THROWS); in testClosesOnErrors_writingFromInputStreamThatThrows()
DTestInputStream.java32 public class TestInputStream extends FilterInputStream { class
37 public TestInputStream(InputStream in, TestOption... options) throws IOException { in TestInputStream() method in TestInputStream
41 public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException { in TestInputStream() method in TestInputStream
DCloseablesTest.java66 TestInputStream in = in testCloseQuietly_inputStreamWithEatenException()
67 new TestInputStream(new ByteArrayInputStream(new byte[1]), TestOption.CLOSE_THROWS); in testCloseQuietly_inputStreamWithEatenException()
DTestByteSource.java61 private final class In extends TestInputStream {
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc123 class TestInputStream : public ZeroCopyInputStream { class
125 TestInputStream(const void* data, int size, int block_size) in TestInputStream() function in google::protobuf::io::__anon11cb0d300111::TestInputStream
127 ~TestInputStream() {} in ~TestInputStream()
250 TestInputStream input(kSimpleTokenCases_case.input.data(), in TEST_2D()
295 TestInputStream input(text, strlen(text), kBlockSizes_case); in TEST_1D()
433 TestInputStream input(kMultiTokenCases_case.input.data(), in TEST_2D()
499 TestInputStream input(text, strlen(text), kBlockSizes_case); in TEST_1D()
658 TestInputStream input(kDocCommentCases_case.input.data(), in TEST_2D()
664 TestInputStream input2(kDocCommentCases_case.input.data(), in TEST_2D()
917 TestInputStream input(kErrorCases_case.input.data(), in TEST_2D()
[all …]
/external/antlr/runtime/Ruby/test/unit/
Dtest-streams.rb232 class TestInputStream < Test::Unit::TestCase class
440 class TestInputStream(unittest.TestCase) | 296 | [ ]
/external/antlr/runtime/Python3/unittests/
Dteststreams.py295 class TestInputStream(unittest.TestCase): class
/external/antlr/runtime/Python/unittests/
Dteststreams.py296 class TestInputStream(unittest.TestCase): class