You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/03/28 21:59:42 UTC
[2/8] mesos git commit: Cleaned up header includes in tests.
Cleaned up header includes in tests.
Review: https://reviews.apache.org/r/45117/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3302bc12
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3302bc12
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3302bc12
Branch: refs/heads/master
Commit: 3302bc12b06303470eff0d26585532a63e2b622f
Parents: 65c7d0c
Author: Neil Conway <ne...@gmail.com>
Authored: Mon Mar 28 12:57:32 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Mar 28 12:57:32 2016 -0700
----------------------------------------------------------------------
src/tests/containerizer/ns_tests.cpp | 6 +-----
src/tests/http_authentication_tests.cpp | 2 --
src/tests/persistent_volume_endpoints_tests.cpp | 2 --
src/tests/persistent_volume_tests.cpp | 1 -
src/tests/reservation_endpoints_tests.cpp | 2 --
src/tests/teardown_tests.cpp | 1 -
6 files changed, 1 insertion(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/3302bc12/src/tests/containerizer/ns_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/containerizer/ns_tests.cpp b/src/tests/containerizer/ns_tests.cpp
index fef299f..cd668eb 100644
--- a/src/tests/containerizer/ns_tests.cpp
+++ b/src/tests/containerizer/ns_tests.cpp
@@ -16,11 +16,9 @@
#include <sys/wait.h>
-#include <iostream>
-
#include <unistd.h>
-#include <list>
+#include <iostream>
#include <set>
#include <thread>
#include <vector>
@@ -33,7 +31,6 @@
#include <process/gtest.hpp>
#include <process/latch.hpp>
-#include <process/owned.hpp>
#include <process/subprocess.hpp>
#include "linux/ns.hpp"
@@ -45,7 +42,6 @@
using namespace process;
-using std::list;
using std::set;
using std::string;
using std::vector;
http://git-wip-us.apache.org/repos/asf/mesos/blob/3302bc12/src/tests/http_authentication_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/http_authentication_tests.cpp b/src/tests/http_authentication_tests.cpp
index 6140819..e73f21f 100644
--- a/src/tests/http_authentication_tests.cpp
+++ b/src/tests/http_authentication_tests.cpp
@@ -27,8 +27,6 @@
#include <process/http.hpp>
#include <stout/base64.hpp>
-#include <stout/hashmap.hpp>
-#include <stout/hashset.hpp>
#include "tests/mesos.hpp"
#include "tests/module.hpp"
http://git-wip-us.apache.org/repos/asf/mesos/blob/3302bc12/src/tests/persistent_volume_endpoints_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/persistent_volume_endpoints_tests.cpp b/src/tests/persistent_volume_endpoints_tests.cpp
index d040630..da5e6eb 100644
--- a/src/tests/persistent_volume_endpoints_tests.cpp
+++ b/src/tests/persistent_volume_endpoints_tests.cpp
@@ -29,8 +29,6 @@
#include <process/owned.hpp>
#include <process/pid.hpp>
-#include <stout/base64.hpp>
-#include <stout/hashmap.hpp>
#include <stout/option.hpp>
#include "master/constants.hpp"
http://git-wip-us.apache.org/repos/asf/mesos/blob/3302bc12/src/tests/persistent_volume_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/persistent_volume_tests.cpp b/src/tests/persistent_volume_tests.cpp
index ddafc71..547ea88 100644
--- a/src/tests/persistent_volume_tests.cpp
+++ b/src/tests/persistent_volume_tests.cpp
@@ -30,7 +30,6 @@
#include <stout/foreach.hpp>
#include <stout/format.hpp>
#include <stout/fs.hpp>
-#include <stout/hashset.hpp>
#include <stout/path.hpp>
#include <stout/strings.hpp>
http://git-wip-us.apache.org/repos/asf/mesos/blob/3302bc12/src/tests/reservation_endpoints_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/reservation_endpoints_tests.cpp b/src/tests/reservation_endpoints_tests.cpp
index 028e28c..95a8f3e 100644
--- a/src/tests/reservation_endpoints_tests.cpp
+++ b/src/tests/reservation_endpoints_tests.cpp
@@ -29,8 +29,6 @@
#include <process/owned.hpp>
#include <process/pid.hpp>
-#include <stout/base64.hpp>
-#include <stout/hashmap.hpp>
#include <stout/option.hpp>
#include "master/flags.hpp"
http://git-wip-us.apache.org/repos/asf/mesos/blob/3302bc12/src/tests/teardown_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/teardown_tests.cpp b/src/tests/teardown_tests.cpp
index a5f40f9..0babf8c 100644
--- a/src/tests/teardown_tests.cpp
+++ b/src/tests/teardown_tests.cpp
@@ -25,7 +25,6 @@
#include <process/owned.hpp>
#include <process/pid.hpp>
-#include <stout/hashmap.hpp>
#include <stout/option.hpp>
#include "master/flags.hpp"