Lines Matching refs:expected
92 boolean expected;
101 expected = true;
103 for (int i = 0; i < (shortByteArray.length) && expected; i++) {
104 expected = (shortByteArray[i] == buffer[i]);
107 expected);
111 fail("Test 2: IOException expected.");
123 boolean expected;
132 expected = true;
134 for (int i = 6, j = 0; j < 5 && expected; i++, j++) {
135 expected = (shortByteArray[i] == buffer[j]);
138 expected);
142 fail("Test 2: IOException expected.");
147 fail("Test 3: IndexOutOfBoundsException expected.");
156 fail("Test 4: IndexOutOfBoundsException expected.");
165 fail("Test 5: IndexOutOfBoundsException expected.");