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

Unified Diff: ppapi/tests/test_nacl_irt_stack_alignment.h

Issue 1384583006: PPAPI regression test for NaCl x86-32 IRT stack alignment sensitivity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ppapi/tests/test_nacl_irt_stack_alignment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_nacl_irt_stack_alignment.h
diff --git a/ppapi/tests/test_nacl_irt_stack_alignment.h b/ppapi/tests/test_nacl_irt_stack_alignment.h
new file mode 100644
index 0000000000000000000000000000000000000000..61de76f4d18d3cb2b806d021412b69b9b7f0f2e5
--- /dev/null
+++ b/ppapi/tests/test_nacl_irt_stack_alignment.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_TEST_TEST_NACL_IRT_STACK_ALIGNMENT_H_
+#define PPAPI_TEST_TEST_NACL_IRT_STACK_ALIGNMENT_H_
+
+#include <string>
+
+#include "ppapi/c/ppb_var.h"
+#include "ppapi/cpp/var.h"
+#include "ppapi/tests/test_case.h"
+
+class TestNaClIRTStackAlignment : public TestCase {
+ public:
+ explicit TestNaClIRTStackAlignment(TestingInstance* instance)
+ : TestCase(instance) {}
+
+ private:
+ // TestCase implementation.
+ virtual bool Init();
+ virtual void RunTests(const std::string& filter);
+
+ std::string TestMisalignedCallVarAddRef();
+
+ // Used by the tests that access the C API directly.
+ const PPB_Var* var_interface_;
+};
+
+#endif // PPAPI_TEST_TEST_NACL_IRT_STACK_ALIGNMENT_H_
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ppapi/tests/test_nacl_irt_stack_alignment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698