summaryrefslogtreecommitdiffstats
path: root/init/init_parser_test.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-06-22 12:53:17 -0700
committerTom Cherry <tomcherry@google.com>2017-06-23 13:21:20 -0700
commit81f5d3ebef2c3789737bf718fc2a2cdd7b9e8b33 (patch)
tree994dda570ae23534eb95913a17747e2f90f4ad7b /init/init_parser_test.cpp
parent84c2eebbdd889fdb7208069c48ba06a2b5a71bf4 (diff)
downloadcore-81f5d3ebef2c3789737bf718fc2a2cdd7b9e8b33.tar.gz
core-81f5d3ebef2c3789737bf718fc2a2cdd7b9e8b33.tar.bz2
core-81f5d3ebef2c3789737bf718fc2a2cdd7b9e8b33.zip
init: create android::init:: namespace
With some small fixups along the way Test: Boot bullhead Test: init unit tests Change-Id: I7beaa473cfa9397f845f810557d1631b4a462d6a
Diffstat (limited to 'init/init_parser_test.cpp')
-rw-r--r--init/init_parser_test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/init_parser_test.cpp b/init/init_parser_test.cpp
index 86d60d024..38b8275e5 100644
--- a/init/init_parser_test.cpp
+++ b/init/init_parser_test.cpp
@@ -24,6 +24,9 @@
#include <string>
#include <vector>
+namespace android {
+namespace init {
+
TEST(init_parser, make_exec_oneshot_service_invalid_syntax) {
ServiceManager& sm = ServiceManager::GetInstance();
std::vector<std::string> args;
@@ -141,3 +144,6 @@ TEST(init_parser, make_exec_oneshot_service_with_just_command) {
TEST(init_parser, make_exec_oneshot_service_with_just_command_no_dash) {
Test_make_exec_oneshot_service(false, false, false, false, false);
}
+
+} // namespace init
+} // namespace android