Skip to content

Commit

Permalink
switch to using android-base/file.h instead of android-base/test_utils.h
Browse files Browse the repository at this point in the history
Test: compile
Bug: 119313545
Change-Id: I4f7ad84743e974b4b4d1d7256088f6c8b749a237
  • Loading branch information
Mark Salyzyn committed Nov 14, 2018
1 parent a958fb6 commit 739991d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion adb_io_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <string>

#include <android-base/file.h>
#include <android-base/test_utils.h>

// All of these tests fail on Windows because they use the C Runtime open(),
// but the adb_io APIs expect file descriptors from adb_open(). This could
Expand Down
2 changes: 1 addition & 1 deletion adb_utils_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@

#include "sysdeps.h"

#include <android-base/file.h>
#include <android-base/macros.h>
#include <android-base/test_utils.h>

#ifdef _WIN32
static std::string subdir(const char* parent, const char* child) {
Expand Down
1 change: 0 additions & 1 deletion client/adb_install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "android-base/file.h"
#include "android-base/stringprintf.h"
#include "android-base/strings.h"
#include "android-base/test_utils.h"
#include "client/file_sync_client.h"
#include "commandline.h"
#include "fastdeploy.h"
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/stat_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <string>

#include <android-base/test_utils.h>
#include <android-base/file.h>
#include <gtest/gtest.h>

#include "adb_utils.h"
Expand Down
2 changes: 1 addition & 1 deletion sysdeps_win32_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "sysdeps.h"

#include <android-base/test_utils.h>
#include <android-base/file.h>

TEST(sysdeps_win32, adb_getenv) {
// Insert all test env vars before first call to adb_getenv() which will
Expand Down

0 comments on commit 739991d

Please sign in to comment.