aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-09-22 13:18:58 -0500
committerCharles Kerr <charles.kerr@canonical.com>2016-09-22 13:18:58 -0500
commitc19c2ea1691955e9691a2ad7efd9bbd3044be1e8 (patch)
tree3cdcaccf083eab152c3e38ddb4dd362a39138b4f /tests
parent3a644063077a86899b59614048d84f86e77f75cd (diff)
downloadayatana-indicator-display-c19c2ea1691955e9691a2ad7efd9bbd3044be1e8.tar.gz
ayatana-indicator-display-c19c2ea1691955e9691a2ad7efd9bbd3044be1e8.tar.bz2
ayatana-indicator-display-c19c2ea1691955e9691a2ad7efd9bbd3044be1e8.zip
more g_debug() tracers
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/adbd-client-test.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unit/adbd-client-test.cpp b/tests/unit/adbd-client-test.cpp
index 754f76c..c72de9b 100644
--- a/tests/unit/adbd-client-test.cpp
+++ b/tests/unit/adbd-client-test.cpp
@@ -74,10 +74,15 @@ TEST_F(AdbdClientFixture, SocketPlumbing)
std::string pk;
auto adbd_client = std::make_shared<GAdbdClient>(socket_path);
adbd_client->on_pk_request().connect([&pk, main_thread, test](const AdbdClient::PKRequest& req){
+g_debug("%s %s thread %p", G_STRLOC, G_STRFUNC, g_thread_self());
EXPECT_EQ(main_thread, g_thread_self());
+g_debug("%s %s thread %p", G_STRLOC, G_STRFUNC, g_thread_self());
g_message("in on_pk_request with %s", req.public_key.c_str());
+g_debug("%s %s thread %p", G_STRLOC, G_STRFUNC, g_thread_self());
pk = req.public_key;
+g_debug("%s %s thread %p", G_STRLOC, G_STRFUNC, g_thread_self());
req.respond(test.response);
+g_debug("%s %s thread %p", G_STRLOC, G_STRFUNC, g_thread_self());
});
// start a mock AdbdServer with to fire test key requests and wait for a response