Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 3722) sorted by relevance

12345678910>>...149

/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
Dargument-types.js13 function test(expression, expressionShouldThrow, expectedException) { function
36 test('navigator.geolocation.getCurrentPosition()', true);
38 test('navigator.geolocation.getCurrentPosition(undefined)', true);
39 test('navigator.geolocation.getCurrentPosition(null)', true);
40 test('navigator.geolocation.getCurrentPosition({})', true);
41 test('navigator.geolocation.getCurrentPosition(objectThrowingException)', true);
42 test('navigator.geolocation.getCurrentPosition(emptyFunction)', false);
43 test('navigator.geolocation.getCurrentPosition(Math.abs)', false);
44 test('navigator.geolocation.getCurrentPosition(layoutTestController.setGeolocationPermission)', fal…
45 test('navigator.geolocation.getCurrentPosition(true)', true);
[all …]
/external/v8/test/mjsunit/
Dregexp.js90 assertTrue(/\ca/.test( "\x01" ));
91 assertFalse(/\ca/.test( "\\ca" ));
92 assertFalse(/\ca/.test( "ca" ));
93 assertTrue(/\c[a/]/.test( "\\ca" ));
94 assertTrue(/\c[a/]/.test( "\\c/" ));
98 assertTrue(re.test("\r"));
99 assertFalse(re.test("M"));
100 assertFalse(re.test("c"));
101 assertFalse(re.test("\\"));
102 assertFalse(re.test("\x03")); // I.e., read as \cc
[all …]
Dregexp-multiline-stack-trace.js37 assertTrue(/^bar/.test("bar"));
38 assertTrue(/^bar/.test("bar\nfoo"));
39 assertFalse(/^bar/.test("foo\nbar"));
40 assertTrue(/^bar/m.test("bar"));
41 assertTrue(/^bar/m.test("bar\nfoo"));
42 assertTrue(/^bar/m.test("foo\nbar"));
44 assertTrue(/bar$/.test("bar"));
45 assertFalse(/bar$/.test("bar\nfoo"));
46 assertTrue(/bar$/.test("foo\nbar"));
47 assertTrue(/bar$/m.test("bar"));
[all …]
Dregexp-multiline.js33 assertTrue(/^bar/.test("bar"));
34 assertTrue(/^bar/.test("bar\nfoo"));
35 assertFalse(/^bar/.test("foo\nbar"));
36 assertTrue(/^bar/m.test("bar"));
37 assertTrue(/^bar/m.test("bar\nfoo"));
38 assertTrue(/^bar/m.test("foo\nbar"));
40 assertTrue(/bar$/.test("bar"));
41 assertFalse(/bar$/.test("bar\nfoo"));
42 assertTrue(/bar$/.test("foo\nbar"));
43 assertTrue(/bar$/m.test("bar"));
[all …]
Dcyrillic.js76 assertTrue(Range(first, last).test(first), 1);
77 assertTrue(Range(first, last).test(middle), 2);
78 assertTrue(Range(first, last).test(last), 3);
80 assertFalse(Range(first, last).test(first_other_case), 4);
81 assertFalse(Range(first, last).test(middle_other_case), 5);
82 assertFalse(Range(first, last).test(last_other_case), 6);
84 assertTrue(Range(first, last, "i").test(first), 7);
85 assertTrue(Range(first, last, "i").test(middle), 8);
86 assertTrue(Range(first, last, "i").test(last), 9);
88 assertTrue(Range(first, last, "i").test(first_other_case), 10);
[all …]
/external/dbus/cmake/test/
DCMakeLists.txt1 project(test) project
6 ${CMAKE_SOURCE_DIR}/../test/test-utils.h
7 ${CMAKE_SOURCE_DIR}/../test/test-utils.c
11 add_subdirectory( name-test )
13 set (test-service_SOURCES
14 ${CMAKE_SOURCE_DIR}/../test/test-service.c
15 ${CMAKE_SOURCE_DIR}/../test/test-utils.c
16 ${CMAKE_SOURCE_DIR}/../test/test-utils.h
19 set (test-names_SOURCES
20 ${CMAKE_SOURCE_DIR}/../test/test-names.c
[all …]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DSimpleDateFormatTest.java46 public void test(String pattern, Calendar cal, String expected, in test() method in SimpleDateFormatTest.TestFormat
338 TestFormat test = new TestFormat( in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition() local
342 test.test(" G", cal, " AD", DateFormat.ERA_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
343 test.test(" GG", cal, " AD", DateFormat.ERA_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
344 test.test(" GGG", cal, " AD", DateFormat.ERA_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
345 test.test(" G", new GregorianCalendar(-1999, Calendar.JUNE, 2), " BC", in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
348 test.test(" y", cal, " 99", DateFormat.YEAR_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
349 test.test(" yy", cal, " 99", DateFormat.YEAR_FIELD); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
350 test.test(" yy", new GregorianCalendar(2001, Calendar.JUNE, 2), " 01", in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
352 test.test(" yy", new GregorianCalendar(2000, Calendar.JUNE, 2), " 00", in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
[all …]
/external/clang/utils/ABITest/
DMakefile.test.common3 # Usage: make test.N.report
30 .PHONY: test.%.report
31 test.%.report: temps/test.%.xx.diff temps/test.%.xy.diff temps/test.%.yx.diff temps/test.%.yy.diff
46 .PHONY: test.%.defs-report
47 test.%.defs-report: temps/test.%.defs.diff
55 .PHONY: test.%.build
56 test.%.build: temps/test.%.ref temps/test.%.xx temps/test.%.xy temps/test.%.yx temps/test.%.yy temp…
65 .PRECIOUS: temps/test.%.xx.diff
66 temps/test.%.xx.diff: temps/test.%.ref.out temps/test.%.xx.out
68 .PRECIOUS: temps/test.%.xy.diff
[all …]
/external/bluetooth/glib/tests/
D.gitignore1 asyncqueue-test
2 atomic-test
3 base64-test
4 bit-test
5 bookmarkfile-test
6 checksum-test
7 child-test
10 completion-test
11 convert-test
12 cxx-test
[all …]
Dmakefile.msc.in1 ## Makefile for building the GLib test programs with Microsoft C
21 atomic-test.exe \
22 array-test.exe \
23 asyncqueue-test.exe \
24 base64-test.exe \
25 bit-test.exe \
26 bookmarkfile-test.exe \
27 child-test.exe \
28 checksum-test.exe \
29 completion-test.exe \
[all …]
/external/srec/tools/grxmlcompile/
Dnetw_arc.h172 int Compare (NUANArc *test) in Compare() argument
174 if (fromId > test->fromId) in Compare()
176 else if (fromId < test->fromId) in Compare()
178 else if (toId > test->toId) in Compare()
180 else if (toId < test->toId) in Compare()
182 else if (inputLabel > test->inputLabel) in Compare()
184 else if (inputLabel < test->inputLabel) in Compare()
186 else if (outputLabel > test->outputLabel) in Compare()
188 else if (outputLabel < test->outputLabel) in Compare()
194 int CompareSymbol (NUANArc *test) in CompareSymbol() argument
[all …]
/external/clang/test/CXX/class.access/class.protected/
Dp1.cpp17 void test(A &a) { in test() function
21 void test(B &b) { in test() function
25 void test(C &c) { in test() function
29 void test(D &d) { in test() function
39 static void test(A&);
42 static void test(B&);
45 static void test(C&);
48 static void test(D&);
51 void A::test(A &a) { in test() function in test1::A
55 void B::test(B &b) { in test() function in test1::B
[all …]
/external/srec/doc/logs/uapi/
Drun_robustness1.log5 android.speech.recognition.test.contacts.CLRecognizer:before EmbeddedRecognizer.getInstance()
6 android.speech.recognition.test.contacts.CLRecognizer:after EmbeddedRecognizer.getInstance(): andro…
7 android.speech.recognition.test.contacts.CLRecognizer:before EmbeddedRecognizer.configure(/system/u…
8 android.speech.recognition.test.contacts.CLRecognizer:after EmbeddedRecognizer.configure()
9 …d.speech.recognition.test.contacts.CLRecognizer:before recognizer.createGrammar(/system/usr/srec/c…
10 …id.speech.recognition.test.contacts.CLRecognizer:after recognizer.createGrammar(/system/usr/srec/c…
11 android.speech.recognition.test.contacts.CLRecognizer:before grammar.load()
12 android.speech.recognition.test.contacts.CLRecognizer:onLoaded
13 android.speech.recognition.test.contacts.CLRecognizer:Adding words to grammar slot
14 android.speech.recognition.test.contacts.CLRecognizer:item 0: Andy Wyatt
[all …]
Drun_robustness2.log5 android.speech.recognition.test.contacts.CLRecognizer:before EmbeddedRecognizer.getInstance()
6 android.speech.recognition.test.contacts.CLRecognizer:after EmbeddedRecognizer.getInstance(): andro…
7 android.speech.recognition.test.contacts.CLRecognizer:before EmbeddedRecognizer.configure(/system/u…
8 android.speech.recognition.test.contacts.CLRecognizer:after EmbeddedRecognizer.configure()
9 …d.speech.recognition.test.contacts.CLRecognizer:before recognizer.createGrammar(/system/usr/srec/c…
10 …id.speech.recognition.test.contacts.CLRecognizer:after recognizer.createGrammar(/system/usr/srec/c…
11 android.speech.recognition.test.contacts.CLRecognizer:before grammar.load()
12 android.speech.recognition.test.contacts.CLRecognizer:onLoaded
13 android.speech.recognition.test.contacts.CLRecognizer:Adding words to grammar slot
14 android.speech.recognition.test.contacts.CLRecognizer:item 0: Andy Wyatt
[all …]
/external/dbus/cmake/test/name-test/
DCMakeLists.txt3 set (NAMEtest-DIR ../../../test/name-test)
7 add_executable(test-pending-call-dispatch ${NAMEtest-DIR}/test-pending-call-dispatch.c)
8 target_link_libraries(test-pending-call-dispatch ${DBUS_INTERNAL_LIBRARIES})
9 ADD_TEST(test-pending-call-dispatch ${EXECUTABLE_OUTPUT_PATH}/test-pending-call-dispatch)
11 add_executable(test-pending-call-timeout ${NAMEtest-DIR}/test-pending-call-timeout.c)
12 target_link_libraries(test-pending-call-timeout ${DBUS_INTERNAL_LIBRARIES})
13 ADD_TEST(test-pending-call-timeout ${EXECUTABLE_OUTPUT_PATH}/test-pending-call-timeout)
15 add_executable(test-thread-init ${NAMEtest-DIR}/test-threads-init.c)
16 target_link_libraries(test-thread-init ${DBUS_INTERNAL_LIBRARIES})
17 ADD_TEST(test-thread-init ${EXECUTABLE_OUTPUT_PATH}/test-thread-init)
[all …]
/external/v8/test/cctest/
Dcctest.gyp69 'test-accessors.cc',
70 'test-alloc.cc',
71 'test-api.cc',
72 'test-ast.cc',
73 'test-bignum.cc',
74 'test-bignum-dtoa.cc',
75 'test-circular-queue.cc',
76 'test-compiler.cc',
77 'test-conversions.cc',
78 'test-cpu-profiler.cc',
[all …]
DSConscript40 'test-accessors.cc',
41 'test-alloc.cc',
42 'test-api.cc',
43 'test-ast.cc',
44 'test-bignum-dtoa.cc',
45 'test-bignum.cc',
46 'test-circular-queue.cc',
47 'test-compiler.cc',
48 'test-conversions.cc',
49 'test-cpu-profiler.cc',
[all …]
/external/icu4c/test/intltest/
Ditmajor.cpp45 suite test; \
46 callTest(test, par); \
56 IntlTestUtilities test; in runIndexedTest() local
57 callTest( test, par ); in runIndexedTest()
65 IntlTestNormalize test; in runIndexedTest() local
66 callTest( test, par ); in runIndexedTest()
75 IntlTestCollator test; in runIndexedTest() local
76 callTest( test, par ); in runIndexedTest()
85 RegexTest test; in runIndexedTest() local
86 callTest( test, par ); in runIndexedTest()
[all …]
/external/clang/test/Lexer/
Dchar-escapes.c3 int test['\\' == 92 ? 1 : -1]; variable
4 int test['\"' == 34 ? 1 : -1]; variable
5 int test['\'' == 39 ? 1 : -1]; variable
6 int test['\?' == 63 ? 1 : -1]; variable
7 int test['\a' == 7 ? 1 : -1]; variable
8 int test['\b' == 8 ? 1 : -1]; variable
9 int test['\e' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
10 int test['\E' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
11 int test['\f' == 12 ? 1 : -1]; variable
12 int test['\n' == 10 ? 1 : -1]; variable
[all …]
/external/webkit/Source/WebKit/chromium/src/js/
DTests.js198 var test = this;
210 test.fail("Exception in overriden method '" + methodName + "': " + e);
238 var test = this;
253 test.releaseControl();
257 test.fail();
281 var test = this;
295 test.releaseControl();
301 test.fail();
324 var test = this;
328 test.releaseControl();
[all …]
/external/mksh/src/
Dcheck.pl388 $ret = &read_test($file, IN, *test);
390 next if !$all_tests && !$do_test{$test{'name'}};
391 next if !&category_check(*test);
392 $ret = &run_test(*test);
403 local(*test) = @_;
404 local($name) = $test{':full-name'};
406 if (defined $test{'stdin'}) {
407 return undef if !&write_file($tempi, $test{'stdin'});
413 if (defined $test{'script'}) {
414 return undef if !&write_file($temps, $test{'script'});
[all …]
/external/bluetooth/glib/tests/refcount/
Dproperties.c6 #define MY_TEST(test) (G_TYPE_CHECK_INSTANCE_CAST ((test), G_TYPE_TEST, GTest)) argument
7 #define MY_IS_TEST(test) (G_TYPE_CHECK_INSTANCE_TYPE ((test), G_TYPE_TEST)) argument
10 #define MY_TEST_GET_CLASS(test) (G_TYPE_INSTANCE_GET_CLASS ((test), G_TYPE_TEST, GTestClass)) argument
38 static void my_test_init (GTest * test);
98 my_test_init (GTest * test) in my_test_init() argument
101 test->id = static_id++; in my_test_init()
107 GTest *test; in my_test_dispose() local
109 test = MY_TEST (object); in my_test_dispose()
120 GTest *test; in my_test_get_property() local
122 test = MY_TEST (object); in my_test_get_property()
[all …]
/external/clang/test/Analysis/
Didempotent-operations.c6 extern void test(int i);
14 test(x - x); // expected-warning {{Both operands to '-' always have the same value}} in basic()
17 test(x / x); // expected-warning {{Both operands to '/' always have the same value}} in basic()
20 test(x & x); // expected-warning {{Both operands to '&' always have the same value}} in basic()
22 test(x | x); // expected-warning {{Both operands to '|' always have the same value}} in basic()
26 test(x * one); // expected-warning {{The right operand to '*' is always 1}} in basic()
28 test(x / one); // expected-warning {{The right operand to '/' is always 1}} in basic()
32 test(one * x); // expected-warning {{The left operand to '*' is always 1}} in basic()
35 test(x + zero); // expected-warning {{The right operand to '+' is always 0}} in basic()
36 test(x - zero); // expected-warning {{The right operand to '-' is always 0}} in basic()
[all …]
/external/clang/test/Index/
Dc-index-api-loadTU-test.m2 // RUN: c-index-test -test-load-tu %t.ast all | FileCheck %s
78 // CHECK: c-index-api-loadTU-test.m:4:12: ObjCInterfaceDecl=Foo:4:12 Extent=[4:1 - 12:5]
79 // CHECK: c-index-api-loadTU-test.m:6:32: ObjCIvarDecl=myoutlet:6:32 (Definition) Extent=[6:3 - 6:4…
81 // CHECK: c-index-api-loadTU-test.m:6:29: TypeRef=id:0:0 Extent=[6:29 - 6:31]
82 // CHECK: c-index-api-loadTU-test.m:8:1: ObjCInstanceMethodDecl=myMessage::8:1 Extent=[8:1 - 8:54]
84 // CHECK: c-index-api-loadTU-test.m:8:50: ParmDecl=msg:8:50 (Definition) Extent=[8:47 - 8:53]
85 // CHECK: c-index-api-loadTU-test.m:8:47: TypeRef=id:0:0 Extent=[8:47 - 8:49]
86 // CHECK: c-index-api-loadTU-test.m:9:1: ObjCInstanceMethodDecl=foo:9:1 (deprecated) Extent=[9:1 - …
87 // CHECK: c-index-api-loadTU-test.m:10:1: ObjCClassMethodDecl=fooC:10:1 Extent=[10:1 - 10:8]
88 // CHECK: c-index-api-loadTU-test.m:14:12: ObjCInterfaceDecl=Bar:14:12 Extent=[14:1 - 18:5]
[all …]
/external/chromium/testing/gtest/test/
Dgtest_shuffle_test.py122 for test in tests:
123 test_case = test.split('.')[0]
203 for test in SHUFFLED_ALL_TESTS:
204 self.assertEqual(1, SHUFFLED_ALL_TESTS.count(test),
205 '%s appears more than once' % (test,))
206 for test in SHUFFLED_ACTIVE_TESTS:
207 self.assertEqual(1, SHUFFLED_ACTIVE_TESTS.count(test),
208 '%s appears more than once' % (test,))
209 for test in SHUFFLED_FILTERED_TESTS:
210 self.assertEqual(1, SHUFFLED_FILTERED_TESTS.count(test),
[all …]

12345678910>>...149