public void Roslyn_CompatibilityCheckInReleaseMode() { var options = CreateRoslynOptions("VS14RC3"); options.CompilerOptions = "/optimize"; TestDriver.BuildRewriteRun(options); }
public void TestAsyncPostconditionsV45() { var options = new Options(this.TestContext); options.FoxtrotOptions = options.FoxtrotOptions + String.Format(" /throwonfailure /rw:{0}.exe,TestInfrastructure.RewriterMethods", Path.GetFileNameWithoutExtension(options.TestName)); options.BuildFramework = @".NETFramework\v4.5"; options.ContractFramework = @".NETFramework\v4.0"; options.UseTestHarness = true; TestDriver.BuildRewriteRun(options); }
public void BuildRewriteRunFromSourcesV35() { var options = new Options(this.TestContext); options.FoxtrotOptions = options.FoxtrotOptions + String.Format(" /throwonfailure /rw:{0}.exe,TestInfrastructure.RewriterMethods", Path.GetFileNameWithoutExtension(options.TestName)); options.BuildFramework = "v3.5"; options.ContractFramework = "v3.5"; options.UseTestHarness = true; TestDriver.BuildRewriteRun(options); }
public void Roslyn_IteratorBlockWithComplexGeneric() { var options = CreateRoslynOptions("VS14RC3"); // Bug with metadata reader could be reproduced only with a new mscorlib and new System.dll. options.BuildFramework = @".NetFramework\v4.6"; options.ReferencesFramework = @".NetFramework\v4.6"; options.DeepVerify = true; TestDriver.BuildRewriteRun(options); }
public void TestTheRoslynCompatibilityCasesWithVS2013Compiler() { var options = new Options(this.TestContext); options.FoxtrotOptions = options.FoxtrotOptions + String.Format(" /throwonfailure /rw:{0}.exe,TestInfrastructure.RewriterMethods", Path.GetFileNameWithoutExtension(options.TestName)); options.BuildFramework = @".NETFramework\v4.5"; options.ContractFramework = @".NETFramework\v4.0"; options.UseTestHarness = true; TestDriver.BuildRewriteRun(options); }
public void BuildRewriteFromSources45WithPublicSurfaceOnly() { var options = new Options(this.TestContext); // For testing purposes you can remove /publicsurface and see what happen. Part of the tests should fail! //options.FoxtrotOptions = options.FoxtrotOptions + String.Format("/throwonfailure /rw:{0}.exe,TestInfrastructure.RewriterMethods", Path.GetFileNameWithoutExtension(options.TestName)); options.FoxtrotOptions = options.FoxtrotOptions + String.Format(" /publicsurface /throwonfailure /rw:{0}.exe,TestInfrastructure.RewriterMethods", Path.GetFileNameWithoutExtension(options.TestName)); options.BuildFramework = @".NETFramework\v4.5"; options.ContractFramework = @".NETFramework\v4.0"; options.UseTestHarness = true; TestDriver.BuildRewriteRun(options); }
[Ignore] // Old Roslyn bits are not compatible with CCRewrite. Test (and old binaries) should be removed in the next iteration. public void BuildRewriteRunFromSourcesRoslynV45() { var options = new Options(this.TestContext); options.IsLegacyRoslyn = true; options.FoxtrotOptions = options.FoxtrotOptions + String.Format(" /throwonfailure /rw:{0}.exe,TestInfrastructure.RewriterMethods", Path.GetFileNameWithoutExtension(options.TestName)); options.BuildFramework = @"Roslyn\v4.5"; options.ReferencesFramework = @".NetFramework\v4.5"; options.ContractFramework = @".NETFramework\v4.0"; options.UseTestHarness = true; TestDriver.BuildRewriteRun(options); }
public void TestAsyncPostconditions() { var options = CreateRoslynOptions("VS14RC3"); TestDriver.BuildRewriteRun(options); }
public void AsyncTestsWithRoslynCompiler() { var options = CreateRoslynOptions("VS14RC3"); TestDriver.BuildRewriteRun(options); }
public void Roslyn_CompatibilityCheck() { var options = CreateRoslynOptions("VS14RC3"); TestDriver.BuildRewriteRun(options); }
public void Roslyn_BuildRewriteRunFromSources() { var options = CreateRoslynOptions("VS14RC3"); TestDriver.BuildRewriteRun(options); }