#ifndef PAPPI_TESTS_TEST_FILE_MAPPING_H_
#define PAPPI_TESTS_TEST_FILE_MAPPING_H_
#include <string>
#include "ppapi/tests/test_case.h"
struct PPB_FileMapping_0_1;
class TestFileMapping : public TestCase {
public:
explicit TestFileMapping(TestingInstance* instance)
: TestCase(instance),
file_mapping_if_(NULL) {
}
virtual ~TestFileMapping() {}
private:
virtual bool Init();
virtual void RunTests(const std::string& filter);
std::string MapAndCheckResults(uint32_t prot, uint32_t flags);
std::string TestBadParameters();
std::string TestMap();
std::string TestPartialRegions();
const PPB_FileMapping_0_1* file_mapping_if_;
};
#endif