Searched refs:test (Results 26 - 50 of 2532) sorted by relevance

1234567891011>>

/macosx-10.10/JavaScriptCore-7600.1.17/tests/stress/
H A Dbranch-check-int32-on-boolean-to-number-untyped.js10 function test(value, expected) { function
17 test(1, "yes");
18 test(0, "no");
19 test(true, "yes");
20 test(false, "no");
23 test("yes", "yes");
H A Dbranch-check-number-on-boolean-to-number-untyped.js10 function test(value, expected) { function
17 test(1.5, "yes");
18 test(0.0, "no");
19 test(true, "yes");
20 test(false, "no");
23 test("yes", "yes");
H A Ddouble-as-int32.js9 function test(a, b, e) { function
16 test(i * 2, i, 2);
18 test(9, 3, 3);
19 test(12, 4, 3);
20 test(-32, 8, -4);
21 test(-21, 7, -3);
22 test(7, 2, 3.5);
H A Dis-undefined-exit-on-masquerader.js18 function test(o, expected) { function
25 test(void 0, true);
26 test(null, false);
27 test(42, false);
28 test({}, false);
29 test("undefined", false);
33 test({}, true);
H A Dmax-boolean-exit.js7 function test(a, b, c) { function
14 test(true, 42, 42);
17 test(true, 2147483647, 2147483647);
18 test(false, 42, 42);
19 test(1, 2, 2);
20 test(true, true, 1);
21 test(1.5, 1.5, 1.5);
H A Dcompare-eq-object-or-other-to-object.js7 function test(a, b, expected) { function
16 test(o, o, true);
17 test(o, p, false);
18 test(p, o, false);
19 test(p, p, true);
20 test(null, o, false);
21 test(null, p, false);
22 test(void 0, o, false);
23 test(void 0, p, false);
H A Dcompare-eq-object-to-object-or-other.js7 function test(a, b, expected) { function
16 test(o, o, true);
17 test(o, p, false);
18 test(p, o, false);
19 test(p, p, true);
20 test(o, null, false);
21 test(p, null, false);
22 test(o, void 0, false);
23 test(p, void 0, false);
H A Duntyped-equality.js16 var test = data[i % data.length];
17 var result = foo(test[0], test[1]);
18 if (result != test[2])
19 throw "Error: bad result for " + test + ": " + result;
H A Duntyped-less-than.js19 var test = data[i % data.length];
20 var result = foo(test[0], test[1]);
21 if (result != test[2])
22 throw "Error: bad result for " + test + ": " + result;
H A Dweird-equality-folding-cases.js1 function test(actualFunction, expected) { function
7 noInline(test);
10 test(function() { return "5" == 5; }, true);
11 test(function() { return ({valueOf:function(){return 42;}}) == 42; }, true);
12 test(function() { return ({valueOf:function(){return 42;}}) == ({valueOf:function(){return 42;}}) }, false);
H A Dcompare-strict-eq-integer-to-misc.js9 function test(object, expected) { function
16 test({}, "yes");
17 test([], "no");
18 test("hello", "yes");
19 test((function(){return arguments;})(), "no");
22 test(array, "no");
H A Dmul-boolean-exit.js10 function test(a, b, c) { function
21 test(true, 42, 42);
24 test(true, 2147483647, 2147483647);
25 test(false, 42, 42);
26 test(false, -42, -0);
27 test(1, 2, 2);
28 test(true, true, 1);
29 test(1.5, 1.5, 2.25);
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/include/ac/
H A Dassert.h39 const char *test ));
41 /* Can't use LDAP_STRING(test), that'd expand to "test" */
43 #define assert(test) \
44 ((test) ? (void)0 : ber_pvt_assert( __FILE__, __LINE__, #test ) )
46 #define assert(test) \
47 ((test) ? (void)0 : ber_pvt_assert( __FILE__, __LINE__, "test" ) )
54 #define assert(test) ((voi
[all...]
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dynamic_cast-basic/
H A Dfoo.h3 class test class
11 class testsub : public test
21 class testsubother : public test
30 extern test* maketestsub();
32 extern bool istestsub(test* t)
H A Dfoo.cxx6 test* maketestsub()
11 bool istestsub(test* t)
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/regress/
H A Dstrduptest.c23 test(const char *a) function
40 test("");
41 test("a");
42 test("\0");
43 test("abcdefghijklmnopqrstuvwxyz");
/macosx-10.10/ICU-531.30/icuSources/test/intltest/
H A Ditmajor.cpp8 * MajorTestLevel is the top level test class for everything in the directory "IntlWork".
45 suite test; \
46 callTest(test, par); \
56 IntlTestUtilities test; local
57 callTest( test, par );
65 IntlTestNormalize test; local
66 callTest( test, par );
75 IntlTestCollator test; local
76 callTest( test, par );
85 RegexTest test; local
95 IntlTestFormat test; local
105 IntlTestTransliterator test; local
115 IntlTestRBBI test; local
124 IntlTestRBNF test; local
133 RbnfRoundTripTest test; local
143 ICUServiceTest test; local
152 TestIDNA test; local
161 ConversionTest test; local
171 IntlTestRBNFParse test; local
180 CharsetDetectionTest test; local
191 IntlTestSpoof test; local
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/Exceptions/
H A Dregress-58946.js22 *This test arose from Bugzilla bug 58946.
35 test();
38 function test() { function
39 enterFunc ("test");
55 exitFunc ("test");
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/ExecutionContexts/
H A D10.1.3.js31 test();
45 function test() function
47 enterFunc ("test");
52 reportCompare ("function", f(), "Declaration precedence test");
54 exitFunc("test");
H A D10.1.4-1.js37 test();
39 function test() function
41 enterFunc ("test");
57 exitFunc("test");
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/Unicode/
H A Duc-001-n.js25 test();
27 function test() function
29 enterFunc ("test");
31 printStatus ("Unicode Characters 1C-1F negative test.");
35 "Unicode whitespace test (1C.)");
37 "Unicode whitespace test (1D.)");
39 "Unicode whitespace test (1E.)");
41 "Unicode whitespace test (1F.)");
43 exitFunc ("test");
H A Duc-002.js25 test();
27 function test() function
29 enterFunc ("test");
31 printStatus ("Unicode non-breaking space character test.");
35 "Unicode non-breaking space character test.");
39 "Unicode non-breaking space character regexp test.");
41 exitFunc ("test");
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/js1_5/Exceptions/
H A Dcatchguard-001-n.js25 test();
27 function test() function
29 enterFunc ("test");
34 printStatus ("Catchguard syntax negative test.");
56 exitFunc ("test");
H A Dcatchguard-003-n.js25 test();
27 function test() function
29 enterFunc ("test");
34 printStatus ("Catchguard syntax negative test #2.");
52 exitFunc ("test");
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/js1_5/Regress/
H A Dregress-96128-n.js22 * SUMMARY: Negative test that JS infinite recursion protection works.
50 test();
54 function test() function
56 enterFunc ('test');
63 exitFunc ('test');

Completed in 323 milliseconds

1234567891011>>