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

Side by Side Diff: ppapi/tests/test_var_resource.h

Issue 148213016: [PPAPI] Moving pp::VarResource_Dev API into pp::Var (now stable). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/tests/test_post_message.cc ('k') | ppapi/tests/test_var_resource.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef PPAPI_TEST_TEST_VAR_RESOURCE_H_ 5 #ifndef PPAPI_TEST_TEST_VAR_RESOURCE_H_
6 #define PPAPI_TEST_TEST_VAR_RESOURCE_H_ 6 #define PPAPI_TEST_TEST_VAR_RESOURCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/dev/ppb_var_resource_dev.h"
11 #include "ppapi/c/ppb_file_system.h" 10 #include "ppapi/c/ppb_file_system.h"
12 #include "ppapi/c/ppb_var.h" 11 #include "ppapi/c/ppb_var.h"
13 #include "ppapi/tests/test_case.h" 12 #include "ppapi/tests/test_case.h"
14 13
15 class TestVarResource : public TestCase { 14 class TestVarResource : public TestCase {
16 public: 15 public:
17 explicit TestVarResource(TestingInstance* instance) : TestCase(instance) {} 16 explicit TestVarResource(TestingInstance* instance) : TestCase(instance) {}
18 17
19 private: 18 private:
20 // TestCase implementation. 19 // TestCase implementation.
21 virtual bool Init(); 20 virtual bool Init();
22 virtual void RunTests(const std::string& filter); 21 virtual void RunTests(const std::string& filter);
23 22
24 std::string TestBasicResource(); 23 std::string TestBasicResource();
25 std::string TestInvalidAndEmpty(); 24 std::string TestInvalidAndEmpty();
26 std::string TestWrongType(); 25 std::string TestWrongType();
27 26
28 // Used by the tests that access the C APIs directly. 27 // Used by the tests that access the C APIs directly.
29 const PPB_Core* core_interface_; 28 const PPB_Core* core_interface_;
30 const PPB_FileSystem* file_system_interface_; 29 const PPB_FileSystem* file_system_interface_;
31 const PPB_Var* var_interface_; 30 const PPB_Var* var_interface_;
32 const PPB_VarResource_Dev* var_resource_interface_;
33 }; 31 };
34 32
35 #endif // PPAPI_TEST_TEST_VAR_RESOURCE_H_ 33 #endif // PPAPI_TEST_TEST_VAR_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/tests/test_post_message.cc ('k') | ppapi/tests/test_var_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698