xamarin-macios/tests/cecil-tests
Manuel de la Pena 8e0cec382c [RGen] Teach been to ignore rgen types. (#21449)
Teach our bgen to ignore those types that have been marked as a rgen
BindingType. The code adds a new smart enum in the sources that should
not be processed by bgen and therefore should not have the smart enum
extension method. You can verify that this is try by looking at the API
diff:

<img width="560" alt="Screenshot 2024-10-15 at 14 58 00"
src="https://github.com/user-attachments/assets/83790ae6-d94a-424f-8f70-e33bde7c4f22">
2024-10-16 13:11:21 -04:00
..
ApiAvailabilityTest.cs [AppKit/UIKit] Implement Xcode 16.0 beta 1-6 changes. (#21130) 2024-09-11 16:48:52 +02:00
ApiCapitalizationTest.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
ApiTest.KnownFailures.cs [Metal] Implement Xcode 16.0 beta 1-6 changes. (#20895) 2024-09-09 19:42:49 +02:00
ApiTest.cs [tests] Don't pass a message to Assert.Ignore. (#19453) 2023-11-15 18:12:58 +01:00
AttributeTest.cs [StoreKit] Bind AppStore.requestReview. Fixes #21410. (#21441) 2024-10-16 11:06:47 +02:00
BlittablePInvokes.KnownFailures.cs [src] Remove a few MarshalAs attributes in various APIs. (#20704) 2024-06-10 19:11:47 +02:00
BlittablePInvokes.cs [src] Fix definition of AVSampleCursorAudioDependencyInfo for Mac Catalyst. (#20781) 2024-06-26 14:17:58 +02:00
CecilExtensions.cs [src] Add a TransientCFString struct. (#19763) 2024-01-11 09:39:27 +01:00
ConstructorTest.cs [AppKit] Add support for Xcode 15. (#19119) 2023-10-23 21:39:29 -04:00
Documentation.KnownFailures.txt [RGen] Teach been to ignore rgen types. (#21449) 2024-10-16 13:11:21 -04:00
Documentation.cs [cecil-tests] Fix assertion message to use the doc id instead of the typename of a tuple. (#20632) 2024-05-23 10:22:06 +02:00
EnumTest.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
GenericPInvokes.cs [generator] Make the block callbacks UnmanagedCallersOnly functions in .NET. (#17741) 2023-03-14 10:08:28 +01:00
GetterExceptionTest.cs Change all null checking expressions to use 'is' and 'is not'. (#18176) 2023-05-05 17:52:19 +02:00
Helper.cs [watchOS] Remove the build logic for watchOS. (#21440) 2024-10-16 12:30:13 +02:00
Makefile [tests] Make the 'run-tests' and 'run-unit-tests' targets equivalent. (#20223) 2024-03-01 09:54:33 +01:00
MarshalAsTest.cs [Tests] Move to use the Helpers method to report MarshalAsTest failures. (#19795) 2024-01-11 16:19:36 -05:00
ObsoleteTest.cs add EditorBrowsable to obsolete member (#17854) 2023-03-21 07:41:39 +01:00
OpenTKTest.cs [tests] Improve perf in cecil-tests by only loading assemblies once. (#16997) 2022-12-13 09:23:25 +01:00
PreviewApi.cs [xcode16] Bump to Xcode 16 RC. (#21209) 2024-09-12 13:00:36 +02:00
ProtocolTest.cs [src/tools] Propagate the BackwardsCompatibleCodeGeneration field from Protocol attributes in bindings to the generated code. (#20804) 2024-07-03 20:18:13 +02:00
README.md
Test.cs [runtime] Use calloc instead of malloc. (#20692) 2024-06-07 16:56:54 +02:00
cecil-tests.csproj [RGen] First inclusion of a roslyn generator for the bindings. (#21389) 2024-10-15 14:56:09 -04:00
cecil-tests.sln [tests][cecil-tests] Add new test to verify the constructors we expose. 2021-11-26 14:25:21 +01:00

README.md

Cecil-based Tests

Even with the huge variety of tests that we have there's still a few things that are hard to test properly. Some of them can be tested by analyzing the assemblies (IL or metadata). So here we are...