Move using declarations into unnamed namespace

Also fully qualify

PiperOrigin-RevId: 423066722
Change-Id: Id4dffa21a790ce884db750b1965203f9b056b39f
This commit is contained in:
Wiktor Garbacz 2022-01-20 07:50:31 -08:00 committed by Copybara-Service
parent 4041fe824b
commit 5c9f01fe3c

View File

@ -36,15 +36,6 @@
#include "sandboxed_api/util/file_helpers.h"
#include "sandboxed_api/util/status_matchers.h"
using sapi::IsOk;
using testing::Eq;
using testing::IsEmpty;
using testing::IsFalse;
using testing::IsTrue;
using testing::Ne;
using testing::SizeIs;
using testing::StrEq;
namespace sapi::file_util {
// Forward declare functions that are only used in fileops.cc.
@ -55,6 +46,15 @@ bool RemoveLastPathComponent(const std::string& file, std::string* output);
namespace {
using ::sapi::IsOk;
using ::testing::Eq;
using ::testing::IsEmpty;
using ::testing::IsFalse;
using ::testing::IsTrue;
using ::testing::Ne;
using ::testing::SizeIs;
using ::testing::StrEq;
class FileOpsTest : public testing::Test {
protected:
static void SetUpTestSuite() {