Inheritance: IReferenceIntegrityCheck
 public Given_a_reference_which_is_not_in_registry()
 {
     this.reference = new BinaryReference("mscorlib") {Referrer = "project"};
     var registry = ReferenceRegistry.Empty();
     this.check = new BinaryReferenceIsGlobalCheck(registry);
 }
 public Given_a_reference_which_is_in_registry()
 {
     this.reference = new BinaryReference("mscorlib");
     var registry = ReferenceRegistry.FromReferenceNames(new[] {"mscorlib"});
     this.check = new BinaryReferenceIsGlobalCheck(registry);
 }
 public Given_a_reference_which_is_in_registry_with_differing_case()
 {
     this.reference = new BinaryReference("MSCORLIB");
     var registry = ReferenceRegistry.FromReferenceNames(new[] { "mscorlib" });
     this.check = new BinaryReferenceIsGlobalCheck(registry);
 }
Ejemplo n.º 4
0
 public ProjectIntegrityCheck(IFileSystem fileSystem, ReferenceRegistry wellknownReferencesRegistry, string libDirectory)
 {
     this.refGlobal = new BinaryReferenceIsGlobalCheck(wellknownReferencesRegistry);
     this.refExists = new ReferenceExistsCheck(fileSystem);
     this.refExternal = new BinaryReferenceInExternalLibrariesDirectoryCheck(libDirectory);
 }