public Given_a_reference_path_not_within_defined_libs_directory() { this.reference = new BinaryReference { Name = "test", Path = "somewhere\\test", FullPath = "somewhere\\test", Referrer = "project", }; this.check = new BinaryReferenceInExternalLibrariesDirectoryCheck("lib"); }
public ProjectIntegrityCheck(IFileSystem fileSystem, ReferenceRegistry wellknownReferencesRegistry, string libDirectory) { this.refGlobal = new BinaryReferenceIsGlobalCheck(wellknownReferencesRegistry); this.refExists = new ReferenceExistsCheck(fileSystem); this.refExternal = new BinaryReferenceInExternalLibrariesDirectoryCheck(libDirectory); }