summaryrefslogtreecommitdiff
path: root/init/util_test.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-06-23 23:19:53 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-06-23 23:19:53 +0000
commitb57e1180e36e44b78f45c03d98d62c22754d591c (patch)
treed87252e55756a56380cde35c6fbca9042b1c7723 /init/util_test.cpp
parent56f021f0a40a88cfa98c432f8ee4f43e25e301df (diff)
parentd3d79b21968139b135ca24b13dd400494fe73965 (diff)
Merge "init: create android::init:: namespace" am: 040212706b
am: d3d79b2196 Change-Id: I3dccff251dda7d7452e33a7e71178c59f0c22169
Diffstat (limited to 'init/util_test.cpp')
-rw-r--r--init/util_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/util_test.cpp b/init/util_test.cpp
index 4bb8a8378..c16ab7431 100644
--- a/init/util_test.cpp
+++ b/init/util_test.cpp
@@ -26,6 +26,9 @@
using namespace std::literals::string_literals;
+namespace android {
+namespace init {
+
TEST(util, ReadFile_ENOENT) {
std::string s("hello");
std::string err;
@@ -187,3 +190,6 @@ TEST(util, mkdir_recursive_extra_slashes) {
std::string path3 = android::base::StringPrintf("%s/three/directories/deep", test_dir.path);
EXPECT_TRUE(is_dir(path1.c_str()));
}
+
+} // namespace init
+} // namespace android