Searched defs:expected (Results 76 - 82 of 82) sorted by relevance

1234

/libcore/jsr166-tests/src/test/java/jsr166/
H A DCompletableFutureTest.java384 void assertValue(Integer expected) { argument
386 assertEquals(expected, value);
3775 catch (java.lang.reflect.InvocationTargetException expected) {
3776 if (! (expected.getCause() instanceof UnsupportedOperationException)) {
3778 // expected.getCause().printStackTrace();
/libcore/luni/src/test/java/libcore/java/security/
H A DSignatureTest.java130 } catch (InvalidKeyException expected) {
1751 assertTrue("Signature must match expected signature",
1764 assertTrue("Signature must match expected signature",
1777 assertTrue("Signature must match expected signature",
1790 assertTrue("Signature must match expected signature",
1803 assertTrue("Signature must match expected signature",
2042 assertTrue("Signature must match expected signature",
2055 assertTrue("First signature must match expected signature",
2059 assertTrue("Second signature must match expected signature",
2099 assertTrue("Signature should match expected",
3226 assertPSSParameterSpecEquals( PSSParameterSpec expected, PSSParameterSpec actual) argument
3241 assertEqualsIgnoreCase(String expected, String actual) argument
[all...]
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DCipherTest.java414 Integer expected = map.get(modeProviderKey(algorithm, mode, provider));
415 if (expected != null) {
416 return expected;
418 expected = map.get(modeKey(algorithm, mode));
419 if (expected != null) {
420 return expected;
422 expected = map.get(algorithm);
424 + " not found in " + map, expected);
425 return expected;
1065 } catch (ClassCastException expected) {
2458 assertEncryptedEqualsNoPadding(String provider, int mode, byte[] expected, byte[] actual) argument
[all...]
/libcore/ojluni/src/main/java/java/net/
H A DURI.java2858 private void failExpecting(String expected, int p) argument
2861 fail("Expected " + expected, p);
2864 private void failExpecting(String expected, String prior, int p) argument
2867 fail("Expected " + expected + " following " + prior, p);
3228 fail ("scope id expected");
3322 private int takeIPv4Address(int start, int n, String expected) argument
3327 failExpecting(expected, start);
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
H A DHttpURLConnection.java2384 * The second request is (erroneously) expected to be GET
2447 * the expected number of bytes, probably 0
3137 long expected; field in class:HttpURLConnection.StreamingOutputStream
3146 * In the 2nd case, we make sure the expected number of
3151 expected = expectedLength;
3161 if (expected != -1L && written > expected) {
3176 if (expected != -1L && written > expected) {
3209 if (expected !
[all...]
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlParser.java529 checkRelaxed("version expected");
967 name = readName(); // TODO: pass the expected name in as a hint?
985 "expected: /" + elementStack[sp + 3] + " read: " + name, this, null);
1440 private void read(char expected) throws IOException, XmlPullParserException { argument
1442 if (c != expected) {
1443 checkRelaxed("expected: '" + expected + "' actual: '" + ((char) c) + "'");
1453 checkRelaxed("expected: '" + new String(chars) + "' but was EOF");
1461 checkRelaxed("expected: \"" + new String(chars) + "\" but was \""
1531 checkRelaxed("name expected");
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java186 } catch (IllegalArgumentException expected) {
198 } catch (IllegalArgumentException expected) {
224 } catch (UnsupportedOperationException expected) {
229 } catch (UnsupportedOperationException expected) {
234 } catch (NullPointerException expected) {
239 } catch (NullPointerException expected) {
258 } catch (IllegalStateException expected) {
263 } catch (IllegalStateException expected) {
268 } catch (IllegalStateException expected) {
300 } catch (UnsupportedOperationException expected) {
2925 assertContent(String expected, URLConnection connection, int limit) argument
2932 assertContent(String expected, URLConnection connection) argument
[all...]

Completed in 292 milliseconds

1234