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

Side by Side Diff: ppapi/tests/test_websocket.cc

Issue 8764004: Add DEPS include rules so we don't accidentally use base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move OS-specific macros to ppapi/tests/test_utils.h Created 9 years 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
« ppapi/cpp/trusted/DEPS ('K') | « ppapi/tests/test_var_deprecated.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ppapi/tests/test_websocket.h" 5 #include "ppapi/tests/test_websocket.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include "base/logging.h"
10 #include "ppapi/c/dev/ppb_websocket_dev.h" 9 #include "ppapi/c/dev/ppb_websocket_dev.h"
11 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
12 #include "ppapi/c/pp_var.h" 11 #include "ppapi/c/pp_var.h"
13 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
14 #include "ppapi/c/ppb_core.h" 13 #include "ppapi/c/ppb_core.h"
15 #include "ppapi/c/ppb_var.h" 14 #include "ppapi/c/ppb_var.h"
16 #include "ppapi/cpp/instance.h" 15 #include "ppapi/cpp/instance.h"
17 #include "ppapi/cpp/module.h" 16 #include "ppapi/cpp/module.h"
18 #include "ppapi/tests/test_utils.h" 17 #include "ppapi/tests/test_utils.h"
19 #include "ppapi/tests/testing_instance.h" 18 #include "ppapi/tests/testing_instance.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 result = callback.WaitForResult(); 190 result = callback.WaitForResult();
192 ASSERT_EQ(PP_OK, result); 191 ASSERT_EQ(PP_OK, result);
193 ASSERT_TRUE(AreEqual(received_message, message)); 192 ASSERT_TRUE(AreEqual(received_message, message));
194 ReleaseVar(received_message); 193 ReleaseVar(received_message);
195 core_interface_->ReleaseResource(ws); 194 core_interface_->ReleaseResource(ws);
196 195
197 PASS(); 196 PASS();
198 } 197 }
199 198
200 // TODO(toyoshim): Add other function tests. 199 // TODO(toyoshim): Add other function tests.
OLDNEW
« ppapi/cpp/trusted/DEPS ('K') | « ppapi/tests/test_var_deprecated.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698