Searched refs:test (Results 51 - 75 of 6019) sorted by relevance

1234567891011>>

/external/chromium_org/tools/gyp/test/dependencies/
H A Dgyptest-extra-targets.py13 test = TestGyp.TestGyp() variable
15 test.run_gyp('extra_targets.gyp')
19 test.build('extra_targets.gyp', test.ALL)
21 test.pass_test()
H A Dgyptest-none-traversal.py16 test = TestGyp.TestGyp() variable
18 test.run_gyp('none_traversal.gyp')
20 test.build('none_traversal.gyp', test.ALL)
22 test.run_built_executable('needs_chain', stdout="2\n")
23 test.run_built_executable('doesnt_need_chain', stdout="3\n")
25 test.pass_test()
/external/chromium_org/tools/gyp/test/msvs/props/
H A Dgyptest-props.py14 test = TestGyp.TestGyp(workdir='workarea_all', formats=['msvs']) variable
16 test.run_gyp('hello.gyp')
18 test.build('hello.gyp')
20 test.built_file_must_exist('Greet.exe')
22 test.pass_test()
/external/chromium_org/tools/gyp/test/msvs/uldi2010/
H A Dgyptest-all.py13 test = TestGyp.TestGyp(formats=['msvs'], workdir='workarea_all') variable
15 test.run_gyp('hello.gyp')
17 if test.uses_msbuild:
18 test.must_contain('hello.vcxproj', '<UseLibraryDependencyInputs>false')
20 test.pass_test()
/external/chromium_org/tools/gyp/test/ninja/empty-and-non-empty-duplicate-name/
H A Dgyptest-empty-and-non-empty-duplicate-name.py14 test = TestGyp.TestGyp(formats=['ninja']) variable
16 test.run_gyp('test.gyp')
19 test.must_not_contain('out/Default/build.ninja', 'build empty_target: phony\r')
20 test.must_not_contain('out/Default/build.ninja', 'build empty_target: phony\n')
22 test.pass_test()
/external/chromium_org/tools/gyp/test/sanitize-rule-names/
H A Dgyptest-sanitize-rule-names.py9 broken build files. This test was originally causing broken .ninja files.
14 test = TestGyp.TestGyp() variable
15 test.run_gyp('sanitize-rule-names.gyp')
16 test.build('sanitize-rule-names.gyp', test.ALL)
17 test.pass_test()
/external/chromium_org/v8/test/mjsunit/
H A Darray-shift3.js8 function test(a) { function
12 assertEquals(["element 1",{}], test([0,,{}]));
13 assertEquals(["element 1",10], test([9,,10]));
14 %OptimizeFunctionOnNextCall(test);
15 assertEquals(["element 1",10], test([9,,10]));
H A Dcompare-nil.js30 function test(v) { function
33 assertFalse(test(true));
34 assertFalse(test(true));
35 assertTrue(test(null));
36 assertTrue(test(null));
H A Dglobal-load-from-eval-in-with.js32 function test(obj, source) { function
39 test({ x: 42 }, "assertEquals(42, x)");
40 test({ y: 42 }, "assertEquals(27, x)");
43 test({ x: 42 }, "function f() { assertEquals(42, x) }; f();");
44 test({ y: 42 }, "function f() { assertEquals(27, x) }; f();");
48 test({ x: 42 }, "function f() { function g() { assertEquals(42, x) }; g() }; f();");
49 test({ y: 42 }, "function f() { function g() { assertEquals(27, x) }; g() }; f();");
52 test({ x: 42 }, "function f() { eval('1'); assertEquals(42, x) }; f();");
53 test({ y: 42 }, "function f() { eval('1'); assertEquals(27, x) }; f();");
57 test({
[all...]
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-1592.js34 function test(a) { function
39 test(1);
40 test(1);
42 %OptimizeFunctionOnNextCall(test);
45 test(1);
H A Dregress-2032.js31 assertTrue(/[@-A]/i.test("a"));
32 assertTrue(/[@-A]/i.test("A"));
33 assertTrue(/[@-A]/i.test("@"));
35 assertFalse(/[@-A]/.test("a"));
36 assertTrue(/[@-A]/.test("A"));
37 assertTrue(/[@-A]/.test("@"));
39 assertFalse(/[¿-À]/i.test('¾'));
40 assertTrue(/[¿-À]/i.test('¿'));
41 assertTrue(/[¿-À]/i.test('À'));
42 assertTrue(/[¿-À]/i.test('à'));
[all...]
/external/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.cons/
H A Ddefault.pass.cpp22 test() function
29 test<bidirectional_iterator<const char*> >();
30 test<random_access_iterator<char*> >();
31 test<char*>();
32 test<const char*>();
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/tests/
H A Dtests.js13 run.test('Twenty eight can be divided by three', '28 / 3 = [9.3333333]');
14 run.test('Twenty nine can be divided by three', '29 / 3 = [9.6666667]');
15 run.test('Thirty can be divided by three', '30 / 3 = [10]');
16 run.test('Thirty one can be divided by three', '31 / 3 = [10.333333]');
17 run.test('Thirty two can be divided by three', '32 / 3 = [10.666667]');
18 run.test('Thirty three can be divided by three', '33 / 3 = [11]');
23 // run.test('Equals without operator results in operand value',
26 // run.test('Operations without operands uses default operands',
30 // run.test('Successive operators replace each other.',
36 // run.test('Operan
[all...]
/external/chromium_org/tools/gyp/test/configurations/inheritance/
H A Dgyptest-inheritance.py13 test = TestGyp.TestGyp() variable
15 if test.format == 'android':
16 # This test currently fails on android. Investigate why, fix the issues
17 # responsible, and reenable this test on android. See bug:
19 test.skip_test(message='Test fails on android. Fix and reenable.\n')
21 test.run_gyp('configurations.gyp')
23 test.set_configuration('Release')
24 test.build('configurations.gyp')
25 test.run_built_executable('configurations',
31 test
[all...]
/external/chromium_org/tools/gyp/test/copies/
H A Dgyptest-default.py13 test = TestGyp.TestGyp() variable
15 test.run_gyp('copies.gyp', chdir='src')
17 test.relocate('src', 'relocate/src')
19 test.build('copies.gyp', chdir='relocate/src')
21 test.must_match(['relocate', 'src', 'copies-out', 'file1'], 'file1 contents\n')
23 test.built_file_must_match('copies-out/file2',
27 test.built_file_must_match('copies-out/directory/file3',
30 test.built_file_must_match('copies-out/directory/file4',
33 test.built_file_must_match('copies-out/directory/subdir/file5',
36 test
[all...]
H A Dgyptest-slash.py13 test = TestGyp.TestGyp() variable
14 test.run_gyp('copies-slash.gyp', chdir='src')
15 test.relocate('src', 'relocate/src')
16 test.build('copies-slash.gyp', chdir='relocate/src')
18 test.built_file_must_match('copies-out-slash/directory/file3',
21 test.built_file_must_match('copies-out-slash/directory/file4',
24 test.built_file_must_match('copies-out-slash/directory/subdir/file5',
28 test.built_file_must_match('copies-out-slash-2/directory/file3',
31 test.built_file_must_match('copies-out-slash-2/directory/file4',
34 test
[all...]
/external/chromium_org/tools/gyp/test/android/
H A Dgyptest-host-multilib.py14 test = TestGyp.TestGyp(formats=['android']) variable
16 test.run_gyp('host_32or64.gyp')
19 test.build('host_32or64.gyp', 'generate_output',
23 test.built_file_must_match('host_32or64.output', 'Hello, 32-bit world!\n')
26 test.build('host_32or64.gyp', 'generate_output',
30 test.built_file_must_match('host_32or64.output', 'Hello, 64-bit world!\n')
32 test.pass_test()
H A Dgyptest-make-functions.py14 test = TestGyp.TestGyp(formats=['android']) variable
16 test.run_gyp('make_functions.gyp')
18 test.build('make_functions.gyp', test.ALL)
20 file_content = 'A boring test file\n'
21 test.built_file_must_match('file.in', file_content)
22 test.built_file_must_match('file.out', file_content)
24 test.pass_test()
H A Dgyptest-settings-list.py14 test = TestGyp.TestGyp(formats=['android']) variable
16 test.run_gyp('settings-list.gyp')
18 test.build('settings-list.gyp', 'hello')
20 test.run_built_executable('hello.foo', stdout="Hello, world!\n")
22 test.up_to_date('settings-list.gyp', test.DEFAULT)
24 test.pass_test()
H A Dgyptest-settings.py14 test = TestGyp.TestGyp(formats=['android']) variable
16 test.run_gyp('settings.gyp')
18 test.build('settings.gyp', 'hello')
20 test.run_built_executable('hello.foo', stdout="Hello, world!\n")
22 test.up_to_date('settings.gyp', test.DEFAULT)
24 test.pass_test()
/external/chromium_org/tools/gyp/test/exclusion/
H A Dgyptest-exclusion.py14 test = TestGyp.TestGyp() variable
16 test.run_gyp('exclusion.gyp')
17 test.build('exclusion.gyp')
20 test.built_file_must_exist('hello' + test._exe, test.EXECUTABLE, bare=True)
22 test.pass_test()
/external/chromium_org/tools/gyp/test/generator-output/
H A Dgyptest-rules.py14 test = TestGyp.TestGyp(formats=['!android']) variable
16 test.writable(test.workpath('rules'), False)
18 test.run_gyp('rules.gyp',
19 '--generator-output=' + test.workpath('gypfiles'),
23 test.writable(test.workpath('rules'), True)
25 test.relocate('rules', 'relocate/rules')
26 test.relocate('gypfiles', 'relocate/gypfiles')
28 test
[all...]
/external/chromium_org/tools/gyp/test/hello/
H A Dgyptest-default.py14 test = TestGyp.TestGyp(workdir='workarea_default') variable
16 test.run_gyp('hello.gyp')
18 test.build('hello.gyp')
20 test.run_built_executable('hello', stdout="Hello, world!\n")
22 test.up_to_date('hello.gyp', test.DEFAULT)
24 test.pass_test()
/external/chromium_org/tools/gyp/test/rules-use-built-dependencies/
H A Dgyptest-use-built-dependencies.py13 test = TestGyp.TestGyp() variable
15 test.run_gyp('use-built-dependencies-rule.gyp', chdir='src')
16 test.relocate('src', 'relocate/src')
17 test.build('use-built-dependencies-rule.gyp', chdir='relocate/src')
19 test.built_file_must_exist('main_output', chdir='relocate/src')
20 test.built_file_must_match('main_output', 'output', chdir='relocate/src')
22 test.pass_test()
/external/chromium_org/tools/gyp/test/subdirectory/
H A Dgyptest-subdir2-deep.py13 test = TestGyp.TestGyp() variable
15 test.run_gyp('prog3.gyp', chdir='src/subdir/subdir2')
17 test.relocate('src', 'relocate/src')
19 test.build('prog3.gyp', test.ALL, chdir='relocate/src/subdir/subdir2')
21 test.run_built_executable('prog3',
25 test.pass_test()

Completed in 402 milliseconds

1234567891011>>