C# Class Alquimiaware.NuGetUnity.Tests.CommandArgsBuilderTests

Datei anzeigen Open project: Alquimiaware/Nuget-Unity

Protected Methods

Method Description
AssertContains ( string expectedSubstring, string text ) : void
AssertContainsOption ( string args, string expectedOption, string expectedValue = null ) : void
AssertDoesntContain ( string unexpectedSubstring, string text ) : void
DefaultSources ( ) : Sources

Private Methods

Method Description
CreateAnyCommandBuilder ( string localPackage = @"C:/Packages/", string remotePackage = null ) : CommandArgsBuilder
CreateEmptySources ( ) : Sources

Method Details

AssertContains() protected method

protected AssertContains ( string expectedSubstring, string text ) : void
expectedSubstring string
text string
return void

AssertContainsOption() protected method

protected AssertContainsOption ( string args, string expectedOption, string expectedValue = null ) : void
args string
expectedOption string
expectedValue string
return void

AssertDoesntContain() protected method

protected AssertDoesntContain ( string unexpectedSubstring, string text ) : void
unexpectedSubstring string
text string
return void

DefaultSources() protected method

protected DefaultSources ( ) : Sources
return Sources