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

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

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 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/test_buffer.cc ('k') | ppapi/tests/test_case.cc » ('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 <stdint.h>
9
8 #include <cmath> 10 #include <cmath>
9 #include <limits> 11 #include <limits>
10 #include <map> 12 #include <map>
11 #include <set> 13 #include <set>
12 #include <sstream> 14 #include <sstream>
13 #include <string> 15 #include <string>
14 16
15 #include "ppapi/c/pp_resource.h" 17 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/c/pp_time.h" 18 #include "ppapi/c/pp_time.h"
17 #include "ppapi/c/private/ppb_testing_private.h" 19 #include "ppapi/c/private/ppb_testing_private.h"
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 #define ASSERT_SUBTEST_SUCCESS(function) \ 736 #define ASSERT_SUBTEST_SUCCESS(function) \
735 do { \ 737 do { \
736 std::string result = (function); \ 738 std::string result = (function); \
737 if (!result.empty()) \ 739 if (!result.empty()) \
738 return TestCase::MakeFailureMessage(__FILE__, __LINE__, result.c_str()); \ 740 return TestCase::MakeFailureMessage(__FILE__, __LINE__, result.c_str()); \
739 } while (false) 741 } while (false)
740 742
741 #define PASS() return std::string() 743 #define PASS() return std::string()
742 744
743 #endif // PPAPI_TESTS_TEST_CASE_H_ 745 #endif // PPAPI_TESTS_TEST_CASE_H_
OLDNEW
« no previous file with comments | « ppapi/tests/test_buffer.cc ('k') | ppapi/tests/test_case.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698