Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Issue 10527004: Make dns_fuzz_stub read and parse JSON test case (Closed)

Created:
8 years, 6 months ago by Deprecated (see juliatuttle)
Modified:
8 years, 6 months ago
Reviewers:
cbentzel, szym
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

Make dns_fuzz_stub read and parse JSON test case BUG=130751 TEST=Adhoc; converted sample test case to JSON, and stub still works Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141244

Patch Set 1 #

Total comments: 11

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Print #EOF when DNS fuzz stub succeeds #

Patch Set 4 : sigh. that was for a different issue. #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M net/tools/dns_fuzz_stub/dns_fuzz_stub.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Deprecated (see juliatuttle)
8 years, 6 months ago (2012-06-04 20:03:36 UTC) #1
szym
https://chromiumcodereview.appspot.com/10527004/diff/1/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc File net/tools/dns_fuzz_stub/dns_fuzz_stub.cc (right): https://chromiumcodereview.appspot.com/10527004/diff/1/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc#newcode15 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc:15: #include "base/memory/scoped_ptr.h" fix ordering https://chromiumcodereview.appspot.com/10527004/diff/1/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc#newcode89 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc:89: resp_buf->push_back(static_cast<char>(byte_int)); The behavior ...
8 years, 6 months ago (2012-06-04 20:26:24 UTC) #2
szym
https://chromiumcodereview.appspot.com/10527004/diff/1/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc File net/tools/dns_fuzz_stub/dns_fuzz_stub.cc (right): https://chromiumcodereview.appspot.com/10527004/diff/1/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc#newcode89 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc:89: resp_buf->push_back(static_cast<char>(byte_int)); On 2012/06/04 20:26:24, szym wrote: > The behavior ...
8 years, 6 months ago (2012-06-04 20:32:17 UTC) #3
cbentzel
http://codereview.chromium.org/10527004/diff/1/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc File net/tools/dns_fuzz_stub/dns_fuzz_stub.cc (right): http://codereview.chromium.org/10527004/diff/1/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc#newcode45 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc:45: Value* value = base::JSONReader::Read(json); Use a scoped_ptr here for ...
8 years, 6 months ago (2012-06-04 23:49:23 UTC) #4
Deprecated (see juliatuttle)
PTAL. https://chromiumcodereview.appspot.com/10527004/diff/1/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc File net/tools/dns_fuzz_stub/dns_fuzz_stub.cc (right): https://chromiumcodereview.appspot.com/10527004/diff/1/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc#newcode15 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc:15: #include "base/memory/scoped_ptr.h" On 2012/06/04 20:26:24, szym wrote: > ...
8 years, 6 months ago (2012-06-05 20:18:10 UTC) #5
szym
lgtm
8 years, 6 months ago (2012-06-05 21:26:47 UTC) #6
cbentzel
https://chromiumcodereview.appspot.com/10527004/diff/7001/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc File net/tools/dns_fuzz_stub/dns_fuzz_stub.cc (right): https://chromiumcodereview.appspot.com/10527004/diff/7001/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc#newcode58 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc:58: if (!dict->GetInteger("id", &id_int)) { Nit: You could write a ...
8 years, 6 months ago (2012-06-06 14:50:56 UTC) #7
szym
https://chromiumcodereview.appspot.com/10527004/diff/7001/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc File net/tools/dns_fuzz_stub/dns_fuzz_stub.cc (right): https://chromiumcodereview.appspot.com/10527004/diff/7001/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc#newcode68 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc:68: if (!dict->GetStringASCII("qname", qname)) { On 2012/06/06 14:50:56, cbentzel wrote: ...
8 years, 6 months ago (2012-06-06 14:53:57 UTC) #8
cbentzel
LGTM https://chromiumcodereview.appspot.com/10527004/diff/7001/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc File net/tools/dns_fuzz_stub/dns_fuzz_stub.cc (right): https://chromiumcodereview.appspot.com/10527004/diff/7001/net/tools/dns_fuzz_stub/dns_fuzz_stub.cc#newcode103 net/tools/dns_fuzz_stub/dns_fuzz_stub.cc:103: resp_buf->push_back(static_cast<char>(resp_byte_int)); On 2012/06/06 14:53:57, szym wrote: > On ...
8 years, 6 months ago (2012-06-06 17:11:17 UTC) #9
Deprecated (see juliatuttle)
Am I good to commit this?
8 years, 6 months ago (2012-06-07 02:02:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ttuttle@chromium.org/10527004/7001
8 years, 6 months ago (2012-06-07 18:58:50 UTC) #11
commit-bot: I haz the power
Try job failure for 10527004-7001 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-07 21:13:17 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ttuttle@chromium.org/10527004/7001
8 years, 6 months ago (2012-06-07 21:21:03 UTC) #13
commit-bot: I haz the power
Try job failure for 10527004-7001 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-07 22:42:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ttuttle@chromium.org/10527004/7001
8 years, 6 months ago (2012-06-08 17:29:12 UTC) #15
commit-bot: I haz the power
8 years, 6 months ago (2012-06-08 18:31:24 UTC) #16
Change committed as 141244

Powered by Google App Engine
This is Rietveld 408576698