Home
last modified time | relevance | path

Searched refs:expected_output (Results 1 – 25 of 27) sorted by relevance

12

/external/libmojo/mojo/public/cpp/bindings/tests/
Dstruct_unittest.cc245 MultiVersionStructPtr expected_output(MultiVersionStruct::New()); in TEST_F() local
246 expected_output->f_int32 = 123; in TEST_F()
251 EXPECT_TRUE(output->Equals(*expected_output)); in TEST_F()
258 MultiVersionStructPtr expected_output(MultiVersionStruct::New()); in TEST_F() local
259 expected_output->f_int32 = 123; in TEST_F()
260 expected_output->f_rect = MakeRect(5); in TEST_F()
265 EXPECT_TRUE(output->Equals(*expected_output)); in TEST_F()
273 MultiVersionStructPtr expected_output(MultiVersionStruct::New()); in TEST_F() local
274 expected_output->f_int32 = 123; in TEST_F()
275 expected_output->f_rect = MakeRect(5); in TEST_F()
[all …]
/external/protobuf/gtest/test/
Dgtest_list_tests_unittest.py103 def RunAndVerify(self, flag_value, expected_output, other_flag): argument
138 if expected_output is not None:
139 self.assert_(output == expected_output, msg)
147 expected_output=None,
154 expected_output=None,
157 expected_output=EXPECTED_OUTPUT_NO_FILTER,
164 expected_output=EXPECTED_OUTPUT_NO_FILTER,
172 expected_output=EXPECTED_OUTPUT_FILTER_FOO,
/external/google-breakpad/src/testing/gtest/test/
Dgtest_list_tests_unittest.py103 def RunAndVerify(self, flag_value, expected_output, other_flag): argument
138 if expected_output is not None:
139 self.assert_(output == expected_output, msg)
147 expected_output=None,
154 expected_output=None,
157 expected_output=EXPECTED_OUTPUT_NO_FILTER,
164 expected_output=EXPECTED_OUTPUT_NO_FILTER,
172 expected_output=EXPECTED_OUTPUT_FILTER_FOO,
/external/pdfium/core/fxcrt/
Dfx_system_unittest.cpp21 void Check32BitBase16Itoa(int32_t input, const char* expected_output) { in Check32BitBase16Itoa() argument
26 EXPECT_EQ(std::string(expected_output), buf); in Check32BitBase16Itoa()
30 void Check32BitBase10Itoa(int32_t input, const char* expected_output) { in Check32BitBase10Itoa() argument
35 EXPECT_EQ(std::string(expected_output), buf); in Check32BitBase10Itoa()
39 void Check32BitBase2Itoa(int32_t input, const char* expected_output) { in Check32BitBase2Itoa() argument
44 EXPECT_EQ(std::string(expected_output), buf); in Check32BitBase2Itoa()
48 void Check64BitBase16Itoa(int64_t input, const char* expected_output) { in Check64BitBase16Itoa() argument
53 EXPECT_EQ(std::string(expected_output), buf); in Check64BitBase16Itoa()
57 void Check64BitBase10Itoa(int64_t input, const char* expected_output) { in Check64BitBase10Itoa() argument
62 EXPECT_EQ(std::string(expected_output), buf); in Check64BitBase10Itoa()
[all …]
/external/libvpx/libvpx/test/
Dpp_filter_test.cc176 void RunComparison(const unsigned char *expected_output, unsigned char *src_c, in RunComparison() argument
180 ASSERT_EQ(expected_output[c], src_c[c]) << "at (" << r << ", " << c in RunComparison()
188 int filter_level, const unsigned char *expected_output) { in RunFilterLevel() argument
191 RunComparison(expected_output, s, rows, cols, src_width); in RunFilterLevel()
203 Buffer<uint8_t> expected_output = Buffer<uint8_t>(cols, rows, 0); in TEST_P() local
204 SetCols(expected_output.TopLeftPixel(), rows, cols, expected_output.stride()); in TEST_P()
207 expected_output.TopLeftPixel()); in TEST_P()
284 void RunComparison(const unsigned char *expected_output, unsigned char *src_c, in RunComparison() argument
288 ASSERT_EQ(expected_output[r * rows + c], src_c[c]) << "at (" << r in RunComparison()
296 int filter_level, const unsigned char *expected_output) { in RunFilterLevel() argument
[all …]
/external/autotest/client/deps/fakegudev/src/
Dtest-gudev.sh9 expected_output=`mktemp`
14 diff -u --ignore-all-space --ignore-blank-lines ${expected_output} \
36 cat $1 > ${expected_output}
39 echo Parent device:>> ${expected_output}
40 cat $2 >> ${expected_output}
124 cat test_files/fake.output > ${expected_output}
125 cat test_files/fake.output >> ${expected_output}
126 cat test_files/fake.output >> ${expected_output}
/external/curl/tests/unit/
Dunit1604.c72 const char *expected_output; member
303 ((!output && !data[i].expected_output) ||
304 (output && data[i].expected_output &&
305 !strcmp(output, data[i].expected_output)))) { /* OK */
328 (data[i].expected_output ? data[i].expected_output : "(null)"),
/external/v8/tools/clang/translation_unit/
Dtest_translation_unit.py65 expected_output = actual_output = None
67 expected_output = f.readlines()
71 for expected_line, actual_line in zip(expected_output, actual_output):
82 for line in difflib.unified_diff(expected_output, actual_output,
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator_unittest.cc111 string expected_output; in TEST() local
114 &expected_output, in TEST()
116 EXPECT_EQ(expected_output, output); in TEST()
/external/fmtlib/test/
Dgtest-extra.h114 #define FMT_TEST_WRITE_(statement, expected_output, file, fail) \ argument
117 std::string gtest_expected_output = expected_output; \
133 #define EXPECT_WRITE(file, statement, expected_output) \ argument
134 FMT_TEST_WRITE_(statement, expected_output, file, GTEST_NONFATAL_FAILURE_)
Dprintf-test.cc49 #define EXPECT_PRINTF(expected_output, format, arg) \ argument
50 EXPECT_EQ(expected_output, fmt::sprintf(format, arg)) \
52 EXPECT_EQ(expected_output, fmt::sprintf(make_positional(format), arg))
/external/v8/tools/clang/scripts/
Dtest_tool.py106 expected_output = actual_output = None
108 expected_output = f.readlines()
111 if actual_output != expected_output:
113 for line in difflib.unified_diff(expected_output, actual_output,
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/
Dvia-parser.rb74 expected_output = <<-END.fixed_indent( 0 ).strip!
96 tokens.render.strip.should == expected_output
/external/pdfium/xfa/fxfa/parser/
Dxfa_utils_unittest.cpp11 int expected_output; in TEST() member
19 EXPECT_EQ(TestCases[i].expected_output, in TEST()
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
Dfilter-mode.rb224 expected_output = <<-END.fixed_indent( 0 )
240 lexer.output.should == expected_output
/external/jsoncpp/test/
Drunjsontests.py86 expected_output = file( expected_output_path, 'rt' ).read()
87 detail = ( compareOutputs( expected_output, actual_output, 'input' )
88 or compareOutputs( expected_output, actual_rewrite_output, 'rewrite' ) )
/external/autotest/server/site_tests/firmware_FAFTSetup/
Dfirmware_FAFTSetup.py34 expected_output = ["Chip:\s+[^\r\n]*\r\n",
39 expected_output)
/external/webrtc/webrtc/common_audio/
Dfir_filter_unittest.cc30 void VerifyOutput(const float* expected_output, in VerifyOutput() argument
33 EXPECT_EQ(0, memcmp(expected_output, in VerifyOutput()
35 length * sizeof(expected_output[0]))); in VerifyOutput()
Dsparse_fir_filter_unittest.cc26 void VerifyOutput(const float (&expected_output)[N], const float (&output)[N]) { in VerifyOutput()
27 EXPECT_EQ(0, memcmp(expected_output, output, sizeof(output))); in VerifyOutput()
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode_unittest.cpp83 const FX_CHAR* expected_output; in TEST() member
107 EXPECT_EQ(test_case.expected_output[j], str_ptr[j]) << "for case " << i in TEST()
/external/toolchain-utils/user_activity_benchmarks/
Dutils_unittest.py36 expected_output = [('group1', '/a'), ('group2', '/b'), ('group3', '/c'),
40 self.assertListEqual(expected_output, result)
Dprocess_hot_functions_unittest.py167 expected_output = [('group1', '/a', 0, []), ('group2', '/b', 0, []),
171 self.assertListEqual(expected_output, result)
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc1740 string expected_output; in Run() local
1741 GOOGLE_CHECK_OK(File::GetContents(filename, &expected_output, true)); in Run()
1745 EXPECT_TRUE(captured_stdout_ == expected_output); in Run()
1749 string expected_output; in Run() local
1750 GOOGLE_CHECK_OK(File::GetContents(filename, &expected_output, true)); in Run()
1752 ExpectStdoutMatchesText(expected_output); in Run()
/external/markdown/
Dtest-markdown.py238 expected_output = codecs.open(output_file, encoding=self.encoding).read()
252 expected_lines = [x.encode("utf-8") for x in smart_split(expected_output)]
/external/libchrome/base/json/
Djson_value_serializer_unittest.cc302 std::string expected_output = "{\"all_chars\":\"" + all_chars_expected + in TEST() local
309 ASSERT_EQ(expected_output, output_js); in TEST()
314 ASSERT_EQ(expected_output, output_js); in TEST()

12