Comment-out the asserts in the MailX1 and SecRecordTest tests.

The assert message `TestRuntime.AssertNotWatchOS ("X509Certificate (byte[]) doesn't work on watchOS")`
is clearly wrong as `X509Certificate (byte[])` is supposed to work on all platforms.

Still investigating whether the rest of the test will work on watchOS or not (and why if it doesn't).
This commit is contained in:
Martin Baulig 2018-10-15 11:56:25 -04:00
Родитель b46ef9e3e8
Коммит 7f15a6173e
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -555,7 +555,8 @@ namespace MonoTouchFixtures.Security {
[Test]
public void MailX1 ()
{
TestRuntime.AssertNotWatchOS ("X509Certificate (byte[]) doesn't work on watchOS");
// MARTIN FIXME
// TestRuntime.AssertNotWatchOS ("X509Certificate (byte[]) doesn't work on watchOS");
using (var cert = new X509Certificate (mail_google_com)) {
/*

Просмотреть файл

@ -312,7 +312,8 @@ namespace MonoTouchFixtures.Security {
[Test]
public void SecRecordRecordTest ()
{
TestRuntime.AssertNotWatchOS ("X509Certificate (byte[]) doesn't work on watchOS");
// MARTIN FIXME
// TestRuntime.AssertNotWatchOS ("X509Certificate (byte[]) doesn't work on watchOS");
using (var cert = new X509Certificate (CertificateTest.mail_google_com))
using (var sc = new SecCertificate (cert))