public CachingValidations Validate(CachingTestContext context, ICachingCommand command, CommandRunnerResult result) { var validations = new CachingValidations(); validations.Add( CachingValidationType.CommandSucceeded, result.Item1 == 0); validations.Add( CachingValidationType.PackageInGlobalPackagesFolder, context.IsPackageInGlobalPackagesFolder(context.PackageIdentityB)); return(validations); }
public bool IsPackageInstalled(CachingTestContext context, PackageIdentity identity) { return(context.IsPackageInGlobalPackagesFolder(identity)); }