Home
last modified time | relevance | path

Searched refs:expected_data (Results 1 – 12 of 12) sorted by relevance

/external/bluetooth/glib/gio/tests/
Dfilter-streams.c79 gpointer expected_data; variable
90 g_assert (user_data == expected_data); in in_cb()
118 expected_data = g_malloc (20); in test_input_async()
120 g_input_stream_close_async (f1, 0, NULL, in_cb, expected_data); in test_input_async()
129 g_free (expected_data); in test_input_async()
135 expected_data = g_malloc (20); in test_input_async()
137 g_input_stream_close_async (f2, 0, NULL, in_cb, expected_data); in test_input_async()
146 g_free (expected_data); in test_input_async()
161 g_assert (user_data == expected_data); in out_cb()
190 expected_data = g_malloc (20); in test_output_async()
[all …]
/external/webkit/Tools/TestResultServer/model/
Djsonresults_unittest.py121 …def _test_merge(self, aggregated_data, incremental_data, expected_data, max_builds=jsonresults.JSO… argument
128 if expected_data:
129 expected_results = self._make_test_json(expected_data)
134 def _test_get_test_list(self, input_data, expected_data): argument
138 for test in expected_data:
/external/chromium/base/
Dlinux_util.cc255 pid_t FindThreadIDWithSyscall(pid_t pid, const std::string& expected_data) { in FindThreadIDWithSyscall() argument
275 scoped_array<char> syscall_data(new char[expected_data.length()]); in FindThreadIDWithSyscall()
284 file_util::ReadFromFD(fd, syscall_data.get(), expected_data.length()); in FindThreadIDWithSyscall()
289 if (0 == strncmp(expected_data.c_str(), syscall_data.get(), in FindThreadIDWithSyscall()
290 expected_data.length())) { in FindThreadIDWithSyscall()
Dlinux_util.h39 pid_t FindThreadIDWithSyscall(pid_t pid, const std::string& expected_data);
/external/chromium/net/test/
Dopenssl_helper.cc229 const unsigned char *data, *expected_data; in main() local
233 expected_data = (unsigned char*) "foo"; in main()
236 expected_data = (unsigned char*) "baz"; in main()
239 if (len != expected_len || memcmp(data, expected_data, len) != 0) { in main()
/external/gtest/test/
Dgtest-listener_test.cc181 const char* const* expected_data, in VerifyResults() argument
193 ASSERT_STREQ(expected_data[i], data[i].c_str()) in VerifyResults()
/external/protobuf/gtest/test/
Dgtest-listener_test.cc190 const char* const* expected_data, in VerifyResults() argument
202 ASSERT_STREQ(expected_data[i], data.GetElement(i).c_str()) in VerifyResults()
/external/chromium/testing/gtest/test/
Dgtest-listener_test.cc181 const char* const* expected_data, in VerifyResults() argument
193 ASSERT_STREQ(expected_data[i], data[i].c_str()) in VerifyResults()
/external/chromium/chrome/browser/
Didbbindingutilities_browsertest.cc316 const char16 expected_data[] = {0x353, 0x6f66, 0x536f, 0x7a03, 0x6f6f, 0x353, in IN_PROC_BROWSER_TEST_F() local
320 string16(expected_data, in IN_PROC_BROWSER_TEST_F()
321 arraysize(expected_data))); in IN_PROC_BROWSER_TEST_F()
/external/chromium/net/socket/
Dsocket_test_util.cc188 std::string expected_data(w->data, w->data_len); in OnWrite() local
189 EXPECT_GE(data.length(), expected_data.length()); in OnWrite()
191 EXPECT_EQ(expected_data, actual_data); in OnWrite()
192 if (expected_data != actual_data) in OnWrite()
/external/chromium/webkit/glue/
Dmultipart_response_delegate_unittest.cc314 const char* expected_data; member
347 EXPECT_EQ(string(chunks[i].expected_data), client.data_); in VariousChunkSizesTest()
/external/chromium/net/url_request/
Durl_request_unittest.cc230 const char* expected_data = in VerifyReceivedDataMatchesChunks() local
238 ASSERT_EQ(strlen(expected_data), static_cast<size_t>(d->bytes_received())); in VerifyReceivedDataMatchesChunks()
239 EXPECT_EQ(0, memcmp(d->data_received().c_str(), expected_data, in VerifyReceivedDataMatchesChunks()
240 strlen(expected_data))); in VerifyReceivedDataMatchesChunks()