HomeSort by relevance Sort by last modified time
    Searched refs:filesystem (Results 26 - 50 of 154) sorted by null

12 3 4 5 6 7

  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
FileSystemException.java 16 package org.mockftpserver.fake.filesystem;
21 * Represents an error that occurs while performing a FileSystem operation.
WindowsFakeFileSystem.java 16 package org.mockftpserver.fake.filesystem;
21 * Implementation of the {@link FileSystem} interface that simulates a Microsoft
96 * @return true if the specified path component is a root for this filesystem
FileSystem.java 16 package org.mockftpserver.fake.filesystem;
26 public interface FileSystem {
WindowsDirectoryListingFormatter.java 16 package org.mockftpserver.fake.filesystem;
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
AppeCommandHandlerTest.groovy 22 import org.mockftpserver.fake.filesystem.FileEntry
23 import org.mockftpserver.fake.filesystem.Permissions
45 fileSystem.add(new FileEntry(path: FILE, contents: ORIGINAL_CONTENTS))
83 assert fileSystem.isFile(FILE)
DeleCommandHandlerTest.groovy 22 import org.mockftpserver.fake.filesystem.FileSystemException
23 import org.mockftpserver.fake.filesystem.Permissions
42 assert fileSystem.exists(FILE) == false
50 assert fileSystem.exists(FILE) == false
55 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.isNotAFile', FILE])
61 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.isNotAFile', FILE])
62 assert fileSystem.exists(FILE)
72 fileSystem.deleteMethodException = new FileSystemException("bad", ERROR_MESSAGE_KEY)
79 fileSystem.getEntry(DIR).permissions = new Permissions('r-xr-xr-x')
81 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.cannotWrite', DIR]
    [all...]
NlstCommandHandlerTest.groovy 23 import org.mockftpserver.fake.filesystem.FileSystemException
24 import org.mockftpserver.fake.filesystem.Permissions
81 fileSystem.getEntry(DIR).permissions = new Permissions('-wx-wx-wx')
84 assertSessionReply(1, ReplyCodes.READ_FILE_ERROR, ['filesystem.cannotRead', DIR])
88 fileSystem.listNamesMethodException = new FileSystemException("bad", ERROR_MESSAGE_KEY)
RetrCommandHandlerTest.groovy 23 import org.mockftpserver.fake.filesystem.FileEntry
24 import org.mockftpserver.fake.filesystem.FileSystemException
25 import org.mockftpserver.fake.filesystem.Permissions
65 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.isNotAFile', DIR])
71 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.doesNotExist', path])
75 fileSystem.getEntry(FILE).permissions = Permissions.NONE
77 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.cannotRead', FILE])
81 fileSystem.getEntry(DIR).permissions = Permissions.NONE
83 assertSessionReply(ReplyCodes.READ_FILE_ERROR, ['filesystem.cannotExecute', DIR])
87 fileSystem.delete(FILE
    [all...]
AbstractFakeCommandHandlerTestCase.groovy 25 import org.mockftpserver.fake.filesystem.DirectoryEntry
26 import org.mockftpserver.fake.filesystem.FileEntry
27 import org.mockftpserver.fake.filesystem.FileSystemException
28 import org.mockftpserver.fake.filesystem.TestUnixFakeFileSystem
47 protected fileSystem
105 fileSystem = new TestUnixFakeFileSystem()
106 fileSystem.createParentDirectoriesAutomatically = true
107 serverConfiguration.setFileSystem(fileSystem)
260 * Override the named method (that takes a single String arg) of the fileSystem object to throw a (generic) FileSystemException
261 * @param methodName - the name of the fileSystem method to overrid
    [all...]
  /external/clang/test/Analysis/
cxx11-crashes.cpp 25 namespace filesystem namespace in namespace:boost
32 namespace fs = boost::filesystem;
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/
StubServerConfiguration.groovy 20 import org.mockftpserver.fake.filesystem.FileSystem
33 FileSystem fileSystem
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DirectoryEntryTest.groovy 16 package org.mockftpserver.fake.filesystem
47 * @see org.mockftpserver.fake.filesystem.AbstractFileSystemEntryTestCase#getImplementationClass()
54 * @see org.mockftpserver.fake.filesystem.AbstractFileSystemEntryTestCase#isDirectory()
TestUnixFakeFileSystem.groovy 16 package org.mockftpserver.fake.filesystem
  /external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
fake_tempfile.py 41 filesystem = fake_filesystem.FakeFilesystem()
42 my_tempfile_module = mock_tempfile.FakeTempfileModule(filesystem)
48 def __init__(self, filesystem):
49 self._filesystem = filesystem
260 'No such directory in mock filesystem',
338 def __init__(self, filesystem, tempfile, suffix=None, prefix=None, dir=None):
340 self.filesystem = filesystem
344 self.filesystem.RemoveObject(name)
358 self.filesystem.RemoveObject(self.name
    [all...]
fake_filesystem_glob.py 24 >>> filesystem = fake_filesystem.FakeFilesystem()
25 >>> glob_module = fake_filesystem_glob.FakeGlobModule(filesystem)
27 >>> file = filesystem.CreateFile('new-file')
44 def __init__(self, filesystem):
45 """Construct fake glob module using the fake filesystem.
48 filesystem: FakeFilesystem used to provide file system information
51 self._os_module = fake_filesystem.FakeOsModule(filesystem)
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
RetrCommandHandler.java 23 import org.mockftpserver.fake.filesystem.FileEntry;
24 import org.mockftpserver.fake.filesystem.FileSystemEntry;
25 import org.mockftpserver.fake.filesystem.FileSystemException;
55 verifyFileSystemCondition(entry != null, path, "filesystem.doesNotExist");
56 verifyFileSystemCondition(!entry.isDirectory(), path, "filesystem.isNotAFile");
MkdCommandHandler.java 21 import org.mockftpserver.fake.filesystem.DirectoryEntry;
46 verifyFileSystemCondition(getFileSystem().exists(parent), parent, "filesystem.doesNotExist");
47 verifyFileSystemCondition(!getFileSystem().exists(path), path, "filesystem.alreadyExists");
AbstractStoreFileCommandHandler.java 21 import org.mockftpserver.fake.filesystem.FileEntry;
22 import org.mockftpserver.fake.filesystem.FileSystemException;
53 verifyFileSystemCondition(!getFileSystem().isDirectory(path), path, "filesystem.isDirectory");
55 verifyFileSystemCondition(getFileSystem().isDirectory(parentPath), parentPath, "filesystem.isNotADirectory");
  /bootable/recovery/mtdutils/
mtdutils.h 33 * filesystem is like "yaffs2"
36 const char *filesystem, int read_only);
  /cts/tests/filesystem/src/android/filesystem/cts/
RandomRWTest.java 17 package android.filesystem.cts;
  /external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
fake_filesystem_glob.py 24 >>> filesystem = fake_filesystem.FakeFilesystem()
25 >>> glob_module = fake_filesystem_glob.FakeGlobModule(filesystem)
27 >>> file = filesystem.CreateFile('new-file')
44 def __init__(self, filesystem):
45 """Construct fake glob module using the fake filesystem.
48 filesystem: FakeFilesystem used to provide file system information
51 self._os_module = fake_filesystem.FakeOsModule(filesystem)
  /sdk/eclipse/plugins/com.android.ide.eclipse.traceview/src/com/android/ide/eclipse/traceview/
TraceviewLauncher.java 21 import org.eclipse.core.filesystem.EFS;
22 import org.eclipse.core.filesystem.IFileStore;
  /external/autotest/client/cros/
storage.py 36 fs_uuid: the UUID for the filesystem (str)
37 fstype: filesystem type
233 def initialize(self, filter_dict={'bus':'usb'}, filesystem='ext2'):
243 @param filesystem: the filesystem name to format the attached device.
249 self._prepare_volume(filter_dict, filesystem=filesystem)
256 def _prepare_volume(self, filter_dict, filesystem='ext2'):
260 the matching storages with |filesystem|.
267 @param filesystem: filesystem with which volumes will be formatted
    [all...]
  /external/autotest/client/site_tests/platform_FilePerms/
platform_FilePerms.py 111 logging.error('Wrong uid in filesystem "%s"', fs)
114 logging.error('Wrong gid in filesystem "%s"', fs)
122 Check the file permissions of a filesystem.
124 @param fs: string, mount point for filesystem to check.
181 Try to write a file in the given filesystem.
197 except OSError: # This error will occur with read only filesystem.
208 def check_mounted_read_only(self, filesystem):
210 Check the permissions of a filesystem according to /etc/mtab.
212 @param filesystem: string, file system device to check.
219 if not (filesystem in mtab.keys())
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
FileStoreAdapter.java 19 import org.eclipse.core.filesystem.IFileInfo;
20 import org.eclipse.core.filesystem.IFileStore;
21 import org.eclipse.core.filesystem.IFileSystem;

Completed in 1139 milliseconds

12 3 4 5 6 7