def testIntialize(self): """Test the __init__ function.""" test_file_entry = file_entry.FileEntry(self._resolver_context, self._file_system, self._path_spec) self.assertIsNotNone(test_file_entry)
def testIntialize(self): """Tests the __init__ function.""" with self.assertRaises(ValueError): file_entry.FileEntry(self._resolver_context, self._file_system, self._path_spec)
def testChangeTime(self): """Test the change_time property.""" test_file_entry = file_entry.FileEntry(self._resolver_context, self._file_system, self._path_spec) self.assertIsNone(test_file_entry.change_time)
def testAccessTime(self): """Test the access_time property.""" test_file_entry = file_entry.FileEntry(self._resolver_context, self._file_system, self._path_spec) self.assertIsNone(test_file_entry.access_time)
def testModificationTime(self): """Test the modification_time property.""" test_file_entry = file_entry.FileEntry(self._resolver_context, self._file_system, self._path_spec) self.assertIsNone(test_file_entry.modification_time)