#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "storage/common/file_system/file_system_util.h"
#include <stddef.h>
#include "base/files/file_path.h"
#include "net/base/net_errors.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
CrackIsolatedFileSystemName;
GetExternalFileSystemRootURIString;
GetIsolatedFileSystemName;
GetIsolatedFileSystemRootURIString;
ValidateIsolatedFileSystemId;
VirtualPath;
namespace content {
namespace {
class FileSystemUtilTest : public testing::Test { … };
TEST_F(FileSystemUtilTest, ParseFileSystemSchemeURL) { … }
TEST_F(FileSystemUtilTest, GetTempFileSystemRootURI) { … }
TEST_F(FileSystemUtilTest, GetPersistentFileSystemRootURI) { … }
TEST_F(FileSystemUtilTest, VirtualPathBaseName) { … }
TEST_F(FileSystemUtilTest, VirtualPathDirName) { … }
TEST_F(FileSystemUtilTest, GetNormalizedFilePath) { … }
TEST_F(FileSystemUtilTest, IsAbsolutePath) { … }
TEST_F(FileSystemUtilTest, IsRootPath) { … }
TEST_F(FileSystemUtilTest, VirtualPathGetComponents) { … }
TEST_F(FileSystemUtilTest, GetIsolatedFileSystemName) { … }
TEST_F(FileSystemUtilTest, CrackIsolatedFileSystemName) { … }
TEST_F(FileSystemUtilTest, RejectBadIsolatedFileSystemName) { … }
TEST_F(FileSystemUtilTest, ValidateIsolatedFileSystemId) { … }
TEST_F(FileSystemUtilTest, GetIsolatedFileSystemRootURIString) { … }
TEST_F(FileSystemUtilTest, GetExternalFileSystemRootURIString) { … }
base::File::Error Convert(base::File::Error error) { … }
TEST_F(FileSystemUtilTest, FileErrorToNetErrorAndBackAgain) { … }
}
}