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.
5 #ifndef PPAPI_TESTS_TEST_RESOURCE_ARRAY_H_
6 #define PPAPI_TESTS_TEST_RESOURCE_ARRAY_H_
10 #include "ppapi/tests/test_case.h"
12 class TestResourceArray
: public TestCase
{
14 explicit TestResourceArray(TestingInstance
* instance
);
15 virtual ~TestResourceArray();
17 // TestCase implementation.
18 virtual void RunTests(const std::string
& test_filter
);
21 std::string
TestBasics();
22 std::string
TestOutOfRangeAccess();
23 std::string
TestEmptyArray();
24 std::string
TestInvalidElement();
27 #endif // PPAPI_TESTS_TEST_RESOURCE_ARRAY_H_