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)));
     });
 }
Exemplo n.º 10
0
 public void Constructor4_ValueAsCodebaseArgument_ShouldSetAssemblyProperty()
 {
     AssemblyCatalogConstructorTests.Constructor_ValueAsAssemblyArgument_ShouldSetAssemblyProperty((s) =>
     {
         return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext(), (ICompositionElement) new AssemblyCatalog(s)));
     });
 }
Exemplo n.º 11
0
 public void Constructor3_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad()
 {
     AssemblyCatalogConstructorTests.Constructor_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad((s) =>
     {
         return(new AssemblyCatalog(s, (ICompositionElement) new AssemblyCatalog(s)));
     });
 }
Exemplo n.º 12
0
 public void Constructor2_InvalidFileNameAsCodeBaseArgument_ShouldThrowArgument()
 {
     AssemblyCatalogConstructorTests.Constructor_InvalidFileNameAsCodeBaseArgument_ShouldThrowIO((s) =>
     {
         return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext()));
     });
 }
Exemplo n.º 13
0
 public void Constructor2_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad()
 {
     AssemblyCatalogConstructorTests.Constructor_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad((s) =>
     {
         return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext()));
     });
 }
Exemplo n.º 14
0
 public void Constructor6_NullReflectionContextArgument_ShouldThrowArgumentNull()
 {
     AssemblyCatalogConstructorTests.Constructor_NullReflectionContextArgument_ShouldThrowArgumentNull((rc) =>
     {
         return(new AssemblyCatalog(GetAttributedAssembly(), rc));
     });
 }
Exemplo n.º 15
0
 public void Constructor4_DirectoryAsCodeBaseArgument_ShouldThrowFileLoad()
 {
     AssemblyCatalogConstructorTests.Constructor_DirectoryAsCodeBaseArgument_ShouldThrowFileLoad((s) =>
     {
         return(new AssemblyCatalog(s, new AssemblyCatalogTestsReflectionContext(), (ICompositionElement) new AssemblyCatalog(s)));
     });
 }
Exemplo n.º 16
0
 public void Constructor7_NullDefinitionOriginArgument_ShouldThrowArgumentNull()
 {
     AssemblyCatalogConstructorTests.Constructor_NullDefinitionOriginArgument_ShouldThrowArgumentNull((dO) =>
     {
         return(new AssemblyCatalog(GetAttributedAssembly(), dO));
     });
 }
Exemplo n.º 17
0
 [ActiveIssue(25498, TestPlatforms.AnyUnix)] // fault segmentation - AnyUnix
 public void Constructor1_NonAssemblyFileNameAsCodeBaseArgument_ShouldThrowBadImageFormat()
 {
     AssemblyCatalogConstructorTests.Constructor_NonAssemblyFileNameAsCodeBaseArgument_ShouldThrowBadImageFormat((s) =>
     {
         return(new AssemblyCatalog(s));
     });
 }