public void Constructor5_ValueAsAssemblyArgument_ShouldSetAssemblyProperty() { AssemblyCatalogConstructorTests.Constructor_ValueAsAssemblyArgument_ShouldSetAssemblyProperty((a) => { return(new AssemblyCatalog(a)); }); }
public void Constructor6_ValueAsAssemblyArgument_ShouldSetAssemblyProperty() { AssemblyCatalogConstructorTests.Constructor_ValueAsAssemblyArgument_ShouldSetAssemblyProperty((a) => { return(new AssemblyCatalog(a, new AssemblyCatalogTestsReflectionContext())); }); }
public void Constructor4_NonExistentFileNameAsCodeBaseArgument_ShouldThrowFileNotFound() { AssemblyCatalogConstructorTests.Constructor_NonExistentFileNameAsCodeBaseArgument_ShouldThrowFileNotFound((s) => { return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext(), (ICompositionElement) new AssemblyCatalog(s))); }); }
public void Constructor7_ValueAsAssemblyArgument_ShouldSetAssemblyProperty() { AssemblyCatalogConstructorTests.Constructor_ValueAsCodebaseArgument_ShouldSetAssemblyProperty((a) => { return(new AssemblyCatalog(a, (ICompositionElement) new AssemblyCatalog(GetAttributedAssembly()))); }); }
public void Constructor4_TooLongFileNameAsCodeBaseArgument_ShouldThrowPathTooLong() { AssemblyCatalogConstructorTests.Constructor_TooLongFileNameAsCodeBaseArgument_ShouldThrowPathTooLong((s) => { return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext(), (ICompositionElement) new AssemblyCatalog(s))); }); }
[ActiveIssue(25498, TestPlatforms.AnyUnix)] // fault segmentation - AnyUnix public void Constructor4_NonAssemblyFileNameAsCodeBaseArgument_ShouldThrowBadImageFormat() { AssemblyCatalogConstructorTests.Constructor_NonAssemblyFileNameAsCodeBaseArgument_ShouldThrowBadImageFormat((s) => { return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext(), (ICompositionElement) new AssemblyCatalog(s))); }); }
public void Constructor4_InvalidFileNameAsCodeBaseArgument_ShouldThrowIO_Core() { AssemblyCatalogConstructorTests.Constructor_InvalidFileNameAsCodeBaseArgument_ShouldThrowIO((s) => { return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext(), (ICompositionElement) new AssemblyCatalog(s))); }); }
public void Constructor1_NonExistentFileNameAsCodeBaseArgument_ShouldThrowFileNotFound() { AssemblyCatalogConstructorTests.Constructor_NonExistentFileNameAsCodeBaseArgument_ShouldThrowFileNotFound((s) => { return(new AssemblyCatalog(s)); }); }
public void Constructor3_InvalidFileNameAsCodeBaseArgument_ShouldThrowArgument() { AssemblyCatalogConstructorTests.Constructor_InvalidFileNameAsCodeBaseArgument_ShouldThrowArgument((s) => { return(new AssemblyCatalog(s, (ICompositionElement) new AssemblyCatalog(s))); }); }
public void Constructor4_ValueAsCodebaseArgument_ShouldSetAssemblyProperty() { AssemblyCatalogConstructorTests.Constructor_ValueAsAssemblyArgument_ShouldSetAssemblyProperty((s) => { return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext(), (ICompositionElement) new AssemblyCatalog(s))); }); }
public void Constructor3_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad() { AssemblyCatalogConstructorTests.Constructor_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad((s) => { return(new AssemblyCatalog(s, (ICompositionElement) new AssemblyCatalog(s))); }); }
public void Constructor2_InvalidFileNameAsCodeBaseArgument_ShouldThrowArgument() { AssemblyCatalogConstructorTests.Constructor_InvalidFileNameAsCodeBaseArgument_ShouldThrowIO((s) => { return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext())); }); }
public void Constructor2_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad() { AssemblyCatalogConstructorTests.Constructor_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad((s) => { return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext())); }); }
public void Constructor6_NullReflectionContextArgument_ShouldThrowArgumentNull() { AssemblyCatalogConstructorTests.Constructor_NullReflectionContextArgument_ShouldThrowArgumentNull((rc) => { return(new AssemblyCatalog(GetAttributedAssembly(), rc)); }); }
public void Constructor4_DirectoryAsCodeBaseArgument_ShouldThrowFileLoad() { AssemblyCatalogConstructorTests.Constructor_DirectoryAsCodeBaseArgument_ShouldThrowFileLoad((s) => { return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext(), (ICompositionElement) new AssemblyCatalog(s))); }); }
public void Constructor7_NullDefinitionOriginArgument_ShouldThrowArgumentNull() { AssemblyCatalogConstructorTests.Constructor_NullDefinitionOriginArgument_ShouldThrowArgumentNull((dO) => { return(new AssemblyCatalog(GetAttributedAssembly(), dO)); }); }
[ActiveIssue(25498, TestPlatforms.AnyUnix)] // fault segmentation - AnyUnix public void Constructor1_NonAssemblyFileNameAsCodeBaseArgument_ShouldThrowBadImageFormat() { AssemblyCatalogConstructorTests.Constructor_NonAssemblyFileNameAsCodeBaseArgument_ShouldThrowBadImageFormat((s) => { return(new AssemblyCatalog(s)); }); }