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

123456

/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.js27 expect(!this.data_, 'Re-setting data.');
44 expect(this.data_, 'No data. Did you remember to include strings.js?');
46 expect(typeof value != 'undefined', 'Could not find value for ' + id);
98 expect(value == Math.floor(value), 'Number isn\'t integer: ' + value);
107 expect(typeof replacements == 'object',
120 function expect(condition, message) { function
129 * @param {string} type The type we expect |value| to be.
132 expect(typeof value == type, '[' + value + '] (' + id +
136 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.cc106 std::map<string, string> expect; local
107 expect[":method"] = "GET";
108 expect[":scheme"] = "http";
109 expect[":path"] = "/";
110 expect[":authority"] = "www.example.com";
111 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.js81 var expect = "42foofishhorse"; variable
83 expect += "undefined";
84 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:__anon27619::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/chrome/browser/ui/app_list/search/
H A Dtokenized_string_match_unittest.cc59 const char* expect; member in struct:app_list::test::__anon4907
78 EXPECT_EQ(kTestCases[i].expect, MatchHit(text, match));
/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/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);
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dnumfmtst.h177 void expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n);
179 void expect(NumberFormat& fmt, const char *str, const Formattable& n) { function in class:NumberFormatTest
180 expect(fmt, UnicodeString(str, ""), n);
183 void expect(NumberFormat& fmt, const Formattable& n,
186 void expect(NumberFormat& fmt, const Formattable& n, function in class:NumberFormatTest
188 expect(fmt, n, UnicodeString(exp, ""), rt);
191 void expect(NumberFormat* fmt, const Formattable& n,
194 void expect(NumberFormat* fmt, const Formattable& n, function in class:NumberFormatTest
196 expect(fmt, n, UnicodeString(exp, ""), errorCode);

Completed in 1018 milliseconds

123456