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

Side by Side Diff: ppapi/tests/test_case.h

Issue 1161563002: Remove unused in-process pepper APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « ppapi/tests/all_cpp_includes.h ('k') | ppapi/tests/test_scrollbar.h » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef PPAPI_TESTS_TEST_CASE_H_ 5 #ifndef PPAPI_TESTS_TEST_CASE_H_
6 #define PPAPI_TESTS_TEST_CASE_H_ 6 #define PPAPI_TESTS_TEST_CASE_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <limits> 9 #include <limits>
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 #include <sstream> 12 #include <sstream>
13 #include <string> 13 #include <string>
14 14
15 #include "ppapi/c/pp_resource.h" 15 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/c/pp_time.h" 16 #include "ppapi/c/pp_time.h"
17 #include "ppapi/c/private/ppb_testing_private.h" 17 #include "ppapi/c/private/ppb_testing_private.h"
18 #include "ppapi/cpp/dev/scrollbar_dev.h"
19 #include "ppapi/cpp/message_loop.h" 18 #include "ppapi/cpp/message_loop.h"
20 #include "ppapi/cpp/view.h" 19 #include "ppapi/cpp/view.h"
21 #include "ppapi/tests/test_utils.h" 20 #include "ppapi/tests/test_utils.h"
22 #include "ppapi/tests/testing_instance.h" 21 #include "ppapi/tests/testing_instance.h"
23 22
24 #if (defined __native_client__) 23 #if (defined __native_client__)
25 #include "ppapi/cpp/var.h" 24 #include "ppapi/cpp/var.h"
26 #else 25 #else
27 #include "ppapi/cpp/private/var_private.h" 26 #include "ppapi/cpp/private/var_private.h"
28 #endif 27 #endif
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 #define ASSERT_SUBTEST_SUCCESS(function) \ 734 #define ASSERT_SUBTEST_SUCCESS(function) \
736 do { \ 735 do { \
737 std::string result = (function); \ 736 std::string result = (function); \
738 if (!result.empty()) \ 737 if (!result.empty()) \
739 return TestCase::MakeFailureMessage(__FILE__, __LINE__, result.c_str()); \ 738 return TestCase::MakeFailureMessage(__FILE__, __LINE__, result.c_str()); \
740 } while (false) 739 } while (false)
741 740
742 #define PASS() return std::string() 741 #define PASS() return std::string()
743 742
744 #endif // PPAPI_TESTS_TEST_CASE_H_ 743 #endif // PPAPI_TESTS_TEST_CASE_H_
OLDNEW
« no previous file with comments | « ppapi/tests/all_cpp_includes.h ('k') | ppapi/tests/test_scrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698