public NUnitOutputTextWriter(BaseTouchRunner runner, TextWriter baseWriter, OutputWriter xmlWriter) { Runner = runner; BaseWriter = baseWriter ?? Console.Out; XmlOutputWriter = xmlWriter; // do not send real-time test results on the writer sif XML reports are enabled real_time_reporting = (xmlWriter == null); }
static partial void AddTestAssembliesImpl(BaseTouchRunner runner) { var assemblies = new HashSet <Assembly> (); // Test files are sorted by namespace, so since we have two assemblies, // pick something at the top (Mono) and at the bottom (System.Text) to // make sure we get both assemblies. assemblies.Add(typeof(MonoTests.Mono.DataConverterTest).Assembly); assemblies.Add(typeof(MonoTests.System.Text.UTF8EncodingTest).Assembly); if (assemblies.Count != 2) { throw new Exception("Should have found two test assemblies"); } foreach (var asm in assemblies) { runner.Add(asm); } }
public static void AddTestAssemblies(BaseTouchRunner runner) { AddTestAssembliesImpl(runner); }
static partial void AddTestAssembliesImpl(BaseTouchRunner runner);
public NUnitOutputTextWriter(BaseTouchRunner runner, TextWriter baseWriter, OutputWriter xmlWriter) : this(runner, baseWriter, xmlWriter, XmlMode.Default) { }
static partial void AddTestAssembliesImpl(BaseTouchRunner runner) { runner.Add(typeof(Xamarin.BindingTests2.BindingTest).Assembly); runner.Add(typeof(Xamarin.BindingTests.ProtocolTest).Assembly); }