@@ -429,7 +429,7 @@ class BaseCtrlChannelD2Test : public ::testing::Test {
429
429
void testShutdownExitValue ();
430
430
431
431
// This test verifies that the D2 server handles version-get commands.
432
- void testGetversion ();
432
+ void testGetVersion ();
433
433
434
434
// Tests that the server properly responds to list-commands command.
435
435
void testListCommands ();
@@ -688,6 +688,8 @@ TEST_F(HttpsCtrlChannelD2Test, shutdown) {
688
688
testShutdown ();
689
689
}
690
690
691
+ // Tests that the server sets exit value supplied as argument
692
+ // to shutdown command.
691
693
void
692
694
BaseCtrlChannelD2Test::testShutdownExitValue () {
693
695
EXPECT_NO_THROW (createHttpChannelServer ());
@@ -703,21 +705,17 @@ BaseCtrlChannelD2Test::testShutdownExitValue() {
703
705
EXPECT_EQ (77 , server_->getExitValue ());
704
706
}
705
707
706
- // Tests that the server sets exit value supplied as argument
707
- // to shutdown command.
708
708
TEST_F (HttpCtrlChannelD2Test, shutdownExitValue) {
709
709
testShutdownExitValue ();
710
710
}
711
711
712
- // Tests that the server sets exit value supplied as argument
713
- // to shutdown command.
714
712
TEST_F (HttpsCtrlChannelD2Test, shutdownExitValue) {
715
713
testShutdownExitValue ();
716
714
}
717
715
718
716
// This test verifies that the D2 server handles version-get commands.
719
717
void
720
- BaseCtrlChannelD2Test::testGetversion () {
718
+ BaseCtrlChannelD2Test::testGetVersion () {
721
719
EXPECT_NO_THROW (createHttpChannelServer ());
722
720
string response;
723
721
@@ -733,12 +731,12 @@ BaseCtrlChannelD2Test::testGetversion() {
733
731
EXPECT_TRUE (response.find (" GTEST_VERSION" ) != string::npos);
734
732
}
735
733
736
- TEST_F (HttpCtrlChannelD2Test, getversion ) {
737
- testGetversion ();
734
+ TEST_F (HttpCtrlChannelD2Test, getVersion ) {
735
+ testGetVersion ();
738
736
}
739
737
740
- TEST_F (HttpsCtrlChannelD2Test, getversion ) {
741
- testGetversion ();
738
+ TEST_F (HttpsCtrlChannelD2Test, getVersion ) {
739
+ testGetVersion ();
742
740
}
743
741
744
742
// Tests that the server properly responds to list-commands command.
@@ -1728,7 +1726,7 @@ BaseCtrlChannelD2Test::testLongCommand() {
1728
1726
1729
1727
ostringstream command;
1730
1728
1731
- // This is the desired size of the command sent to the server (MB ).
1729
+ // This is the desired size of the command sent to the server (1MB ).
1732
1730
// The actual size sent will be slightly greater than that.
1733
1731
const size_t command_size = 1024 * 1000 ;
1734
1732
@@ -1842,4 +1840,4 @@ TEST_F(HttpsCtrlChannelD2Test, connectionTimeoutNoData) {
1842
1840
testConnectionTimeoutNoData ();
1843
1841
}
1844
1842
1845
- } // End of anonymous namespace
1843
+ } // end of anonymous namespace
0 commit comments