Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 25 of 1061) sorted by relevance

12345678910>>...43

/external/libmojo/mojo/public/js/
Dstruct_unittests.js11 ], function(expect, argument
19 expect(r).toEqual(new rect.Rect({x:0, y:0, width:0, height:0}));
20 expect(r).toEqual(new rect.Rect({foo:100, bar:200}));
27 expect(rp.first).toEqual(r);
28 expect(rp.second).toEqual(r);
30 expect(new testStructs.RectPair({second: r}).first).toBeNull();
33 expect(nr.name).toBeNull();
34 expect(nr.rects).toBeNull();
35 expect(nr).toEqual(new testStructs.NamedRegion({}));
39 expect(nr).toEqual(new testStructs.NamedRegion({
[all …]
Dcore_unittests.js9 ], function(expect, core, gc) { argument
32 expect(pipe.result).toBe(core.RESULT_OK);
36 expect(core.close(pipe.handle0)).toBe(core.RESULT_OK);
37 expect(core.close(pipe.handle1)).toBe(core.RESULT_OK);
44 expect(pipe.result).toBe(core.RESULT_OK);
48 expect(core.close(pipe.handle0)).toBe(core.RESULT_OK);
49 expect(core.close(pipe.handle1)).toBe(core.RESULT_OK);
54 expect(pipe.result).toBe(core.RESULT_OK);
58 expect(core.close(pipe.producerHandle)).toBe(core.RESULT_OK);
59 expect(core.close(pipe.consumerHandle)).toBe(core.RESULT_OK);
[all …]
Dcodec_unittests.js11 ], function(expect, codec, rect, sample, structs) { argument
53 expect(actualMemory).toEqual(expectedMemory);
57 expect(reader.payloadSize).toBe(payloadSize);
58 expect(reader.messageName).toBe(messageName);
62 expect(bar2.alpha).toBe(bar.alpha);
63 expect(bar2.beta).toBe(bar.beta);
64 expect(bar2.gamma).toBe(bar.gamma);
65 expect("extraProperty" in bar2).toBeFalsy();
121 expect(actualMemory).toEqual(expectedMemory);
127 expect(message.handles).toEqual(expectedHandles);
[all …]
Dunion_unittests.js10 ], function(expect, argument
16 expect(u.$data).toEqual(null);
17 expect(u.$tag).toBeUndefined();
21 expect(u.f_uint32).toEqual(32);
22 expect(u.$tag).toEqual(unions.PodUnion.Tags.f_uint32);
25 expect(u.f_uint64).toEqual(64);
26 expect(u.$tag).toEqual(unions.PodUnion.Tags.f_uint64);
27 expect(function() {var v = u.f_uint32;}).toThrow();
29 expect(function() {
36 expect(function() {
[all …]
/external/python/cpython2/Lib/test/
Dtest_textwrap.py31 def check(self, result, expect): argument
32 self.assertEqual(result, expect,
34 self.show(expect), self.show(result)))
36 def check_wrap(self, text, width, expect, **kwargs): argument
38 self.check(result, expect)
40 def check_split(self, text, expect): argument
42 self.assertEqual(result, expect,
44 "but got %r" % (expect, result))
90 expect = ["This is a paragraph that already has line",
98 self.check(result, expect)
[all …]
/external/libmojo/mojo/edk/js/tests/
Dsample_service_tests.js13 ], function(expect, sample, imported, imported2, connection, core, argument
28 expect(bar.alpha).toBe(255);
29 expect(bar.type).toBe(sample.Bar.Type.VERTICAL);
32 expect(foo.name).toBe("Fooby");
33 expect(foo.a).toBeTruthy();
34 expect(foo.data).toBeNull();
37 expect(defaults.a0).toBe(-12);
38 expect(defaults.a1).toBe(sample.kTwelve);
39 expect(defaults.a2).toBe(1234);
40 expect(defaults.a3).toBe(34567);
[all …]
/external/curl/lib/
Dobjnames-test10.sh85 expect=16AFKPQRST
87 echo "result: $outstr expected: $expect input: $argstr"
90 expect=16AFKPQ
92 echo "result: $outstr expected: $expect input: $argstr"
95 expect=16ABC
97 echo "result: $outstr expected: $expect input: $argstr"
100 expect=16
102 echo "result: $outstr expected: $expect input: $argstr"
105 expect=123
107 echo "result: $outstr expected: $expect input: $argstr"
[all …]
Dobjnames-test08.sh85 expect=16AFKPQR
87 echo "result: $outstr expected: $expect input: $argstr"
90 expect=16AFKPQ
92 echo "result: $outstr expected: $expect input: $argstr"
95 expect=16ABC
97 echo "result: $outstr expected: $expect input: $argstr"
100 expect=16
102 echo "result: $outstr expected: $expect input: $argstr"
105 expect=123
107 echo "result: $outstr expected: $expect input: $argstr"
[all …]
/external/autotest/server/site_tests/network_WiFi_RegDomain/
Dcontrol33 # When adding a negative rule ('expect': 'no-connect'), be sure to add
34 # a case with a positive rule ('expect': 'connect', or 'expect':
52 {'chnum': 13, 'expect': 'passive-scan'},
53 {'chnum': 36, 'expect': 'passive-scan'},
54 {'chnum': 149, 'expect': 'passive-scan'}]},
62 {'chnum': 13, 'expect': 'passive-scan'},
63 {'chnum': 36, 'expect': 'passive-scan'},
64 {'chnum': 149, 'expect': 'passive-scan'}]},
68 {'chnum': 13, 'expect': 'passive-scan'},
69 {'chnum': 36, 'expect': 'no-connect'},
[all …]
/external/deqp/data/gles2/shaders/
Dkeywords.test7 expect compile_fail
24 expect compile_fail
41 expect compile_fail
58 expect compile_fail
75 expect compile_fail
92 expect compile_fail
109 expect compile_fail
126 expect compile_fail
143 expect compile_fail
160 expect compile_fail
[all …]
/external/deqp/data/gles3/shaders/
Dkeywords.test7 expect compile_fail
25 expect compile_fail
43 expect compile_fail
61 expect compile_fail
79 expect compile_fail
97 expect compile_fail
115 expect compile_fail
133 expect compile_fail
151 expect compile_fail
169 expect compile_fail
[all …]
Ddeclarations.test4 expect compile_fail
26 expect compile_fail
49 expect compile_fail
72 expect compile_fail
94 expect compile_fail
116 expect compile_fail
138 expect compile_fail
152 expect compile_fail
174 expect compile_fail
196 expect compile_fail
[all …]
Dinvalid_texture_functions.test5 expect compile_fail
24 expect compile_fail
43 expect compile_fail
62 expect compile_fail
81 expect compile_fail
100 expect compile_fail
119 expect compile_fail
138 expect compile_fail
157 expect compile_fail
176 expect compile_fail
[all …]
Dswitch.test4 expect compile_fail
25 expect compile_fail
47 expect compile_fail
69 expect compile_fail
91 expect compile_fail
115 expect compile_fail
138 expect compile_fail
160 expect compile_fail
183 expect compile_fail
205 expect compile_fail
[all …]
/external/ltp/testcases/commands/su/
Dsu01_s1127 expect {
130 expect {
149 expect {
154 expect eof
191 expect {
194 expect {
231 expect {
234 expect {
252 expect {
285 expect {
[all …]
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
Dbullet_4_5_6.pass.cpp138 void runTestDispatch(Fn M, T& obj, ObjectType* expect) { in runTestDispatch()
139 runTest<Expect &> (M, C_<T&>(obj), expect); in runTestDispatch()
140 runTest<Expect const&> (M, C_<T const&>(obj), expect); in runTestDispatch()
141 runTest<Expect volatile&> (M, C_<T volatile&>(obj), expect); in runTestDispatch()
142 runTest<Expect const volatile&>(M, C_<T const volatile&>(obj), expect); in runTestDispatch()
144 runTest<Expect&&> (M, C_<T&&>(obj), expect); in runTestDispatch()
145 runTest<Expect const&&> (M, C_<T const&&>(obj), expect); in runTestDispatch()
146 runTest<Expect volatile&&> (M, C_<T volatile&&>(obj), expect); in runTestDispatch()
147 runTest<Expect const volatile&&>(M, C_<T const volatile&&>(obj), expect); in runTestDispatch()
152 void runTestPropCVDispatch(Fn M, T& obj, ObjectType* expect) { in runTestPropCVDispatch()
[all …]
/external/rootdev/
Drootdev_test.sh63 expect () { function
84 expect "$? -ne 0" || return 1
85 expect "-z '$out'" || return 1
110 expect "$? -eq 0" || return 1
111 expect "'$dev/sda1' = '$out'" || return 1
121 expect "$? -eq 0" || return 1
122 expect "'$dev/sda' = '$out'" || return 1
133 expect "$? -eq 1" || return 1
134 expect "'$dev/sda' = '$out'" || return 1
145 expect "$? -eq 0" || return 1
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletPipelineRequestDispatcherTest.java23 import static org.easymock.EasyMock.expect;
75 expect(requestMock.getAttribute(A_KEY)) in testIncludeManagedServlet()
93 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())) in testIncludeManagedServlet()
95 expect(injector.getBinding(Key.get(HttpServlet.class))) in testIncludeManagedServlet()
97 expect(injector.getInstance(HTTP_SERLVET_KEY)) in testIncludeManagedServlet()
105 expect(injector.findBindingsByType(eq(servetDefsKey.getTypeLiteral()))) in testIncludeManagedServlet()
108 expect(mockBinding.getProvider()) in testIncludeManagedServlet()
139 expect(requestMock.getAttribute(A_KEY)) in testForwardToManagedServlet()
146 expect(mockResponse.isCommitted()) in testForwardToManagedServlet()
163 expect(binding.acceptScopingVisitor((BindingScopingVisitor) anyObject())) in testForwardToManagedServlet()
[all …]
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.space/
Dspace.pass.cpp70 const auto expect = static_cast<std::uintmax_t>(-1); in TEST_CASE() local
74 TEST_CHECK(info.capacity == expect); in TEST_CASE()
75 TEST_CHECK(info.free == expect); in TEST_CASE()
76 TEST_CHECK(info.available == expect); in TEST_CASE()
86 struct statvfs expect; in TEST_CASE() local
87 TEST_REQUIRE(::statvfs(StaticEnv::Dir.c_str(), &expect) != -1); in TEST_CASE()
88 TEST_CHECK(expect.f_bavail > 0); in TEST_CASE()
89 TEST_CHECK(expect.f_bfree > 0); in TEST_CASE()
90 TEST_CHECK(expect.f_bsize > 0); in TEST_CASE()
91 TEST_CHECK(expect.f_blocks > 0); in TEST_CASE()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DBigNumberFormatTest.java36 expect(fmt1, n, "1.234E3"); in TestExponent()
37 expect(fmt2, n, "1.234E+3"); in TestExponent()
38 expect(fmt1, "1.234E3", n); in TestExponent()
39 expect(fmt1, "1.234E+3", n); // Either format should parse "E+3" in TestExponent()
40 expect(fmt2, "1.234E+3", n); in TestExponent()
50 expect(f, new Long(123456789), "12,34,56,789"); in TestSecondaryGrouping()
54 expect(f, new Long(123456789), "12,3456,789"); in TestSecondaryGrouping()
62 expect(f, new Long(1876543210), str); in TestSecondaryGrouping()
166 expect(NumberFormat.getScientificInstance(Locale.US), in TestAlphaBigDecimal()
170 expect(new DecimalFormat("##0.####E0", US), in TestAlphaBigDecimal()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DBigNumberFormatTest.java37 expect(fmt1, n, "1.234E3"); in TestExponent()
38 expect(fmt2, n, "1.234E+3"); in TestExponent()
39 expect(fmt1, "1.234E3", n); in TestExponent()
40 expect(fmt1, "1.234E+3", n); // Either format should parse "E+3" in TestExponent()
41 expect(fmt2, "1.234E+3", n); in TestExponent()
51 expect(f, new Long(123456789), "12,34,56,789"); in TestSecondaryGrouping()
55 expect(f, new Long(123456789), "12,3456,789"); in TestSecondaryGrouping()
63 expect(f, new Long(1876543210), str); in TestSecondaryGrouping()
167 expect(NumberFormat.getScientificInstance(Locale.US), in TestAlphaBigDecimal()
171 expect(new DecimalFormat("##0.####E0", US), in TestAlphaBigDecimal()
[all …]
/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/
Dgcd.pass.cpp25 int expect; member
58 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
59 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
60 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
61 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test()
62 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
63 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
64 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
65 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test()
69 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
[all …]
/external/openssh/regress/
Dkeygen-knownhosts.sh49 echo "# Host $_host found: line $_line $_mark" >> $OBJ/kh.expect
50 printf "${_marker}$_hosts " >> $OBJ/kh.expect
51 cat $OBJ/kh.${_key}.pub >> $OBJ/kh.expect ||
60 if ! diff -w $OBJ/kh.expect $OBJ/kh.result ; then
66 rm -f $OBJ/kh.expect
72 rm -f $OBJ/kh.expect
77 rm -f $OBJ/kh.expect
82 rm -f $OBJ/kh.expect
87 rm -f $OBJ/kh.expect
98 if ! diff -w $OBJ/kh.expect $OBJ/kh.result ; then
[all …]
/external/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/
Dlcm.pass.cpp24 int expect; member
56 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
57 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
58 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
59 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test()
60 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
61 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
62 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
63 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test()
67 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
[all …]
/external/libcxx/test/std/experimental/numeric/numeric.ops/numeric.ops.gcd/
Dgcd.pass.cpp24 int expect; member
57 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test()
58 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test()
59 accumulate &= test0<S1, S2, Output>(TC.x, -TC.y, TC.expect); in do_test()
60 accumulate &= test0<S1, S2, Output>(-TC.x, -TC.y, TC.expect); in do_test()
61 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test()
62 accumulate &= test0<S2, S1, Output>(-TC.x, TC.y, TC.expect); in do_test()
63 accumulate &= test0<S2, S1, Output>(TC.x, -TC.y, TC.expect); in do_test()
64 accumulate &= test0<S2, S1, Output>(-TC.x, -TC.y, TC.expect); in do_test()
68 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test()
[all …]

12345678910>>...43