Searched refs:expected (Results 226 - 250 of 282) sorted by relevance

1234567891011>>

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DSecurity2Test.java78 int expected = allSupported.get(filterString);
81 expected, provTest.length);
239 // still supply an expected value. This is not valid.
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DProxyTest.java84 fail("NPE expected");
85 } catch (NullPointerException expected) {
91 fail("NPE expected");
92 } catch (NullPointerException expected) {
274 // expected
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
H A DCharBufferTest.java151 // expected
167 // expected
184 // expected
311 // expected
331 // expected
346 // expected
353 // expected
360 // expected
367 // expected
373 // expected
[all...]
H A DDoubleBufferTest.java146 // expected
162 // expected
179 // expected
279 // expected
299 // expected
314 // expected
321 // expected
328 // expected
335 // expected
341 // expected
[all...]
H A DFloatBufferTest.java123 // expected
139 // expected
156 // expected
165 // expected
269 // expected
289 // expected
296 // expected
312 // expected
319 // expected
326 // expected
[all...]
H A DIntBufferTest.java122 // expected
138 // expected
155 // expected
249 // expected
269 // expected
275 // expected
290 // expected
297 // expected
304 // expected
311 // expected
[all...]
H A DLongBufferTest.java122 // expected
138 // expected
155 // expected
249 // expected
269 // expected
276 // expected
291 // expected
298 // expected
305 // expected
312 // expected
[all...]
H A DShortBufferTest.java121 // expected
137 // expected
154 // expected
248 // expected
268 // expected
283 // expected
290 // expected
297 // expected
304 // expected
310 // expected
[all...]
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DHandshakeCompletedEventTest.java80 } catch (Exception expected) {
129 } catch (SSLPeerUnverifiedException expected) {
152 } catch (SSLPeerUnverifiedException expected) {
333 * usual sense, we just make sure that we got the expected certificates,
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/
H A DXMLFilterImplTest.java115 fail("SAXNotRecognizedException expected");
140 fail("SAXNotRecognizedException expected");
200 fail("NullPointerException expected");
226 fail("NullPointerException expected");
237 InputSource expected = new InputSource();
240 resolver.addEntity("foo", "bar", expected);
255 assertEquals(expected, result);
/libcore/luni/src/test/java/tests/java/sql/
H A DDatabaseMetaDataTest.java755 // expected
2077 * Takes a result set and an array of expected colum names (as
2083 * @param expectedColNames Array of expected column names.
2106 * Takes a result set and an array of expected column types
2118 * @param expectedTypes Array of expected column types.
2138 * the ResultSet matches the expected values.
2154 int expected = nullability[i] ?
2157 expected, rsmd.isNullable(i+1));
2256 * String[] expected is a list of the schemas expected t
[all...]
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DOldZipFileTest.java52 fail("IllegalStateException expected");
53 } catch (IllegalStateException expected) {
101 fail("IOException expected");
103 // expected
108 fail("IOException expected");
110 // expected
121 fail("IllegalStateException expected");
140 fail("IllegalStateException expected");
142 // expected
/libcore/luni/src/test/java/tests/api/java/util/
H A DHashMapTest.java73 fail("IllegalArgumentException expected");
75 //expected
93 fail("IllegalArgumentException expected");
95 //expected
387 // expected.
394 // expected.
508 int expected = key.hashCode() ^ val.hashCode();
509 assertEquals(expected, map.hashCode());
513 expected += key.hashCode() ^ val.hashCode();
514 assertEquals(expected, ma
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DSocketTest.java75 } catch (ConnectException expected) {
245 } catch (IOException expected) {
H A DCookiesTest.java357 } catch (IllegalStateException expected) {
442 } catch (NullPointerException expected) {
444 expected.printStackTrace();
449 } catch (NullPointerException expected) {
456 } catch (NullPointerException expected) {
/libcore/luni/src/test/java/libcore/java/text/
H A DOldAttributedStringTest.java30 static void assertEqualString (String msg, String expected, AttributedString attrString) { argument
37 assertEquals(msg, expected, buf.toString());
79 // expected
87 // expected
129 // expected
138 // expected
148 fail("Unexpected expected " + e.toString());
191 // expected
312 // expected
319 // expected
[all...]
H A DOldDecimalFormatTest.java421 //expected
430 //expected
462 // expected
468 // expected
474 // expected
482 // expected
511 // expected
519 // expected
542 //expected
552 //expected
600 compare(String testName, String format, String expected) argument
605 compare(int count, String format, String expected) argument
[all...]
H A DOldDateFormatTest.java179 // expected
189 // expected
235 //expected
241 //expected
247 //expected
268 //expected
275 //expected
322 //expected
341 } catch (ParseException expected) {
347 } catch (ParseException expected) {
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DSaxTest.java184 * is expected to be equivalent to "<foo/>".
214 * @param expected an optional value that may or may have not been supplied
215 * @param sentinel a marker value that means the expected value was omitted
217 private void assertOneOf(String expected, String sentinel, String actual) { argument
218 List<String> optionsList = Arrays.asList(sentinel, expected);
225 * and setDocumentLocator(). Override the methods that are expected to be
H A DPullParserDtdTest.java476 } catch (UnsupportedOperationException expected) {
477 } catch (IllegalStateException expected) {
522 } catch (XmlPullParserException expected) {
H A DXsltXPathConformanceTestSuite.java308 * the result to an expected output file.
325 * "manual", or null for expected execution errors.
413 * @param expected a file containing an XML document fragment.
415 private void assertNodesAreEquivalent(File expected, Node actual) argument
419 Node expectedNode = fileToResultNode(expected);
423 Assert.assertEquals("Expected XML to match file " + expected,
/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldAbstractPreferencesTest.java65 fail("NullPointerException expected");
67 //expected
79 fail("IllegalArgumentException expected");
81 //expected
92 fail("IllegalArgumentException expected");
94 //expected
101 fail("IllegalStateException expected");
103 //expected
119 fail("NullPointerException expected");
121 //expected
873 assertChanged(boolean expected) argument
921 assertAdded(boolean expected) argument
926 assertRemoved(boolean expected) argument
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldRandomAccessFileTest.java58 fail("Test 1: FileNotFoundException expected.");
91 fail("Test 6: IllegalArgumentException expected.");
112 fail("Test 1: FileNotFoundException expected.");
143 fail("Test 6: IllegalArgumentException expected.");
154 fail("Test 7: NonWritableChannelException expected.");
188 assertTrue("Test 1: Channel position expected to be 0.", fc.position() == 0);
224 fail("Test 2: IOException expected.");
242 fail("Test 2: IOException expected.");
271 assertTrue("Test 3: End of file indicator (-1) expected.", raf.read() == -1);
276 fail("Test 4: IOException expected
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DOldCollectionsTest.java74 fail("ClassCastException expected");
76 //expected
94 // expected
107 fail("ClassCastException expected");
109 //expected
150 // expected
163 // expected
176 // expected
189 // expected
202 // expected
[all...]
/libcore/luni/src/test/java/libcore/java/util/regex/
H A DOldMatcherTest.java259 } catch (IndexOutOfBoundsException expected) {
265 } catch (IndexOutOfBoundsException expected) {
591 } catch (Exception expected) {

Completed in 525 milliseconds

1234567891011>>