Marcel Taeumel uploaded a new version of FFI-Tests to project FFI:
http://source.squeak.org/FFI/FFI-Tests-mt.44.mcz==================== Summary ====================
Name: FFI-Tests-mt.44
Author: mt
Time: 20 May 2021, 7:37:42.74558 pm
UUID: e6517ef7-61b3-3249-a8b0-a85f226a877d
Ancestors: FFI-Tests-mt.43
Complements FFI-Kernel-mt.162
=============== Diff against FFI-Tests-mt.43 ===============
Item was changed:
----- Method: FFIAllocateTests>>performTest (in category 'running') -----
performTest
"Tests should opt-in to have more control."
+ | prior1 prior2 |
+ prior1 := ExternalType useArrayClasses.
+ prior2 := ExternalData extraSizeChecks.
- | prior |
- prior := ExternalType useArrayClasses.
[ExternalType useArrayClasses: false.
+ ExternalData extraSizeChecks: true.
super performTest]
+ ensure: [
+ ExternalType useArrayClasses: prior1.
+ ExternalData extraSizeChecks: prior2].!
- ensure: [ExternalType useArrayClasses: prior].!