OLD | NEW |
| (Empty) |
1 // Copyright (c) 2010 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_VAR_H_ | |
6 #define PPAPI_TEST_TEST_VAR_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "ppapi/tests/test_case.h" | |
11 | |
12 struct PPB_Var; | |
13 | |
14 class TestVar : public TestCase { | |
15 public: | |
16 explicit TestVar(TestingInstance* instance) : TestCase(instance) {} | |
17 | |
18 // TestCase implementation. | |
19 virtual bool Init(); | |
20 virtual void RunTest(); | |
21 | |
22 private: | |
23 std::string TestConvertType(); | |
24 std::string TestDefineProperty(); | |
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_VAR_H_ | |
OLD | NEW |