C# Класс ZeroInstall.Store.Implementations.ManifestTest

Наследование: TestWithMocks
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateDotFile ( [ path, [ format, [ handler ) : string

Generates a manifest for a directory in the filesystem and writes the manifest to a file named Manifest.ManifestFile in that directory.

The exact format is specified here: http://0install.net/manifest-spec.html

Приватные методы

Метод Описание
GenerateManifest ( string path, ManifestFormat format, ITaskHandler handler ) : Manifest
ShouldHandleSubdirectoriesWithExecutables ( ) : void
ShouldListFilesInSymlinkWithFlagS ( ) : void
ShouldListFilesInXbitWithFlagX ( ) : void
ShouldListNormalWindowsExeWithFlagF ( ) : void
ShouldListNothingForEmptyPackage ( ) : void
ShouldNotFollowDirectorySymlinks ( ) : void
TestCalculateDigest ( ) : void
TestListPaths ( ) : void
TestLoadException ( ) : void
TestSaveLoad ( ) : void
TestToString ( ) : void

Описание методов

CreateDotFile() публичный статический Метод

Generates a manifest for a directory in the filesystem and writes the manifest to a file named Manifest.ManifestFile in that directory.
The exact format is specified here: http://0install.net/manifest-spec.html
A problem occurs while writing the file.
public static CreateDotFile ( [ path, [ format, [ handler ) : string
path [ The path of the directory to analyze.
format [ The format of the manifest (which file details are listed, which digest method is used, etc.).
handler [ A callback object used when the the user is to be informed about progress.
Результат string