OLD | NEW |
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 #include "ppapi/tests/test_post_message.h" | 5 #include "ppapi/tests/test_post_message.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
7 #include <string.h> | 9 #include <string.h> |
8 #include <algorithm> | 10 #include <algorithm> |
9 #include <map> | 11 #include <map> |
10 #include <sstream> | 12 #include <sstream> |
11 | 13 |
12 #include "ppapi/c/pp_var.h" | 14 #include "ppapi/c/pp_var.h" |
13 #include "ppapi/c/ppb_file_io.h" | 15 #include "ppapi/c/ppb_file_io.h" |
14 #include "ppapi/cpp/file_io.h" | 16 #include "ppapi/cpp/file_io.h" |
15 #include "ppapi/cpp/file_ref.h" | 17 #include "ppapi/cpp/file_ref.h" |
16 #include "ppapi/cpp/file_system.h" | 18 #include "ppapi/cpp/file_system.h" |
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 ASSERT_TRUE(received_value <= kThreadsToRun); | 911 ASSERT_TRUE(received_value <= kThreadsToRun); |
910 ++received_counts[received_value]; | 912 ++received_counts[received_value]; |
911 } | 913 } |
912 ASSERT_EQ(expected_counts, received_counts); | 914 ASSERT_EQ(expected_counts, received_counts); |
913 | 915 |
914 message_data_.clear(); | 916 message_data_.clear(); |
915 ASSERT_TRUE(ClearListeners()); | 917 ASSERT_TRUE(ClearListeners()); |
916 | 918 |
917 PASS(); | 919 PASS(); |
918 } | 920 } |
OLD | NEW |