#include <string>
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/logging.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/test_switches.h"
#include "chrome/test/base/web_ui_mocha_browser_test.h"
#include "content/public/test/browser_test.h"
#include "testing/gtest/include/gtest/gtest-spi.h"
class WebUIMochaCoverageTest : public WebUIMochaBrowserTest { … };
IN_PROC_BROWSER_TEST_F(WebUIMochaCoverageTest, TestCoverageEmits) { … }
class WebUIMochaSuccessFailureTest : public WebUIMochaBrowserTest { … };
WebUIMochaSuccessFailureTest* WebUIMochaSuccessFailureTest::s_test_ = …;
IN_PROC_BROWSER_TEST_F(WebUIMochaSuccessFailureTest, TriggerErrorFails) { … }
IN_PROC_BROWSER_TEST_F(WebUIMochaSuccessFailureTest, HostErrorFails) { … }
IN_PROC_BROWSER_TEST_F(WebUIMochaSuccessFailureTest, TestFileErrorFails) { … }
IN_PROC_BROWSER_TEST_F(WebUIMochaSuccessFailureTest, TestFailureFails) { … }
IN_PROC_BROWSER_TEST_F(WebUIMochaSuccessFailureTest, TestSuccessPasses) { … }
class WebUIMochaSuccessFailureWithoutTestLoaderTest
: public WebUIMochaSuccessFailureTest { … };
IN_PROC_BROWSER_TEST_F(WebUIMochaSuccessFailureWithoutTestLoaderTest,
TriggerErrorFails) { … }
IN_PROC_BROWSER_TEST_F(WebUIMochaSuccessFailureWithoutTestLoaderTest,
HostErrorFails) { … }
IN_PROC_BROWSER_TEST_F(WebUIMochaSuccessFailureWithoutTestLoaderTest,
TestFileErrorFails) { … }
IN_PROC_BROWSER_TEST_F(WebUIMochaSuccessFailureWithoutTestLoaderTest,
TestFailureFails) { … }
IN_PROC_BROWSER_TEST_F(WebUIMochaSuccessFailureWithoutTestLoaderTest,
TestSuccessPasses) { … }