Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 3667) sorted by relevance

12345678910>>...147

/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DFilesTest.java144 fail(); in create()
166 if (!handle.exists()) fail(); in testClasspath()
167 if (handle.isDirectory()) fail(); in testClasspath()
170 fail(); in testClasspath()
175 fail(); in testClasspath()
180 fail(); in testClasspath()
184 if (dir.isDirectory()) fail(); in testClasspath()
186 if (!child.name().equals("arial-15.fnt")) fail(); in testClasspath()
187 if (!child.nameWithoutExtension().equals("arial-15")) fail(); in testClasspath()
188 if (!child.extension().equals("fnt")) fail(); in testClasspath()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_rss.c44 #define EMIT_RS(svga, value, token, fail) \ argument
53 #define EMIT_RS_FLOAT(svga, fvalue, token, fail) \ argument
91 EMIT_RS( svga, curr->rt[0].writemask, COLORWRITEENABLE, fail ); in emit_rss()
92 EMIT_RS( svga, curr->rt[0].blend_enable, BLENDENABLE, fail ); in emit_rss()
95 EMIT_RS( svga, curr->rt[0].srcblend, SRCBLEND, fail ); in emit_rss()
96 EMIT_RS( svga, curr->rt[0].dstblend, DSTBLEND, fail ); in emit_rss()
97 EMIT_RS( svga, curr->rt[0].blendeq, BLENDEQUATION, fail ); in emit_rss()
100 SEPARATEALPHABLENDENABLE, fail ); in emit_rss()
103 EMIT_RS( svga, curr->rt[0].srcblend_alpha, SRCBLENDALPHA, fail ); in emit_rss()
104 EMIT_RS( svga, curr->rt[0].dstblend_alpha, DSTBLENDALPHA, fail ); in emit_rss()
[all …]
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DDESKeySpecTest.java110 fail("Should raise an NullPointerException " in testDESKeySpec()
114 fail("Should raise an NullPointerException " in testDESKeySpec()
119 fail("Should raise an InvalidKeyException on a short byte array."); in testDESKeySpec()
121 fail("Unexpected NullPointerException was thrown."); in testDESKeySpec()
127 fail("Unexpected NullPointerException was thrown."); in testDESKeySpec()
129 fail("Unexpected InvalidKeyException was thrown."); in testDESKeySpec()
133 fail("Should raise an NullPointerException " in testDESKeySpec()
137 fail("Should raise an NullPointerException " in testDESKeySpec()
142 fail("Should raise an InvalidKeyException on a short byte array."); in testDESKeySpec()
144 fail("Unexpected NullPointerException was thrown."); in testDESKeySpec()
[all …]
DDESedeKeySpecTest.java46 fail("Should raise an NullPointerException " in testDESedeKeySpec()
50 fail("Should raise an NullPointerException " in testDESedeKeySpec()
55 fail("Should raise an InvalidKeyException on a short byte array."); in testDESedeKeySpec()
57 fail("Unexpected NullPointerException was thrown."); in testDESedeKeySpec()
65 fail("Unexpected NullPointerException was thrown."); in testDESedeKeySpec()
67 fail("Unexpected InvalidKeyException was thrown."); in testDESedeKeySpec()
71 fail("Should raise an NullPointerException " in testDESedeKeySpec()
75 fail("Should raise an NullPointerException " in testDESedeKeySpec()
82 fail("Should raise an InvalidKeyException on a short byte array."); in testDESedeKeySpec()
84 fail("Unexpected NullPointerException was thrown."); in testDESedeKeySpec()
[all …]
DPBEKeySpecTest.java48 fail("Unexpected NullPointerException was thrown."); in testPBEKeySpec1()
77 fail("Unexpected IllegalArgumentException was thrown."); in testPBEKeySpec2()
79 fail("Unexpected NullPointerException was thrown."); in testPBEKeySpec2()
84 fail("A NullPointerException should be was thrown " in testPBEKeySpec2()
87 fail("Unexpected IllegalArgumentException was thrown."); in testPBEKeySpec2()
93 fail("An IllegalArgumentException should be thrown " in testPBEKeySpec2()
100 fail("An IllegalArgumentException should be thrown " in testPBEKeySpec2()
107 fail("An IllegalArgumentException should be thrown " in testPBEKeySpec2()
114 fail("An IllegalArgumentException should be thrown " in testPBEKeySpec2()
121 fail("An IllegalArgumentException should be thrown " in testPBEKeySpec2()
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DMathPreconditionsTest.java36 fail(); in testCheckPositive_zeroInt()
47 fail(); in testCheckPositive_minInt()
58 fail(); in testCheckPositive_negativeInt()
65 fail(); in testCheckPositive_zeroLong()
76 fail(); in testCheckPositive_minLong()
87 fail(); in testCheckPositive_negativeLong()
94 fail(); in testCheckPositive_zeroBigInteger()
105 fail(); in testCheckPositive_negativeBigInteger()
120 fail(); in testCheckNonNegative_minInt()
131 fail(); in testCheckNonNegative_negativeInt()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
DKeyStore_Impl2Test.java111 fail("KeyStoreException must be thrown because this method is not supported"); in checkResult()
116 fail("NullPointerException must be thrown entry is null"); in checkResult()
123 fail("KeyStoreException must be thrown because this method is not supported"); in checkResult()
128 fail("KeyStoreException must be thrown because this method is not supported"); in checkResult()
133 fail("KeyStoreException must be thrown because this method is not supported"); in checkResult()
138 fail("IOException must be thrown"); in checkResult()
143 fail("IOException or NullPointerException must be thrown for null OutputStream"); in checkResult()
150 fail("IOException must be thrown"); in checkResult()
158 fail("UnsupportedOperationException must be thrown"); in checkResult()
168 fail("UnsupportedOperationException must be thrown"); in checkResult()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DPreconditionsTest.java41 fail("no exception thrown"); in testCheckArgument_simple_failure()
53 fail("no exception thrown"); in testCheckArgument_simpleMessage_failure()
62 fail("no exception thrown"); in testCheckArgument_nullMessage_failure()
75 fail("no exception thrown"); in testCheckArgument_complexMessage_failure()
88 fail("no exception thrown"); in testCheckState_simple_failure()
100 fail("no exception thrown"); in testCheckState_simpleMessage_failure()
109 fail("no exception thrown"); in testCheckState_nullMessage_failure()
122 fail("no exception thrown"); in testCheckState_complexMessage_failure()
138 fail("no exception thrown"); in testCheckNotNull_simple_failure()
151 fail("no exception thrown"); in testCheckNotNull_simpleMessage_failure()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DPreconditionsTest.java39 fail("no exception thrown"); in testCheckArgument_simple_failure()
51 fail("no exception thrown"); in testCheckArgument_simpleMessage_failure()
60 fail("no exception thrown"); in testCheckArgument_nullMessage_failure()
73 fail("no exception thrown"); in testCheckArgument_complexMessage_failure()
86 fail("no exception thrown"); in testCheckState_simple_failure()
98 fail("no exception thrown"); in testCheckState_simpleMessage_failure()
107 fail("no exception thrown"); in testCheckState_nullMessage_failure()
120 fail("no exception thrown"); in testCheckState_complexMessage_failure()
136 fail("no exception thrown"); in testCheckNotNull_simple_failure()
149 fail("no exception thrown"); in testCheckNotNull_simpleMessage_failure()
[all …]
/external/deqp/modules/gles31/functional/
Des31fInfoLogQueryShared.cpp55 result.fail("Return buffer was not INFO_LOG_LENGTH sized and null-terminated"); in verifyInfoLogQuery()
57 result.fail("Buffer end guard modified, query wrote over the end of the buffer."); in verifyInfoLogQuery()
70 result.fail("'length' was not written to"); in verifyInfoLogQuery()
72 result.fail("Either length was incorrect or result was not null-terminated"); in verifyInfoLogQuery()
74 result.fail("'length' characters + null terminator is larger than INFO_LOG_LENGTH"); in verifyInfoLogQuery()
76 result.fail("'length' is not consistent with INFO_LOG_LENGTH"); in verifyInfoLogQuery()
78 result.fail("Buffer end guard modified, query wrote over the end of the buffer."); in verifyInfoLogQuery()
80 result.fail("'length' and written string length do not match"); in verifyInfoLogQuery()
93 result.fail("'length' was not written to"); in verifyInfoLogQuery()
95 result.fail("Expected 'length' = 1"); in verifyInfoLogQuery()
[all …]
/external/libcxxabi/test/
Dtestit38 fail=0
40 if (ls *.fail.cpp > /dev/null 2>&1)
42 for FILE in $(ls *.fail.cpp); do
47 fail=$(($fail + 1))
65 fail=$(($fail + 1))
70 fail=$(($fail + 1))
75 if [ $fail -gt 0 ]
77 echo "failed $fail tests in `pwd`"
83 if [ $fail -eq 0 ]
88 if [ $fail -eq 0 -a $pass -eq 0 ]
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DKeyPairGenerator1Test.java79 fail(NotSupportMsg); in createKPGen()
103fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null"); in testKeyPairGenerator01()
110 fail("NoSuchAlgorithmException must be thrown when algorithm is not available: " in testKeyPairGenerator01()
123 fail(NotSupportMsg); in testKeyPairGenerator02()
142 fail(NotSupportMsg); in testKeyPairGenerator03()
149 fail("IllegalArgumentException must be thrown when provider is null"); in testKeyPairGenerator03()
154 fail("IllegalArgumentException must be thrown when provider is empty"); in testKeyPairGenerator03()
170 fail(NotSupportMsg); in testKeyPairGenerator04()
177 fail("NoSuchProviderException must be thrown (algorithm: " in testKeyPairGenerator04()
195 fail(NotSupportMsg); in testKeyPairGenerator05()
[all …]
DAlgorithmParameterGenerator1Test.java72 fail(validAlgName + " algorithm is not supported"); in createAPGen()
99 fail("NullPointerException or NoSuchAlgorithmException should be thrown"); in testAlgorithmParameterGenerator01()
106 fail("NoSuchAlgorithmException should be thrown"); in testAlgorithmParameterGenerator01()
120 fail(validAlgName + " algorithm is not supported"); in testAlgorithmParameterGenerator02()
139 fail(validAlgName + " algorithm is not supported"); in testAlgorithmParameterGenerator03()
146 fail("IllegalArgumentException must be thrown when provider is null"); in testAlgorithmParameterGenerator03()
151 fail("IllegalArgumentException must be thrown when provider is empty"); in testAlgorithmParameterGenerator03()
166 fail(validAlgName + " algorithm is not supported"); in testAlgorithmParameterGenerator04()
174 fail("NoSuchProviderException must be thrown (provider: " in testAlgorithmParameterGenerator04()
192 fail(validAlgName + " algorithm is not supported"); in testAlgorithmParameterGenerator05()
[all …]
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
DMacTest.java90 fail(NotSupportedMsg); in createMacs()
113fail("NullPointerException or NoSuchAlgorithmException should be thrown when algorithm is null"); in testMac01()
120 fail("NoSuchAlgorithmException must be thrown when algorithm is not available: " in testMac01()
133 fail(NotSupportedMsg); in testMac02()
151 fail(NotSupportedMsg); in testMac03()
158 fail("IllegalArgumentException must be thrown when provider is null"); in testMac03()
163 fail("IllegalArgumentException must be thrown when provider is empty"); in testMac03()
169 fail("NoSuchProviderException must be thrown (algorithm: " in testMac03()
187 fail(NotSupportedMsg); in testMac04()
192fail("NullPointerException or NoSuchAlgorithmException should be thrown when algorithm is null"); in testMac04()
[all …]
DKeyGeneratorTest.java90 fail(NotSupportMsg); in createKGs()
108 fail(NotSupportMsg); in testKeyGenerator()
121 fail("InvalidAlgorithmParameterException must be thrown"); in testKeyGenerator()
126 fail("IllegalArgumentException must be thrown"); in testKeyGenerator()
135 fail("NullPointerException must be thrown"); in testKeyGenerator()
140 fail("NullPointerException or InvalidParameterException must be thrown"); in testKeyGenerator()
154fail("NullPointerException or NoSuchAlgorithmException should be thrown if algorithm is null"); in testGetInstanceString01()
161 fail("NoSuchAlgorithmException should be thrown"); in testGetInstanceString01()
173 fail(NotSupportMsg); in testGetInstanceString02()
193 fail(NotSupportMsg); in testGetInstanceStringString01()
[all …]
/external/autotest/client/tests/kvm/tests/
Dballoon_check.py24 fail = 0
29 fail += 1
31 return int(re.findall("\d+", output)[0]), fail
42 fail = 0
49 fail += cfail
54 fail += 1
64 fail += 1
65 return fail
68 fail = 0
84 fail += 1
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCertificateFactorySpiTest.java65 fail("UnsupportedOperationException must be thrown"); in testCertificateFactorySpi01()
70 fail("UnsupportedOperationException must be thrown"); in testCertificateFactorySpi01()
76 fail("UnsupportedOperationException must be thrown"); in testCertificateFactorySpi01()
81 fail("UnsupportedOperationException must be thrown"); in testCertificateFactorySpi01()
89 fail("CertificateException must be thrown"); in testCertificateFactorySpi01()
97 fail("CertificateException must be thrown"); in testCertificateFactorySpi01()
105 fail("CRLException must be thrown"); in testCertificateFactorySpi01()
114 fail("CRLException must be thrown"); in testCertificateFactorySpi01()
131 fail("CertificateException must be thrown"); in testCertificateFactorySpi02()
137 fail("CertificateException must be thrown"); in testCertificateFactorySpi02()
[all …]
DPKIXParametersTest.java82 fail(getName() + ": not performed (could not create test TrustAnchor set)"); in testPKIXParametersSet01()
101 fail(getName() + ": not performed (could not create test TrustAnchor set)"); in testPKIXParametersSet02()
124 fail("NPE expected"); in testPKIXParametersSet03()
139 fail("InvalidAlgorithmParameterException expected"); in testPKIXParametersSet04()
153 fail(getName() + ": not performed (could not create test TrustAnchor set)"); in testPKIXParametersSet05()
160 fail("ClassCastException expected"); in testPKIXParametersSet05()
178 fail("NPE expected"); in testPKIXParametersKeyStore03()
195 fail(getName() + ": not performed (could not create test TrustAnchor set)"); in testGetPolicyQualifiersRejected()
213 fail(getName() + ": not performed (could not create test TrustAnchor set)"); in testSetPolicyQualifiersRejected()
236 fail(getName() + ": not performed (could not create test TrustAnchor set)"); in testIsAnyPolicyInhibited()
[all …]
DCertPathBuilder1Test.java84 fail(NotSupportMsg); in createCPBs()
138 fail("No expected NullPointerException"); in testCertPathBuilder02()
144 fail("NoSuchAlgorithmException must be thrown"); in testCertPathBuilder02()
156 fail(NotSupportMsg); in testCertPathBuilder03()
174 fail(NotSupportMsg); in testCertPathBuilder04()
181 fail("IllegalArgumentException must be thrown thrown"); in testCertPathBuilder04()
186 fail("IllegalArgumentException must be thrown thrown"); in testCertPathBuilder04()
200 fail(NotSupportMsg); in testCertPathBuilder05()
207 fail("NoSuchProviderException must be hrown"); in testCertPathBuilder05()
223 fail(NotSupportMsg); in testCertPathBuilder06()
[all …]
DCertPathValidator1Test.java83 fail(NotSupportMsg); in createCPVs()
106 fail(NotSupportMsg); in testCertPathValidator01()
139fail("NullPointerException or NoSuchAlgorithmException must be thrown when algorithm is null"); in testCertPathValidator02()
146 fail("NoSuchAlgorithmException must be thrown"); in testCertPathValidator02()
158 fail(NotSupportMsg); in testCertPathValidator03()
177 fail(NotSupportMsg); in testCertPathValidator04()
184 fail("IllegalArgumentException must be thrown thrown"); in testCertPathValidator04()
189 fail("IllegalArgumentException must be thrown thrown"); in testCertPathValidator04()
202 fail(NotSupportMsg); in testCertPathValidator05()
210 fail("NoSuchProviderException must be thrown"); in testCertPathValidator05()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DBaseTestHandler.java23 import static org.junit.Assert.fail;
28 fail(); in data()
34 fail(); in headers()
38 fail(); in rstStream()
42 fail(); in settings()
46 fail(); in ackSettings()
50 fail(); in ping()
54 fail(); in goAway()
58 fail(); in windowUpdate()
63 fail(); in priority()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dzip_output_unittest.sh37 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/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
DTrustAnchor_ImplTest.java63 fail(getName() + ": not performed (could not create test KeyStore)"); in testTrustAnchorX509CertificatebyteArray01()
95 fail(getName() + ": not performed (could not create test KeyStore)"); in testTrustAnchorX509CertificatebyteArray02()
114 fail(getName() + ": not performed (could not create test KeyStore)"); in testTrustAnchorX509CertificatebyteArray03()
142 fail(getName() + ": not performed (could not create test KeyStore)"); in testTrustAnchorX509CertificatebyteArray04()
147 fail("NullPointerException has not been thrown"); in testTrustAnchorX509CertificatebyteArray04()
163 fail(getName() + ": not performed (could not create test KeyStore)"); in testTrustAnchorX509CertificatebyteArray05()
177 fail("IllegalArgumentException has not been thrown"); in testTrustAnchorX509CertificatebyteArray05()
190 fail("IllegalArgumentException has not been thrown"); in testTrustAnchorX509CertificatebyteArray05()
203 fail("IllegalArgumentException has not been thrown"); in testTrustAnchorX509CertificatebyteArray05()
216 fail("IllegalArgumentException has not been thrown"); in testTrustAnchorX509CertificatebyteArray05()
[all …]
/external/libcxx/test/
Dtestit81 fail=0
83 if (ls ${TEST_PREFIX}*fail.cpp > /dev/null 2>&1)
85 for FILE in $(ls ${TEST_PREFIX}*fail.cpp); do
90 fail=$(($fail+1))
113 fail=$(($fail+1))
119 fail=$(($fail+1))
124 if [ $fail -gt 0 ]
126 echo "failed $fail tests in `pwd`"
132 if [ $fail -eq 0 ]
137 if [ $fail -eq 0 -a $pass -eq 0 ]
[all …]
/external/valgrind/solaris/
Dbuild_solaris_package39 fail() { function
53 (( $? != 0 )) && fail "Failed to create directory $TMPDIR."
56 (( $? != 0 )) && fail "Failed to create directory $INSTALLDIR."
63 (( $? != 0 )) && fail "Failed to export working copy from $source_directory."
66 (( $? != 0 )) && fail "Failed to export working copy from $source_directory/VEX."
74 [[ -z $valgrind_rev ]] && fail "Failed to find Valgrind revision."
75 [[ -z $vex_rev ]] && fail "Failed to find VEX revision."
85 (( $? != 0 )) && fail "Failed to generate autotools support files."
92 (( $? != 0 )) && fail "Failed to run configure."
99 (( $? != 0 )) && fail "Failed to make html-docs."
[all …]

12345678910>>...147