Home
last modified time | relevance | path

Searched refs:MojoTestBase (Results 1 – 17 of 17) sorted by relevance

/external/libchrome/mojo/core/test/
Dmojo_test_base.cc36 MojoTestBase::MojoTestBase() { in MojoTestBase() function in mojo::core::test::MojoTestBase
46 MojoTestBase::~MojoTestBase() {} in ~MojoTestBase()
48 MojoTestBase::ClientController& MojoTestBase::StartClient( in StartClient()
55 MojoTestBase::ClientController::ClientController(const std::string& client_name, in ClientController()
56 MojoTestBase* test, in ClientController()
75 MojoTestBase::ClientController::~ClientController() { in ~ClientController()
80 int MojoTestBase::ClientController::WaitForShutdown() { in WaitForShutdown()
96 void MojoTestBase::CloseHandle(MojoHandle h) { in CloseHandle()
101 void MojoTestBase::CreateMessagePipe(MojoHandle* p0, MojoHandle* p1) { in CreateMessagePipe()
108 void MojoTestBase::WriteMessageWithHandles(MojoHandle mp, in WriteMessageWithHandles()
[all …]
Dmojo_test_base.h28 class MojoTestBase : public testing::Test {
30 MojoTestBase();
31 ~MojoTestBase() override;
39 MojoTestBase* test,
48 friend class MojoTestBase;
172 DISALLOW_COPY_AND_ASSIGN(MojoTestBase);
/external/libchrome/mojo/core/
Dmessage_unittest.cc25 using MessageTest = test::MojoTestBase;
232 MojoTestBase::WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
233 auto m = MojoTestBase::ReadMessage(h); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
270 MojoTestBase::WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
272 auto m = MojoTestBase::ReadMessageWithHandles(h, &h1, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
274 MojoTestBase::WriteMessage(h1, kTestMessageWithContext2); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
285 MojoTestBase::ReadMessage(pipe.handle1.get().value())); in TEST_F()
290 MojoTestBase::WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
292 auto m = MojoTestBase::ReadMessageWithHandles(h, handles, 4); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
294 MojoTestBase::WriteMessage(handles[0], kTestMessageWithContext1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
[all …]
Dmultiprocess_message_pipe_unittest.cc87 class MultiprocessMessagePipeTest : public test::MojoTestBase {
121 public testing::WithParamInterface<test::MojoTestBase::LaunchType> {
124 test::MojoTestBase::SetUp(); in SetUp()
1333 testing::Values(test::MojoTestBase::LaunchType::CHILD,
1334 test::MojoTestBase::LaunchType::PEER,
1335 test::MojoTestBase::LaunchType::NAMED_CHILD,
1336 test::MojoTestBase::LaunchType::NAMED_PEER));
Dmessage_pipe_perftest.cc31 class MessagePipePerfTest : public test::MojoTestBase {
Dmessage_pipe_unittest.cc33 class MessagePipeTest : public test::MojoTestBase {
87 using FuseMessagePipeTest = test::MojoTestBase;
Dsignals_unittest.cc18 using SignalsTest = test::MojoTestBase;
Dshared_buffer_unittest.cc24 using SharedBufferTest = test::MojoTestBase;
Dplatform_wrapper_unittest.cc61 using PlatformWrapperTest = test::MojoTestBase;
Dquota_unittest.cc14 using QuotaTest = test::MojoTestBase;
Dembedder_unittest.cc78 using EmbedderTest = test::MojoTestBase;
Ddata_pipe_unittest.cc48 class DataPipeTest : public test::MojoTestBase {
1679 EXPECT_EQ(MOJO_RESULT_OK, test::MojoTestBase::WaitForSignals( in WriteAllData()
1719 EXPECT_EQ(MOJO_RESULT_OK, test::MojoTestBase::WaitForSignals( in ReadAllData()
Dinvitation_unittest.cc40 class InvitationTest : public test::MojoTestBase {
Dtrap_unittest.cc31 using TrapTest = test::MojoTestBase;
/external/libchrome/mojo/public/cpp/bindings/tests/
De2e_perftest.cc116 class MojoE2EPerftest : public core::test::MojoTestBase {
/external/libchrome/ipc/
Dipc_cpu_perftest.cc267 class MojoSteadyPingPongTest : public mojo::core::test::MojoTestBase {
Dipc_mojo_perftest.cc276 class MojoInterfacePerfTest : public mojo::core::test::MojoTestBase {
413 class MojoInterfacePassingPerfTest : public mojo::core::test::MojoTestBase {