This source file includes following definitions.
- IN_PROC_BROWSER_TEST_F
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "net/test/spawned_test_server/spawned_test_server.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
class FtpBrowserTest : public InProcessBrowserTest {
public:
FtpBrowserTest()
: ftp_server_(net::SpawnedTestServer::TYPE_FTP,
net::SpawnedTestServer::kLocalhost,
base::FilePath()) {
}
protected:
net::SpawnedTestServer ftp_server_;
};
IN_PROC_BROWSER_TEST_F(FtpBrowserTest, DirectoryListing) {
ASSERT_TRUE(ftp_server_.Start());
ui_test_utils::NavigateToURL(browser(), ftp_server_.GetURL("/"));
}