Home
last modified time | relevance | path

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

12345678910>>...27

/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/
Dvec2-spec.js30 …it("should return a 2 element array initialized to 0s", function() { expect(result).toBeEqualish([…
35 …it("should return a 2 element array initialized to the values in vecA", function() { expect(result…
40 …it("should return a 2 element array initialized to the values passed", function() { expect(result)…
45 it("should place values into out", function() { expect(out).toBeEqualish([1, 2]); });
46 it("should return out", function() { expect(result).toBe(out); });
51 it("should place values into out", function() { expect(out).toBeEqualish([1, 2]); });
52 it("should return out", function() { expect(result).toBe(out); });
59 it("should place values into out", function() { expect(out).toBeEqualish([4, 6]); });
60 it("should return out", function() { expect(result).toBe(out); });
61 it("should not modify vecA", function() { expect(vecA).toBeEqualish([1, 2]); });
[all …]
Dvec4-spec.js31 …it("should return a 4 element array initialized to 0s", function() { expect(result).toBeEqualish([…
36 …it("should return a 4 element array initialized to the values in vecA", function() { expect(result…
41 …it("should return a 4 element array initialized to the values passed", function() { expect(result)…
46 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3, 4]); });
47 it("should return out", function() { expect(result).toBe(out); });
52 it("should place values into out", function() { expect(out).toBeEqualish([1, 2, 3, 4]); });
53 it("should return out", function() { expect(result).toBe(out); });
60 … it("should place values into out", function() { expect(out).toBeEqualish([6, 8, 10, 12]); });
61 it("should return out", function() { expect(result).toBe(out); });
62 it("should not modify vecA", function() { expect(vecA).toBeEqualish([1, 2, 3, 4]); });
[all …]
Dvec3-spec.js33 … it("should return the rotated vector", function(){ expect(result).toBeEqualish([0, -1, 0]); });
37 … it("should return the rotated vector", function(){ expect(result).toBeEqualish([2, 3, 0]); });
44 … it("should return the rotated vector", function(){ expect(result).toBeEqualish([-1, 0, 0]); });
48 … it("should return the rotated vector", function(){ expect(result).toBeEqualish([-6, 3, 10]); });
55 … it("should return the rotated vector", function(){ expect(result).toBeEqualish([0, -1, 0]); });
59 … it("should return the rotated vector", function(){ expect(result).toBeEqualish([0, -6, -5]); });
71 expect(out).toBeEqualish([1, 2, 3]);
74 it("should return out", function() { expect(result).toBe(out); });
83 expect(out).toBeEqualish([ 4, -4, -4 ]);
86 it("should return out", function() { expect(result).toBe(out); });
[all …]
Dquat-spec.js45 it("should return out", function() { expect(result).toBe(out); });
47 expect(result).toBeEqualish([0, 0.707106, 0, 0.707106]);
56 it("should return out", function() { expect(result).toBe(out); });
58 expect(result).toBeEqualish([0, 0, 0, 1]);
69 expect(result).toBeEqualish([0,0,0,-1]);
78 it("should return out", function() { expect(result).toBe(out); });
80 expect(result).toBeEqualish([1, 0, 0, 0]);
90 it("should return out", function() { expect(result).toBe(out); });
93 expect(vec).toBeEqualish([0, 1, 0]);
102 it("should return out", function() { expect(result).toBe(out); });
[all …]
Dmat4-spec.js52 …n a 16 element array initialized to a 4x4 identity matrix", function() { expect(result).toBeEquali…
57 …turn a 16 element array initialized to the values in matA", function() { expect(result).toBeEquali…
62 it("should place values into out", function() { expect(out).toBeEqualish(matA); });
63 it("should return out", function() { expect(result).toBe(out); });
68 it("should place values into out", function() { expect(result).toBeEqualish(identity); });
69 it("should return out", function() { expect(result).toBe(out); });
77 expect(out).toBeEqualish([
84 it("should return out", function() { expect(result).toBe(out); });
86 expect(matA).toBeEqualish([
99 expect(matA).toBeEqualish([
[all …]
Dmat2-spec.js42 …rn a 4 element array initialized to a 2x2 identity matrix", function() { expect(result).toBeEquali…
47 …it("should return a 4 element array initialized to the values in matA", function() { expect(result…
52 it("should place values into out", function() { expect(out).toBeEqualish(matA); });
53 it("should return out", function() { expect(result).toBe(out); });
58 it("should place values into out", function() { expect(result).toBeEqualish(identity); });
59 it("should return out", function() { expect(result).toBe(out); });
66 … it("should place values into out", function() { expect(out).toBeEqualish([1, 3, 2, 4]); });
67 it("should return out", function() { expect(result).toBe(out); });
68 it("should not modify matA", function() { expect(matA).toBeEqualish([1, 2, 3, 4]); });
74 … it("should place values into matA", function() { expect(matA).toBeEqualish([1, 3, 2, 4]); });
[all …]
Dmat3-spec.js55 it("should return out", function() { expect(result).toBe(out); });
66 expect(result).toBeEqualish([1, 0, 0,
79 expect(result).toBeEqualish([0.5, 0, 0,
95 it("should return out", function() { expect(result).toBe(out); });
98expect(vec3.transformMat3([], [0,0,-1], out)).toBeEqualish(vec3.transformQuat([], [0,0,-1], q));
102 expect(vec3.transformMat3([], [0,0,-1], out)).toBeEqualish([1,0,0]);
113 it("should return out", function() { expect(result).toBe(out); });
116 expect(out).toBeEqualish([ 1, 2, 3,
124 it("should return out", function() { expect(result).toBe(out); });
126 expect(out).toBeEqualish([ 2, 0, 0,
[all …]
Dmat2d-spec.js54 …rn a 6 element array initialized to a 2x3 identity matrix", function() { expect(result).toBeEquali…
59 …it("should return a 6 element array initialized to the values in matA", function() { expect(result…
64 it("should place values into out", function() { expect(out).toBeEqualish(matA); });
65 it("should return out", function() { expect(result).toBe(out); });
70 it("should place values into out", function() { expect(result).toBeEqualish(identity); });
71 it("should return out", function() { expect(result).toBe(out); });
78 …it("should place values into out", function() { expect(out).toBeEqualish([ -2, 1, 1.5, -0.5, 1, -2…
79 it("should return out", function() { expect(result).toBe(out); });
80 it("should not modify matA", function() { expect(matA).toBeEqualish(oldA); });
86 …it("should place values into matA", function() { expect(matA).toBeEqualish([ -2, 1, 1.5, -0.5, 1, …
[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/
Dcontrol34 # When adding a negative rule ('expect': 'no-connect'), be sure to add
35 # a case with a positive rule ('expect': 'connect', or 'expect':
53 {'chnum': 13, 'expect': 'passive-scan'},
54 {'chnum': 36, 'expect': 'passive-scan'},
55 {'chnum': 149, 'expect': 'passive-scan'}]},
63 {'chnum': 13, 'expect': 'passive-scan'},
64 {'chnum': 36, 'expect': 'passive-scan'},
65 {'chnum': 149, 'expect': 'passive-scan'}]},
69 {'chnum': 13, 'expect': 'passive-scan'},
70 {'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/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/utilities/function.objects/func.require/
Dbullet_3_and_4.pass.cpp117 void runTestDispatch(Fn M, T& obj, ObjectType* expect) { in runTestDispatch()
118 runTest<Expect &> (M, C_<T&>(obj), expect); in runTestDispatch()
119 runTest<Expect const&> (M, C_<T const&>(obj), expect); in runTestDispatch()
120 runTest<Expect volatile&> (M, C_<T volatile&>(obj), expect); in runTestDispatch()
121 runTest<Expect const volatile&>(M, C_<T const volatile&>(obj), expect); in runTestDispatch()
123 runTest<Expect&&> (M, C_<T&&>(obj), expect); in runTestDispatch()
124 runTest<Expect const&&> (M, C_<T const&&>(obj), expect); in runTestDispatch()
125 runTest<Expect volatile&&> (M, C_<T volatile&&>(obj), expect); in runTestDispatch()
126 runTest<Expect const volatile&&>(M, C_<T const volatile&&>(obj), expect); in runTestDispatch()
131 void runTestPointerDispatch(Fn M, T& obj, ObjectType* expect) { in runTestPointerDispatch()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DBigNumberFormatTest.java35 expect(fmt1, n, "1.234E3"); in TestExponent()
36 expect(fmt2, n, "1.234E+3"); in TestExponent()
37 expect(fmt1, "1.234E3", n); in TestExponent()
38 expect(fmt1, "1.234E+3", n); // Either format should parse "E+3" in TestExponent()
39 expect(fmt2, "1.234E+3", n); in TestExponent()
48 expect(f, new Long(123456789), "12,34,56,789"); in TestSecondaryGrouping()
52 expect(f, new Long(123456789), "12,3456,789"); in TestSecondaryGrouping()
60 expect(f, new Long(1876543210), str); in TestSecondaryGrouping()
162 expect(NumberFormat.getScientificInstance(Locale.US), in TestAlphaBigDecimal()
166 expect(new DecimalFormat("##0.####E0", US), in TestAlphaBigDecimal()
[all …]
DMessagePatternUtilTest.java278 ExpectMessageNode expect = new ExpectMessageNode().expectTextThatContains("Hello"); in TestHello() local
279 expect.checkMatches(msg); in TestHello()
285 ExpectMessageNode expect = new ExpectMessageNode().expectTextThatContains("Hel'lo"); in TestHelloWithApos() local
286 expect.checkMatches(msg); in TestHelloWithApos()
292 ExpectMessageNode expect = new ExpectMessageNode().expectTextThatContains("Hel{o"); in TestHelloWithQuote() local
293 expect.checkMatches(msg); in TestHelloWithQuote()
296 expect.checkMatches(msg); in TestHelloWithQuote()
299 expect = new ExpectMessageNode().expectTextThatContains("a{bc'def"); in TestHelloWithQuote()
300 expect.checkMatches(msg); in TestHelloWithQuote()
306 ExpectMessageNode expect = new ExpectMessageNode(). in TestNoneArg() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DBigNumberFormatTest.java39 expect(fmt1, n, "1.234E3"); in TestExponent()
40 expect(fmt2, n, "1.234E+3"); in TestExponent()
41 expect(fmt1, "1.234E3", n); in TestExponent()
42 expect(fmt1, "1.234E+3", n); // Either format should parse "E+3" in TestExponent()
43 expect(fmt2, "1.234E+3", n); in TestExponent()
52 expect(f, new Long(123456789), "12,34,56,789"); in TestSecondaryGrouping()
56 expect(f, new Long(123456789), "12,3456,789"); in TestSecondaryGrouping()
64 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 …]
DMessagePatternUtilTest.java282 ExpectMessageNode expect = new ExpectMessageNode().expectTextThatContains("Hello"); in TestHello() local
283 expect.checkMatches(msg); in TestHello()
289 ExpectMessageNode expect = new ExpectMessageNode().expectTextThatContains("Hel'lo"); in TestHelloWithApos() local
290 expect.checkMatches(msg); in TestHelloWithApos()
296 ExpectMessageNode expect = new ExpectMessageNode().expectTextThatContains("Hel{o"); in TestHelloWithQuote() local
297 expect.checkMatches(msg); in TestHelloWithQuote()
300 expect.checkMatches(msg); in TestHelloWithQuote()
303 expect = new ExpectMessageNode().expectTextThatContains("a{bc'def"); in TestHelloWithQuote()
304 expect.checkMatches(msg); in TestHelloWithQuote()
310 ExpectMessageNode expect = new ExpectMessageNode(). in TestNoneArg() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTransliteratorTest.java235 expect("ab>x|y;" + in TestSimpleRules()
251 expect("ab>x|yzacw;" + in TestSimpleRules()
269 expect(t, "abcdefgABCDEFGU", "&bcd&fg!^**!^*&"); in TestSimpleRules()
276 expect("{ [:Ll:] } x > y; [:Ll:] > z;", "aAbxq", "zAyzz"); in TestInlineSet()
277 expect("a[0-9]b > qrs", "1a7b9", "1qrs9"); in TestInlineSet()
279 expect("$digit = [0-9];" + in TestInlineSet()
329 expect(fwd, DATA[i], DATA[i+1]); in TestRuleBasedInverse()
330 expect(rev, DATA[i+1], DATA[i]); in TestRuleBasedInverse()
461 expect(t, "aaaaa", "aaaaa"); in TestCompoundKana()
475 expect(b, "\\u0030\\u0031", "01"); in TestCompoundHex()
[all …]
/external/v8/test/mjsunit/
Dmath-floor-part4.js32 function testFloor(expect, input) { argument
35 assertEquals(expect, test(input));
36 assertEquals(expect, test(input));
37 assertEquals(expect, test(input));
39 assertEquals(expect, test(input));
44 assertEquals(expect, test_double_output(input));
45 assertEquals(expect, test_double_output(input));
46 assertEquals(expect, test_double_output(input));
48 assertEquals(expect, test_double_output(input));

12345678910>>...27