Added documentation to web_view.js/web_view_experimental.js regarding the webview...
[chromium-blink-merge.git] / ppapi / tests / test_var_resource.h
blob73645e53e25755fe1d5852d9deea463c21e5401e
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
3 // found in the LICENSE file.
5 #ifndef PPAPI_TEST_TEST_VAR_RESOURCE_H_
6 #define PPAPI_TEST_TEST_VAR_RESOURCE_H_
8 #include <string>
10 #include "ppapi/c/dev/ppb_var_resource_dev.h"
11 #include "ppapi/c/ppb_file_system.h"
12 #include "ppapi/c/ppb_var.h"
13 #include "ppapi/tests/test_case.h"
15 class TestVarResource : public TestCase {
16 public:
17 explicit TestVarResource(TestingInstance* instance) : TestCase(instance) {}
19 private:
20 // TestCase implementation.
21 virtual bool Init();
22 virtual void RunTests(const std::string& filter);
24 std::string TestBasicResource();
25 std::string TestInvalidAndEmpty();
26 std::string TestWrongType();
28 // Used by the tests that access the C APIs directly.
29 const PPB_Core* core_interface_;
30 const PPB_FileSystem* file_system_interface_;
31 const PPB_Var* var_interface_;
32 const PPB_VarResource_Dev* var_resource_interface_;
35 #endif // PPAPI_TEST_TEST_VAR_RESOURCE_H_