Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Manuel de la Pena 4544fb8fcd
[XHarness] Add NUnit3 support to the old bcl tests. (#7846)
Move the old bcl tests based on NUnit to use the NUnit V3 output so that
we can add logs to the vsts imported tests.

Follow up of PR: https://github.com/xamarin/xamarin-macios/pull/7844
2020-02-12 07:38:40 -05:00
Manuel de la Pena 746d52ef51
[Tests] Ensure that if the TCP connection cannot be done, test are run. (#7605)
TouchUnit uses Console.Out as the writer when the TCP connection cannot
be performed. The BCL tests were not doing so and were crashing.

With this change, when ran locally, if the TCP connection is not done,
we will use Console.Out as TouchUnit and the file will be parsed by
xharness correctly.
2019-12-16 22:05:20 -05:00
Martin Baulig 992fc70156 [XHarness]: Convert xUnit / nUnit tests to run async. (#6291)
Make `TestRunner.Run()` async as we cannot sync-block on the UI thread.
2019-06-19 18:03:01 +02:00
Manuel de la Pena 6fd9af50eb
[Xharness] Do use the traits provided by the mono sdk. (#6160)
Rather than hardcoding the tests ignored categories and traits, use the
ones that are provided by the mono sdk for each runner.
2019-06-12 23:51:08 +02:00
Vlad Brezae 5f5a584f1e [Tests] [BCL] Avoid converting from IEnumerable to IList (#6211)
Casting is wrong and can throw exception.

Fixes: https://github.com/mono/mono/issues/14729
2019-06-06 20:50:55 +02:00
Manuel de la Pena 26a3394623
[XHarness] Clean the bcl-tests directory. (#6165)
The change is a pre step to fix https://github.com/xamarin/xamarin-macios/issues/6162

We are removing the not longer child directory bcl-test/BCLTests since
there is not longer any reason for it to exist. The changes make sure
that the tests work as expected in the new directory.

Next step, move all the test apps to their own directory.
2019-05-31 13:05:22 +02:00