mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Move using declarations into unnamed namespace
Also fully qualify PiperOrigin-RevId: 423066722 Change-Id: Id4dffa21a790ce884db750b1965203f9b056b39f
This commit is contained in:
parent
4041fe824b
commit
5c9f01fe3c
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user