[introspection] Fix the ApiFrameworkTest.Simlauncher test to fail in case of errors. (#13456)

* Assert at the end of the test if there were any errors.
* Don't run this test for .NET, since we don't use a simlauncher in .NET.
This commit is contained in:
Rolf Bjarne Kvinge 2021-11-26 20:14:38 +01:00 коммит произвёл GitHub
Родитель 32b32a6b32
Коммит c02cc7e27d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -144,7 +144,7 @@ namespace Introspection {
AssertIfErrors ($"{Errors} unknown frameworks found:\n{ErrorData}");
}
#if __IOS__ && !__MACCATALYST__
#if __IOS__ && !__MACCATALYST__ && !NET
[Test]
public void Simlauncher ()
{
@ -202,6 +202,8 @@ namespace Introspection {
}
}
AssertIfErrors ($"{Errors} unknown frameworks found:\n{ErrorData}");
}
#endif
}