Home
last modified time | relevance | path

Searched full:filesystem (Results 1 – 25 of 4962) sorted by relevance

12345678910>>...199

/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTestCase.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
DUnixFakeFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
18 import org.mockftpserver.fake.filesystem.AbstractFakeFileSystemTest
47 assert !fileSystem.exists(FILE)
48 fileSystem.add(new FileEntry(FILE))
49 def names = fileSystem.listNames(DIR)
54 assert fileSystem.path(null, null) == ""
55 assert fileSystem.path(null, "abc") == "abc"
56 assert fileSystem.path("abc", null) == "abc"
57 assert fileSystem.path("", "") == ""
58 assert fileSystem.path("", "abc") == "abc"
[all …]
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
DUnixFakeFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
18 import org.mockftpserver.fake.filesystem.AbstractFakeFileSystemTest
47 assert !fileSystem.exists(FILE)
48 fileSystem.add(new FileEntry(FILE))
49 def names = fileSystem.listNames(DIR)
54 assert fileSystem.path(null, null) == ""
55 assert fileSystem.path(null, "abc") == "abc"
56 assert fileSystem.path("abc", null) == "abc"
57 assert fileSystem.path("", "") == ""
58 assert fileSystem.path("", "abc") == "abc"
[all …]
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
DUnixFakeFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
18 import org.mockftpserver.fake.filesystem.AbstractFakeFileSystemTest
47 assert !fileSystem.exists(FILE)
48 fileSystem.add(new FileEntry(FILE))
49 def names = fileSystem.listNames(DIR)
54 assert fileSystem.path(null, null) == ""
55 assert fileSystem.path(null, "abc") == "abc"
56 assert fileSystem.path("abc", null) == "abc"
57 assert fileSystem.path("", "") == ""
58 assert fileSystem.path("", "abc") == "abc"
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
21 * Abstract superclass for tests of FileSystem implementation classes. Contains common
46 protected FileSystem fileSystem
53 assert !fileSystem.exists(NEW_FILE)
54 assert !fileSystem.exists(NEW_DIR)
55 assert !fileSystem.exists(ILLEGAL_FILE)
56 assert fileSystem.exists(EXISTING_FILE)
57 assert fileSystem.exists(EXISTING_DIR)
59 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
63 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/external/cronet/third_party/libc++/src/modules/std/
Dfilesystem.cppm11 #include <filesystem>
13 export module std:filesystem;
14 export namespace std::filesystem {
16 using std::filesystem::path;
19 using std::filesystem::hash_value;
20 using std::filesystem::swap;
22 // [fs.class.filesystem.error], filesystem errors
23 using std::filesystem::filesystem_error;
26 using std::filesystem::directory_entry;
29 using std::filesystem::directory_iterator;
[all …]
Dfilesystem.inc10 export namespace std::filesystem {
12 using std::filesystem::path;
15 using std::filesystem::hash_value;
16 using std::filesystem::swap;
18 // [fs.class.filesystem.error], filesystem errors
19 using std::filesystem::filesystem_error;
23 using std::filesystem::directory_entry;
26 using std::filesystem::directory_iterator;
29 using std::filesystem::begin;
30 using std::filesystem::end;
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DAbstractFileSystemTest.groovy16 package org.mockftpserver.fake.filesystem
32 * Abstract superclass for tests of FileSystem implementation classes. Contains common
56 protected FileSystem fileSystem
66 assert !fileSystem.exists(NEW_FILE)
67 assert !fileSystem.exists(NEW_DIR)
68 assert !fileSystem.exists(ILLEGAL_FILE)
69 assert fileSystem.exists(EXISTING_FILE)
70 assert fileSystem.exists(EXISTING_DIR)
72 shouldFailWithMessageContaining("path") { fileSystem.exists(null) }
79 assert fileSystem.isDirectory(EXISTING_DIR)
[all …]
/external/sdv/vsomeip/third_party/boost/config/test/
Dboost_no_cxx17_hdr_filesystem.ipp10 // TITLE: C++17 header <filesystem> unavailable
11 // DESCRIPTION: The standard library does not supply C++17 header <filesystem>
13 #include <filesystem>
19 using std::filesystem::path;
20 using std::filesystem::filesystem_error;
21 using std::filesystem::directory_entry;
22 using std::filesystem::directory_iterator;
23 using std::filesystem::recursive_directory_iterator;
24 using std::filesystem::file_status;
25 using std::filesystem::space_info;
[all …]
/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_test.py39 self.filesystem = fake_filesystem.FakeFilesystem(path_separator="/")
40 self.os = fake_os.FakeOsModule(self.filesystem)
44 "foobar", contents="dummy_file", filesystem=self.filesystem
47 "somedir", filesystem=self.filesystem
67 root_dir = self.filesystem.root_dir_name
68 self.filesystem.root.add_entry(self.fake_dir)
74 self.filesystem.is_windows_fs = True
76 self.filesystem.create_dir(dir_path)
77 dir_object = self.filesystem.get_object(dir_path)
81 root_dir = self.filesystem.root_dir_name
[all …]
/external/icing/icing/file/
Dfilesystem_test.cc15 // Test for Filesystem class and utils.
17 #include "icing/file/filesystem.h"
51 Filesystem filesystem; in CreateTestFiles() local
55 int fd = filesystem.OpenForWrite(one_file_path.c_str()); in CreateTestFiles()
59 filesystem.Write(fd, test_data.c_str(), strlen(test_data.c_str()))); in CreateTestFiles()
84 Filesystem filesystem; in SetUp() local
85 ASSERT_TRUE(filesystem.CreateDirectoryRecursively(temp_dir_.c_str())); in SetUp()
89 Filesystem filesystem; in TearDown() local
90 EXPECT_TRUE(filesystem.DeleteDirectoryRecursively(temp_dir_.c_str())); in TearDown()
102 Filesystem filesystem; in WriteJunk() local
[all …]
/external/okio/okio-testing-support/src/commonMain/kotlin/okio/
DAbstractFileSystemTest.kt38 val fileSystem: FileSystem, in <lambda>() constant in okio.AbstractFileSystemTest
46 private val isNodeJsFileSystem = fileSystem::class.simpleName?.startsWith("NodeJs") ?: false in <lambda>()
47 private val isWasiFileSystem = fileSystem::class.simpleName?.startsWith("Wasi") ?: false in <lambda>()
52 fileSystem.createDirectories(base) in <lambda>()
64 assertFalse(fileSystem.exists(file)) in <lambda>()
69 if (fileSystem.isFakeFileSystem || fileSystem is ForwardingFileSystem) return in <lambda>()
70 val cwd = fileSystem.canonicalize(".".toPath()) in <lambda>()
89 val metadata = fileSystem.metadata(".".toPath()) in <lambda>()
97 fileSystem.canonicalize(base / "no-such-file") in <lambda>()
104 fileSystem.canonicalize("no-such-file".toPath()) in <lambda>()
[all …]
/external/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf5 class filesystem
140 class filesystem
977 allow bin_t fs_t:filesystem associate;
978 allow bin_t noxattrfs:filesystem associate;
980 allow sbin_t fs_t:filesystem associate;
981 allow sbin_t noxattrfs:filesystem associate;
983 allow ls_exec_t fs_t:filesystem associate;
984 allow ls_exec_t noxattrfs:filesystem associate;
987 allow shell_exec_t fs_t:filesystem associate;
988 allow shell_exec_t noxattrfs:filesystem associate;
[all …]
/external/okio/okio-wasifilesystem/src/wasmWasiTest/kotlin/okio/
DWasiTest.kt27 private val fileSystem = WasiFileSystem in <lambda>() constant in okio.WasiTest
32 fileSystem.createDirectory(base) in <lambda>()
37 fileSystem.createDirectory(base / "child") in <lambda>()
43 fileSystem.write(path) { in <lambda>()
48 fileSystem.canonicalize(path), in <lambda>()
56 fileSystem.write(target) { in <lambda>()
59 fileSystem.createSymlink(source, "target".toPath()) in <lambda>()
62 fileSystem.canonicalize(source), in <lambda>()
70 fileSystem.createDirectory(target) in <lambda>()
71 fileSystem.write(target / "file.txt") { in <lambda>()
[all …]
/external/sdv/vsomeip/third_party/boost/process/test/
DJamfile.jam39 alias filesystem : /boost//filesystem ;
47 exe sparring_partner : sparring_partner.cpp program_options system filesystem iostreams :
55 exe sub_launch : sub_launcher.cpp program_options iostreams system filesystem : <warnings>off <targ…
72 [ run environment.cpp system filesystem : [ test-options environment ] ]
73 [ run async_pipe.cpp system filesystem : [ test-options async_pipe ] ]
74 [ run pipe.cpp system filesystem : [ test-options pipe ] ]
82 …[ run async.cpp system thread filesystem : [ test-options async ] : sparring_part…
83 …[ run async_fut.cpp system thread filesystem : [ test-options async_fut ] : sparring_…
84 …[ run args_handling.cpp system thread filesystem : [ test-options args_handling ] : exit_…
85 …[ run args_cmd.cpp system filesystem : [ test-options args_cmd ] : sparring_p…
[all …]

12345678910>>...199