OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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_TESTS_TEST_RESOURCE_ARRAY_H_ | |
6 #define PPAPI_TESTS_TEST_RESOURCE_ARRAY_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "ppapi/tests/test_case.h" | |
11 | |
12 class TestResourceArray : public TestCase { | |
13 public: | |
14 explicit TestResourceArray(TestingInstance* instance); | |
15 virtual ~TestResourceArray(); | |
16 | |
17 // TestCase implementation. | |
18 virtual void RunTests(const std::string& test_filter); | |
19 | |
20 private: | |
21 std::string TestBasics(); | |
22 std::string TestOutOfRangeAccess(); | |
23 std::string TestEmptyArray(); | |
24 std::string TestInvalidElement(); | |
25 }; | |
26 | |
27 #endif // PPAPI_TESTS_TEST_RESOURCE_ARRAY_H_ | |
28 | |
OLD | NEW |