You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2015/06/22 22:13:59 UTC

mesos git commit: Consistent capitalization in stout test names.

Repository: mesos
Updated Branches:
  refs/heads/master 5289c5125 -> 64d2560b8


Consistent capitalization in stout test names.

Review: https://reviews.apache.org/r/35695


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/64d2560b
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/64d2560b
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/64d2560b

Branch: refs/heads/master
Commit: 64d2560b89aad94cf4e8de2f354ec67c315f7f7a
Parents: 5289c51
Author: Michael Park <mc...@gmail.com>
Authored: Mon Jun 22 13:13:17 2015 -0700
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Mon Jun 22 13:13:18 2015 -0700

----------------------------------------------------------------------
 .../3rdparty/stout/tests/json_tests.cpp         |  2 +-
 .../3rdparty/stout/tests/mac_tests.cpp          |  2 +-
 .../3rdparty/stout/tests/os/sendfile_tests.cpp  |  2 +-
 .../3rdparty/stout/tests/os/signals_tests.cpp   |  2 +-
 .../3rdparty/stout/tests/os_tests.cpp           | 46 ++++++++++----------
 .../3rdparty/stout/tests/proc_tests.cpp         |  4 +-
 .../3rdparty/stout/tests/thread_tests.cpp       |  2 +-
 .../3rdparty/stout/tests/uuid_tests.cpp         |  2 +-
 8 files changed, 31 insertions(+), 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/64d2560b/3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp
index 60c0336..5ade9bd 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/json_tests.cpp
@@ -148,7 +148,7 @@ TEST(JsonTest, NumericAssignment)
 }
 
 
-TEST(JsonTest, parse)
+TEST(JsonTest, Parse)
 {
   JSON::Object object;
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/64d2560b/3rdparty/libprocess/3rdparty/stout/tests/mac_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/mac_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/mac_tests.cpp
index 4dbe4ba..b80fff9 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/mac_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/mac_tests.cpp
@@ -18,7 +18,7 @@ using std::string;
 using std::vector;
 
 
-TEST(NetTest, mac)
+TEST(NetTest, Mac)
 {
   Try<set<string> > links = net::links();
   ASSERT_SOME(links);

http://git-wip-us.apache.org/repos/asf/mesos/blob/64d2560b/3rdparty/libprocess/3rdparty/stout/tests/os/sendfile_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/os/sendfile_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/os/sendfile_tests.cpp
index f2386d5..3d1b966 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/os/sendfile_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/os/sendfile_tests.cpp
@@ -38,7 +38,7 @@ protected:
 };
 
 
-TEST_F(OsSendfileTest, sendfile)
+TEST_F(OsSendfileTest, Sendfile)
 {
   Try<int> fd = os::open(filename, O_RDONLY | O_CLOEXEC);
   ASSERT_SOME(fd);

http://git-wip-us.apache.org/repos/asf/mesos/blob/64d2560b/3rdparty/libprocess/3rdparty/stout/tests/os/signals_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/os/signals_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/os/signals_tests.cpp
index ad79a16..d07b95c 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/os/signals_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/os/signals_tests.cpp
@@ -13,7 +13,7 @@ using std::string;
 class OsSignalsTest : public ::testing::Test {};
 
 
-TEST_F(OsSignalsTest, suppress)
+TEST_F(OsSignalsTest, Suppress)
 {
   int pipes[2];
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/64d2560b/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
index 62987e0..ea797ed 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/os_tests.cpp
@@ -60,7 +60,7 @@ static hashset<string> listfiles(const string& directory)
 class OsTest : public TemporaryDirectoryTest {};
 
 
-TEST_F(OsTest, environment)
+TEST_F(OsTest, Environment)
 {
   // Make sure the environment has some entries with '=' in the value.
   os::setenv("SOME_SPECIAL_FLAG", "--flag=foobar");
@@ -83,7 +83,7 @@ TEST_F(OsTest, environment)
 }
 
 
-TEST_F(OsTest, rmdir)
+TEST_F(OsTest, Rmdir)
 {
   const hashset<string> EMPTY;
   const string tmpdir = os::getcwd();
@@ -121,7 +121,7 @@ TEST_F(OsTest, rmdir)
 }
 
 
-TEST_F(OsTest, system)
+TEST_F(OsTest, System)
 {
   EXPECT_EQ(0, os::system("exit 0"));
   EXPECT_EQ(0, os::system("sleep 0"));
@@ -134,7 +134,7 @@ TEST_F(OsTest, system)
 }
 
 
-TEST_F(OsTest, cloexec)
+TEST_F(OsTest, Cloexec)
 {
   Try<int> fd = os::open(
       "cloexec",
@@ -158,7 +158,7 @@ TEST_F(OsTest, cloexec)
 }
 
 
-TEST_F(OsTest, nonblock)
+TEST_F(OsTest, Nonblock)
 {
   int pipes[2];
   ASSERT_NE(-1, pipe(pipes));
@@ -183,7 +183,7 @@ TEST_F(OsTest, nonblock)
 }
 
 
-TEST_F(OsTest, touch)
+TEST_F(OsTest, Touch)
 {
   const string testfile  = path::join(os::getcwd(), UUID::random().toString());
 
@@ -192,7 +192,7 @@ TEST_F(OsTest, touch)
 }
 
 
-TEST_F(OsTest, readWriteString)
+TEST_F(OsTest, ReadWriteString)
 {
   const string testfile  = path::join(os::getcwd(), UUID::random().toString());
   const string teststr = "line1\nline2";
@@ -210,7 +210,7 @@ TEST_F(OsTest, readWriteString)
 // Tests all four combinations of following a link or not and of a file
 // or a link as argument. Also tests that an error is returned for a
 // non-existing file.
-TEST_F(OsTest, size)
+TEST_F(OsTest, Size)
 {
   const string& file = path::join(os::getcwd(), UUID::random().toString());
 
@@ -238,7 +238,7 @@ TEST_F(OsTest, size)
 }
 
 
-TEST_F(OsTest, find)
+TEST_F(OsTest, Find)
 {
   const string testdir = path::join(os::getcwd(), UUID::random().toString());
   const string subdir = testdir + "/test1";
@@ -268,7 +268,7 @@ TEST_F(OsTest, find)
 }
 
 
-TEST_F(OsTest, bootId)
+TEST_F(OsTest, BootId)
 {
   Try<string> bootId = os::bootId();
   ASSERT_SOME(bootId);
@@ -292,7 +292,7 @@ TEST_F(OsTest, bootId)
 }
 
 
-TEST_F(OsTest, uname)
+TEST_F(OsTest, Uname)
 {
   const Try<os::UTSInfo> info = os::uname();
 
@@ -306,7 +306,7 @@ TEST_F(OsTest, uname)
 }
 
 
-TEST_F(OsTest, sysname)
+TEST_F(OsTest, Sysname)
 {
   const Try<string> name = os::sysname();
 
@@ -320,7 +320,7 @@ TEST_F(OsTest, sysname)
 }
 
 
-TEST_F(OsTest, release)
+TEST_F(OsTest, Release)
 {
   const Try<Version> info = os::release();
 
@@ -328,7 +328,7 @@ TEST_F(OsTest, release)
 }
 
 
-TEST_F(OsTest, sleep)
+TEST_F(OsTest, Sleep)
 {
   Duration duration = Milliseconds(10);
   Stopwatch stopwatch;
@@ -341,7 +341,7 @@ TEST_F(OsTest, sleep)
 
 
 #ifdef __APPLE__
-TEST_F(OsTest, sysctl)
+TEST_F(OsTest, Sysctl)
 {
   // String test.
   Try<os::UTSInfo> uname = os::uname();
@@ -390,7 +390,7 @@ TEST_F(OsTest, sysctl)
 #endif // __APPLE__
 
 
-TEST_F(OsTest, pids)
+TEST_F(OsTest, Pids)
 {
   Try<set<pid_t> > pids = os::pids();
   ASSERT_SOME(pids);
@@ -414,7 +414,7 @@ TEST_F(OsTest, pids)
 }
 
 
-TEST_F(OsTest, children)
+TEST_F(OsTest, Children)
 {
   Try<set<pid_t> > children = os::children(getpid());
 
@@ -464,7 +464,7 @@ TEST_F(OsTest, children)
 }
 
 
-TEST_F(OsTest, process)
+TEST_F(OsTest, Process)
 {
   const Result<Process> process = os::process(getpid());
 
@@ -488,7 +488,7 @@ TEST_F(OsTest, process)
 }
 
 
-TEST_F(OsTest, processes)
+TEST_F(OsTest, Processes)
 {
   const Try<list<Process>> processes = os::processes();
 
@@ -533,7 +533,7 @@ void dosetsid(void)
 }
 
 
-TEST_F(OsTest, killtree)
+TEST_F(OsTest, Killtree)
 {
   Try<ProcessTree> tree =
     Fork(dosetsid,                         // Child.
@@ -656,7 +656,7 @@ TEST_F(OsTest, killtree)
 }
 
 
-TEST_F(OsTest, killtreeNoRoot)
+TEST_F(OsTest, KilltreeNoRoot)
 {
   Try<ProcessTree> tree =
     Fork(dosetsid,        // Child.
@@ -765,7 +765,7 @@ TEST_F(OsTest, killtreeNoRoot)
 }
 
 
-TEST_F(OsTest, pstree)
+TEST_F(OsTest, Pstree)
 {
   Try<ProcessTree> tree = os::pstree(getpid());
 
@@ -865,7 +865,7 @@ TEST_F(OsTest, ProcessExists)
 }
 
 
-TEST_F(OsTest, user)
+TEST_F(OsTest, User)
 {
   std::ostringstream user_;
   EXPECT_SOME_EQ(0, os::shell(&user_ , "id -un"));

http://git-wip-us.apache.org/repos/asf/mesos/blob/64d2560b/3rdparty/libprocess/3rdparty/stout/tests/proc_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/proc_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/proc_tests.cpp
index d3c9aed..60a94ab 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/proc_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/proc_tests.cpp
@@ -22,7 +22,7 @@ using std::set;
 using std::string;
 
 
-TEST(ProcTest, pids)
+TEST(ProcTest, Pids)
 {
   Try<set<pid_t> > pids = proc::pids();
 
@@ -33,7 +33,7 @@ TEST(ProcTest, pids)
 }
 
 
-TEST(ProcTest, cpus)
+TEST(ProcTest, Cpus)
 {
   Try<std::list<CPU> > cpus = proc::cpus();
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/64d2560b/3rdparty/libprocess/3rdparty/stout/tests/thread_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/thread_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/thread_tests.cpp
index 7519b12..b37d7f4 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/thread_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/thread_tests.cpp
@@ -4,7 +4,7 @@
 
 #include <stout/thread.hpp>
 
-TEST(Thread, local)
+TEST(Thread, Local)
 {
   ThreadLocal<std::string>* _s_ = new ThreadLocal<std::string>();
 

http://git-wip-us.apache.org/repos/asf/mesos/blob/64d2560b/3rdparty/libprocess/3rdparty/stout/tests/uuid_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/uuid_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/uuid_tests.cpp
index ad1d986..bcf7252 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/uuid_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/uuid_tests.cpp
@@ -9,7 +9,7 @@
 using std::string;
 
 
-TEST(UUIDTest, test)
+TEST(UUIDTest, Test)
 {
   UUID uuid1 = UUID::random();
   UUID uuid2 = UUID::fromBytes(uuid1.toBytes());