public reading_empty_dependencies() { given_feed(AtomContent.Feed(CreationTime, NuGetBaseUri)); given_package(AtomContent.NuGetEntry("openwrap", "1.1.0", "The best package manager for .net")); when_reading_feed(); }
public reading_one_dependency_without_version() { given_feed(AtomContent.Feed(CreationTime, NuGetBaseUri)); given_package(AtomContent.NuGetEntry( "openwrap", "1.1.0", "The best package manager for .net", dependencies: "openfilesystem")); when_reading_feed(); }
public reading_multiple_dependencies_with_ranges() { given_feed(AtomContent.Feed(CreationTime, NuGetBaseUri)); given_package(AtomContent.NuGetEntry( "openwrap", "1.1.0", "The best package manager for .net", dependencies: "openfilesystem:1.0.0|sharpziplib|mono.cecil:[0.9,1.0)")); when_reading_feed(); }
public reading_package_feeds() { given_remote_resource("http://localhost/packages/1", "application/atom+xml", AtomContent.Feed(Now, "http://localhost/packages/".ToUri(), "2".ToUri()) .Entry(AtomContent.NuGetEntry("openwrap", "1.0", "summary")) .ToString()); given_remote_resource("http://localhost/packages/2", "application/atom+xml", AtomContent.Feed(Now, "http://localhost/packages/".ToUri()) .Entry(AtomContent.NuGetEntry("openfilesystem", "1.0", "summary")) .ToString()); when_reading_packages(); }