summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shell_options_test.cpp
diff options
context:
space:
mode:
authorAndreas Nilsson <andreas.nilsson@10gen.com>2013-11-13 10:54:50 +0000
committerAndreas Nilsson <andreas.nilsson@10gen.com>2013-11-13 16:16:12 +0000
commit0be500e771b210650741d5b5783896d4dff2679a (patch)
tree30191c967995a4e348116e3ee80d6fb9143a1205 /src/mongo/shell/shell_options_test.cpp
parentd82aeea13e826352932cbfa10c683529e53208bd (diff)
downloadmongo-0be500e771b210650741d5b5783896d4dff2679a.tar.gz
SERVER-10330 Fixed build failure on enterprise builds
Diffstat (limited to 'src/mongo/shell/shell_options_test.cpp')
-rw-r--r--src/mongo/shell/shell_options_test.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mongo/shell/shell_options_test.cpp b/src/mongo/shell/shell_options_test.cpp
index 628fa5f5df6..d1e17e64342 100644
--- a/src/mongo/shell/shell_options_test.cpp
+++ b/src/mongo/shell/shell_options_test.cpp
@@ -341,6 +341,18 @@ namespace {
ASSERT_EQUALS(iterator->_positionalStart, -1);
ASSERT_EQUALS(iterator->_positionalEnd, -1);
}
+ else if (iterator->_dottedName == "ssl.allowInvalidCertificates") {
+ ASSERT_EQUALS(iterator->_singleName, "sslAllowInvalidCertificates");
+ ASSERT_EQUALS(iterator->_type, moe::Switch);
+ ASSERT_EQUALS(iterator->_description, "allow connections to servers with invalid certificates");
+ ASSERT_EQUALS(iterator->_isVisible, true);
+ ASSERT_TRUE(iterator->_default.isEmpty());
+ ASSERT_TRUE(iterator->_implicit.isEmpty());
+ ASSERT_EQUALS(iterator->_isComposing, false);
+ ASSERT_EQUALS(iterator->_sources, moe::SourceAll);
+ ASSERT_EQUALS(iterator->_positionalStart, -1);
+ ASSERT_EQUALS(iterator->_positionalEnd, -1);
+ }
else if (iterator->_dottedName == "ssl.FIPSMode") {
ASSERT_EQUALS(iterator->_singleName, "sslFIPSMode");
ASSERT_EQUALS(iterator->_type, moe::Switch);