예제 #1
0
 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);
 }
예제 #2
0
    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);
        }
    }
예제 #3
0
 public static void AddTestAssemblies(BaseTouchRunner runner)
 {
     AddTestAssembliesImpl(runner);
 }
예제 #4
0
 static partial void AddTestAssembliesImpl(BaseTouchRunner runner);
예제 #5
0
 public NUnitOutputTextWriter(BaseTouchRunner runner, TextWriter baseWriter, OutputWriter xmlWriter)
     : this(runner, baseWriter, xmlWriter, XmlMode.Default)
 {
 }
예제 #6
0
 static partial void AddTestAssembliesImpl(BaseTouchRunner runner)
 {
     runner.Add(typeof(Xamarin.BindingTests2.BindingTest).Assembly);
     runner.Add(typeof(Xamarin.BindingTests.ProtocolTest).Assembly);
 }