xamarin-macios/tests/monotouch-test/Security
Rolf Bjarne Kvinge b59587a0cd
[tests] Rework TestRuntime.RunAsync. (#18391)
* Move all the RunAsync logic to the TestRuntime class, instead of having some
  in TestRuntime and some in AppDelegate.
* Create a unified Task-based implementation for all platforms, optionally showing
  a UI on the platforms where we can do that.
* Remove all the overloads that took a DateTime timeout, and instead only use a
  TimeSpan timeout. This simplified some of the code.
* The new Task-based implementation will capture any exceptions (and rethrow most
  of them) from the tasks we're waiting for, so no need to do that in each RunAsync
  caller. This simplifies the testing code a lot for some tests.
* Add a new TryRunAsync method that will return (instead of rethrowing) any exceptions.
  This simplifies some of the testing code (which verifies the correct exception,
  or ignores the test in case of some exceptions).
* The new Task-based implementation will bubble up any NUnit exceptions, which
  means that the tasks we're waiting for can call NUnit's Assert and the right thing
  happens (in particular Assert.Ignore will actually ignore the test).
2023-06-06 21:36:49 +02:00
..
CertificateTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
IdentityTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
ImportExportTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
KeyChainTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
KeyTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
PolicyTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
ProtocolOptionsTest.cs [Network] Remove obsolete API from .NET. (#14211) 2022-02-24 23:07:53 +01:00
RecordTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
SecProtocolMetadataTest.cs [monotouch-test] Ignore network failures in CI for SecProtocolMetadataTest.TlsDefaults. Fixes #xamarin/maccore@2040. (#18255) 2023-05-10 11:04:53 +02:00
SecSharedCredentialTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
SecStatusCodeTest.cs Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
SecureTransportTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
TrustTest.cs [tests] Rework TestRuntime.RunAsync. (#18391) 2023-06-06 21:36:49 +02:00
openssl_crt.der [tests] Import 2016-05-26 15:06:52 +02:00