xamarin-macios/tests/monotouch-test/CoreGraphics
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
..
AffineTransformTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
BitmapContextTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
CGEventTests.cs [monotouch-test] Adjust the CGEventTest to handle successful tap creation. (#18266) 2023-05-12 10:16:30 +02:00
CGImageMetadataTests.cs [dotnet] CGImageMetadata (#17530) 2023-02-23 10:50:58 -05:00
CGImagePropertiesGPSTest.cs [tests] Give the CGImagePropertiesGPSTest some latitude with the coordinates. (#18375) 2023-06-02 14:35:51 +02:00
CGImageTest.cs [Tests] Remove not needed usings in the CoreGraphics tests. (#13255) 2021-11-03 17:13:47 -04:00
ColorConversionInfoTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
ColorSpaceTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
ColorTest.cs [Tests] Remove not needed usings in the CoreGraphics tests. (#13255) 2021-11-03 17:13:47 -04:00
ContextTest.cs [Tests] Remove not needed usings in the CoreGraphics tests. (#13255) 2021-11-03 17:13:47 -04:00
DataConsumerTest.cs [Tests] Remove not needed usings in the CoreGraphics tests. (#13255) 2021-11-03 17:13:47 -04:00
DataProviderTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
FontTest.cs [Tests] Remove not needed usings in the CoreGraphics tests. (#13255) 2021-11-03 17:13:47 -04:00
FunctionTest.cs [tests] Create a shared AppDelegate class and use it everywhere. (#16877) 2022-11-28 18:17:49 +01:00
GeometryTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
GradientTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
PDFArrayTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
PDFContentStreamTest.cs Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
PDFContextTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
PDFDocumentTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
PDFInfoTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
PDFObjectTest.cs [CGPDFObject] Make CGPDFObject a subclass of CGPDF[Array|Dictionary|Stream] + a few other fixes. (#13253) 2021-11-04 16:33:30 +01:00
PDFOperatorTableTest.cs Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
PDFScannerTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
PathTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
PatternTest.cs [tests] Rework TestRuntime.RunAsync. (#18391) 2023-06-06 21:36:49 +02:00
PdfTagTypeTest.cs Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
PointTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
RectTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
SizeTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00
VectorTest.cs [autoformat] Add monotouch-test (#16701) 2022-11-10 17:59:26 +01:00