Beispiel #1
0
 public TestCaseCompiler(TestCaseSandbox sandbox, TestCaseMetadaProvider metadataProvider, ILCompiler ilCompiler)
 {
     _ilCompiler       = ilCompiler;
     _sandbox          = sandbox;
     _metadataProvider = metadataProvider;
 }
Beispiel #2
0
 public TestCaseCompiler(TestCaseSandbox sandbox, TestCaseCompilationMetadataProvider metadataProvider)
     : this(sandbox, metadataProvider, new ILCompiler())
 {
 }
Beispiel #3
0
 public virtual TestCaseCompiler CreateCompiler(TestCaseSandbox sandbox, TestCaseMetadaProvider metadataProvider)
 {
     return(new TestCaseCompiler(sandbox, metadataProvider));
 }
Beispiel #4
0
 public LinkedTestCaseResult(TestCase testCase, NPath inputAssemblyPath, NPath outputAssemblyPath, NPath expectationsAssemblyPath, TestCaseSandbox sandbox, TestCaseMetadaProvider metadaProvider, ManagedCompilationResult compilationResult, LinkerTestLogger logger, LinkerCustomizations customizations)
 {
     TestCase                 = testCase;
     InputAssemblyPath        = inputAssemblyPath;
     OutputAssemblyPath       = outputAssemblyPath;
     ExpectationsAssemblyPath = expectationsAssemblyPath;
     Sandbox           = sandbox;
     MetadataProvider  = metadaProvider;
     CompilationResult = compilationResult;
     Logger            = logger;
     Customizations    = customizations;
 }
Beispiel #5
0
 protected virtual void PrepForLink(TestCaseSandbox sandbox, ManagedCompilationResult compilationResult)
 {
 }
 public ILCompilerTestCaseResult(TestCase testCase, NPath inputAssemblyPath, NPath expectationsAssemblyPath, TestCaseSandbox sandbox, TestCaseMetadataProvider metadataProvider, ManagedCompilationResult compilationResult, TestLogWriter logWriter)
 {
     TestCase                 = testCase;
     InputAssemblyPath        = inputAssemblyPath;
     ExpectationsAssemblyPath = expectationsAssemblyPath;
     Sandbox           = sandbox;
     MetadataProvider  = metadataProvider;
     CompilationResult = compilationResult;
     LogWriter         = logWriter;
 }
Beispiel #7
0
 public LinkedTestCaseResult(TestCase testCase, NPath inputAssemblyPath, NPath outputAssemblyPath, NPath expectationsAssemblyPath, TestCaseSandbox sandbox, TestCaseMetadaProvider metadaProvider, ManagedCompilationResult compilationResult)
 {
     TestCase                 = testCase;
     InputAssemblyPath        = inputAssemblyPath;
     OutputAssemblyPath       = outputAssemblyPath;
     ExpectationsAssemblyPath = expectationsAssemblyPath;
     Sandbox           = sandbox;
     MetadataProvider  = metadaProvider;
     CompilationResult = compilationResult;
 }