chromium/third_party/perfetto/src/ipc/test/ipc_integrationtest.cc

/*
 * Copyright (C) 2018 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "perfetto/ext/ipc/client.h"
#include "perfetto/ext/ipc/host.h"
#include "src/base/test/test_task_runner.h"
#include "src/ipc/test/test_socket.h"
#include "test/gtest_and_gmock.h"

#include "src/ipc/test/greeter_service.gen.h"
#include "src/ipc/test/greeter_service.ipc.h"

namespace ipc_test {
namespace {

AsyncResult;
Client;
Deferred;
Host;
Service;
ServiceProxy;
_;
Invoke;

using namespace ::ipc_test::gen;

::perfetto::ipc::TestSocket kTestSocket{"ipc_integrationtest"};

class MockEventListener : public ServiceProxy::EventListener {};

class MockGreeterService : public ::ipc_test::gen::Greeter {};

class IPCIntegrationTest : public ::testing::Test {};

TEST_F(IPCIntegrationTest, SayHelloWaveGoodbye) {}

}  // namespace
}  // namespace ipc_test