OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PPAPI_TEST_TEST_NACL_IRT_STACK_ALIGNMENT_H_ |
| 6 #define PPAPI_TEST_TEST_NACL_IRT_STACK_ALIGNMENT_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "ppapi/c/ppb_var.h" |
| 11 #include "ppapi/cpp/var.h" |
| 12 #include "ppapi/tests/test_case.h" |
| 13 |
| 14 class TestNaClIRTStackAlignment : public TestCase { |
| 15 public: |
| 16 explicit TestNaClIRTStackAlignment(TestingInstance* instance) |
| 17 : TestCase(instance) {} |
| 18 |
| 19 private: |
| 20 // TestCase implementation. |
| 21 virtual bool Init(); |
| 22 virtual void RunTests(const std::string& filter); |
| 23 |
| 24 std::string TestMisalignedCallVarAddRef(); |
| 25 |
| 26 // Used by the tests that access the C API directly. |
| 27 const PPB_Var* var_interface_; |
| 28 }; |
| 29 |
| 30 #endif // PPAPI_TEST_TEST_NACL_IRT_STACK_ALIGNMENT_H_ |
OLD | NEW |