/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | struct_unittest.cc | 245 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/ |
D | gtest_list_tests_unittest.py | 103 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/ |
D | gtest_list_tests_unittest.py | 103 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/ |
D | fx_system_unittest.cpp | 21 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/ |
D | pp_filter_test.cc | 176 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/ |
D | test-gudev.sh | 9 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/ |
D | unit1604.c | 72 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/ |
D | test_translation_unit.py | 65 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/ |
D | ruby_generator_unittest.cc | 111 string expected_output; in TEST() local 114 &expected_output, in TEST() 116 EXPECT_EQ(expected_output, output); in TEST()
|
/external/fmtlib/test/ |
D | gtest-extra.h | 114 #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_)
|
D | printf-test.cc | 49 #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/ |
D | test_tool.py | 106 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/ |
D | via-parser.rb | 74 expected_output = <<-END.fixed_indent( 0 ).strip! 96 tokens.render.strip.should == expected_output
|
/external/pdfium/xfa/fxfa/parser/ |
D | xfa_utils_unittest.cpp | 11 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/ |
D | filter-mode.rb | 224 expected_output = <<-END.fixed_indent( 0 ) 240 lexer.output.should == expected_output
|
/external/jsoncpp/test/ |
D | runjsontests.py | 86 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/ |
D | firmware_FAFTSetup.py | 34 expected_output = ["Chip:\s+[^\r\n]*\r\n", 39 expected_output)
|
/external/webrtc/webrtc/common_audio/ |
D | fir_filter_unittest.cc | 30 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()
|
D | sparse_fir_filter_unittest.cc | 26 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/ |
D | fpdf_parser_decode_unittest.cpp | 83 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/ |
D | utils_unittest.py | 36 expected_output = [('group1', '/a'), ('group2', '/b'), ('group3', '/c'), 40 self.assertListEqual(expected_output, result)
|
D | process_hot_functions_unittest.py | 167 expected_output = [('group1', '/a', 0, []), ('group2', '/b', 0, []), 171 self.assertListEqual(expected_output, result)
|
/external/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface_unittest.cc | 1740 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/ |
D | test-markdown.py | 238 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/ |
D | json_value_serializer_unittest.cc | 302 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()
|