chromium/chrome/test/chromedriver/net/adb_client_socket_unittest.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/test/chromedriver/net/adb_client_socket.h"

#include <memory>

#include "base/containers/span.h"
#include "base/functional/bind.h"
#include "base/memory/raw_span.h"
#include "base/run_loop.h"
#include "base/test/gtest_util.h"
#include "base/test/mock_callback.h"
#include "net/socket/socket_test_util.h"
#include "testing/gtest/include/gtest/gtest.h"

class MockSocket : public net::MockClientSocket {};

class AdbClientSocketTest : public testing::Test {};

TEST_F(AdbClientSocketTest, ParseOutput) {}

TEST_F(AdbClientSocketTest, ReadUntilEOF_EOFEmptyString) {}
TEST_F(AdbClientSocketTest, ReadUntilEOF_EOFNonEmptyString1) {}
TEST_F(AdbClientSocketTest, ReadUntilEOF_EOFNonEmptyString2) {}

TEST_F(AdbClientSocketTest, ReadUntilEOF_Error) {}
TEST_F(AdbClientSocketTest, ReadUntilEOF_GrowBuffer) {}
TEST_F(AdbClientSocketTest, ReadUntilEOF_EmptyChunks) {}
TEST_F(AdbClientSocketTest, ReadUntilEOF_Empty) {}
TEST_F(AdbClientSocketTest, ReadUntilEOF_EmptyEndingChunk) {}

TEST_F(AdbClientSocketTest, ReadStatusOutput_Okay) {}
TEST_F(AdbClientSocketTest, ReadStatusOutput_OkayNulls) {}
TEST_F(AdbClientSocketTest, ReadStatusOutput_Fail) {}
TEST_F(AdbClientSocketTest, ReadStatusOutput_FailEmpty) {}