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:12:09 UTC
mesos git commit: Consistent capitalization in mesos test names.
Repository: mesos
Updated Branches:
refs/heads/master 2ef849a7c -> 5289c5125
Consistent capitalization in mesos test names.
Review: https://reviews.apache.org/r/35697
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5289c512
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5289c512
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/5289c512
Branch: refs/heads/master
Commit: 5289c5125d20873083b8c97124d5c185efcbc6b4
Parents: 2ef849a
Author: Michael Park <mc...@gmail.com>
Authored: Mon Jun 22 13:09:57 2015 -0700
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Mon Jun 22 13:09:58 2015 -0700
----------------------------------------------------------------------
src/tests/cram_md5_authentication_tests.cpp | 6 +++---
src/tests/credentials_tests.cpp | 4 ++--
src/tests/registrar_tests.cpp | 18 +++++++++---------
3 files changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/5289c512/src/tests/cram_md5_authentication_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/cram_md5_authentication_tests.cpp b/src/tests/cram_md5_authentication_tests.cpp
index 9d15b55..0a03846 100644
--- a/src/tests/cram_md5_authentication_tests.cpp
+++ b/src/tests/cram_md5_authentication_tests.cpp
@@ -78,7 +78,7 @@ typedef ::testing::Types<
TYPED_TEST_CASE(CRAMMD5Authentication, AuthenticationTypes);
-TYPED_TEST(CRAMMD5Authentication, success)
+TYPED_TEST(CRAMMD5Authentication, Success)
{
// Launch a dummy process (somebody to send the AuthenticateMessage).
UPID pid = spawn(new ProcessBase(), true);
@@ -123,7 +123,7 @@ TYPED_TEST(CRAMMD5Authentication, success)
// Bad password should return an authentication failure.
-TYPED_TEST(CRAMMD5Authentication, failed1)
+TYPED_TEST(CRAMMD5Authentication, Failed1)
{
// Launch a dummy process (somebody to send the AuthenticateMessage).
UPID pid = spawn(new ProcessBase(), true);
@@ -168,7 +168,7 @@ TYPED_TEST(CRAMMD5Authentication, failed1)
// No user should return an authentication failure.
-TYPED_TEST(CRAMMD5Authentication, failed2)
+TYPED_TEST(CRAMMD5Authentication, Failed2)
{
// Launch a dummy process (somebody to send the AuthenticateMessage).
UPID pid = spawn(new ProcessBase(), true);
http://git-wip-us.apache.org/repos/asf/mesos/blob/5289c512/src/tests/credentials_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/credentials_tests.cpp b/src/tests/credentials_tests.cpp
index ed67273..ced27c4 100644
--- a/src/tests/credentials_tests.cpp
+++ b/src/tests/credentials_tests.cpp
@@ -50,7 +50,7 @@ class CredentialsTest : public MesosTest {};
// This test verifies that an authenticated slave is
// granted registration by the master.
-TEST_F(CredentialsTest, authenticatedSlave)
+TEST_F(CredentialsTest, AuthenticatedSlave)
{
Try<PID<Master> > master = StartMaster();
ASSERT_SOME(master);
@@ -71,7 +71,7 @@ TEST_F(CredentialsTest, authenticatedSlave)
// Test verifing well executed credential authentication
// using text formatted credentials so as to test
// backwards compatibility.
-TEST_F(CredentialsTest, authenticatedSlaveText)
+TEST_F(CredentialsTest, AuthenticatedSlaveText)
{
master::Flags flags = CreateMasterFlags();
http://git-wip-us.apache.org/repos/asf/mesos/blob/5289c512/src/tests/registrar_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/registrar_tests.cpp b/src/tests/registrar_tests.cpp
index 97d0b68..032e644 100644
--- a/src/tests/registrar_tests.cpp
+++ b/src/tests/registrar_tests.cpp
@@ -180,7 +180,7 @@ protected:
INSTANTIATE_TEST_CASE_P(Strict, RegistrarTest, ::testing::Bool());
-TEST_P(RegistrarTest, recover)
+TEST_P(RegistrarTest, Recover)
{
Registrar registrar(flags, state);
@@ -212,7 +212,7 @@ TEST_P(RegistrarTest, recover)
}
-TEST_P(RegistrarTest, admit)
+TEST_P(RegistrarTest, Admit)
{
Registrar registrar(flags, state);
AWAIT_READY(registrar.recover(master));
@@ -227,7 +227,7 @@ TEST_P(RegistrarTest, admit)
}
-TEST_P(RegistrarTest, readmit)
+TEST_P(RegistrarTest, Readmit)
{
Registrar registrar(flags, state);
AWAIT_READY(registrar.recover(master));
@@ -258,7 +258,7 @@ TEST_P(RegistrarTest, readmit)
}
-TEST_P(RegistrarTest, remove)
+TEST_P(RegistrarTest, Remove)
{
Registrar registrar(flags, state);
AWAIT_READY(registrar.recover(master));
@@ -316,7 +316,7 @@ TEST_P(RegistrarTest, remove)
}
-TEST_P(RegistrarTest, bootstrap)
+TEST_P(RegistrarTest, Bootstrap)
{
// Run 1 readmits a slave that is not present.
{
@@ -361,7 +361,7 @@ public:
};
-TEST_P(RegistrarTest, fetchTimeout)
+TEST_P(RegistrarTest, FetchTimeout)
{
Clock::pause();
@@ -390,7 +390,7 @@ TEST_P(RegistrarTest, fetchTimeout)
}
-TEST_P(RegistrarTest, storeTimeout)
+TEST_P(RegistrarTest, StoreTimeout)
{
Clock::pause();
@@ -422,7 +422,7 @@ TEST_P(RegistrarTest, storeTimeout)
}
-TEST_P(RegistrarTest, abort)
+TEST_P(RegistrarTest, Abort)
{
MockStorage storage;
State state(&storage);
@@ -459,7 +459,7 @@ INSTANTIATE_TEST_CASE_P(
::testing::Values(10000U, 20000U, 30000U, 50000U));
-TEST_P(Registrar_BENCHMARK_Test, performance)
+TEST_P(Registrar_BENCHMARK_Test, Performance)
{
Registrar registrar(flags, state);
AWAIT_READY(registrar.recover(master));