Home | History | Annotate | Download | only in gtest

Lines Matching refs:directory

69 // Returns a copy of the FilePath with the directory part removed.
71 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
80 // RemoveFileName returns the directory path with the filename removed.
92 // Helper functions for naming files in a directory for xml output.
94 // Given directory = "dir", base_name = "test", number = 0,
98 FilePath FilePath::MakeFileName(const FilePath& directory,
102 FilePath dir(directory.RemoveTrailingPathSeparator());
112 // either a file, directory, or whatever.
123 // Returns true if pathname describes a directory in the file-system
143 // will be directory/base_name.extension or
144 // directory/base_name_<number>.extension if directory/base_name.extension
150 FilePath FilePath::GenerateUniqueFileName(const FilePath& directory,
156 full_pathname.Set(MakeFileName(directory, base_name, number++, extension));
162 // it is intended to represent a directory. Returns false otherwise.
163 // This does NOT check that a directory (or file) actually exists.
184 // Create the directory so that path exists. Returns true if successful or
185 // if the directory already exists; returns false if unable to create the
186 // directory for any reason, including if the parent directory does not
195 return this->DirectoryExists(); // An error is OK if the directory exists.