> On Aug. 26, 2015, 6:33 a.m., Jie Yu wrote: > > src/tests/reservation_endpoints_tests.cpp, line 109 > > <https://reviews.apache.org/r/35984/diff/4/?file=1032440#file1032440line109> > > > > Are we allowed to use cxx11 raw string literals now? This is definitely > > better!
I found out there are `operator<<` for `JSON::Object` and `JSON::Array`, I think converting `Resources` to `JSON::Array` and invoking `stringify` on it is the right way to do this. - Michael ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35984/#review96503 ----------------------------------------------------------- On Sept. 9, 2015, 10:12 p.m., Michael Park wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/35984/ > ----------------------------------------------------------- > > (Updated Sept. 9, 2015, 10:12 p.m.) > > > Review request for mesos, Adam B, Benjamin Hindman, Ben Mahler, Jie Yu, Joris > Van Remoortere, and Vinod Kone. > > > Bugs: MESOS-2600 > https://issues.apache.org/jira/browse/MESOS-2600 > > > Repository: mesos > > > Description > ------- > > See summary > > > Diffs > ----- > > src/Makefile.am 5fdca0f574e7e08c4b1aebed0fac39140c19adfe > src/tests/reservation_endpoints_tests.cpp PRE-CREATION > > Diff: https://reviews.apache.org/r/35984/diff/ > > > Testing > ------- > > (1) Added `src/tests/reservation_endpoints_tests.cpp` > (2) `make check` > > > Thanks, > > Michael Park > >
