* Base test class used by all test shell tests. Provides boiler plate
* code to create and destroy a new test shell for each gTest test.
*/
#ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_TEST_H__
#define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_TEST_H__
#include <string>
#include "base/file_path.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/glue/window_open_disposition.h"
#include "webkit/tools/test_shell/test_shell.h"
class TestShellTest : public testing::Test {
protected:
GURL GetTestURL(const FilePath& test_case_path,
const std::string& test_case);
virtual void SetUp() OVERRIDE;
virtual void TearDown() OVERRIDE;
virtual void CreateEmptyWindow();
protected:
FilePath data_dir_;
TestShell* test_shell_;
};
#endif