OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010 The Native Client Authors. All rights reserved. | 2 * Copyright 2010 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can | 3 * Use of this source code is governed by a BSD-style license that can |
4 * be found in the LICENSE file. | 4 * be found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #include "native_client/tests/fake_browser_ppapi/test_scriptable.h" | 7 #include "native_client/tests/fake_browser_ppapi/test_scriptable.h" |
8 | 8 |
9 #include <string.h> | 9 #include <string.h> |
10 | 10 |
11 #include "native_client/src/include/nacl_macros.h" | 11 #include "native_client/src/include/nacl_macros.h" |
12 #include "native_client/src/include/portability.h" | 12 #include "native_client/src/include/portability.h" |
13 #include "native_client/src/shared/platform/nacl_check.h" | 13 #include "native_client/src/shared/platform/nacl_check.h" |
14 #include "native_client/src/shared/ppapi_proxy/utility.h" | |
15 #include "native_client/src/shared/ppapi_proxy/plugin_var.h" | 14 #include "native_client/src/shared/ppapi_proxy/plugin_var.h" |
16 #include "native_client/tests/fake_browser_ppapi/fake_core.h" | 15 #include "native_client/tests/fake_browser_ppapi/fake_core.h" |
17 #include "native_client/tests/fake_browser_ppapi/fake_host.h" | 16 #include "native_client/tests/fake_browser_ppapi/fake_host.h" |
18 #include "native_client/tests/fake_browser_ppapi/fake_instance.h" | 17 #include "native_client/tests/fake_browser_ppapi/fake_instance.h" |
19 #include "native_client/tests/fake_browser_ppapi/fake_window.h" | 18 #include "native_client/tests/fake_browser_ppapi/fake_window.h" |
| 19 #include "native_client/tests/fake_browser_ppapi/utility.h" |
20 #include "ppapi/c/dev/ppb_var_deprecated.h" | 20 #include "ppapi/c/dev/ppb_var_deprecated.h" |
21 #include "ppapi/c/ppb_core.h" | 21 #include "ppapi/c/ppb_core.h" |
22 #include "ppapi/c/ppb_instance.h" | 22 #include "ppapi/c/ppb_instance.h" |
23 #include "ppapi/c/ppp_instance.h" | 23 #include "ppapi/c/ppp_instance.h" |
24 #include "ppapi/c/pp_errors.h" | 24 #include "ppapi/c/pp_errors.h" |
25 | 25 |
26 | 26 |
27 namespace { | 27 namespace { |
28 | 28 |
29 // Some canonical constants used to initialize properties of various types. | 29 // Some canonical constants used to initialize properties of various types. |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 g_instance_id = instance_id; | 389 g_instance_id = instance_id; |
390 g_browser_module_id = browser_module_id; | 390 g_browser_module_id = browser_module_id; |
391 // And test the scriptable object interfaces one-by-one. | 391 // And test the scriptable object interfaces one-by-one. |
392 TestHasProperty(object); | 392 TestHasProperty(object); |
393 TestSetProperty(object); | 393 TestSetProperty(object); |
394 TestGetProperty(object); | 394 TestGetProperty(object); |
395 TestCall(object); | 395 TestCall(object); |
396 TestWindowScripting(object); | 396 TestWindowScripting(object); |
397 // TODO(sehr,polina): add other methods such as RemoveProperty. | 397 // TODO(sehr,polina): add other methods such as RemoveProperty. |
398 } | 398 } |
OLD | NEW |