C# Class NuGet.Test.ManifestTest

Mostra file Open project: xero-github/Nuget

Public Methods

Method Description
CreateManifest ( string id = "Test-Pack", string version = "1.0.0", string title = null, string authors = "NuGet Test", string owners = null, string licenseUrl = null, string projectUrl = null, string iconUrl = null, bool requiresLicenseAcceptance = null, string description = "Test description", string summary = null, string releaseNotes = null, string copyright = null, string language = null, string tags = null, IEnumerable dependencies = null, IEnumerable assemblyReference = null, IEnumerable references = null, IEnumerable files = null ) : Stream

Private Methods

Method Description
AssertDependency ( ManifestDependency expected, ManifestDependency actual ) : void
AssertFile ( ManifestFile expected, ManifestFile actual ) : void
AssertFrameworkAssemblies ( ManifestFrameworkAssembly expected, ManifestFrameworkAssembly actual ) : void
AssertManifest ( Manifest expected, Manifest actual ) : void
AssertReference ( ManifestReference expected, ManifestReference actual ) : void
ManifestEnsuresManifestReferencesDoNotContainInvalidCharacters ( ) : void
ManifestValidatesDependencies ( ) : void
ManifestValidatesManifestFiles ( ) : void
ManifestValidatesMetadata ( ) : void
ManifestValidatesMetadataUrlsIfEmpty ( ) : void
ReadFromReadsAllMetadataValues ( ) : void
ReadFromReadsFilesAndExpandsDelimitedFileList ( ) : void
ReadFromReadsRequiredValues ( ) : void

Method Details

CreateManifest() public static method

public static CreateManifest ( string id = "Test-Pack", string version = "1.0.0", string title = null, string authors = "NuGet Test", string owners = null, string licenseUrl = null, string projectUrl = null, string iconUrl = null, bool requiresLicenseAcceptance = null, string description = "Test description", string summary = null, string releaseNotes = null, string copyright = null, string language = null, string tags = null, IEnumerable dependencies = null, IEnumerable assemblyReference = null, IEnumerable references = null, IEnumerable files = null ) : Stream
id string
version string
title string
authors string
owners string
licenseUrl string
projectUrl string
iconUrl string
requiresLicenseAcceptance bool
description string
summary string
releaseNotes string
copyright string
language string
tags string
dependencies IEnumerable
assemblyReference IEnumerable
references IEnumerable
files IEnumerable
return Stream