Home
last modified time | relevance | path

Searched refs:fails (Results 1 – 25 of 2063) sorted by relevance

12345678910>>...83

/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dcore_extern.c26 bool fails; member
59 { .name = "tristate (int)", .fails = 1, .cfg = CFG"CONFIG_TRISTATE=1" },
60 { .name = "tristate (bad)", .fails = 1, .cfg = CFG"CONFIG_TRISTATE=M" },
66 { .name = "bool (tristate)", .fails = 1, .cfg = CFG"CONFIG_BOOL=m" },
67 { .name = "bool (int)", .fails = 1, .cfg = CFG"CONFIG_BOOL=1" },
71 { .name = "char (bad)", .fails = 1, .cfg = CFG"CONFIG_CHAR=q\n" },
72 { .name = "char (empty)", .fails = 1, .cfg = CFG"CONFIG_CHAR=\n" },
73 { .name = "char (str)", .fails = 1, .cfg = CFG"CONFIG_CHAR=\"y\"\n" },
81 { .name = "str (no value)", .fails = 1, .cfg = CFG"CONFIG_STR=\n" },
82 { .name = "str (bad value)", .fails = 1, .cfg = CFG"CONFIG_STR=bla\n" },
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
DIssue338.java.txt30 intParam(1L); // fails
36 shortParam(1); // fails
37 shortParam(1L); // fails
42 byteParam((short)1); // fails
43 byteParam(1); // fails
44 byteParam(1L); // fails
77 intParam(6, 1L); // fails
83 shortParam(6, 1); // fails
84 shortParam(6, 1L); // fails
89 byteParam(6, (short)1); // fails
[all …]
/external/starlark-go/starlark/testdata/
Dstring.star26 assert.fails(lambda: 1.0 * "abc", "unknown.*float \\* str")
27 assert.fails(lambda: "abc" * (1000000 * 1000000), "repeat count 1000000000000 too large")
28 assert.fails(lambda: "abc" * 1000000 * 1000000, "excessive repeat \\(3000000 \\* 1000000 elements")
38 assert.fails(lambda: chr(-1), "Unicode code point -1 out of range \\(<0\\)")
39 assert.fails(lambda: chr(0x110000), "Unicode code point U\\+110000 out of range \\(>0x10FFFF\\)")
45 assert.fails(lambda: ord("abc"), "string encodes 3 Unicode code points, want 1")
46 assert.fails(lambda: ord(""), "string encodes 0 Unicode code points, want 1")
47 assert.fails(lambda: ord("��"[1:]), "string encodes 3 Unicode code points, want 1") # 3 x 0xFFFD
55 assert.fails(lambda: "abc��".codepoint_ords()[2], "unhandled index") # not indexable
56 assert.fails(lambda: len("abc��".codepoint_ords()), "no len") # unknown length
[all …]
Dfloat.star21 assert.fails(lambda: len(0.0), 'has no len')
22 assert.fails(lambda: [x for x in 0.0], 'float value is not iterable')
61 assert.fails(lambda: {123.0: "f", 123: "i"}, "duplicate key: 123")
180 assert.fails(lambda: 1.0 / 0, "floating-point division by zero")
181 assert.fails(lambda: 1.0 / 0.0, "floating-point division by zero")
182 assert.fails(lambda: 1 / 0.0, "floating-point division by zero")
198 assert.fails(lambda: 1.0 // 0, "floored division by zero")
199 assert.fails(lambda: 1.0 // 0.0, "floored division by zero")
200 assert.fails(lambda: 1 // 0.0, "floored division by zero")
214 assert.fails(lambda: 1.0 % 0, "floating-point modulo by zero")
[all …]
Dmisc.star42 assert.fails(lambda: None < None, "not impl")
43 assert.fails(lambda: None < False, "not impl")
44 assert.fails(lambda: False < list, "not impl")
45 assert.fails(lambda: list < {}, "not impl")
46 assert.fails(lambda: {} < (lambda: None), "not impl")
47 assert.fails(lambda: (lambda: None) < 0, "not impl")
48 assert.fails(lambda: 0 < [], "not impl")
49 assert.fails(lambda: [] < "", "not impl")
50 assert.fails(lambda: "" < (), "not impl")
62 assert.fails(lambda: cyclic < cyclic, "maximum recursion")
[all …]
Dlist.star18 assert.fails(lambda: abc[-4], "list index -4 out of range \\[-3:2]")
25 assert.fails(lambda: abc[3], "list index 3 out of range \\[-3:2]")
36 assert.fails(f2, "out of range")
42 assert.fails(f3, "cannot assign to element of frozen list")
43 assert.fails(x3.clear, "cannot clear frozen list")
47 assert.fails(lambda: [1, 2] + (3, 4), "unknown.*list \\+ tuple")
48 assert.fails(lambda: (1, 2) + [3, 4], "unknown.*tuple \\+ list")
100 assert.fails(lambda: x4.pop(-6), "index -6 out of range \\[-5:4]")
101 assert.fails(lambda: x4.pop(6), "index 6 out of range \\[-5:4]")
146 assert.fails(f4, "local variable a_list referenced before assignment")
[all …]
Dbuiltins.star10 assert.fails(lambda: len(1), "int.*has no len")
34 assert.fails(lambda: 3 in "foo", "in.*requires string as left operand")
44 assert.fails(lambda: sorted([1, 2, None, 3]), "int < NoneType not implemented")
45 assert.fails(lambda: sorted([1, "one"]), "string < int not implemented")
51 assert.fails(lambda: sorted([1, 2, 3], key=None), "got NoneType, want callable")
59 assert.fails(lambda: sorted(1), 'sorted: for parameter iterable: got int, want iterable')
82 assert.fails(lambda: {range(10): 10}, "unhashable: range")
108 assert.fails(lambda: range(1<<64), "... out of range .want value in signed ..-bit range")
114 assert.fails(lambda: range(0) < range(0), "range < range not implemented")
118 assert.fails(lambda: True in range(3), "requires integer.*not bool") # bools aren't numbers
[all …]
Dint.star96 assert.fails(int, "missing argument") # int()
101 assert.fails(lambda: int(3, base = 10), "non-string with explicit base")
102 assert.fails(lambda: int(True, 10), "non-string with explicit base")
111 assert.fails(lambda: int("0x12"), "invalid literal with base 10")
112 assert.fails(lambda: int("-0x12"), "invalid literal with base 10")
113 assert.fails(lambda: int("0o123"), "invalid literal.*base 10")
114 assert.fails(lambda: int("-0o123"), "invalid literal.*base 10")
160 assert.fails(lambda: int("0x123", 8), "invalid literal.*base 8")
161 assert.fails(lambda: int("-0x123", 8), "invalid literal.*base 8")
162 assert.fails(lambda: int("0o123", 16), "invalid literal.*base 16")
[all …]
Dmodule.star7 assert.eq(dir(assert), ["contains", "eq", "fail", "fails", "lt", "ne", "true"])
8 assert.fails(lambda : {assert: None}, "unhashable: module")
13 assert.fails(assignfield, "can't assign to .foo field of module")
16 assert.fails(lambda : assert.nonesuch, "module has no .nonesuch field or method$")
17 assert.fails(lambda : assert.falls, "module has no .falls field or method .did you mean .fails\\?")
Ddict.star15 assert.fails(lambda: {"a": 1} + {"b": 2}, 'unknown binary op: dict \\+ dict')
24 assert.fails(lambda: x6.pop("c"), "pop: missing key")
33 assert.fails(x7.popitem, "empty dict")
57 assert.fails(lambda: {"aa": 1, "bb": 2, "cc": 3, "bb": 4}, 'duplicate key: "bb"')
60 assert.fails(lambda: dict({'b': 3}, a=4, **dict(a=5)), 'dict: duplicate keyword arg: "a"')
61 assert.fails(lambda: dict({'a': 2, 'b': 3}, a=4, **dict(a=5)), 'dict: duplicate keyword arg: "a"')
71 assert.fails(lambda: x9["a"], 'key "a" not in dict')
75 assert.fails(lambda: setIndex(x9, [], 2), 'unhashable type: list')
77 assert.fails(lambda: setIndex(x9, "a", 3), 'cannot insert into frozen hash table')
95 assert.fails(lambda: x11["a"], 'key "a" not in dict')
[all …]
Dfunction.star48 assert.fails(sq2, "frozen list")
55 assert.fails(lambda: fib(10), "function fib called recursively")
67 assert.fails(lambda: [fib2(x) for x in range(10)], "function lambda called recursively")
78 assert.fails(lambda: map(mapdouble, ([1, 2, 3], ["a", "b", "c"])),
131 assert.fails(lambda: f().append(2), "cannot append to frozen list")
168 assert.fails(lambda: f(
178 assert.fails(lambda: f(
201 assert.fails(lambda: f(x=1, **dict(x=2)), 'multiple values for parameter "x"')
207 assert.fails(lambda: g(1, y=2, **{'y': 3}), 'multiple values for parameter "y"')
284 print(x) # this reference to x fails
[all …]
/external/mockito/src/test/java/org/mockitoutil/
DJUnitResultAssert.java38 public JUnitResultAssert fails(int expectedFailureCount, Class expectedException) { in fails() method in JUnitResultAssert
39 fails(expectedFailureCount); in fails()
52 public JUnitResultAssert fails(int expectedFailureCount) { in fails() method in JUnitResultAssert
65 fails(expectedExceptions.length); in failsExactly()
83 public JUnitResultAssert fails(Class expectedException, String exceptionMessage) { in fails() method in JUnitResultAssert
84 fails(1, expectedException); in fails()
93 public JUnitResultAssert fails(String methodName, Class expectedException) { in fails() method in JUnitResultAssert
106 …public JUnitResultAssert fails(int expectedFailureCount, String methodName, Class expectedExceptio… in fails() method in JUnitResultAssert
107 return fails(expectedFailureCount, expectedException) in fails()
108 .fails(methodName, expectedException); in fails()
/external/harfbuzz_ng/test/fuzzing/
Drun-repacker-fuzzer-tests.py37 fails = 0 variable
46 global fails
62 fails = fails + 1
67 if fails:
68 sys.exit ("%d repacker fuzzer related tests failed." % fails)
Drun-subset-fuzzer-tests.py37 fails = 0 variable
46 global fails
65 fails = fails + 1
71 if fails:
72 sys.exit ("%d subset fuzzer related tests failed." % fails)
Drun-draw-fuzzer-tests.py37 fails = 0 variable
62 fails = fails + 1 variable
65 if fails:
66 sys.exit ("%d draw fuzzer related tests failed." % fails)
Drun-shape-fuzzer-tests.py37 fails = 0 variable
61 fails = fails + 1 variable
64 if fails:
65 sys.exit ("%d shape fuzzer related tests failed." % fails)
/external/autotest/client/common_lib/cros/bluetooth/
Dbluetooth_quick_tests_base.py169 self.fails = []
208 self.fails.append(fail_msg)
213 self.fails.append(fail_msg)
218 self.fails.append(fail_msg)
223 self.fails.append(fail_msg)
268 if not bool(self.fails):
276 for x in self.fails]):
337 if self.fails:
341 raise error.TestNAError(self.fails)
343 raise error.TestWarn(self.fails)
[all …]
/external/harfbuzz_ng/test/shape/
Drun-tests.py29 fails = 0 variable
119 fails += 1
127 fails += 1
131 print ("%d tests passed; %d failed; %d skipped." % (passes, fails, skips), file=sys.stderr)
132 if not (fails + passes):
134 elif not (fails + skips):
137 if fails:
/external/e2fsprogs/tests/f_htree_bad_csum/
Dexpect.13 Problem in HTREE directory inode 12: root node fails checksum.
6 Problem in HTREE directory inode 18: root node fails checksum.
12 Problem in HTREE directory inode 24: root node fails checksum.
15 Problem in HTREE directory inode 30: root node fails checksum.
18 Problem in HTREE directory inode 36: root node fails checksum.
/external/toolchain-utils/go/patch/go-1.10.3/
Dgo5.patch9 + t.Skip("deadlock detection fails with external linker")
14 + t.Skip("deadlock detection fails with external linker")
19 + t.Skip("deadlock detection fails with external linker")
24 + t.Skip("deadlock detection fails with external linker")
29 + t.Skip("deadlock detection fails with external linker")
37 + t.Skip("deadlock detection fails with external linker")
45 + t.Skip("deadlock detection fails with external linker")
53 + t.Skip("deadlock detection fails with external linker")
/external/toolchain-utils/go/patch/go-1.11.2/
Dgo5.patch9 + t.Skip("deadlock detection fails with external linker")
14 + t.Skip("deadlock detection fails with external linker")
19 + t.Skip("deadlock detection fails with external linker")
24 + t.Skip("deadlock detection fails with external linker")
29 + t.Skip("deadlock detection fails with external linker")
37 + t.Skip("deadlock detection fails with external linker")
45 + t.Skip("deadlock detection fails with external linker")
53 + t.Skip("deadlock detection fails with external linker")
/external/curl/tests/unit/
Dunit1395.c49 int fails = 0; variable
90 fails++;
96 fails++;
103 fail_if(fails, "output mismatched");
/external/rust/crates/ring/tests/
Dagreement_tests.txt521 # Test vectors from NIST where the peer's public key validation fails.
529 # Only the test vectors where the test fails because the peer's public key is
545 Error = 4 - CAVS's Ephemeral public key Y fails PKV 5.6.2.5
550 Error = 3 - CAVS's Ephemeral public key X fails PKV 5.6.2.5
555 Error = 3 - CAVS's Ephemeral public key X fails PKV 5.6.2.5
560 Error = 4 - CAVS's Ephemeral public key Y fails PKV 5.6.2.5
565 Error = 3 - CAVS's Ephemeral public key X fails PKV 5.6.2.5
570 Error = 4 - CAVS's Ephemeral public key Y fails PKV 5.6.2.5
575 Error = 3 - CAVS's Ephemeral public key X fails PKV 5.6.2.5
580 Error = 4 - CAVS's Ephemeral public key Y fails PKV 5.6.2.5
[all …]
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/ECDH/
DKASValidityTest_ECCStaticUnified_NOKC_ZZOnly_resp.fax55 Result = F (1 - CAVS's Static public key X fails PKV 5.6.2.5)
81 Result = F (6 - IUT's Static public key Y fails PKV 5.6.2.5)
146 Result = F (5 - IUT's Static public key X fails PKV 5.6.2.5)
159 Result = F (2 - CAVS's Static public key Y fails PKV 5.6.2.5)
237 Result = F (5 - IUT's Static public key X fails PKV 5.6.2.5)
250 Result = F (1 - CAVS's Static public key X fails PKV 5.6.2.5)
276 Result = F (2 - CAVS's Static public key Y fails PKV 5.6.2.5)
393 Result = F (6 - IUT's Static public key Y fails PKV 5.6.2.5)
447 Result = F (1 - CAVS's Static public key X fails PKV 5.6.2.5)
460 Result = F (6 - IUT's Static public key Y fails PKV 5.6.2.5)
[all …]
DKASValidityTest_ECCStaticUnified_NOKC_ZZOnly_init.fax81 Result = F (2 - CAVS's Static public key Y fails PKV 5.6.2.5)
107 Result = F (5 - IUT's Static public key X fails PKV 5.6.2.5)
159 Result = F (6 - IUT's Static public key Y fails PKV 5.6.2.5)
224 Result = F (1 - CAVS's Static public key X fails PKV 5.6.2.5)
276 Result = F (6 - IUT's Static public key Y fails PKV 5.6.2.5)
341 Result = F (5 - IUT's Static public key X fails PKV 5.6.2.5)
367 Result = F (1 - CAVS's Static public key X fails PKV 5.6.2.5)
406 Result = F (2 - CAVS's Static public key Y fails PKV 5.6.2.5)
473 Result = F (2 - CAVS's Static public key Y fails PKV 5.6.2.5)
486 Result = F (5 - IUT's Static public key X fails PKV 5.6.2.5)
[all …]

12345678910>>...83