Searched defs:expect (Results 1 - 25 of 161) sorted by relevance

1234567

/external/chromium_org/tools/gyp/test/actions/
H A Dgyptest-default.py44 expect = """\
54 test.run_built_executable('program', chdir=chdir, stdout=expect)
60 expect = "Hello from generate_main.py\n" variable
66 test.run_built_executable('null_input', chdir=chdir, stdout=expect)
H A Dgyptest-errors.py18 expect = [ variable
21 test.must_contain_all_lines(test.stderr(), expect)
H A Dgyptest-generated-header.py28 expect = 'foobar output\n' variable
29 test.run_built_executable('program', chdir=CHDIR, stdout=expect)
41 expect = 'barbaz output\n' variable
42 test.run_built_executable('program', chdir=CHDIR, stdout=expect)
H A Dgyptest-all.py46 expect = """\
56 test.run_built_executable('program', chdir=chdir, stdout=expect)
62 expect = "Hello from generate_main.py\n" variable
68 test.run_built_executable('null_input', chdir=chdir, stdout=expect)
/external/chromium_org/tools/gyp/test/configurations/inheritance/
H A Dgyptest-duplicates.py28 expect = test.read('duplicates.gypd.golden').replace('\r', '') variable
29 if not test.match(contents, expect):
31 test.diff(expect, contents, 'duplicates.gypd ')
/external/chromium_org/tools/gyp/test/configurations/invalid/
H A Dgyptest-configurations.py32 expect = ['%s not allowed in the Debug configuration, found in target ' variable
34 test.must_contain_all_lines(test.stderr(), expect)
/external/chromium_org/tools/gyp/test/defines-escaping/
H A Dgyptest-defines-escaping.py28 expect = """
31 test.run_built_executable('defines_escaping', stdout=expect)
46 expect = """
49 test.run_built_executable('defines_escaping', stdout=expect)
69 expect = """
72 test.run_built_executable('defines_escaping', stdout=expect)
92 expect = """
95 test.run_built_executable('defines_escaping', stdout=expect)
114 expect = r"""
119 test.run_built_executable('defines_escaping', stdout=expect)
155 expect = "%PATH%" variable
[all...]
/external/chromium_org/tools/gyp/test/variables/commands/
H A Dgyptest-commands-repeated.py16 expect = test.read('commands-repeated.gyp.stdout').replace('\r\n', '\n') variable
20 stdout=expect, ignore_line_numbers=True)
32 expect = test.read('commands-repeated.gypd.golden').replace('\r\n', '\n') variable
33 if not test.match(contents, expect):
35 test.diff(expect, contents, 'commands-repeated.gypd ')
H A Dgyptest-commands-ignore-env.py23 expect = test.read('commands.gyp.ignore-env.stdout').replace('\r\n', '\n') variable
28 stdout=expect, ignore_line_numbers=True)
40 expect = test.read('commands.gypd.golden').replace('\r', '') variable
41 if not test.match(contents, expect):
43 test.diff(expect, contents, 'commands.gypd ')
H A Dgyptest-commands.py17 expect = test.read('commands.gyp.stdout').replace('\r', '') variable
21 stdout=expect, ignore_line_numbers=True)
33 expect = test.read('commands.gypd.golden').replace('\r', '') variable
34 if not test.match(contents, expect):
36 test.diff(expect, contents, 'commands.gypd ')
/external/chromium_org/ui/webui/resources/js/
H A Dload_time_data.js34 expect(!this.data_, 'Re-setting data.');
60 expect(this.data_, 'No data. Did you remember to include strings.js?');
62 expect(typeof value != 'undefined', 'Could not find value for ' + id);
115 expect(value == Math.floor(value), 'Number isn\'t integer: ' + value);
124 expect(typeof replacements == 'object',
137 function expect(condition, message) { function
148 * @param {string} type The type we expect |value| to be.
151 expect(typeof value == type, '[' + value + '] (' + id +
155 expect(!loadTimeData, 'should only include this file once');
/external/chromium_org/tools/gyp/test/variables/filelist/
H A Dgyptest-filelist-golden.py18 expect = test.read('filelist.gyp.stdout') variable
20 expect = expect.replace('/', r'\\').replace('\r\n', '\n') variable
24 stdout=expect, ignore_line_numbers=True)
37 expect = test.read('filelist.gypd.golden').replace('\r', '') variable
38 if not test.match(contents, expect):
40 test.diff(expect, contents, 'src/filelist.gypd ')
44 expect = 'John\nJacob\nJingleheimer\nSchmidt\n' variable
45 if not test.match(contents, expect):
47 test.diff(expect, content
[all...]
H A Dgyptest-filelist.py23 expect = 'John\nJacob\nJingleheimer\nSchmidt\n' variable
24 if not test.match(contents, expect):
26 test.diff(expect, contents, 'src/dummy_foo')
/external/oprofile/libop/tests/
H A Dmangle_tests.c53 char * expect = xmalloc(strlen(test->result) + local
55 strcpy(expect, op_samples_current_dir);
56 strcat(expect, test->result);
57 if (strcmp(result, expect)) {
59 (int)(test - tests), result, expect);
62 free(expect);
/external/chromium_org/net/spdy/fuzzing/
H A Dhpack_fuzz_util_test.cc107 std::map<string, string> expect; local
108 expect[":method"] = "GET";
109 expect[":scheme"] = "http";
110 expect[":path"] = "/";
111 expect[":authority"] = "www.example.com";
112 EXPECT_EQ(expect, context.third_stage->decoded_block());
/external/chromium_org/tools/gyp/test/linux/
H A Dgyptest-implicit-rpath.py33 expect = '$ORIGIN/lib/' variable
35 expect = '$ORIGIN/lib.target/' variable
39 if GetRpaths('shared_executable') != [expect]:
42 if GetRpaths('shared_executable_no_so_suffix') != [expect]:
/external/chromium_org/v8/test/mjsunit/
H A Dapply.js83 var expect = "42foofishhorse"; variable
85 expect += "undefined";
86 assertEquals(expect, j.apply(undefined, arr), "apply to undefined");
/external/oprofile/libregex/tests/
H A Djava_test.cpp31 << "expect:\n\"" << output << "\"\n"
39 char const * expect; member in struct:__anon28461::input_output
60 check_result(cur->mangled, cur->expect, result);
H A Dregex_test.cpp36 string test, expect, last; local
47 expect = last;
51 if (str != expect) {
52 cerr << "mistmatch: test, expect, returned\n"
54 << '"' << expect << '"' << endl
/external/chromium_org/tools/gyp/test/standalone-static-library/
H A Dgyptest-standalone-static-library.py34 # We expect the library to be copied to $PRODUCT_DIR.
43 expect = 'hello from mylib.c\n' variable
44 test.run_built_executable('prog', stdout=expect)
/external/chromium_org/ui/app_list/search/
H A Dtokenized_string_match_unittest.cc60 const char* expect; member in struct:app_list::test::__anon16545
79 EXPECT_EQ(kTestCases[i].expect, MatchHit(text, match));
/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-branch-combine.cc40 int32_t expect = a == 0 ? eq_constant : ne_constant; local
41 CHECK_EQ(expect, m.Call(a));
67 int32_t expect = (k & 1) == 1 ? (a == 0 ? eq_constant : ne_constant) local
69 CHECK_EQ(expect, m.Call(a));
91 int32_t expect = a < 0 ? eq_constant : ne_constant; local
92 CHECK_EQ(expect, m.Call(a));
113 int32_t expect = a < 100 ? eq_constant : ne_constant;
114 CHECK_EQ(expect, m.Call(a));
135 int32_t expect = a <= 100 ? eq_constant : ne_constant;
136 CHECK_EQ(expect,
[all...]
/external/guava/guava-tests/test/com/google/common/io/
H A DLineBufferTest.java61 private static void bufferHelper(String input, String... expect) argument
64 List<String> expectProcess = Arrays.asList(expect);
/external/jarjar/src/test/com/tonicsystems/jarjar/
H A DWildcardTest.java35 private void wildcard(String pattern, String result, String value, String expect) { argument
38 assertEquals(expect, wc.replace(value));
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
H A DgUnitTestSuite.java67 public void addTestCase(gUnitTestInput input, AbstractTest expect) { argument
68 if ( input!=null && expect!=null ) {
73 //expect.setTestedRuleName(this.rule);
74 expect.setTestedRuleName(this.rule ==null ? this.lexicalRule : this.rule);
75 expect.setTestCaseIndex(this.testSuites.size());
76 this.testSuites.put(input, expect);

Completed in 550 milliseconds

1234567