chromium/storage/common/file_system/file_system_util_unittest.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#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) {}

// base::File::Error should be the same when converted to a net::Error and back
// again.
TEST_F(FileSystemUtilTest, FileErrorToNetErrorAndBackAgain) {}

}  // namespace
}  // namespace content