Searched refs:PingPongTest (Results 1 – 2 of 2) sorted by relevance
51 class PingPongTest { class53 explicit PingPongTest(test::EchoServicePtr service);74 PingPongTest::PingPongTest(test::EchoServicePtr service) in PingPongTest() function in mojo::__anon819368d40111::PingPongTest77 base::Bind(&PingPongTest::OnPingDone, base::Unretained(this))) {} in PingPongTest()79 void PingPongTest::RunTest(int iterations, int batch_size, int message_size) { in RunTest()90 FROM_HERE, base::Bind(&PingPongTest::DoPing, base::Unretained(this))); in RunTest()94 void PingPongTest::DoPing() { in DoPing()108 void PingPongTest::OnPingDone(const std::string& reply) { in OnPingDone()147 PingPongTest test(std::move(service)); in RunTests()
47 class PingPongTest { class49 explicit PingPongTest(test::PingServicePtr service);62 DISALLOW_COPY_AND_ASSIGN(PingPongTest);65 PingPongTest::PingPongTest(test::PingServicePtr service) in PingPongTest() function in mojo::__anon25a194a60111::PingPongTest68 void PingPongTest::Run(unsigned int iterations) { in Run()74 service_->Ping(base::Bind(&PingPongTest::OnPingDone, base::Unretained(this))); in Run()78 void PingPongTest::OnPingDone() { in OnPingDone()85 service_->Ping(base::Bind(&PingPongTest::OnPingDone, base::Unretained(this))); in OnPingDone()108 PingPongTest test(std::move(service)); in TEST_F()