You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2016/03/10 19:11:56 UTC

mesos git commit: Add indent to comments in `protobuf_tests.cpp`.

Repository: mesos
Updated Branches:
  refs/heads/master 51d6e7fa8 -> 628b48e10


Add indent to comments in `protobuf_tests.cpp`.

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


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

Branch: refs/heads/master
Commit: 628b48e1061143b41d33f5c6faa1f809051ebffd
Parents: 51d6e7f
Author: Klaus Ma <kl...@gmail.com>
Authored: Thu Mar 10 13:05:39 2016 -0500
Committer: Michael Park <mp...@apache.org>
Committed: Thu Mar 10 13:05:39 2016 -0500

----------------------------------------------------------------------
 .../3rdparty/stout/tests/protobuf_tests.cpp     | 29 ++++++++++----------
 1 file changed, 15 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/628b48e1/3rdparty/libprocess/3rdparty/stout/tests/protobuf_tests.cpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/tests/protobuf_tests.cpp b/3rdparty/libprocess/3rdparty/stout/tests/protobuf_tests.cpp
index 932007b..8877e89 100644
--- a/3rdparty/libprocess/3rdparty/stout/tests/protobuf_tests.cpp
+++ b/3rdparty/libprocess/3rdparty/stout/tests/protobuf_tests.cpp
@@ -87,20 +87,21 @@ TEST(ProtobufTest, JSON)
 
   // TODO(bmahler): To dynamically generate a protobuf message,
   // see the commented-out code below.
-//  DescriptorProto proto;
-//
-//  proto.set_name("Message");
-//
-//  FieldDescriptorProto* field = proto.add_field();
-//  field->set_name("str");
-//  field->set_type(FieldDescriptorProto::TYPE_STRING);
-//
-//  const Descriptor* descriptor = proto.descriptor();
-//
-//  DynamicMessageFactory factory;
-//  Message* message = factory.GetPrototype(descriptor);
-//
-//  Reflection* message.getReflection();
+  //
+  //  DescriptorProto proto;
+  //
+  //  proto.set_name("Message");
+  //
+  //  FieldDescriptorProto* field = proto.add_field();
+  //  field->set_name("str");
+  //  field->set_type(FieldDescriptorProto::TYPE_STRING);
+  //
+  //  const Descriptor* descriptor = proto.descriptor();
+  //
+  //  DynamicMessageFactory factory;
+  //  Message* message = factory.GetPrototype(descriptor);
+  //
+  //  Reflection* message.getReflection();
 
   // The keys are in alphabetical order.
   string expected = strings::remove(