C# Class ZeroInstall.Store.Implementations.ManifestTest

Inheritance: TestWithMocks
Exibir arquivo Open project: 0install/0install-win Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

CreateDotFile() public static method

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.
return string