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

123456

/external/v8/tools/gyp/test/actions/
H A Dgyptest-default.py43 expect = """\
53 test.run_built_executable('program', chdir=chdir, stdout=expect)
59 expect = "Hello from generate_main.py\n" variable
65 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.py22 expect = 'foobar output\n' variable
23 test.run_built_executable('program', chdir=CHDIR, stdout=expect)
35 expect = 'barbaz output\n' variable
36 test.run_built_executable('program', chdir=CHDIR, stdout=expect)
H A Dgyptest-all.py45 expect = """\
55 test.run_built_executable('program', chdir=chdir, stdout=expect)
61 expect = "Hello from generate_main.py\n" variable
67 test.run_built_executable('null_input', chdir=chdir, stdout=expect)
/external/v8/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/v8/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/v8/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/v8/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/snakeyaml/src/main/java/org/yaml/snakeyaml/emitter/
H A DEmitterState.java24 void expect() throws IOException; method in interface:EmitterState
/external/v8/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/libxml2/python/tests/
H A Derror.py12 expect='--> I/O --> warning : --> failed to load external entity "missing.xml"\n' variable
30 if err != expect:
33 print("expected %s" %(expect))
/external/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/v8/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]:
H A Dgyptest-target-rpath.py32 expect = '/usr/lib/gyptest/' variable
34 if GetRpaths('shared_executable') != [expect]:
37 if GetRpaths('shared_executable_no_so_suffix') != [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/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/parser/
H A DExpressionParser.java45 expect(TT_EOF);
79 expect(')');
81 expect(TT_NUMBER);
95 private void expect(final int type) throws IOException { method in class:ExpressionParser
/external/jacoco/org.jacoco.examples.test/src/org/jacoco/examples/
H A DConsoleOutput.java66 public void expect(Matcher<String> matcher) { method in class:ConsoleOutput
/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/v8/tools/gyp/test/standalone-static-library/
H A Dgyptest-standalone-static-library.py32 # We expect the library to be copied to $PRODUCT_DIR.
41 expect = 'hello from mylib.c\n' variable
42 test.run_built_executable('prog', stdout=expect)
/external/vboot_reference/tests/
H A Dutility_string_tests.c59 const char *expect) {
62 TEST_EQ(strlen(expect),
65 printf("Uint64ToString expect %s got %s\n", expect, dest);
66 TEST_EQ(0, strcmp(dest, expect), "Uint64ToString result");
58 TestU64ToS(uint64_t value, uint32_t radix, uint32_t zero_pad_width, const char *expect) argument
/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/junit/src/org/junit/rules/
H A DExpectedException.java30 * thrown.expect(NullPointerException.class);
36 * thrown.expect(NullPointerException.class);
69 public void expect(Matcher<?> matcher) { method in class:ExpectedException
80 public void expect(Class<? extends Throwable> type) { method in class:ExpectedException
81 expect(instanceOf(type));
97 expect(hasMessage(matcher));

Completed in 1530 milliseconds

123456