proxygen
FileUtilTest.cpp File Reference
#include <folly/FileUtil.h>
#include <folly/detail/FileUtilDetail.h>
#include <folly/experimental/TestUtil.h>
#include <deque>
#include <glog/logging.h>
#include <folly/Exception.h>
#include <folly/File.h>
#include <folly/Range.h>
#include <folly/String.h>
#include <folly/portability/GTest.h>

Go to the source code of this file.

Classes

class  folly::test::FileUtilTest
 
class  folly::test::IovecBuffers
 
class  folly::test::ReadFileFd
 
class  folly::test::WriteFileAtomic
 

Namespaces

 folly
 —— Concurrent Priority Queue Implementation ——
 
 folly::test
 

Functions

 folly::test::TEST_F (FileUtilTest, read)
 
 folly::test::TEST_F (FileUtilTest, pread)
 
 folly::test::TEST_F (FileUtilTest, readv)
 
 folly::test::TEST (FileUtilTest2, wrapv)
 
 folly::test::TEST_F (FileUtilTest, preadv)
 
 folly::test::TEST (String, readFile)
 
 folly::test::TEST_F (ReadFileFd, ReadZeroBytes)
 
 folly::test::TEST_F (ReadFileFd, ReadPartial)
 
 folly::test::TEST_F (ReadFileFd, ReadFull)
 
 folly::test::TEST_F (ReadFileFd, WriteOnlyFd)
 
 folly::test::TEST_F (ReadFileFd, InvalidFd)
 
 folly::test::TEST_F (WriteFileAtomic, writeNew)
 
 folly::test::TEST_F (WriteFileAtomic, overwrite)
 
 folly::test::TEST_F (WriteFileAtomic, directoryPermissions)
 
 folly::test::TEST_F (WriteFileAtomic, multipleFiles)
 

Variable Documentation

StringPiece data_
private

Definition at line 66 of file FileUtilTest.cpp.

Referenced by folly::FcSimpleExample< Mutex, Atom >::add(), folly::FcCustomExample< Req, Mutex, Atom >::add(), folly::FcSimpleExample< Mutex, Atom >::addNoFC(), folly::FcCustomExample< Req, Mutex, Atom >::addNoFC(), folly::IOBuf::advance(), folly::IOBufQueue::WritableRangeCache::append(), folly::IOBufQueue::WritableRangeCache::appendUnsafe(), testing::internal::AssertHelper::AssertHelperData::AssertHelperData(), folly::symbolizer::SignalSafeElfCache::Path::assign(), folly::BasicFixedString< Char, N >::begin(), folly::BasicFixedString< Char, N >::c_str(), folly::IOBuf::clear(), folly::IOBuf::coalesceWithHeadroomTailroom(), folly::FcCustomExample< Req, Mutex, Atom >::combinedOp(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::compare_exchange_strong(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::compare_exchange_weak(), CopyMoveTracker::copyCount(), CopyMoveTracker::CopyMoveTracker(), folly::fbstring_core< Char >::copySmall(), folly::BasicFixedString< Char, N >::creplace(), folly::symbolizer::SignalSafeElfCache::Path::data(), folly::IOBuf::data(), folly::BasicFixedString< Char, N >::data(), folly::BasicFixedString< Char, N >::erase(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::exchange(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::fetch_add(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::fetch_and(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::fetch_or(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::fetch_sub(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::fetch_xor(), folly::FcSimpleExample< Mutex, Atom >::fetchAdd(), folly::FcCustomExample< Req, Mutex, Atom >::fetchAdd(), folly::FcSimpleExample< Mutex, Atom >::fetchAddNoFC(), folly::FcCustomExample< Req, Mutex, Atom >::fetchAddNoFC(), folly::IOBufQueue::WritableRangeCache::fillCache(), folly::Function< std::vector< ResultT >(std::vector< InputT > &&)>::Function(), TestSendMsgParamsCallback::getAncillaryData(), folly::fibers::Fiber::LocalData::getSlow(), folly::ScopedUnlocker< SynchronizedType, LockPolicy >::getSynchronized(), folly::FcSimpleExample< Mutex, Atom >::getVal(), folly::FcCustomExample< Req, Mutex, Atom >::getVal(), TestData::hasCallback(), folly::IOBuf::headroom(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::is_lock_free(), folly::IOBufQueue::WritableRangeCache::length(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::load(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::load_direct(), CopyMoveTracker::moveCount(), folly::symbolizer::Dwarf::Section::next(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::operator T(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::operator&=(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::operator++(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::operator+=(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::operator--(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::operator-=(), folly::symbolizer::SignalSafeElfCache::Path::operator<(), folly::IOBufQueue::WritableRangeCache::operator=(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::operator=(), CopyMoveTracker::operator=(), folly::symbolizer::SignalSafeElfCache::Path::operator==(), folly::SpinLockArray< T, N >::operator[](), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::operator^=(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::operator|=(), folly::IOBuf::prepend(), CopyMoveTracker::refCount(), HPACKBufferTests::releaseData(), folly::BasicFixedString< Char, N >::replace(), folly::IOBuf::reserve(), folly::IOBufQueue::WritableRangeCache::reset(), CopyMoveTracker::resetCounters(), folly::IOBuf::retreat(), testing::internal::ShouldRunTestCase(), folly::test::DeterministicAtomicImpl< T, Schedule, Atom >::store(), folly::IOBuf::tail(), TEST(), TEST_F(), folly::IOBuf::trimStart(), folly::IOBufQueue::WritableRangeCache::writableData(), folly::IOBuf::writableData(), folly::IOBufQueue::WritableRangeCache::WritableRangeCache(), folly::IOBuf::writableTail(), DataState< Vector >::~DataState(), folly::Function< std::vector< ResultT >(std::vector< InputT > &&)>::~Function(), folly::ScopedUnlocker< SynchronizedType, LockPolicy >::~ScopedUnlocker(), and folly::IOBufQueue::WritableRangeCache::~WritableRangeCache().

std::deque<ssize_t> spec_
private

Definition at line 67 of file FileUtilTest.cpp.