Home
last modified time | relevance | path

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

/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
DCipherInputStreamTest.java34 private static class TestInputStream extends ByteArrayInputStream { class in CipherInputStreamTest
37 public TestInputStream(byte[] data) { in TestInputStream() method in CipherInputStreamTest.TestInputStream
57 TestInputStream tis = new TestInputStream(data); in testCipherInputStream()
77 TestInputStream tis = new TestInputStream(data); in testRead1()
98 TestInputStream tis = new TestInputStream(data); in testRead2()
136 TestInputStream tis = new TestInputStream(data); in testRead3()
174 TestInputStream tis = new TestInputStream(data); in testSkip()
212 TestInputStream tis = new TestInputStream(data); in testAvailable()
224 TestInputStream tis = new TestInputStream(data); in testClose()
236 TestInputStream tis = new TestInputStream(data); in testMarkSupported()
/external/guava/guava-tests/test/com/google/common/io/
DTestReader.java32 private final TestInputStream in;
35 this(new TestInputStream(new ByteArrayInputStream(new byte[10]), options)); in TestReader()
38 public TestReader(TestInputStream in) { in TestReader()
DByteSinkTest.java75 TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[10])); in testWriteFromStream_doesNotCloseThatStream()
109 TestInputStream in = new TestInputStream( in testClosesOnErrors_writingFromInputStreamThatThrows()
DTestInputStream.java35 public class TestInputStream extends FilterInputStream { class
40 public TestInputStream(InputStream in, TestOption... options) throws IOException { in TestInputStream() method in TestInputStream
44 public TestInputStream(InputStream in, Iterable<TestOption> options) throws IOException { in TestInputStream() method in TestInputStream
DCloseablesTest.java71 TestInputStream in = new TestInputStream( in testCloseQuietly_inputStreamWithEatenException()
DTestByteSource.java62 private final class In extends TestInputStream {
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc122 class TestInputStream : public ZeroCopyInputStream { class
124 TestInputStream(const void* data, int size, int block_size) in TestInputStream() function in google::protobuf::io::__anonb2d186090111::TestInputStream
126 ~TestInputStream() {} in ~TestInputStream()
250 TestInputStream input(kSimpleTokenCases_case.input.data(), in TEST_2D()
296 TestInputStream input(text, strlen(text), kBlockSizes_case); in TEST_1D()
424 TestInputStream input(kMultiTokenCases_case.input.data(), in TEST_2D()
491 TestInputStream input(text, strlen(text), kBlockSizes_case); in TEST_1D()
676 TestInputStream input(kDocCommentCases_case.input.data(), in TEST_2D()
683 TestInputStream input2(kDocCommentCases_case.input.data(), in TEST_2D()
956 TestInputStream input(kErrorCases_case.input.data(), in TEST_2D()
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
Dtest-streams.rb232 class TestInputStream < Test::Unit::TestCase class
440 class TestInputStream(unittest.TestCase) | 296 | [ ]
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dteststreams.py296 class TestInputStream(unittest.TestCase): class