llvm/libc/test/src/__support/File/platform_file_test.cpp

//===-- Unittests for target platform file implementation -----------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "src/__support/File/file.h"
#include "test/UnitTest/Test.h"

#include <stdio.h> // For SEEK_* macros

File;
constexpr char TEXT[] =;
constexpr size_t TEXT_SIZE =; // Ignore the null terminator

LIBC_INLINE File *openfile(const char *file_name, const char *mode) {}

TEST(LlvmLibcPlatformFileTest, CreateWriteCloseAndReadBack) {}

TEST(LlvmLibcPlatformFileTest, CreateWriteSeekAndReadBack) {}

TEST(LlvmLibcPlatformFileTest, CreateAppendCloseAndReadBack) {}

TEST(LlvmLibcPlatformFileTest, CreateAppendSeekAndReadBack) {}

TEST(LlvmLibcPlatformFileTest, LargeFile) {}

TEST(LlvmLibcPlatformFileTest, ReadSeekCurAndRead) {}

TEST(LlvmLibcPlatformFileTest, IncorrectOperation) {}