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

Side by Side Diff: net/http/http_status_code_unittest.cc

Issue 16622002: Generate constants for HTTP status codes and reason phrases using macro. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed stale comment Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "net/http/http_status_code.h"
6
7 #include "testing/gtest/include/gtest/gtest.h"
8
9 namespace net {
10
11 namespace {
12
13 TEST(HttpStatusCode, OK) {
14 EXPECT_EQ(200, HTTP_OK);
15 EXPECT_STREQ("OK", GetHttpReasonPhrase(HTTP_OK));
16 }
17
18 } // namespace
19
20 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698