summaryrefslogtreecommitdiff
path: root/src/mongo/idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/idl')
-rw-r--r--src/mongo/idl/unittest.idl10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mongo/idl/unittest.idl b/src/mongo/idl/unittest.idl
index 1f1af1ceb24..b53ea3e28ca 100644
--- a/src/mongo/idl/unittest.idl
+++ b/src/mongo/idl/unittest.idl
@@ -1042,6 +1042,16 @@ commands:
api_version: "1"
reply_type: OkReply
+ # Test whether the C++ code for a command with alias name is currently generated.
+ APIVersion1CommandWithAlias:
+ description: A versioned API command with alias
+ command_name: NewCommandName
+ command_alias: OldCommandName
+ namespace: ignored
+ strict: true
+ api_version: "1"
+ reply_type: OkReply
+
##################################################################################################
#
# Test field lists