/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
CdupCommandHandlerTest.groovy | 23 import org.mockftpserver.fake.filesystem.Permissions 47 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.parentDirectoryDoesNotExist', '/']) 53 def dir = fileSystem.getEntry(DIR) 56 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.cannotExecute', DIR])
|
MkdCommandHandlerTest.groovy | 24 import org.mockftpserver.fake.filesystem.FileSystemException 25 import org.mockftpserver.fake.filesystem.Permissions 45 assert fileSystem.exists(DIR) 46 def dirEntry = fileSystem.getEntry(DIR) 54 assert fileSystem.exists(DIR) 55 def dirEntry = fileSystem.getEntry(DIR) 61 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.doesNotExist', '/abc']) 67 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.alreadyExists', DIR]) 68 assert fileSystem.exists(DIR) 76 fileSystem.getEntry(PARENT).permissions = new Permissions('r-xr-xr-x' [all...] |
RmdCommandHandlerTest.groovy | 23 import org.mockftpserver.fake.filesystem.FileSystemException 24 import org.mockftpserver.fake.filesystem.Permissions 42 assert fileSystem.exists(DIR) == false 51 assert fileSystem.exists(p(DIR, SUB)) == false 56 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.doesNotExist', DIR]) 62 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.isNotADirectory', DIR]) 63 assert fileSystem.exists(DIR) 70 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.directoryIsNotEmpty', DIR]) 71 assert fileSystem.exists(DIR) 72 assert fileSystem.exists(FILE [all...] |
_AbstractFakeCommandHandlerTest.groovy | 28 import org.mockftpserver.fake.filesystem.FileSystemException 29 import org.mockftpserver.fake.filesystem.InvalidFilenameException 30 import org.mockftpserver.fake.filesystem.UnixFakeFileSystem 56 private fileSystem 161 fileSystem = new UnixFakeFileSystem() 162 serverConfiguration.setFileSystem(fileSystem)
|
CwdCommandHandlerTest.groovy | 23 import org.mockftpserver.fake.filesystem.Permissions 54 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.doesNotExist', DIR]) 61 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.isNotADirectory', DIR]) 69 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.cannotExecute', DIR])
|
RnfrCommandHandlerTest.groovy | 23 import org.mockftpserver.fake.filesystem.Permissions 54 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.doesNotExist', FILE]) 67 fileSystem.getEntry(FILE).permissions = new Permissions('-wx-wx-wx') 69 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.cannotRead', FILE])
|
RntoCommandHandlerTest.groovy | 23 import org.mockftpserver.fake.filesystem.FileSystemException 24 import org.mockftpserver.fake.filesystem.Permissions 44 assert !fileSystem.exists(FROM_FILE), FROM_FILE 45 assert fileSystem.exists(TO_FILE), TO_FILE 53 assert !fileSystem.exists(FROM_FILE), FROM_FILE 54 assert fileSystem.exists(TO_FILE), TO_FILE 76 assert !fileSystem.exists(FROM_DIR), FROM_DIR 77 assert fileSystem.exists(TO_DIR), TO_DIR 90 assert !fileSystem.exists(FROM_DIR), FROM_DIR 91 assert fileSystem.exists(TO_DIR), TO_DI [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
OpenGLTraceAction.java | 19 import org.eclipse.core.filesystem.EFS; 20 import org.eclipse.core.filesystem.IFileStore;
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
ListCommandHandler.java | 22 import org.mockftpserver.fake.filesystem.FileSystemEntry;
|
AbstractFakeCommandHandler.java | 30 import org.mockftpserver.fake.filesystem.FileSystem;
31 import org.mockftpserver.fake.filesystem.FileSystemEntry;
32 import org.mockftpserver.fake.filesystem.FileSystemException;
33 import org.mockftpserver.fake.filesystem.InvalidFilenameException;
96 * Convenience method to return the FileSystem stored in the ServerConfiguration
98 * @return the FileSystem
100 protected FileSystem getFileSystem() {
278 verifyFileSystemCondition(userAccount.canExecute(entry), path, "filesystem.cannotExecute");
291 verifyFileSystemCondition(userAccount.canWrite(entry), path, "filesystem.cannotWrite"); [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
AbstractFileSystemEntry.java | 16 package org.mockftpserver.fake.filesystem;
|
Permissions.java | 16 package org.mockftpserver.fake.filesystem;
|
FileEntry.java | 16 package org.mockftpserver.fake.filesystem;
|
UnixDirectoryListingFormatter.java | 16 package org.mockftpserver.fake.filesystem;
|
/external/webrtc/webrtc/base/ |
fileutils.h | 43 friend class Filesystem; 196 // Returns true if pathname refers to no filesystem object, every parent 264 class Filesystem { 271 static void set_default_filesystem(FilesystemInterface *filesystem) { 272 default_filesystem_ = filesystem; 276 FilesystemInterface *filesystem) { 278 default_filesystem_ = filesystem; 410 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(Filesystem); 416 old_fs_ = Filesystem::swap_default_filesystem(new_fs); 419 Filesystem::set_default_filesystem(old_fs_) [all...] |
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/ |
UserAccountTest.groovy | 18 import org.mockftpserver.fake.filesystem.FileEntry 19 import org.mockftpserver.fake.filesystem.FileSystemEntry 20 import org.mockftpserver.fake.filesystem.Permissions
|
FakeFtpServerIntegrationTest.groovy | 24 import org.mockftpserver.fake.filesystem.DirectoryEntry
25 import org.mockftpserver.fake.filesystem.FileEntry
26 import org.mockftpserver.fake.filesystem.FileSystem
27 import org.mockftpserver.fake.filesystem.UnixFakeFileSystem
28 import org.mockftpserver.fake.filesystem.WindowsFakeFileSystem
60 private FileSystem fileSystem
86 fileSystem.add(new FileEntry(path: FILE1, contents: ORIGINAL_CONTENTS))
93 def contents = fileSystem.getEntry(FILE1).createInputStream().text [all...] |
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
fake_tempfile.py | 40 filesystem = fake_filesystem.FakeFilesystem() 41 my_tempfile_module = mock_tempfile.FakeTempfileModule(filesystem) 47 def __init__(self, filesystem): 48 self._filesystem = filesystem 259 'No such directory in mock filesystem',
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
UserAccount.java | 19 import org.mockftpserver.fake.filesystem.FileSystemEntry;
20 import org.mockftpserver.fake.filesystem.Permissions;
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
AbstractFileSystemEntryTestCase.groovy | 16 package org.mockftpserver.fake.filesystem
|
PermissionsTest.groovy | 16 package org.mockftpserver.fake.filesystem
|
UnixFakeFileSystemTest.groovy | 16 package org.mockftpserver.fake.filesystem 45 assert !fileSystem.exists(FILE) 46 fileSystem.add(new FileEntry(FILE)) 47 def names = fileSystem.listNames(DIR) 52 assert fileSystem.path(null, null) == "" 53 assert fileSystem.path(null, "abc") == "abc" 54 assert fileSystem.path("abc", null) == "abc" 55 assert fileSystem.path("", "") == "" 56 assert fileSystem.path("", "abc") == "abc" 57 assert fileSystem.path("abc", "") == "abc [all...] |
WindowsDirectoryListingFormatterTest.groovy | 16 package org.mockftpserver.fake.filesystem
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/editors/ |
UiAutomatorViewer.java | 24 import org.eclipse.core.filesystem.EFS; 25 import org.eclipse.core.filesystem.IFileStore;
|
/external/e2fsprogs/contrib/ |
populate-extfs.sh | 3 # This script uses debugfs command to populate the ext2/3/4 filesystem 10 Create an ext2/ext3/ext4 filesystem from a directory or file
|