HomeSort by relevance Sort by last modified time
    Searched refs:fail (Results 51 - 75 of 4776) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/libcxx/test/input.output/iostreams.base/ios/iostate.flags/
fail.pass.cpp 14 // bool fail() const;
26 assert(ios.fail());
28 assert(ios.fail());
33 assert(!ios.fail());
35 assert(!ios.fail());
37 assert(ios.fail());
39 assert(ios.fail());
not.pass.cpp 22 assert(!ios == ios.fail());
24 assert(!ios == ios.fail());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/iostate.flags/
fail.pass.cpp 14 // bool fail() const;
26 assert(ios.fail());
28 assert(ios.fail());
33 assert(!ios.fail());
35 assert(!ios.fail());
37 assert(ios.fail());
39 assert(ios.fail());
not.pass.cpp 22 assert(!ios == ios.fail());
24 assert(!ios == ios.fail());
  /cts/tests/tests/permission/src/android/permission/cts/
NoWifiStatePermissionTest.java 49 fail("WifiManager.getWifiState didn't throw SecurityException as expected");
63 fail("WifiManager.getConfiguredNetworks didn't throw SecurityException as expected");
77 fail("WifiManager.getConnectionInfo didn't throw SecurityException as expected");
91 fail("WifiManager.getScanResults didn't throw SecurityException as expected");
105 fail("WifiManager.getDhcpInfo didn't throw SecurityException as expected");
119 fail("WifiManager.disconnect didn't throw SecurityException as expected");
133 fail("WifiManager.reconnect didn't throw SecurityException as expected");
147 fail("WifiManager.reassociate didn't throw SecurityException as expected");
161 fail("WifiManager.addNetwork didn't throw SecurityException as expected");
177 fail("WifiManager.updateNetwork didn't throw SecurityException as expected")
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ArrayTest.java 46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {} method
47 try { Array.getBoolean(chars, 0); fail(); } catch (IllegalArgumentException expected) {} method
48 try { Array.getBoolean(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
49 try { Array.getBoolean(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
50 try { Array.getBoolean(ints, 0); fail(); } catch (IllegalArgumentException expected) {} method
51 try { Array.getBoolean(longs, 0); fail(); } catch (IllegalArgumentException expected) {} method
52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} method
53 try { Array.getBoolean(null, 0); fail(); } catch (NullPointerException expected) {} method
57 try { Array.getByte(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
59 try { Array.getByte(chars, 0); fail(); } catch (IllegalArgumentException expected) { method
60 try { Array.getByte(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
61 try { Array.getByte(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
62 try { Array.getByte(ints, 0); fail(); } catch (IllegalArgumentException expected) {} method
63 try { Array.getByte(longs, 0); fail(); } catch (IllegalArgumentException expected) {} method
64 try { Array.getByte(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} method
65 try { Array.getByte(null, 0); fail(); } catch (NullPointerException expected) {} method
69 try { Array.getChar(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
70 try { Array.getChar(bytes, 0); fail(); } catch (IllegalArgumentException expected) {} method
72 try { Array.getChar(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
73 try { Array.getChar(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
74 try { Array.getChar(ints, 0); fail(); } catch (IllegalArgumentException expected) {} method
75 try { Array.getChar(longs, 0); fail(); } catch (IllegalArgumentException expected) {} method
76 try { Array.getChar(shorts, 0); fail(); } catch (IllegalArgumentException expected) {} method
77 try { Array.getChar(null, 0); fail(); } catch (NullPointerException expected) {} method
81 try { Array.getDouble(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
89 try { Array.getDouble(null, 0); fail(); } catch (NullPointerException expected) {} method
93 try { Array.getFloat(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
97 try { Array.getFloat(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
101 try { Array.getFloat(null, 0); fail(); } catch (NullPointerException expected) {} method
105 try { Array.getInt(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
108 try { Array.getInt(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
109 try { Array.getInt(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
111 try { Array.getInt(longs, 0); fail(); } catch (IllegalArgumentException expected) {} method
113 try { Array.getInt(null, 0); fail(); } catch (NullPointerException expected) {} method
117 try { Array.getLong(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
120 try { Array.getLong(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
121 try { Array.getLong(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
125 try { Array.getLong(null, 0); fail(); } catch (NullPointerException expected) {} method
129 try { Array.getShort(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} method
131 try { Array.getShort(chars, 0); fail(); } catch (IllegalArgumentException expected) {} method
132 try { Array.getShort(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} method
133 try { Array.getShort(floats, 0); fail(); } catch (IllegalArgumentException expected) {} method
134 try { Array.getShort(ints, 0); fail(); } catch (IllegalArgumentException expected) {} method
135 try { Array.getShort(longs, 0); fail(); } catch (IllegalArgumentException expected) {} method
137 try { Array.getShort(null, 0); fail(); } catch (NullPointerException expected) {} method
142 try { Array.setBoolean(bytes, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
143 try { Array.setBoolean(chars, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
144 try { Array.setBoolean(doubles, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
145 try { Array.setBoolean(floats, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
146 try { Array.setBoolean(ints, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
147 try { Array.setBoolean(longs, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
148 try { Array.setBoolean(shorts, 0, true); fail(); } catch (IllegalArgumentException expected) {} method
149 try { Array.setBoolean(null, 0, true); fail(); } catch (NullPointerException expected) {} method
153 try { Array.setByte(booleans, 0, bytes[0]); fail(); } catch (IllegalArgumentException expected) {} method
155 try { Array.setByte(chars, 0, bytes[0]); fail(); } catch (IllegalArgumentException expected) {} method
161 try { Array.setByte(null, 0, bytes[0]); fail(); } catch (NullPointerException expected) {} method
165 try { Array.setChar(booleans, 0, chars[0]); fail(); } catch (IllegalArgumentException expected) {} method
166 try { Array.setChar(bytes, 0, chars[0]); fail(); } catch (IllegalArgumentException expected) {} method
172 try { Array.setChar(shorts, 0, chars[0]); fail(); } catch (IllegalArgumentException expected) {} method
173 try { Array.setChar(null, 0, chars[0]); fail(); } catch (NullPointerException expected) {} method
177 try { Array.setDouble(booleans, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
178 try { Array.setDouble(bytes, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
179 try { Array.setDouble(chars, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
181 try { Array.setDouble(floats, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
182 try { Array.setDouble(ints, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
183 try { Array.setDouble(longs, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
184 try { Array.setDouble(shorts, 0, doubles[0]); fail(); } catch (IllegalArgumentException expected) {} method
185 try { Array.setDouble(null, 0, doubles[0]); fail(); } catch (NullPointerException expected) {} method
189 try { Array.setFloat(booleans, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
190 try { Array.setFloat(bytes, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
191 try { Array.setFloat(chars, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
194 try { Array.setFloat(ints, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
195 try { Array.setFloat(longs, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
196 try { Array.setFloat(shorts, 0, floats[0]); fail(); } catch (IllegalArgumentException expected) {} method
197 try { Array.setFloat(null, 0, floats[0]); fail(); } catch (NullPointerException expected) {} method
201 try { Array.setInt(booleans, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} method
202 try { Array.setInt(bytes, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} method
203 try { Array.setInt(chars, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} method
208 try { Array.setInt(shorts, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} method
209 try { Array.setInt(null, 0, ints[0]); fail(); } catch (NullPointerException expected) {} method
213 try { Array.setLong(booleans, 0, longs[0]); fail(); } catch (IllegalArgumentException expected) {} method
214 try { Array.setLong(bytes, 0, longs[0]); fail(); } catch (IllegalArgumentException expected) {} method
215 try { Array.setLong(chars, 0, longs[0]); fail(); } catch (IllegalArgumentException expected) {} method
218 try { Array.setLong(ints, 0, longs[0]); fail(); } catch (IllegalArgumentException expected) {} method
220 try { Array.setLong(shorts, 0, longs[0]); fail(); } catch (IllegalArgumentException expected) {} method
221 try { Array.setLong(null, 0, longs[0]); fail(); } catch (NullPointerException expected) {} method
225 try { Array.setShort(booleans, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) {} method
226 try { Array.setShort(bytes, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) {} method
227 try { Array.setShort(chars, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) {} method
233 try { Array.setShort(null, 0, shorts[0]); fail(); } catch (NullPointerException expected) {} method
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStore4Test.java 46 fail("test class not available");
52 fail("test keystore not available");
70 fail("unexpected exception: " + e);
75 fail("expected KeyStoreException");
82 fail("expected NullPointerException");
86 fail("unexpected exception: " + e);
96 fail("unexpected exception: " + e);
98 fail("unexpected exception: " + e);
103 fail("expected KeyStoreException");
107 fail("unexpected exception: " + e)
    [all...]
  /external/chromium_org/tools/gyp/test/win/compiler-flags/
exception-handling-on.cc 8 void fail() { function
19 fail();
  /frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/error/
FailingTest.java 24 fail("Expected");
28 fail("Expected");
  /libcore/luni/src/test/java/libcore/java/math/
MathContextTest.java 42 fail(); method
47 fail(); method
54 fail(); method
61 fail(); method
66 fail(); method
71 fail(); method
78 fail(); method
83 fail(); method
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DESedeKeySpecTest.java 46 fail("Should raise an NullPointerException "
50 fail("Should raise an NullPointerException "
55 fail("Should raise an InvalidKeyException on a short byte array.");
57 fail("Unexpected NullPointerException was thrown.");
65 fail("Unexpected NullPointerException was thrown.");
67 fail("Unexpected InvalidKeyException was thrown.");
71 fail("Should raise an NullPointerException "
75 fail("Should raise an NullPointerException "
82 fail("Should raise an InvalidKeyException on a short byte array.");
84 fail("Unexpected NullPointerException was thrown.")
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DESedeKeySpecTest.java 46 fail("Should raise an NullPointerException "
50 fail("Should raise an NullPointerException "
55 fail("Should raise an InvalidKeyException on a short byte array.");
57 fail("Unexpected NullPointerException was thrown.");
65 fail("Unexpected NullPointerException was thrown.");
67 fail("Unexpected InvalidKeyException was thrown.");
71 fail("Should raise an NullPointerException "
75 fail("Should raise an NullPointerException "
82 fail("Should raise an InvalidKeyException on a short byte array.");
84 fail("Unexpected NullPointerException was thrown.")
    [all...]
  /cts/tests/tests/telephony/src/android/telephony/cts/
SimRestrictedApisTest.java 48 fail("Expected SecurityException. App doesn't have carrier privileges.");
63 fail("Expected SecurityException. App doesn't have carrier privileges.");
78 fail("Expected SecurityException. App doesn't have carrier privileges.");
93 fail("Expected SecurityException. App doesn't have carrier privileges.");
108 fail("Expected SecurityException. App doesn't have carrier privileges.");
123 fail("Expected SecurityException. App doesn't have carrier privileges.");
138 fail("Expected SecurityException. App doesn't have carrier privileges.");
153 fail("Expected SecurityException. App doesn't have carrier privileges.");
167 fail("Expected SecurityException. App doesn't have carrier privileges.");
181 fail("Expected SecurityException. App doesn't have carrier privileges.")
    [all...]
  /external/javassist/src/main/javassist/runtime/
DotClass.java 25 public static NoClassDefFoundError fail(ClassNotFoundException e) { method in class:DotClass
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
BindExceptionTest.java 34 fail("Exception during BindException test" + e.toString());
36 fail("Failed to generate exception");
49 fail("Exception during BindException test : " + e.getMessage());
51 fail("Failed to generate exception");
ProtocolExceptionTest.java 34 fail("Exception during ProtocolException test : " + e.getMessage());
36 fail("Failed to generate expected exception");
49 fail("Exception during ProtocolException test : " + e.getMessage());
51 fail("Failed to generate expected exception");
  /libcore/luni/src/test/java/tests/security/cert/
CertificateException2Test.java 33 fail("Should have thrown CertificateException");
38 fail("Unexpected exception during test : " + e);
52 fail("Should have thrown CertificateException");
57 fail("Unexpected exception during test : " + e);
  /cts/tests/tests/location/src/android/location/cts/
GeocoderTest.java 38 fail("should throw NullPointerException.");
50 // Note: there is a risk this test will fail if device under test does not have
64 fail("Failed to geocode location " + MAX_NUM_RETRIES + " times.");
71 fail("should throw IllegalArgumentException");
78 fail("should throw IllegalArgumentException");
85 fail("should throw IllegalArgumentException");
92 fail("should throw IllegalArgumentException");
103 // Note: there is a risk this test will fail if device under test does not have
117 fail("Failed to geocode location name " + MAX_NUM_RETRIES + " times.");
122 fail("should throw IllegalArgumentException")
    [all...]
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DefaultSSLSocketFactoryTest.java 42 fail("No expected SocketException");
45 fail(e.toString());
57 fail("No expected SocketException");
60 fail(e.toString());
71 fail("No expected SocketException");
74 fail(e.toString());
87 fail("No expected SocketException");
90 fail(e.toString());
98 fail("incorrect result");
106 fail("incorrect result")
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
zip_output_unittest.sh 37 fail() { function
57 || fail 'protoc failed.'
61 unzip -t $TEST_TMPDIR/testzip.zip > $TEST_TMPDIR/testzip.list || fail 'unzip failed.'
64 || fail 'testzip.pb.cc not found in output zip.'
66 || fail 'testzip.pb.h not found in output zip.'
68 || fail 'testzip_pb2.py not found in output zip.'
70 && fail 'Zip file contained manifest.'
77 jar tf $TEST_TMPDIR/testzip.jar > $TEST_TMPDIR/testzip.list || fail 'jar failed.'
80 || fail 'Foo.java not found in output jar.'
82 || fail 'Bar.java not found in output jar.
    [all...]
  /external/protobuf/src/google/protobuf/compiler/
zip_output_unittest.sh 37 fail() { function
51 testzip.proto || fail 'protoc failed.'
55 unzip -t testzip.zip > testzip.list || fail 'unzip failed.'
58 || fail 'testzip.pb.cc not found in output zip.'
60 || fail 'testzip.pb.h not found in output zip.'
62 || fail 'testzip_pb2.py not found in output zip.'
64 && fail 'Zip file contained manifest.'
71 jar tf testzip.jar > testzip.list || fail 'jar failed.'
74 || fail 'Foo.java not found in output jar.'
76 || fail 'Bar.java not found in output jar.
    [all...]
  /ndk/tests/device/test-stlport_shared-exception/jni/
eh24.cpp 4 int fail = 0; variable
13 fail = 1;
32 return fail;
eh44.cpp 7 int fail = 0; variable
24 fail = 1;
35 return fail;
  /ndk/tests/device/test-stlport_static-exception/jni/
eh24.cpp 4 int fail = 0; variable
13 fail = 1;
32 return fail;
eh44.cpp 7 int fail = 0; variable
24 fail = 1;
35 return fail;

Completed in 909 milliseconds

1 23 4 5 6 7 8 91011>>