Home | History | Annotate | Download | only in pm

Lines Matching refs:is

11  * distributed under the License is distributed on an "AS IS" BASIS,
73 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);
75 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is)));
77 assertTrue(is.isTagEqual(TEST_STRING_1_MAC));
84 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);
86 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is)));
88 assertFalse(is.isTagEqual(TEST_STRING_1_MAC_BROKEN));
95 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);
97 assertTrue(Arrays.equals(TEST_STRING_1, Streams.readFully(is)));
99 assertFalse(is.isTagEqual(null));
106 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);
109 while (is.read() != -1) {
118 assertTrue(is.isTagEqual(TEST_STRING_1_MAC));